Moving trough desert -> units to lose strength

Ultraworld

Emperor
Joined
May 2, 2003
Messages
1,156
I did a search but this question hasn't been posted yet (if im not mistaken)

How to mod such that moving trough desert causes units to lose their strength ?
 
There is a similar feature in Final Frontier - some stellar fenomena will cause damage to your units.
I don't know what exactly they did - you will have to look through relevant files there - but FF does not have custom .DLL, so it should be somewhat easy (as in XML or maybe Python change).
 
Yeah, Final Frontier has it in. It's XML, using <iTurnDamage>. You'll probably have to edit the schema as well as the terrain file to include this in it.
 
thanks for your replies but I am new to Civ 4 (not the civ series itself) so I don't know what to do. iTurnDamage? in which file can i find it? What schema are you talking about?
 
Uh... <iTurnDamage> is in Assets\XML\Civ4FeatureInfos.XML
It will cause a unit to take some damage per turn spent on a plot with that feature. I am not sure what units it use, but i suspect %.

Changing the Shema (a template used when parsing a xml file to check what entries need to be there) isn't necessary in this case. It will however work based on features not terrain (desert is terrain).
 
Top Bottom