Does anyone know how to add LH and units yet?

SoCalian

Deity
Joined
Apr 22, 2003
Messages
2,901
I'm just wondering, and I haven't seen it posted else where. Does anyone know how we put in new leaderheads for a civ, and how to put in new units. For example, I am going to start working on a California civ/mod. How would I put in the new leader head graphic, and how would I add the UU?
 
For a new unit, you need to modify 4 XML files max. You could do with 1 if it's UU without a new text or new graphics.

xml\art\CIV4ArtDefines_Unit.xml

xml\units\CIV4UnitClassInfos.xml

xml\units\CIV4UnitInfos.xml

xml\text\CIV4GameTextInfos.xml
 
Ok thanks, that helps. Where would I put the graphics though? I presume in a new mod specific folder? I haven't cracked into the files in this game yet, I am looking to dive into it with this project. I did some work on Civ 3, how different is it this time around.
 
You should unpak the game and take a look at the folders structure, it will help. You should put your modifications in a Mod or in the Custom Assets.. But I'd do it with a mod. The Custom Assets override the main assets but also the mods assets, isn't it ? If so, it would be safer to create a new mod.
 
Top Bottom