Anthropoid
Grognard fantome
Hey guys, sorry I know this is probably not the best thread for this, but CivFanatics is so huge, I find asking in any possible thread that is active is often necessary to get help.
I'm messing with Grave's HiTM Mod. I want to make the unit dynamics more like an operational wargame, basically: units die much less, but take longer to heal. Add on to this, it would be neat if terrain features, and city Pop size modify healing rates. So a unit in a tile with and a railroad should heal a bit faster than one with a road or one with only a Hamlet, etc.
I've managed to adjust the gross healing rates in the GlobalDefines XML file by resetting some things as follows
Quote:
<Define>
<DefineName>ENEMY_HEAL_RATE</DefineName>
<iDefineIntVal>3</iDefineIntVal>
</Define>
<Define>
<DefineName>NEUTRAL_HEAL_RATE</DefineName>
<iDefineIntVal>5</iDefineIntVal>
</Define>
<Define>
<DefineName>FRIENDLY_HEAL_RATE</DefineName>
<iDefineIntVal>8</iDefineIntVal>
</Define>
<Define>
<DefineName>CITY_HEAL_RATE</DefineName>
<iDefineIntVal>11</iDefineIntVal>
</Define>
<Define>
<DefineName>ROAD_HEAL_RATE_MODIFIER</DefineName>
<iDefineIntVal>100</iDefineIntVal>
</Define>
The original values for these were
Quote:
<DefineName>ENEMY_HEAL_RATE</DefineName>
<iDefineIntVal>5</iDefineIntVal>
</Define>
<Define>
<DefineName>NEUTRAL_HEAL_RATE</DefineName>
<iDefineIntVal>10</iDefineIntVal>
</Define>
<Define>
<DefineName>FRIENDLY_HEAL_RATE</DefineName>
<iDefineIntVal>15</iDefineIntVal>
</Define>
<Define>
<DefineName>CITY_HEAL_RATE</DefineName>
<iDefineIntVal>20</iDefineIntVal>
</Define>
And the line about road_heal_rate_modifier is totally my addition. Even with the road lines added in, my application is running fine, and the healing rates do indeed seem to be slowed down!
However, I don't see any sign that healing rates on tiles with roads and without are having any impact. Can you offer any help or suggestions on this?
I'm messing with Grave's HiTM Mod. I want to make the unit dynamics more like an operational wargame, basically: units die much less, but take longer to heal. Add on to this, it would be neat if terrain features, and city Pop size modify healing rates. So a unit in a tile with and a railroad should heal a bit faster than one with a road or one with only a Hamlet, etc.
I've managed to adjust the gross healing rates in the GlobalDefines XML file by resetting some things as follows
Quote:
<Define>
<DefineName>ENEMY_HEAL_RATE</DefineName>
<iDefineIntVal>3</iDefineIntVal>
</Define>
<Define>
<DefineName>NEUTRAL_HEAL_RATE</DefineName>
<iDefineIntVal>5</iDefineIntVal>
</Define>
<Define>
<DefineName>FRIENDLY_HEAL_RATE</DefineName>
<iDefineIntVal>8</iDefineIntVal>
</Define>
<Define>
<DefineName>CITY_HEAL_RATE</DefineName>
<iDefineIntVal>11</iDefineIntVal>
</Define>
<Define>
<DefineName>ROAD_HEAL_RATE_MODIFIER</DefineName>
<iDefineIntVal>100</iDefineIntVal>
</Define>
The original values for these were
Quote:
<DefineName>ENEMY_HEAL_RATE</DefineName>
<iDefineIntVal>5</iDefineIntVal>
</Define>
<Define>
<DefineName>NEUTRAL_HEAL_RATE</DefineName>
<iDefineIntVal>10</iDefineIntVal>
</Define>
<Define>
<DefineName>FRIENDLY_HEAL_RATE</DefineName>
<iDefineIntVal>15</iDefineIntVal>
</Define>
<Define>
<DefineName>CITY_HEAL_RATE</DefineName>
<iDefineIntVal>20</iDefineIntVal>
</Define>
And the line about road_heal_rate_modifier is totally my addition. Even with the road lines added in, my application is running fine, and the healing rates do indeed seem to be slowed down!
However, I don't see any sign that healing rates on tiles with roads and without are having any impact. Can you offer any help or suggestions on this?