[QUESTION] About Civilizations populations...

So, I was playing GC3 and I wanted to create a custom race, but I was wondering if it was possible to edit the way a civilization gains population, but not through the traditional methods of birth or assembly, basically I'm wondering if I could modify the game to allow a custom population gain method, is this something that would be possible? If so would it be something that would be easier to do, or something that would require a lot of modding experience?

 

And hey, if anyone is bored and maybe they want to look around, see maybe if you could modify the way a civilization gains population.

3,851 views 3 replies
Reply #1 Top

Shouldn't be that hard at all. Looking at the assembly project, what it does is:  

<Triggers>
<OnEvent>OnConstructImprovment</OnEvent>
<Target>
<TargetType>Colony</TargetType>
</Target>
<Lifetime>Instant</Lifetime>
<Modifier>
<EffectType>Population</EffectType>
<Target>
<TargetType>Colony</TargetType>
</Target>
<BonusType>Flat</BonusType>
<Value>2</Value>
</Modifier>
</Triggers>

You can probably tweak this into increasing pop most ways you wish for. It really just depends how much work you want to put into it, or how advanced you want said system to be. Just remember to disable natural growth, copying the SyntheticLife trait into a new one should do the trick. (Assembly etc. all have that trait as req to show up)

or something that would require a lot of modding experience?
End of quote

The best way to learn, is to do it. We all started from nothing, modding experience is something you gain, not something you must have before starting a project. ;)

 

Reply #2 Top

Quoting sjaminei, reply 1

Shouldn't be that hard at all. Looking at the assembly project, what it does is:  

<Triggers>
<OnEvent>OnConstructImprovment</OnEvent>
<Target>
<TargetType>Colony</TargetType>
</Target>
<Lifetime>Instant</Lifetime>
<Modifier>
<EffectType>Population</EffectType>
<Target>
<TargetType>Colony</TargetType>
</Target>
<BonusType>Flat</BonusType>
<Value>2</Value>
</Modifier>
</Triggers>

You can probably tweak this into increasing pop most ways you wish for. It really just depends how much work you want to put into it, or how advanced you want said system to be. Just remember to disable natural growth, copying the SyntheticLife trait into a new one should do the trick. (Assembly etc. all have that trait as req to show up)


or something that would require a lot of modding experience?



The best way to learn, is to do it. We all started from nothing, modding experience is something you gain, not something you must have before starting a project. ;)

 

End of sjaminei's quote

 

Thanks Sjam, I'm wondering if what I want is possible,

 

Basically I downloaded the Borg race into GC3, and right now they are set up to work like Yor with assembly lines, I was wondering if it's possible to make it so that the Borg basically can assimilate planets population into their own population, so for example, I attacked a planet with 3.5 population and win, that 3.5 population now becomes my population, exactly what the Borg would do, assimilate you.

 

Is this even possible to do?

 

I may look into it myself if it's possible, I just don't want to start poking around for no reason!

 

Also I asked about the modding experience more so as a guideline, I have no problem learning, but, it'd be better to take baby steps and introduce myself into it rather than to just rush face first into a wall.

 

Reply #3 Top

Quoting SiMpLiFiEDChAoS, reply 2


Basically I downloaded the Borg race into GC3, and right now they are set up to work like Yor with assembly lines, I was wondering if it's possible to make it so that the Borg basically can assimilate planets population into their own population, so for example, I attacked a planet with 3.5 population and win, that 3.5 population now becomes my population, exactly what the Borg would do, assimilate you.
End of SiMpLiFiEDChAoS's quote

It kinda does that. Any defenders left alive gets added to your total population. If you want to assimilate the dead ones as well, I think you need to look at the planetary invasion mechanic. It could be possible to do something there to get what you want. (It's located in InvasionStyleDefs.xml)