Posted by: thanasis92 - Wednesday, March 24, 2021 9:14:50 AM
I want to control the maximum number of super weapons a player/AI can build (skirmish), in a way such as "Limit Super Weapons" works; I want this choice to have global effect, not only to a specific map.
Any suggestions?
*edit:
Setting "MaxSimultaneousOfType" to an integer (for each superweapon) it's not working.
Posted by: Annihilationzh - Wednesday, March 24, 2021 7:59:14 PM
[quote=thanasis92;150360]Setting "MaxSimultaneousOfType" to an integer (for each superweapon) it's not working.[/quote]
That is the correct method. Something else must be going wrong.
Posted by: AdrianeMapMaker - Friday, March 26, 2021 12:27:11 AM
show your code
Posted by: thanasis92 - Sunday, March 28, 2021 8:59:50 AM
The issue was caused by the Origin version of the game.
In the non-Origin version I am able to set the "MaxSimultaneousOfType" equal to 1,2,... but not to zero.
I overcame this by adding the line (for example to LaserGeneral.ini):
" MaxSimultaneousLinkKey = Superweapon " in the Strategy Center object
and then by setting "MaxSimultaneousOfType" equal to 1 in the Particle Cannon object .