Can you help?

Anonimasu

Chieftain
Joined
Oct 24, 2011
Messages
24
Hi! I am working on a mod and a few of the added leaderheads aren't working at all.

Hitler
Gaddafi
Trung Sisters
Ataturk
Sobieski
Casimir

It's really frustrating, because they're all awesome.

Here are ones that I've added that do work fine:

Nanye Hi
Joan of Arc
Mangummal
Maria Theresia
Franz Josef
Cixi
Zenobia
Lech Walesa
Vytautas
Teuta (Pheretima in my mod)
Putin
David
Alexander

But for the first list, when I click on the leaderhead button in "Play Now!" they all crash and I get a window that says, "Civ IV: Beyond the Sword has encountered a problem and needs to close." Note that there are no error windows while the mod is loading.

The leaderheads are in :
Mods
-------> EuropeanReligion
------->Assets
------->Modules
------->Jingu
------->Trung_Sisters
------->Custom Leaderheads
------->Putin
------->David
------->Vytautas
------->Alexander
------->Franz Josef
------->Maria Theresia
------->Zenobia
------->Cixi
------->Gaddafi
------->Casimir
------->Sobieski
------->Walesa
------->Pheretima
------->Mangammal
------->Joan_of_Arc
------->Nanyehi
------->Ataturk
------->Hitler

HERE ARE THE ART DEFINES LEADERHEAD FILES...


</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_PUTIN</Type>
<Button>Modules/Custom Leaderheads/Putin/putinbut.dds</Button>
<NIF>Modules/Custom Leaderheads/Putin/Putin.nif</NIF>
<KFM>Modules/Custom Leaderheads/Putin/Putin.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Putin/Putin.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Putin/Putin_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_DAVID</Type>
<Button>,Modules/Custom Leaderheads/David/David.dds</Button>
<NIF>Modules/Custom Leaderheads/David/montezuma.nif</NIF>
<KFM>Modules/Custom Leaderheads/David/montezuma.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/David/David.dds</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/David/montezuma_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_VYTAUTAS</Type>
<Button>,Modules/Custom Leaderheads/Vytautas/Btn_Vytautas.dds</Button>
<NIF>Modules/Custom Leaderheads/Vytautas/alexander.nif</NIF>
<KFM>Modules/Custom Leaderheads/Vytautas/alexander.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Vytautas/alexander_noshader.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Vytautas/alexander_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_FRANZ_JOSEF</Type>
<Button>,Modules/Custom Leaderheads/Franz Josef/FranzJosef.jpeg</Button>
<NIF>Modules/Custom Leaderheads/Franz Josef/napoleon.nif</NIF>
<KFM>Modules/Custom Leaderheads/Franz Josef/napoleon.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Franz Josef/napoleon_noshader.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Franz Josef/napoleon_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_MARIA_THERESIA</Type>
<Button>,Modules/Custom Leaderheads/Maria Theresia/MariaTheresia.jpeg</Button>
<NIF>Modules/Custom Leaderheads/Maria Theresia/victoria.nif</NIF>
<KFM>Modules/Custom Leaderheads/Maria Theresia/victoria.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Maria Theresia/victoria_noshader.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Maria Theresia/victoria_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_ZENOBIA</Type>
<Button>,Modules/Custom Leaderheads/Zenobia/btn_lh_zenobia.dds</Button>
<NIF>Modules/Custom Leaderheads/Zenobia/zenobia.nif</NIF>
<KFM>Modules/Custom Leaderheads/Zenobia/zenobia.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Zenobia/zenobia.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Zenobia/zenobia_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_GADDAFI</Type>
<Button>,Modules/Custom Leaderheads/Gaddafi/Btn_Gaddafi.dds</Button>
<NIF>Modules/Custom Leaderheads/Gaddafi/Sitting Bull.nif</NIF>
<KFM>Modules/Custom Leaderheads/Gaddafi/Sitting Bull.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Zenobia/Sitting_Bull_NONSHADER.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Zenobia/Sitting Bull_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_CIXI</Type>
<Button>,Modules/Custom Leaderheads/Cixi/Btn_LH_Cixi.dds</Button>
<NIF>Modules/Custom Leaderheads/Cixi/cixi.nif</NIF>
<KFM>Modules/Custom Leaderheads/Cixi/asoka.kfm</KFM>
<NoShaderNIF>Modules/Custom Leaderheads/Cixi/asoka.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Leaderheads/Cixi/asoka_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_WALESA</Type>
<Button>Modules/Custom LeaderHeads/Walesa/Btn_LH_Walesa.dds</Button>
<NIF>Modules/Custom LeaderHeads/Walesa/walesa.nif</NIF>
<KFM>Modules/Custom LeaderHeads/Walesa/fdr.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Walesa/walesa.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Walesa/fdr_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_SOBIESKI</Type>
<Button>,Art/interface/LeaderHeads/Btn_LH_America_Washington.dds,Modules/Custom Civilisations/Poland/Beyond_the_Sword_Atlas.dds,1,1</Button>
<NIF>Modules/Custom Civilisations/Poland/Sobieski/sobieski.nif</NIF>
<KFM>Modules/Custom Civilisations/Poland/Sobieski/sobieski.kfm</KFM>
<NoShaderNIF>Modules/Custom Civilisations/Poland/Sobieski/sobieski.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom Civilisations/Poland/Sobieski/sobieski_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_CASIMIR</Type>
<Button>,Art/interface/LeaderHeads/Btn_LH_America_Washington.dds,Modules/Custom Civilisations/Poland/Casimir/Beyond_the_Sword_Atlas.dds,1,1</Button>
<NIF>Modules/Custom LeaderHeads/Casimir/casimir.nif</NIF>
<KFM>Modules/Custom LeaderHeads/Casimir/casimir.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Casimir/casimir.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Casimir/casimir_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_PHERETIMA</Type>
<Button>Modules/Custom LeaderHeads/Pheretima/isabella_background.dds</Button>
<NIF>Modules/Custom LeaderHeads/Pheretima/teuta.nif</NIF>
<KFM>Modules/Custom LeaderHeads/Pheretima/isabella.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Pheretima/teuta.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Pheretima/isabella_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_MANGAMMAL</Type>
<Button>Modules/Custom LeaderHeads/Mangammal/mangammal.dds</Button>
<NIF>Modules/Custom LeaderHeads/Mangammal/mansa_musa.nif</NIF>
<KFM>Modules/Custom LeaderHeads/Mangammal/mansa_musa.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Mangammal/mansa_musa_noshader.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Mangammal/mansa_musa_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>

