Evil Pink Leaderheads and Buttons! What have I done wrong?

Gunner

Emperor
Joined
Aug 21, 2004
Messages
1,389
Location
Goochland, VA
I recently began making a mod which has new artwork for all of the civilizations and leaders. Yesterday I finished adding in the flags and buttons for the civilizations sucessfully.

I then spent today creating the leaderheads and leaderhead buttons for those civilizations. After following all of the directions in the following tutorial: http://forums.civfanatics.com/showthread.php?t=148507 , I happily proceded to fire up my mod and see the results of my labor. To my horror this is what appeared:




I have no idea what I have done wrong. I checked my CIV4ArtDefines_Leaderhead file against that of the one included in Fall from Heaven, and they appear to be identically formatted. I've also gone over just about every xml file possible.

Has anyone seen this type of thing before? Any ideas? I really hope that this is some stupid type of thing that is easy to fix.

I would be more than willing to upload any files that you think would help you in finding a solution for this problem.

Thankyou for your time.
 
well usually your images are:

1) named/referenced wrong
2) wrong size
3) wrong type
4) Mislabeled
5) wrong/nonexisting folder
6) wrong/incomplete taglines
7) no image file
8) combo of all


also it's usually easy to fix... because the pink just substitutes for no pic/bad reference (or errors as stated above)

however without seeing your files I can only guess :mischief:

if you post your files... I can review them... but I may not have answer until the end of the week.. (busy IRL :crazyeye: )


if you can not post them... then pic a civ and post part of the xml file (taglines) so I can examine it that way...
 
Did you get any xml error messages when you start your mod?

You said that you checked your xml with the one of a mod. Maybe the structure of your Art folder is not correct.
 
Thanks for your help everyone, I got it to work.

I'm not exactly sure what I did wrong, because I went back and changed a bunch of things at once. The thing that I think did the trick though was to go and change my CIV4ArtDefines_Leaderhead file so that the capitalization of all of the target folder items matched those of regular Civ4, rather than the capitalization of what my folders had.

I didn't realize before that capitalization mattered in xml work. Now I do :)
 
not 100% if this is relevant but we experienced on Roanoke that custom art needs the 'comma' removing from the start of the address written in the <button> tag, to make the hover icon go to the custom art folder ...
not sure if there is ever a hover icon (circular popup that comes when navigating off screen) in game for leaders, but if you put custom graphics in for anything else ...
 
jenks said:
not 100% if this is relevant but we experienced on Roanoke that custom art needs the 'comma' removing from the start of the address written in the <button> tag, to make the hover icon go to the custom art folder ...
not sure if there is ever a hover icon (circular popup that comes when navigating off screen) in game for leaders, but if you put custom graphics in for anything else ...


OMFG!!!! I dont know where to start!!!!!!!:eek:

I and several modders have been trying to solve this problem for ages!!!

to see the frustration go to these two threads:

http://forums.civfanatics.com/showthread.php?t=151450


http://forums.civfanatics.com/showthread.php?t=156760



I cant believe it is that simple!!!!

I tried it for my custom unit and it works!!!!! :p

I cant tell you how thankful I am for your solution jenks!!!! :goodjob:


I havent tried it for custom buiidings but I guess it should work!

You dont know how much that was erking me especially since you could not edit the atlas.dds file :mad:


THANK YOU! THANK YOU! THANK YOU! THANK YOU!

I will be posting this on those above mentioned links (and any other links I need to... :D )

one question... what is the size of the dds file... I am using 64x64 anything bigger and it doesnt seem to work :sad:

yet the "offscreen"/"Contructed" image looks more distorted (unfocused) than the button image... any suggestions on making the "offscreen" image the same quality (better) as the city button image? :confused:


but thanks again for this!!!!!!

you da man! :king:
 
Officer Reene said:
one question... what is the size of the dds file... I am using 64x64 anything bigger and it doesnt seem to work :sad:

yet the "offscreen"/"Contructed" image looks more distorted (unfocused) than the button image... any suggestions on making the "offscreen" image the same quality (better) as the city button image? :confused:

why don't you just copy a working vanilla image and paste your image in?
 
Chamaedrys said:
why don't you just copy a working vanilla image and paste your image in?

Since you can customize CIV4 I want to totally customize the Units that I create...

I feel if I can customize it, I should go all the way... and the vanilla images IMHO doesnt cut it....

I also tried to to edit the atlas file but I couldnt get it to work :mad:

but now that I know how to properly "direct" the game to my custom units/buildings... I think I know what to do now :D


This weekend I am going to test my theories... (or at least code it in XML)
 
Back
Top Bottom