Author Topic: Few Questiong About script  (Read 603 times)


  • Newbie
  • *
  • Posts: 6
    • View Profile
Few Questiong About script
« 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?
« Last Edit: April 21, 2019, 10:54:36 pm by sssssscott »


  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1616
    • View Profile
Re: Few Questiong About script
« Reply #1 on: April 22, 2019, 02:31:14 am »

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 ExperienceToLearningPointsCon versionMultiplier).
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.



  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Few Questiong About script
« Reply #2 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.