How to install a custom Leaderhead in BtS

I seem to have a problem. I put the folder in Custom Assets, I edited the xml, but when I start the game, it says my leader's tag in CivilizationInfos is incorrect. I would appreciate any help. Also a .dds file came with my leader outside of the main folder with all the other files. Where should I put it?
 
Here's the message:

Tag: LEADER_PHILIP_II in Info class was incorrect
Current XML file is: xml\Civilizations/CIV4CivilizationInfos.xml

I'm trying to use PW90's Philip II of Spain leaderhead.
 
Thanks! That was it. I cannot believe I didn't notice that. Just one more question. His eyelids are pink,so can you tell me where to find the eyeshadow file? Thanks for all the help.

Edit: Never mind, I found it. One more thing. When I go to select him, his thumbnail shows up pink, but the image is fine. Is there any way to fix this?
 
Also a .dds file came with my leader outside of the main folder with all the other files. Where should I put it?

.... When I go to select him, his thumbnail shows up pink

That dds file is the thumbnail, probably.

Put it wherever you like in your mod folder, just make sure that you're pointing to the right place in artdefinesleaderhead. The usual spot for leaderhead buttons is assets/art/interface/leaderheads. But you can do whatever you like. Assets/art/PhillipIIisGod/PhillipIIwalksonwater/Ihatecheeseburgers, if you like. Just so long as you've got the right path in artdefines.
 
How do you make it so that when you first meet them, the introductory text appears, and underneath that it lets you choose peace vs. war. As I installed them according to this Tutorial, they work fine, but all that appears when I first meet a custom LH is the peace vs. war option. I know it's not essential, but it makes it more natural. I think Atotoztli, and maybe Basil II came with introductory text, but that's it. (I got them from Ekmek)
 
Oh, is it possible to install a custom leaderhead in a Mod? (i.e. LoR)? I've tried to take LoR's leaderheads and put them in BtS. That failed miserably. Is it possible to do the opposite though? That would really help me out. :D Thanks
 
Sure you can.
But there could be changes in the xml schema, and some other things, which could prevent this.
If you've succeded in adding a normal leaderhead to BtS, i would suggest asking the modder, if there are some things, which could prevent a custom modification.
 
Sure you can.
But there could be changes in the xml schema, and some other things, which could prevent this.
If you've succeded in adding a normal leaderhead to BtS, i would suggest asking the modder, if there are some things, which could prevent a custom modification.

OK, thanks. About making them say something when you meet them: I figured that out on my own, and that file didn't come up in the list of strange XML errors that appeared. They all said that the ending </English> does not correspond with the beginning <TEXT> and that the ending </NIF> does not correspond with the beginning <KFM>. However, I edited those out, and it still playeed the errors. Should I change something there? It'll often do that.
 
When it says, that the ending doesn't fit the start, you've deleted a tag.
If you create something like this
PHP:
<Text>
putsometexthere</English>
</Text>

then this message is thrown.

Normal should be
PHP:
<Text>
<English>sometext</English>
</Text>

Look again at your files. I don't know, how often i deleted something by accident...
 
I've reinstalled all my custom leaderheads cuz of too many of those messages. I'm working on getting them all in. Some of them didn't include buttons though. What should I do if they don't come with buttons? Some also say module in either the included XML or the files included. What does that mean?
 
Buttons: You have to creat one yourself ;). There are some tutorials here, how to do that. It's not difficult. Just take a screenshot ingame, and turn it into a button.


Modules: These are mini-mods, which can be integrated into the main game. The XML has to be a bit different in the name, and modular loading has to be turned on, but then it works fine.
 
I see, and the diplomacy, I just realized did not show up. On the first encounter with all of my custom leaderheads, it just shows a peace/wsr option w/out any message from the leader. I tried adding it in the deplomacy text, but that didn't do anything. What should I do there?
 
Okay, another issue: I added Charles V and Wilhelmina to the game. All the ArtInfos are correct. However, for Charles V, the button shows, but in the Civilopedia (I haven't encountered him ingame yet) All it shows is a grey box with nothing beside it. For Wilhelmina, it just shows a pink box in place of a button, and the same Civilopedia entry as for Charles V. I haven't encountered Wilhelmina ingame yet either)

other issue: I added Cleopatra, and put Hatshepsut's music in her LeaderheadInfo. In game, her music is silent. This happened to me with Atotoztli as well. However, Henry VIII, Basil II, and other leaderheads do play music. I even copy/pasted the word "Hatshepsut" and "Montezuma" from their respective LeaderheadInfos into Atotoztli and Cleopatra's infos.
 
Back
Top Bottom