AtomicTorch Studio Forums

CryoFall => Servers => Topic started by: sssssscott on April 21, 2019, 10:03:27 PM

Title: Few Questiong About script
Post by: sssssscott on April 21, 2019, 10:03:27 PM
And I have few question.
       1. How to change the amount of getting minerals when mining and picking up stone above ground

       2. How to change stack size. I already changed variables "huge","samll" and "midium" etc, but it does not work.

       3. How to raise the rate of learning points that player can get. For example, I already know that player cut 2 trees
           can get 1 learning point, how to change it to get 3 learning points?

       4. How to reduce the cost of learning point when player learning tech. For example, player will be cost 100 learning
           points to unlock tier 1, how to change it to 50. And player will be cost 10 points to learn wooden creats, how to
           change it to 5?

       5. When I change the recipe, it works on the count of output items, but not works on the input items count.

       6. How to change the cost of repair the landClaim when it was rusted.
     
       7. Last one, How to change the amount of probability and amount of items in the military loot. And What does
           countRandom means?
Title: Re: Few Questiong About script
Post by: ai_enabled on April 22, 2019, 02:31:14 AM
Hello!

1. we will provide a new const for this rate.
2. the change is required to be done not only for the server, but also for the client (so it should be distributed as a client+server) mode. This is because the client is performing independent game simulation including items management to ensure the lag-free experience to the players. Advanced lag prediction means that some code simply cannot be changed on the server only as clients will not know about the change unless you provide it as a mod. It will be easier in the future as mod distribution will be possible via Steam Workshop.
3. the LP is provided for skill activity (like woodcutting). You need to adjust each skill LP conversion coefficient (property ExperienceToLearningPointsConversionMultiplier).
4. see TechConstants.cs
5. see #2 this is the same problem with client not aware of the recipe
6. edit each LandClaim building, look for repairconfig
7. you need to edit the droplists for each loot container (or wait until we implement a const I mentioned in #1). "countRandom" is an additional random amount of item player could get.

Regards!
Title: Re: Few Questiong About script
Post by: sssssscott on April 22, 2019, 02:33:52 PM
Thanks alot!

And I installed mods CNEI and Automation by following the step. It does not work.