Can't remove the Chivalry Requirement for Defensive Trade Pact

Kruelgor

Emperor
Joined
May 12, 2010
Messages
1,165
Location
The United States
Any help would be appreciated. Your name will be mentioned in the "special thanks" section of the Roman Scenario I'm working on.

I placed this in one file:

<GameData>
<Technologies>
<Update>
<Set DefensivePactTradingAllowed="false"/>
<Where Type="TECH_CHIVALRY" />
</Update>
</Technologies>
</GameData>


And I also placed this in another file (the game seems to corrupt when I place them both in the same file):


<GameData>
<Technologies>
<Delete Type="TECH_CHIVALRY" />
</Technologies>
</GameData>
 
Hmmm, now I'm unable to change the existing text. Here is what I'm using and it is not working:

<GameData>
<Language_en_US>
<Update> <Where Tag="TXT_KEY_DIPLO_DEF_PACT_NO_TECH"/>
<Set Text="[NEWLINE][NEWLINE]Neither player yet has the Technology."/>
</Update>
</Language_en_US>
</GameData>
 
I can't write right answer because I am writing from my tablet but I think that this should work:

<GameData>
<Language_en_US>
<Delete Tag="TXT_KEY_DIPLO_DEF_PACT_NO_TECH"/>
<Row Tag="TXT_KEY_DIPLO_DEF_PACT_NO_TECH">
<Text>[NEWLINE][NEWLINE]Neither player yet has the Technology to trade this item.</Text>
</Row>
</Language_en_US>
</GameData>
 
Any help would be appreciated. Your name will be mentioned in the "special thanks" section of the Roman Scenario I'm working on.

I placed this in one file:

<GameData>
<Technologies>
<Update>
<Set DefensivePactTradingAllowed="false"/>
<Where Type="TECH_CHIVALRY" />
</Update>
</Technologies>
</GameData>


And I also placed this in another file (the game seems to corrupt when I place them both in the same file):


<GameData>
<Technologies>
<Delete Type="TECH_CHIVALRY" />
</Technologies>
</GameData>

I think that if you are going to use just delete function this will work perfectly :P
 
I can't write right answer because I am writing from my tablet but I think that this should work:

<GameData>
<Language_en_US>
<Delete Tag="TXT_KEY_DIPLO_DEF_PACT_NO_TECH"/>
<Row Tag="TXT_KEY_DIPLO_DEF_PACT_NO_TECH">
<Text>[NEWLINE][NEWLINE]Neither player yet has the Technology to trade this item.</Text>
</Row>
</Language_en_US>
</GameData>

That's it. Thanks brother!
 
You can't write false for boolean values where default is false and 2 false becomes "true" =)

Just write anything else other than "false" and it will work
 
Back
Top Bottom