I Am Totally Lost

Justicex,


Here's some problems that I see just from looking at the xml (Changes to be made colored in red):

Civ_MGerm.xml: <Adjective>TXT_KEY_CIV_PRUSSIA_ADJECTIVE</Adjective>

<MapImage>MapGermany512.dds<MapImage> (where is this file in your mod?)
<DawnOfManQuote>TXT_KEY_CIV_TEXT_1</DawnOfManQuote>

<Civilization_UnitClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_PRUSSIA</CivilizationType>
<UnitClassType>UNITCLASS_PIKEMAN</UnitClassType>
<UnitType>UNIT_GERMAN_LANDSKNECHT</UnitType>
</Row>
<Row>
<CivilizationType>CIVILIZATION_PRUSSIA</CivilizationType>
<UnitClassType>UNITCLASS_TANK</UnitClassType>
<UnitType>UNIT_PRUSSIAN_PANZER_IV</UnitType>
</Row>
</Civilization_UnitClassOverrides>

Civ5LeaderHitler.xml:

<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_HITLER</CivilopediaTag> (not sure what this supposed to tag to- you have no correspoding file in the Game_Text.xml

Panzer_IV.xml:

<Description>TXT_KEY_UNIT_PRUSSIAN_PANZER_IV"</Description>

<Civilopedia>TXT_KEY_CIV5_INDUSTRIAL_PANZER_IV_TEXT</Civilopedia>

<Strategy>TXT_KEY_UNIT_GERMAN_PANZER_IV_STRATEGY</Strategy>

<Help>TXT_KEY_UNIT_HELP_PANZER_IV</Help>


<Unit_ResourceQuantityRequirements>
<Row>
<UnitType>UNIT_GERMAN_PANZER_IV</UnitType>
<ResourceType>RESOURCE_OIL</ResourceType>
</Row>
</Unit_ResourceQuantityRequirements>

<Unit_FreePromotions>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<PromotionType>PROMOTION_CITY_PENALTY</PromotionType>
</Row>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<PromotionType>PROMOTION_NO_DEFENSIVE_BONUSES</PromotionType>
</Row>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<PromotionType>PROMOTION_SIGHT_PENALTY</PromotionType>
</Row>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<PromotionType>PROMOTION_CAN_MOVE_AFTER_ATTACKING</PromotionType>
</Row>
</Unit_FreePromotions>


<Unit_Flavors>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>20</Flavor>
</Row>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>10</Flavor>
</Row>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<FlavorType>FLAVOR_MOBILE</FlavorType>
<Flavor>14</Flavor>
</Row>
</Unit_Flavors>
<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<UnitClassType>UNITCLASS_MODERN_ARMOR</UnitClassType>
</Row>
</Unit_ClassUpgrades>
<Unit_AITypes>
<Row>
<UnitType>UNIT_GERMAN_PANZER "IV</UnitType>
<UnitAIType>UNITAI_ATTACK</UnitAIType>
</Row>
- <Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<UnitAIType>UNITAI_DEFENSE</UnitAIType>
</Row>
- <Row>
<UnitType>UNIT_GERMAN_Panzer_IV</UnitType>
<UnitAIType>UNITAI_FAST_ATTACK</UnitAIType>
</Row>


Delete from Panzer_IV.xml:

<Language_en_US>
<Row Tag="TXT_KEY_UNIT_GERMAN_PANZER_IV">
<Text>Panzer Mark IV</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_INDUSTRIAL_PANZER_IV_HEADING">
<Text>Panzer Mark IV</Text>
</Row>
 
Holy crap dood! Youre a machine! I didn't expect you to get back to me so fast! Okay, now for the explanations...

The adjective was done like that because I thought It was done like that in Kael's guide. Or maybe it was and it was a typo or something....

The map image is the in-game map image that shows up for Germany. Why mess with success? ;)

The leader thing I just haven't bothered to fill out yet. I thought I had something there, like "Lived" and stuff, but I've restarted this thing so many times....

Thanks again for all your help! Gonna be up all night making these changes now! :king:

