How do you install a Leaderhead?

Does my "try this first" suggestion work?

Can you make a standalone testcase, on which we could use "diff" to see your changes?
 
Upon much further inspection, a typo was the culprit.. :rolleyes: It is working fine now. I apologize for wasting your time.
 
The above lines in my post show how I added "Caligula" to the game (complete with the same/correct paths I used).

If you place your files in the same path... and you have your XML match what's listed above and matches your placement on your system, all you need do, is sub-out "Caligula" with whatever LH name you want to insert in-game.

Yes, I understood that.

The fact is I have 3 options:

1) re-write the code identical as you did with Caligula, inserting IVAN.

2) copy the pre-generated code that the leader head creator included in his folder (MODULES/INTERFACE etc)

3) Do it on my own, making the path match what I do have in my folders.


I try all 3 options and it still doesnt work.
I must be making something wrong, however it would be great if you could tell me which one the aforementioned 3 options I must disregard:

- # 2, code created by the leader head graphic is wrong?
I wonder then why he included it in the folder ready to be used :confused:.

- I'm trying again copying your code, identical, even though it I do have the buttons in the same folder with the other graphic files.

- FYI, I do not have an interface/buttons path, I just have a Art/Leaderheads/Ivan IV one.

Are you suggesting (I'm looking at your coding) that I have to separate the button Ivan dds from the rest of the graphics and create one to match: Art/Interface/Buttons/LeaderHeads/Ivan.dds

:crazyeye:
 
Yes, I understood that.

The fact is I have 3 options:

1) re-write the code identical as you did with Caligula, inserting IVAN.

2) copy the pre-generated code that the leader head creator included in his folder (MODULES/INTERFACE etc)

3) Do it on my own, making the path match what I do have in my folders.


I try all 3 options and it still doesnt work.
I must be making something wrong, however it would be great if you could tell me which one the aforementioned 3 options I must disregard:

- # 2, code created by the leader head graphic is wrong?
I wonder then why he included it in the folder ready to be used :confused:.

- I'm trying again copying your code, identical, even though it I do have the buttons in the same folder with the other graphic files.
Modular loading is a little differant then "doing it on your own"... my directions are for "doing it on your own"... as-in your own mod or your own custom assets.

Option #2 is basically for modular loading (which a lot of authors create in this manner for)... if you want to go that route, but you do need to use his files and enable modular loading (a different process all in it's own).

Options #1 and #3 are essentially one in the same... if you're doing your own mod and/or adding this leader to an existing mod of your own, there are certainly files and command lines needed for modular loading that you can safely ignore/toss-out. Schema files come to mind. I have added many leader heads without ever once touching a schema file, and they all work fine... it's all how you intend to use the leaderhead... modular or inserting it into your own XML code for your mod.


- FYI, I do not have an interface/buttons path, I just have a Art/Leaderheads/Ivan IV one.

Are you suggesting (I'm looking at your coding) that I have to separate the button Ivan dds from the rest of the graphics and create one to match: Art/Interface/Buttons/LeaderHeads/Ivan.dds
Doesn't matter... you can point the game to Art/BubbasFiles/Ihatemodding/Ivan.dds for all it matters. The code MUST match where you put the graphic file. You can put it in the same folder with the rest of the LH graphics, or you can put it somewhere else... so-long as the XML points to the right location, that's what matters... I have my LH buttons in the same location they would be found in-game... I do that more for organization then anything else... you can do it either way.
 
Modular loading is a little differant then "doing it on your own"... my directions are for "doing it on your own"... as-in your own mod or your own custom assets.

Option #2 is basically for modular loading (which a lot of authors create in this manner for)... if you want to go that route, but you do need to use his files and enable modular loading (a different process all in it's own).

Options #1 and #3 are essentially one in the same... if you're doing your own mod and/or adding this leader to an existing mod of your own, there are certainly files and command lines needed for modular loading that you can safely ignore/toss-out. Schema files come to mind. I have added many leader heads without ever once touching a schema file, and they all work fine... it's all how you intend to use the leaderhead... modular or inserting it into your own XML code for your mod.



Doesn't matter... you can point the game to Art/BubbasFiles/Ihatemodding/Ivan.dds for all it matters. The code MUST match where you put the graphic file. You can put it in the same folder with the rest of the LH graphics, or you can put it somewhere else... so-long as the XML points to the right location, that's what matters... I have my LH buttons in the same location they would be found in-game... I do that more for organization then anything else... you can do it either way.


Thanks a lot for the clarification.
Now it works :)
 
My George Bush Leaderhead is called:
TXT_KEY_LEADER_BUSH

In game.
As are all the BtS Leaderheads now.
Its changed them.

What have I done wrong?
 
My George Bush Leaderhead is called:
TXT_KEY_LEADER_BUSH

In game.
As are all the BtS Leaderheads now.
Its changed them.

What have I done wrong?

type "Bush" in place of TXT_KEY_LEADER_BUSH.

Or edit the text file:
Spoiler :
<TEXT>
<Tag>TXT_KEY_LEADER_BUSH</Tag>
<English>Bush</English>
<French>Bush</French>
<German>Bush</German>
<Italian>Bush</Italian>
<Spanish>Bush</Spanish>
</TEXT>
 
Back
Top Bottom