They Are Billions

They Are Billions

Custom Levels for They Are Billions
Add custom levels to They Are Billions by subscribing to these workshop items!
Learn More
How do I enter Variables etc?
Novice question i know, but i cant seem to figure out how to enter the script to change rules such as Soldier life increase, Tesla Tower range increase. Where do I enter the information and what specifically do I type?
TIA
< >
Showing 1-4 of 4 comments
matthescratch 29 17 Nov, 2021 @ 11:05am 
You can put code in any “execute this code” box.
If I wanted to increase soldier life and Tesla range for the duration of a map I would enter it under the “game narrative” tab. Then “on game start” tab. Then drop down menu and select “execute code” hit + button.
In the box put.
ApplyRules(“Soldier Life +50%”);
ApplyRules(“TeslaTower EnergyTransferRadius +50%”);
Cookie Bastood 17 Nov, 2021 @ 2:23pm 
Awesome! I thought it would be something fairly simple, this is my first attempt at creating a level. Thank you!
Hello Cookie.

To add more information to matthescratch, here you can find a lot of information about what you can modify.

https://docs.google.com/spreadsheets/d/1rrTvMw9P932Q7kcZXQvS4MMcHfiNbYtEdN4dTRA516Q/edit#gid=812540755

This summarizes a lot of information about the basic stats of units and also all the name of the item and the variables you can change on them.

Also, whenever you are modding an item, don't forget the space: ApplyRules("Soldier Life + 50%")

Note that the % is ALWAYS calculated on the based stat, not the modified one.
Cookie Bastood 18 Nov, 2021 @ 2:31pm 
Amazing! thank you! that's a lot of information.
< >
Showing 1-4 of 4 comments
Per page: 1530 50