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
Can units and buildings be disabled for custom maps? (Solved)
I'd really like to stop the player from training snipers at the barracks and building the academy of immortals. These are both researched at the wood and stone workshops respectively.

Is there any way to disable the research for these two in the level editor or can it not be done?
Last edited by Winter Dragon; 6 Feb, 2023 @ 7:04pm
< >
Showing 1-2 of 2 comments
Hi, to prevent the player to buy snipers, you can simply rise the amount of gold needed to build it, and then, when the player has built the academy of immortals, you lower the price
Winter Dragon 6 Feb, 2023 @ 2:04am 
Edit - Fixed both things today.

Turns out by placing the Academy of Immortals outside the red square defining the playable boundary of the map, that this disables research from the Stone Workshop. And because the Academy isn't powered, it can't grant the ability to turn regular units into veteran ones. Cool! Exactly what I wanted. Bit of a round-about way to do things but it works.

The sniper cost was not working at first because I read someone else's post where they gave an incorrect example of ApplyRules. In their code snippet they used "Gold", which doesn't work. "GoldCost" does, which is what I'm using now.

Last edited by Winter Dragon; 6 Feb, 2023 @ 7:04pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50