1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Old immortal...

Discussion in 'Rhye's and Fall Modmods' started by Kurokami, Aug 20, 2010.

  1. Kurokami

    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?
     
  2. Baldyr

    Baldyr "Hit It"

    Joined:
    Dec 5, 2009
    Messages:
    5,530
    Location:
    Sweden
    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.)
     
  3. Kurokami

    Kurokami Chieftain

    Joined:
    Aug 4, 2010
    Messages:
    26
    alright thanks... and also wouldn't this also change the normal persian immortal(spear one)... so how would i differ from the two?
     
  4. Baldyr

    Baldyr "Hit It"

    Joined:
    Dec 5, 2009
    Messages:
    5,530
    Location:
    Sweden
    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.)
     

Share This Page