Whoo hoo! Everything is working properly now! I'm still getting Elisabeth as my leaderhead, but at least my mod is in a playable form! I think I'll set up my civ with a free panzer temporarily since I'm not sure about some of those AI values but don't wanna take a week to get that far to see if they fall on their faces when the AI uses them.

Now to get the proper icon and some text for the civilopedia and I think that about covers it :D Thanks again elistor and Gazebo! I put your names in the Thank You section of my mod too :D
 
I know why you are gettign liz (I think):

Check this file:
Code:
<Type>LEADER_BISMARCK</Type>
			<Description>TXT_KEY_LEADER_BISMARCK</Description>
			<Civilopedia>TXT_KEY_LEADER_BISMARCK_PEDIA</Civilopedia>
			<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_BISMARCK</CivilopediaTag>
			<ArtDefineTag>Bismark_Scene.xml</ArtDefineTag>
			<VictoryCompetitiveness>7</VictoryCompetitiveness>
			<WonderCompetitiveness>6</WonderCompetitiveness>
			<MinorCivCompetitiveness>7</MinorCivCompetitiveness>
			<Boldness>4</Boldness>
			<DiploBalance>8</DiploBalance>
			<WarmongerHate>6</WarmongerHate>
			<WorkAgainstWillingness>8</WorkAgainstWillingness>
			<WorkWithWillingness>6</WorkWithWillingness>
			<PortraitIndex>8</PortraitIndex>
			<IconAtlas>LEADER_ATLAS</IconAtlas>

And look at yours:
Code:
<Type>LEADER_HITLER</Type>
			<Description>TXT_KEY_LEADER_HITLER</Description>
			<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_HITLER</CivilopediaTag>
			<ArtDefineTag>Bismarck_Scene.xml</ArtDefineTag>
			<VictoryCompetitiveness>8</VictoryCompetitiveness>
			<WonderCompetitiveness>7</WonderCompetitiveness>
			<MinorCivCompetitiveness>3</MinorCivCompetitiveness>
			<Boldness>8</Boldness>
			<DiploBalance>3</DiploBalance>
			<WarmongerHate>2</WarmongerHate>
			<WorkAgainstWillingness>7</WorkAgainstWillingness>
			<WorkWithWillingness>4</WorkWithWillingness>
			<PortraitIndex>6</PortraitIndex>
			<IconAtlas>LEADER_ATLAS</IconAtlas>

You are missing a Civliopedia entry and you have the wrong PortraitIndex selected. Fix that.
 
I help because I know how frustrating it can be modding in the dark (proverbially speaking) and not being able to find help.

Same here, I alos have the caveat that I'd like people to answer my questions to but unfortunatly I think i'm asking questions that don't have answers yet. Sorry I haven't been helping more in this thread but it looked like Gazebo had it so I strayed off to answer others.
 
I know why you are gettign liz (I think):

Check this file:
Code:
<Type>LEADER_BISMARCK</Type>
			<Description>TXT_KEY_LEADER_BISMARCK</Description>
			<Civilopedia>TXT_KEY_LEADER_BISMARCK_PEDIA</Civilopedia>
			<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_BISMARCK</CivilopediaTag>
			<ArtDefineTag>Bismark_Scene.xml</ArtDefineTag>
			<VictoryCompetitiveness>7</VictoryCompetitiveness>
			<WonderCompetitiveness>6</WonderCompetitiveness>
			<MinorCivCompetitiveness>7</MinorCivCompetitiveness>
			<Boldness>4</Boldness>
			<DiploBalance>8</DiploBalance>
			<WarmongerHate>6</WarmongerHate>
			<WorkAgainstWillingness>8</WorkAgainstWillingness>
			<WorkWithWillingness>6</WorkWithWillingness>
			<PortraitIndex>8</PortraitIndex>
			<IconAtlas>LEADER_ATLAS</IconAtlas>

