[LH Animated 3D] ADOLF HITLER

Could somebody make the necessary XML entries and button for this leaderhead? For the XML, just the parts concerning this leaderhead would be needed - if we know which files to paste to, we can copy and paste the new code into a copy of the XML file (copied into the custom assets folder).
For diplomacy, it might be good to have some real quotes (but nothing racist or offensive). For the traits file, a mix of the values of other aggressive leaders (Alexander, Julius, etc.) might be enough.
 
Agressive and Charismatic perhaps would fit him...
 
Aggresice and charismatic, and rest copy paste from montezuma leader
 
The Art Def looks fine. The bright red circle usually means you are referencing a missing file. Make sure all the files are in the Hitler directory, and that the directory is in the right path (as you've defined it).

You don't have to reference any of the other files as they are all contained in the NIF and KFM lines.

I haven't downloaded this, but did the author change napoleon.nif to Hitler.nif? Also, usually the _bg file is initially 'napoleon_bg.dds'.
Arghh this is killing me, I've made so much progress, yet it still isn't showing Hitler's ugly mug - only a red screen! I've managed to add Hitler's name, gave him aggressive & charismatic traits, added him to the German nation, changed his favorite civic to police state, and I even gave him his own civilopedia entry (hey, I'll worry about the TRUE civilopedia details later :P). The only problem I'm still having is with the darn images. I feel it's something so obvious, yet I've almost ensured everything is fine! I've considered case sensitivity, misspellings, proper file extensions, and proper directory references. I don't know what else it could be.

Wyz, you said the Civ4ArtDefines_Leaderhead code looks alright? Well I've already added Hitler as a part of Germany, made him selectable, and added appropriate text, so the image is my only problem now and unless I'm mistaken, the Civ4ArtDefines_Leaderhead.xml file is the brains dictating the images, so its got to be isolated to that file.

Compare my Hitler directory (art/assets/LeaderHeads/Hitler) to my Civ4ArtDefines_Leaderhead.xml file. Furthermore, I made sure the tags were defined properly in my Civ4LeaderHeadInfos.xml file. Is all of it PERFECTLY alright?

p.s. Oh and yes, the author changed napoleon.nif to Hitler.nif for some reason, but left all the other files as napoleon named ones.
 
Arghh this is killing me, I've made so much progress, yet it still isn't showing Hitler's ugly mug - only a red screen!

Read the first post

In the:

\Assets\XML\Art folder

Open the "CIV4ArtDefines_Leaderhead" File

Paste This:
<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_HITLER</Type>
<Button>Art/interface/LeaderHeads/Hitler.dds</Button>
<NIF>Art/Leaderheads/Hitler/Hitler.nif</NIF>
<KFM>Art/Leaderheads/napoleon/napoleon.kfm</KFM>
<NoShaderNIF>Art/Leaderheads/Hitler/hitler.nif</NoShaderNIF>
<BackgroundKFM>Art/Leaderheads/napoleon/napoleon_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>

Notice what's in Bold, THAT is what is different. Then just make sure the folders and names are in the right spot. I did that and it worked for me
 
