code99
Posts: 33
Joined: 3/2/2010 Status: offline
|
That is a bit more complex as it depends on several things like planet quality, type, racial bonuses, techs and so on. An easy way to do this and still keep each races/faction positive bonuses or negative bonuses to the growth rate is to add growth penalty to specific races or all of them. Open Races.xml and add this line "<Capability Name="Low Growth Rate" Level="x"/>" after the already existing "Capability" lines for each race. The x i colored in red has to be replaced by a number ranging from 0 to 9 where 0 is 10% lower growth rate in game, 1 is 20% lower growth rate in game and so on until 9 that in game translates as 100% lower growth rate. Example, from this : <Race Name ="Human">
<ShortDescription>
Monkey descendents from Earth
</ShortDescription>
<LongDescription>
Chances are that if you're playing this game, you're one of them. The ape descendants survived the perils of war, energy shortages and global warming, and spread out into deep space.
Their agile minds and willingness to embrace change makes them adept at technology, but with their existence firmly rooted in the dimensions of time and space their ability to use the other dimensions of existence is poor.
An emphasis on individualism sometimes makes other races wary and slightly mistrustful of humans as they do not understand the way that motivation and moral compass vary from one individual to another. They also dislike the way that democratic government can lead to inconsistent high level policy.
</LongDescription>
<Symbols Population="@Human_Population" Victory="Art\UI\Victory-Human.jpg" Fleet="FS Human"/>
<Animation Folder="Art\Animations\Human" Prefix="Human"/>
<Sound Music ="Human" Accept ="HumanAccept" Talk ="HumanTalk" Reject ="HumanReject" Angry ="HumanAngry"/>
<Capability Name="Disorderly" Level ="0"/>
</Race> to this (note that i've added a new line "<Capability Name="Low Growth Rate" Level="2"/>" just bellow the existing "Capability" line which in game makes the humans get -30% growth rate) : <Race Name ="Human">
<ShortDescription>
Monkey descendents from Earth
</ShortDescription>
<LongDescription>
Chances are that if you're playing this game, you're one of them. The ape descendants survived the perils of war, energy shortages and global warming, and spread out into deep space.
Their agile minds and willingness to embrace change makes them adept at technology, but with their existence firmly rooted in the dimensions of time and space their ability to use the other dimensions of existence is poor.
An emphasis on individualism sometimes makes other races wary and slightly mistrustful of humans as they do not understand the way that motivation and moral compass vary from one individual to another. They also dislike the way that democratic government can lead to inconsistent high level policy.
</LongDescription>
<Symbols Population="@Human_Population" Victory="Art\UI\Victory-Human.jpg" Fleet="FS Human"/>
<Animation Folder="Art\Animations\Human" Prefix="Human"/>
<Sound Music ="Human" Accept ="HumanAccept" Talk ="HumanTalk" Reject ="HumanReject" Angry ="HumanAngry"/>
<Capability Name="Disorderly" Level ="0"/>
<Capability Name="Low Growth Rate" Level="2"/>
</Race> Note that by editing the races.xml all factions for the race/s you modify will take the same effects. If you want only certain factions to have this effect edit the factions.xml file. Obviously for the races that already have a "Capability" line about the low growth rate (like the Qa Qa Assembly) you will only have to increase that number in proportion to the other races so you won't unbalance the game. I highly suggest you dont edit the .xml files in the game directory but rather make a copy of the files you want to edit and place them in the following structure : "yourmodname/XML/" and place that "yourmodname" folder in "My Documents\My Games\Armada 2526\Supernova\Mods" and add the following parameter to your supernova shortcut (add the parameter in the target field) "-mods yourmodname", should look something like this "Z:\games\Armada 2526 SuperNova\Armada2526.exe" -mods MyMod Keep the spacing and the quotes as shown or it wont work. code99
< Message edited by code99 -- 4/21/2011 11:00:54 AM >
|