<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_NANYEHI</Type>
<Button>Modules/Custom LeaderHeads/Nanyehi/nanyehi.dds</Button>
<NIF>Modules/Custom LeaderHeads/Nanyehi/Boudica.nif</NIF>
<KFM>Art/LeaderHeads/Boudica/Boudica.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Nanyehi/Boudica_NONSHADER.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Nanyehi/cyrus_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_JOAN_OF_ARC</Type>
<Button>Modules/Custom LeaderHeads/Joan_of_Arc/joan_of_arc.dds</Button>
<NIF>Modules/Custom LeaderHeads/Joan_of_Arc/elizabeth.nif</NIF>
<KFM>Art/LeaderHeads/elizabeth/elizabeth.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Joan_of_Arc/elizabeth_noshader.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Joan_of_Arc/elizabeth_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_ATATURK</Type>
<Button>Modules/Custom LeaderHeads/Btn_LH_Ataturk.dds</Button>
<NIF>Modules/Custom LeaderHeads/Ataturk/Ataturk.nif</NIF>
<KFM>Modules/Custom LeaderHeads/Ataturk/Ataturk.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Ataturk/Ataturk.nif</NoShaderNIF>
<BackgroundKFM>Modules/Ataturk/Ataturk_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_HITLER</Type>
<Button>Modules/Custom LeaderHeads/Hitler/hitler.dds</Button>
<NIF>Modules/Custom LeaderHeads/Hitler/Hitler.nif</NIF>
<KFM>Art/LeaderHeads/Hitler/alexander.kfm</KFM>
<NoShaderNIF>Modules/Custom LeaderHeads/Hitler/hitler_noshader.nif</NoShaderNIF>
<BackgroundKFM>Modules/Custom LeaderHeads/Hitler/Hitler_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_JINGU</Type>
<Button>Modules/Jingu/Btn_LH_Jingu.dds</Button>
<NIF>Modules/Jingu/Jingu.nif</NIF>
<KFM>Modules/Jingu/Jingu.kfm</KFM>
<NoShaderNIF/>
<BackgroundKFM>Modules/Jingu/Jingu_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_TRUNG_SISTERS</Type>
<Button>Modules/Trung/Btn_LH_Trung.dds</Button>
<NIF>Modules/Trung/Trung.nif</NIF>
<KFM>Modules/Trung/Trung.kfm</KFM>
<NoShaderNIF/>
<BackgroundKFM>Modules/Trung/Trung_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>

Could you help?

Also, please tell me where I am supposed to put this question in the forums.
 
Some of your button definitions have extraneous leading commas. Remove the commas from any that are not getting the button from an atlas. (The format is like "somwhere/somebutton.dds" for a file with just the one button in it, or ",somwhere/dummy.dds,somewhere/atlas.dds,x,y" for buttons in an atlas.)

Also, a couple of your button definitions are pointing to jpegs. They should be DDS files, so convert the images to DDS (DXT3 format, no mipmaps).

Those may not be the only problems.

A better place for mod related things is in the "Civ4 - Creation & Customization" forum.
 
A better place for mod related things is in the "Civ4 - Creation & Customization" forum.

Moderator Action: Moved to C&C.
If you see a thread which needs to be moved, feel free to use the "report post" button () to let the moderators know.


@problem: What exactly is not working? Animations wrong? Just pink images? Crashes?
And what G-E said.
 
@problem: What exactly is not working? Animations wrong? Just pink images? Crashes?
And what G-E said.

I'm not worrying about the pink buttons at this stage as they don't cause the crashes. Some of them work, some of them don't, but it has to be something else about the leader that is causing the game to crash. The coding or the original file?

I go into the game through the mod shortcut, press Singleplayer. Then I press Play Now! Then I, say, click on the German Empire. I click on Frederick - no problem. Works fine. I click on Bismarck - no problem. I click on Hitler - the screen changes to black and drops out to windows. It says the game has encountered an error and needs to close. An error report is available to send to Microsoft. And the button works fine for Hitler.:(
 
Top Bottom