Oh, I'm not using the first Hitler leader head, I'm using the one uploaded by Hadrean. In Hadrean's one, you don't replace any Napoleon files (there's only one folder, for Hitler). Hence, I do NOT want to draw from a Napoleon folder in any of my code, so the first post doesn't help me. In addition, the button file Hitler.dds doesn't exist, at least not in Hadrean's uploaded version. Regardless, I tried your code Edgecrusher and I actually made some progress.

So the leaderhead shows, now I'm just trying to figure out why he isn't showing for the small box to the right and why his background isn't Napoleon's. Naturally the background is Napoleon's because it's drawing from the Napoleon folder, so I'm trying the Hitler folder with different files, unfortunately all of the ones I'm trying are replacing the WHOLE picture (leader head and background) with the infamous red square of nothingness. Does anyone know what file in the Hitler directory exactly is the one for the background as shown here? I thought it would be one of the _bg ones, but they only seem to replace Hitler with the red square. Here is my new updated xml code:

<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_HITLER</Type>
<Button>Art/interface/LeaderHeads/napoleon/napoleon_nrml.dds</Button>
<NIF>art/LeaderHeads/Hitler/Hitler.nif</NIF>
<KFM>art/LeaderHeads/Hitler/napoleon.kfm</KFM>
<NoShaderNIF>art/LeaderHeads/Hitler/napoleon_noshader.nif</NoShaderNIF>
<BackgroundKFM>art/LeaderHeads/Hitler/napoleon_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>

So currently I'm trying to figure out the BackgroundKFM portion and the small picture portion (part of button code?). Any ideas? Thanks.
 
Oh, I'm not using the first Hitler leader head, I'm using the one uploaded by Hadrean. In Hadrean's one, you don't replace any Napoleon files (there's only one folder, for Hitler). Hence, I do NOT want to draw from a Napoleon folder in any of my code.

I was under the impressing it was just an updated version (Hence 2.0). All I know is I set it up like that and it works fine for me.

In addition, the button file Hitler.dds doesn't exist, at least not in Hadrean's uploaded version.

I know, I made one.

So the leaderhead shows, now I'm just trying to figure out why he isn't showing for the small box to the right

The small box to the right, is the button. My code refures to the Button I made (that you dont have), hence why its a Red Box.

Try it with the Napoleon folders.
 
Re/\/\eDy said:
Oh, I'm not using the first Hitler leader head, I'm using the one uploaded by Hadrean. In Hadrean's one, you don't replace any Napoleon files (there's only one folder, for Hitler). Hence, I do NOT want to draw from a Napoleon folder in any of my code, so the first post doesn't help me. In addition, the button file Hitler.dds doesn't exist, at least not in Hadrean's uploaded version. Regardless, I tried your code Edgecrusher and I actually made some progress.

So the leaderhead shows, now I'm just trying to figure out why he isn't showing for the small box to the right and why his background isn't Napoleon's. Naturally the background is Napoleon's because it's drawing from the Napoleon folder, so I'm trying the Hitler folder with different files, unfortunately all of the ones I'm trying are replacing the WHOLE picture (leader head and background) with the infamous red square of nothingness. Does anyone know what file in the Hitler directory exactly is the one for the background as shown here? I thought it would be one of the _bg ones, but they only seem to replace Hitler with the red square. Here is my new updated xml code:

<LeaderheadArtInfo>
<Type>ART_DEF_LEADER_HITLER</Type>
<Button>Art/interface/LeaderHeads/napoleon/napoleon_nrml.dds</Button>
<NIF>art/LeaderHeads/Hitler/Hitler.nif</NIF>
<KFM>art/LeaderHeads/Hitler/napoleon.kfm</KFM>
<NoShaderNIF>art/LeaderHeads/Hitler/napoleon_noshader.nif</NoShaderNIF>
<BackgroundKFM>art/LeaderHeads/Hitler/napoleon_bg.kfm</BackgroundKFM>
</LeaderheadArtInfo>

So currently I'm trying to figure out the BackgroundKFM portion and the small picture portion (part of button code?). Any ideas? Thanks.

Copy and paste the napoleon files and make nessesary changes to it. and there is no difference between the leaderheads, except that they look different.
 
Oh I see, so Hadrean's uploaded version is an extension/updated version of Kodzi's version? In that case then, Kodzi's version is required! That I did NOT know. I was afraid of this - can I ask one of you to upload Kodzi's Napoleon files then or email them to me at dwurfur007@yahoo.com because unfortunately Kodzi's version of the original Hitler leaderhead is down. It's been down for two days now.

Also, I take it you guys aren't referring to the original Napoleon files, right? Because the Napoleon folder/files can't be found anywhere in the Civ IV folders for some reason, more specifically, the art folder.
 
Re/\/\eDy said:
Oh I see, so Hadrean's uploaded version is an extension/updated version of Kodzi's version? In that case then, Kodzi's version is required! That I did NOT know. I was afraid of this - can I ask one of you to upload Kodzi's Napoleon files then or email them to me at dwurfur007@yahoo.com because unfortunately Kodzi's version of the original Hitler leaderhead is down. It's been down for two days now.

Also, I take it you guys aren't referring to the original Napoleon files, right? Because the Napoleon folder/files can't be found anywhere in the Civ IV folders for some reason, more specifically, the art folder.

No kodzi's version is not needed
 
So I have to copy and paste your uploaded Hitler files with those of the original Napoleon files? I could try that, but the original Napoleon files, as I pointed out, are "missing!" I quote missing because Napoleon works just fine in-game, so I know the game is finding them somewhere; however, I did a find/search on my entire computer, my Civ IV folder, and even did searches on Napo for acronyms and got nothing.
 
Armandeus said:
Could somebody make the necessary XML entries and button for this leaderhead? For the XML, just the parts concerning this leaderhead would be needed - if we know which files to paste to, we can copy and paste the new code into a copy of the XML file (copied into the custom assets folder).
For diplomacy, it might be good to have some real quotes (but nothing racist or offensive). For the traits file, a mix of the values of other aggressive leaders (Alexander, Julius, etc.) might be enough.
I'm working on it right now. I've given him Charismatic and Imperialistic, although now that I think about it Aggressive would be a better choice. It's easy enough to change, though.

Currently, I'm working out all of the stupid mistakes that I accidentally inserted in the XML files.
 
Re/\/\eDy said:
So I have to copy and paste your uploaded Hitler files with those of the original Napoleon files? I could try that, but the original Napoleon files, as I pointed out, are "missing!" I quote missing because Napoleon works just fine in-game, so I know the game is finding them somewhere; however, I did a find/search on my entire computer, my Civ IV folder, and even did searches on Napo for acronyms and got nothing.

Ah you need to un pack the fpk files but I forgot how.
 
Re/\/\eDy said:
So I have to copy and paste your uploaded Hitler files with those of the original Napoleon files? I could try that, but the original Napoleon files, as I pointed out, are "missing!" I quote missing because Napoleon works just fine in-game, so I know the game is finding them somewhere; however, I did a find/search on my entire computer, my Civ IV folder, and even did searches on Napo for acronyms and got nothing.
Use the PakBuild utility to unpack the four .fpk files in the Sid Meier's Civilization 4/Assets folder to any location you want. After you unpack them, you'll see that they unpacked folder has the same structure as the Assets/art folder. In the unpacked folder, you will find a Napoleon folder, which you should then copy to the Leaderheads folder in the Sid Meier's Civilization 4/Assets/art folder.

But I'm putting the Hitler model as a new German leader, so you don't need to do it yourself. If I'm lucky, I'll have it done in an hour (just in English, though), and it will be uploaded at that time.
 
Lol I need software then to get Hitler in-game? Ya know, all of this would have been nice to know in like a readme file included with the leaderheads :lol:. Granted I've never modded Civ IV until I ran across this Hitler leaderhead, but regardless, I'm a Computer Science major with programming and A+ experience and I still wasn't exactly sure what to do. I had ideas, but not all ideas work :lol:.

Well thanks for taking the time to work on the xml files Saketh - looking forward to the release :cool:
 
He should be given Augustus' animations if possible. Augustus does the "salute" (except for the chest-thump part). It might get offensive, but how can we get any more offensive than Hitler himself?
 
Yea that's true, Augustus would probably better suit Hitler, although you'd want to keep Hitler in Augustus' angry/furious picture state, otherwise Hitler might do that finger thing Augustus does when he's happy - I sure as hell wouldn't want to see Hitler do that! :lol:

Btw, to those interested, I eventually did manage to get Hitler's leaderhead and background working together as shown here. The small icon still doesn't work and I'm having trouble fixing his TXT_KEY_HITLER entry to register (In the screenshot, I just replaced the code with his name in all capital letters so it looks like it works via the screenshot), but otherwise I'm pretty satisfied. I tested him in-game and I can both play and meet him as a nation without the game crashing, so nitpicky comments aside, overall, I'd say mission accomplished. Regardless, I'm going to wait for Saketh's xml release - he might have corrected that small face portrait and TXT_KEY issue I'm having trouble with.

Btw, I want to thank Saketh, Hadrean, Edgecrusher, and Wyz for all the assistance. I greatly appreciate it you guys, thanks.
 
Re/\/\eDy said:
Btw, to those interested, I eventually did manage to get Hitler's leaderhead and background working together as shown here. The small icon still doesn't work and I'm having trouble fixing his TXT_KEY_HITLER entry to register (In the screenshot, I just replaced the code with his name in all capital letters so it looks like it works via the screenshot), but otherwise I'm pretty satisfied. I tested him in-game and I can both play and meet him as a nation without the game crashing, so nitpicky comments aside, overall, I'd say mission accomplished. Regardless, I'm going to wait for Saketh's xml release - he might have corrected that small face portrait and TXT_KEY issue I'm having trouble with.
Hitler is now a new leader for the German Empire. He has new diplomacy text, new AI, different traits - pretty much everything except the music (which is Bismarck's) is new. Hitler AI now plays most like Genghis Khan, although I wrote it almost from scratch.

He has Napoleon's animations, and I think it should stay that way. The glare is a perfect furious Hitler, and the head-nod salute is inoffensive.
 
Back
Top Bottom