Logo Platform
logo amplifiers simplified

Two modding questions

Reply
Copied to clipboard!
7 years ago
Jan 25, 2018, 11:51:20 PM

Hey guys!


I'm trying to create two small mods for myself; the first is to remove the overcolonization malus or just to bump the threshold for malus to over 100 planets, where and what file do I have to edit? (btw the idea is to affect ALL factions)


The second is probably trickier but here goes: how can I change how luxuries spawn so that they spawn more commonly, mixed in the same system and so that they ALL spawn in a simple galaxy? 


Cheers!

0Send private message
7 years ago
Jan 29, 2018, 10:51:12 AM

Hey Caev!


The number of systems you can colonize before your population is angry is defined by the property OverColonizationThreshold on the Empire.

You have several options if you want to change this value:

- Override the SimulationDescriptor ClassEmpire: change the BaseValue of OverColonizationThreshold. This solution is not other mods-friendly, as only one mod can override each XML value at once.

- Override other SimulationDescriptors applied on the empire: you can override descriptors such as GalaxySizeGigantic so that instead of adding 9 in this case, it adds 90.

0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message