zenspiderz
Just some bloke..
- Joined
- Apr 10, 2006
- Messages
- 1,496
Yippee!! i did it. Finally after hours of meddling and messing up. i have finally figured it. i can now add modular leaderheads!
<Type>ART_DEF_LEADER_OBAMA</Type>
<Button>,Art/interface/LeaderHeads/Btn_LH_Mali_MansaMusa.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,2</Button>
<NIF>art/LeaderHeads/Obama/obama004.nif</NIF>
<KFM>art/LeaderHeads/Obama/Zara Yaqob.kfm</KFM>
<NoShaderNIF>art/LeaderHeads/Zara Yaqob/Zara_Yaqob_NONSHADER.nif</NoShaderNIF>
<BackgroundKFM>art/LeaderHeads/Washington/Washington_BG.kfm</BackgroundKFM>
Hiya. I'm want to install Obama to my new mod. I did everything else, but the art is giving me issues. Here's my art defines stuff.
Code:<Type>ART_DEF_LEADER_OBAMA</Type> <Button>,Art/interface/LeaderHeads/Btn_LH_Mali_MansaMusa.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,2</Button> <NIF>art/LeaderHeads/Obama/obama004.nif</NIF> <KFM>art/LeaderHeads/Obama/Zara Yaqob.kfm</KFM> <NoShaderNIF>art/LeaderHeads/Zara Yaqob/Zara_Yaqob_NONSHADER.nif</NoShaderNIF> <BackgroundKFM>art/LeaderHeads/Washington/Washington_BG.kfm</BackgroundKFM>
My problem is that the leaderhead is Zara, and the little avatar sized non-animated pic is Zara's too. Could anyone help me?
EDIT: YES! I got the leaderhead to work! Just the little pic doesn't work. Anyone know what the problem is?
The only thing which will not be truly modular is adding the leaderhead to the civ. You can copy the Rome definition of CIV4CivilizationInfos.xml and call it e.g. Rome_CIV4CivilizationInfos.xml and add the leaderhead there the way Wolf described, but it will not be entirely modular.
If you wanted to add a second leaderhead (e.g. Nero), you could not do the same for Nero, the two would need to share the Rome_CIV4CivilizationInfos.xml which then needs to include both leaderheads. For anything else, you could create Nero_... files, just like you did for Caligula.
You should use modular loading, it is superior to regular loading, even though the Wolf fears changeIf e.g. there is a new patch which changes some xml, you would only need the changes which affect your modular definitions (i.e. which truly affected the Rome civ in this example). With Non-Modular loading, you would need to take care of all changes, so if they changed a regular leaderhead or a civ other than Rome, you would need to include those changes in your version of the definition (which is included in your copy of the original file).
With modular loading, these changes would not affect you, as you inherit the regular (updated) definitions for anything you do not explicitly add to your mod (in this case anything but Rome).
If you use the modular way, you create a dir in which you store the Caligula files, make sure to copy the appropriate schemas used by your files to that dir as well. Each xml file (except for the text ones) contains a line like "<Civ4CivilizationInfos xmlns="x-schema:CIV4CivilizationsSchema.xml">" whatever schema file is mentioned there is needed to load the file.