Structure Limits

Has anybody determined any way of limiting a structure to 1 per planet?

all the ways i can think of aren't feasible with the current modding tools. but i figure i might be missing something obvious (no just making it cost more than 50% of a planets tactical\civilian slots isnt an option)
3,499 views 5 replies
Reply #1 Top
(no just making it cost more than 50% of a planets tactical\civilian slots isnt an option)
End of quote


Why?

2 ways to do this. Increase all the structures slots they use, from 4 to something like 20. Or, make every planet have 4 Civilian slots. If this is what you mean, it really isn't that hard to do. If this isn't what you mean, can you elaborate a bit?

Reply #2 Top
Largely because i want to be able to do it with multiple buildings. specifically each planet can only have 1 factory and 1 culture centre but can still have as many of any other buildings as its slots would normally provide, so balancing the slots out is impossible (unless i make factories take up half of your civilian slots, and culture centres half of the tactical slots, but id really rather not do that).
Reply #3 Top
Sorry man, I have no idea. Good luck though, might be one of those thing that will be possible once the final mod tools are out.
Reply #4 Top
like a have written in another thread that is what makes me wonder how sins should be modded. ususally i would say i add this to planetupgraddef:
>
path:factoryModules
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
maxModuleSlotCount:Factory 1.000000
maxModuleConstructorCount 1
>

and change these 2 lines in PLANETMODULE_PHASEORBITALFRIGATEFACTORY.entity :

>
planetUpgradeSlotType "Factory"
planetUpgradeSlotCount 1.000000
>

but if i add only one single line to planetupgradedef the game doesn't load anymore.......

Either these entries must be registered or defined somewhere, or it is not possible to add new entries.

Ok i have to admit, that alle the "path:..." entries are connected to upgrade buttons and have some definitions somewhere, but hmmm, i can't find an opening anywhere to access the game mechanics easily, haha
Reply #5 Top
why would factories really matter?? Any game I played, its always been a matter of resources around for attacks than production line problems. Its rather annoying producing some ships 3 way points back , shrug ur choice for your mod though with have slow production. If this is to slow the computer down, it really won't.