AIEND Posted March 4, 2022 Report Share Posted March 4, 2022 I want to add water, like the power provided by the power plant in Command & Conquer, to limit the size of the city. For example, if I build a well to provide 100 units of water, one military camp will occupy 50 units. If I build two military camps and use up the quota of 100 units, I need to build another water well. If the well is damaged, the total water supply will not be able to cover the consumption. , the efficiency of all buildings that consume water decreases. I don't know where to find the files for population resources, where can I get the relevant code? 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 5, 2022 Report Share Posted March 5, 2022 @Freagarach Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted March 5, 2022 Report Share Posted March 5, 2022 @Trinketos didn't you have a similar mod? Quote Link to comment Share on other sites More sharing options...
Freagarach Posted March 6, 2022 Report Share Posted March 6, 2022 The population "cost" (not really a cost (https://code.wildfiregames.com/D3353)) is in the Cost.js component file. The Bonuses provided by structures are in the PopulationBonus.js component file. I find your idea quite interesting. 1 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.