Old immortal...

Kurokami

Chieftain
Joined
Aug 4, 2010
Messages
26
Hey guys for a modmod i wanted to add the old immortal (replacement for chariot) as an extra UU for the greeks, does anyone know how i would do that, and if possible can i change the name of the UU?
 
That would be a XML thing, so you should probably look in the Modiki for guidance.

I'm guessing that you could pretty much just add a new unit field at the end of \Sid Meier's Civilization 4\Beyond the Sword\Mods\Rhye's and Fall of Civilization\Assets\XML\Units\CIV4UnitInfos.xml

Copy-paste the entry you wanna base the unit on but make sure to check and edit all fields. The art should already be in the game, but you need to locate and point to it, obviously. So you'd still be calling those files "immortal" whatever just for reference - it doesn't affect what name is shown in-game.

To change the actual name you could probably add a new entry into something like \Sid Meier's Civilization 4\Beyond the Sword\Mods\Rhye's and Faster\Assets\XML\Text\CIV4GameText_RFCBTS.xml - just look at how the executive units have been renamed for the mod. (Unless specified, all units probably just keep their original names. Like the name "Immortal" for the unit in question. So you need to add a XML entry to overwrite the default name.)
 
alright thanks... and also wouldn't this also change the normal persian immortal(spear one)... so how would i differ from the two?
 
Ah, the art for the spear unit might be called the same thing as the art for the original unit... Then you'd have to change it to something slightly different in order to be able to use the default stuff already in the game. (Importing art for the horseback unit in another name seems suboptimal to me.)
 
Top Bottom