Mod Completed (Except for Leaderhead Art) - Help!

Mattygerst

Prince
Joined
Jan 19, 2008
Messages
594
Location
St. Louis, Missouri, USA
Haha...well, after about 8 hours of work, I finally got most everything working. My new civ and leader both load. The flag is correct. The text is correct. I'm on the home stretch.

The last thing I cannot figure out for the life of me is why the static leaderhead image shows up as a pink block instead of the .dds file I have created.

I know the .dds files work properly because I created the flag. But, no matter what, I can't figure out why the leaderhead image won't work.

Currently I have:
Spoiler :
<LeaderHeadInfo>
<Type>LEADER_UNITED_STATES</Type>
<Description>TXT_KEY_LEADER_UNITED_STATES</Description>
<Civilopedia>TXT_KEY_LEADER_ROOSEVELT_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_LEADER_UNITED_STATES</ArtDefineTag>


and then define it here:

Spoiler :
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_UNITED_STATES</Type>
<Button>,Art/interface/LeaderHeads/Btn_LH_America_Roosevelt.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,2,12</Button>
<NIF>art/interface/LeaderHeads/USALeaderhead.dds</NIF>
<KFM></KFM>
<NoShaderNIF></NoShaderNIF>
<BackgroundKFM></BackgroundKFM>
</LeaderheadArtInfo>


The .dds loads properly thru DXTBmp. The flag I created loads properly through the game...but I can't get the leaderhead to not be a pink block.

What am I missing here?


It seems I have it defined properly and in the correct place....but can't figure out why it is only loading a pink block...

This is my last step to complete my mod....would someone please be so kind as to help me out with this. I've completely exhausted my abilities at this point...
 
Pink means the game can't find the art file in the location you specified in the NIF tag.
 
Edit: Fixed!!

The problem is, when I placed the .dds file, I reference this folder: Art/Interface/Leaderheads

This folder does not exist in the vanilla game (as far as I can see). Therefore, I had to create this folder in my mod and place my .dds file there. Once this was completed, the game worked!
 
Back
Top Bottom