And look at yours:
Code:
<Type>LEADER_HITLER</Type>
			<Description>TXT_KEY_LEADER_HITLER</Description>
			<CivilopediaTag>TXT_KEY_CIVILOPEDIA_LEADERS_HITLER</CivilopediaTag>
			<ArtDefineTag>Bismarck_Scene.xml</ArtDefineTag>
			<VictoryCompetitiveness>8</VictoryCompetitiveness>
			<WonderCompetitiveness>7</WonderCompetitiveness>
			<MinorCivCompetitiveness>3</MinorCivCompetitiveness>
			<Boldness>8</Boldness>
			<DiploBalance>3</DiploBalance>
			<WarmongerHate>2</WarmongerHate>
			<WorkAgainstWillingness>7</WorkAgainstWillingness>
			<WorkWithWillingness>4</WorkWithWillingness>
			<PortraitIndex>6</PortraitIndex>
			<IconAtlas>LEADER_ATLAS</IconAtlas>

You are missing a Civliopedia entry and you have the wrong PortraitIndex selected. Fix that.

I thought we were supposed to take out that Civilopedia tag after the update? Looking at them side by side though I noticed that I spelt Bismarck wrong almost everywhere, that might be causing it. I will definitely change the portraitindex. Great eyes dood!

I help because I know how frustrating it can be modding in the dark (proverbially speaking) and not being able to find help.

Same here, I alos have the caveat that I'd like people to answer my questions to but unfortunatly I think i'm asking questions that don't have answers yet. Sorry I haven't been helping more in this thread but it looked like Gazebo had it so I strayed off to answer others.

I like to help too, it's just frustrating because I'm so new to it and can only help so much. I know I've been a little needy too so I try my best to be patient. I know everyone has their own games to play and mods to build. :D

I tried to help ya elistor, but your needs are beyond my skill to help with :( But yeah, be patient. There's still much we don't know and are confounded by the fact that the tools we have been given aren't exactly solid themselves yet.
 
All working now?

Sorry I didn't reply sooner, I was actually playing with my mod :D :goodjob:

I fixed the spelling errors and changed the PortraitIndex like you told me and it worked!

I played a duel map to see how the AI would play my civ but I never really interacted with it :( We were on seperate continents with 2 city-states each and even though Prussia had a navy, they never came over. I still had horsemen units when the game ended in 2033....

Now, just to change the UA, make a UB, fill out the civilopedia texts and fix the icons and I think we're done :D :clap:

For the UA, I was thinking of something like Blitzkrieg: Tank units can attack 2x. Pretty specific I know, but I was going for accuracy more than anything else.

For the UB, I was thinking of just basically renaming the Krepost, nothing fancy.

Any thoughts on these? Should I try something fancier for the UA and UB?

OH! One last question. The flavour values. Is it your civ is more warlike the higher the warlike flavour is or the lower? I wanna tweak those for accuracy too :D
 
Sorry I didn't reply sooner, I was actually playing with my mod :D :goodjob:

I fixed the spelling errors and changed the PortraitIndex like you told me and it worked!

I played a duel map to see how the AI would play my civ but I never really interacted with it :( We were on seperate continents with 2 city-states each and even though Prussia had a navy, they never came over. I still had horsemen units when the game ended in 2033....

Now, just to change the UA, make a UB, fill out the civilopedia texts and fix the icons and I think we're done :D :clap:

For the UA, I was thinking of something like Blitzkrieg: Tank units can attack 2x. Pretty specific I know, but I was going for accuracy more than anything else.

For the UB, I was thinking of just basically renaming the Krepost, nothing fancy.

Any thoughts on these? Should I try something fancier for the UA and UB?

OH! One last question. The flavour values. Is it your civ is more warlike the higher the warlike flavour is or the lower? I wanna tweak those for accuracy too :D

The flavor system is just as it sounds- the higher the flavor the more 'tasty' it is for the AI to do it. I.e. if you give Hitler a FLAVOR_CONQUEST of 1000, he's pretty much going to have one thing on his mind: DEATH.

A better UU might be Stormtroopers (going for realism, here, folks) replacing infantry. Perhaps a bonus when fighting in home territory or something? Be creative.

A nice UB might be a better broadcast tower, as Hitler loved him some propaganda. Perhaps more culture or a unit experience bonus?

Finally, a fun UA would be the Mongol 'kill city-state' UA, as Hitler had a knack for trying to 'gobble up' smaller, nearby nation-states.
 
Back
Top Bottom