<GameOptionInfo> <!-- No Espionage -->
<Type>GAMEOPTION_NO_ESPIONAGE</Type>
<Description>TXT_KEY_GAME_OPTION_NO_ESPIONAGE</Description>
<Help>TXT_KEY_GAME_OPTION_NO_ESPIONAGE_HELP</Help>
<bDefault>1</bDefault>
<bVisible>0</bVisible>
</GameOptionInfo>
<GameOptionInfo> <!-- No Espionage -->
<Type>GAMEOPTION_NO_ESPIONAGE</Type>
<Description>TXT_KEY_GAME_OPTION_NO_ESPIONAGE</Description>
<Help>TXT_KEY_GAME_OPTION_NO_ESPIONAGE_HELP</Help>
<bDefault>0</bDefault>
<bVisible>1</bVisible>
</GameOptionInfo>
<EspionageMissionInfo>
<Type>ESPIONAGEMISSION_SEE_DEMOGRAPHICS</Type>
<Description>TXT_KEY_ESPIONAGE_CAN_SEE_DEMOGRAPHICS</Description>
<iCost>30</iCost>
<bIsPassive>1</bIsPassive>
<bIsTwoPhases>0</bIsTwoPhases>
<bTargetsCity>0</bTargetsCity>
<bSelectPlot>0</bSelectPlot>
<TechPrereq>NONE</TechPrereq>
<iVisibilityLevel>0</iVisibilityLevel>
<bInvestigateCity>0</bInvestigateCity>
<bSeeDemographics>0</bSeeDemographics>
<bNoActiveMissions>0</bNoActiveMissions>
<bSeeResearch>0</bSeeResearch>
<bDestroyImprovement>0</bDestroyImprovement>
<iDifficultyMod>0</iDifficultyMod>
<iDestroyBuildingCostFactor>0</iDestroyBuildingCostFactor>
<iDestroyUnitCostFactor>0</iDestroyUnitCostFactor>
<iDestroyProjectCostFactor>0</iDestroyProjectCostFactor>
<iDestroyProductionCostFactor>0</iDestroyProductionCostFactor>
<iBuyUnitCostFactor>0</iBuyUnitCostFactor>
<iBuyCityCostFactor>0</iBuyCityCostFactor>
<iStealTreasuryTypes>0</iStealTreasuryTypes>
<iCityInsertCultureAmountFactor>0</iCityInsertCultureAmountFactor>
<iCityInsertCultureCostFactor>0</iCityInsertCultureCostFactor>
<iCityPoisonWaterCounter>0</iCityPoisonWaterCounter>
<iCityUnhappinessCounter>0</iCityUnhappinessCounter>
<iCityRevoltCounter>0</iCityRevoltCounter>
<iBuyTechCostFactor>0</iBuyTechCostFactor>
<iSwitchCivicCostFactor>0</iSwitchCivicCostFactor>
<iSwitchReligionCostFactor>0</iSwitchReligionCostFactor>
<iPlayerAnarchyCounter>0</iPlayerAnarchyCounter>
<iCounterespionageNumTurns>0</iCounterespionageNumTurns>
<iCounterespionageMod>0</iCounterespionageMod>
</EspionageMissionInfo>
I'n not sure, but it could be that they removed the espionage from the dll.
Check GameInfo\CommerceInfo.xml, if the espionage tags are still in that file.
If not, then it's probably out.
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Jesse Smith (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Commerce Infos -->
<Civ4CommerceInfo xmlns="x-schema:CIV4GameInfoSchema.xml">
<CommerceInfos>
<CommerceInfo>
<Type>COMMERCE_GOLD</Type>
<Description>TXT_KEY_COMMERCE_GOLD</Description>
<iInitialPercent>0</iInitialPercent>
<iTradeModifier>0</iTradeModifier>
<iInitialHappiness>0</iInitialHappiness>
<iAIWeightPercent>100</iAIWeightPercent>
<bFlexiblePercent>0</bFlexiblePercent>
<Button>Art/Interface/Buttons/Process/ProcessWealth.dds</Button>
</CommerceInfo>
<CommerceInfo>
<Type>COMMERCE_RESEARCH</Type>
<Description>TXT_KEY_COMMERCE_RESEARCH</Description>
<iInitialPercent>100</iInitialPercent>
<iTradeModifier>0</iTradeModifier>
<iInitialHappiness>0</iInitialHappiness>
<iAIWeightPercent>125</iAIWeightPercent>
<bFlexiblePercent>1</bFlexiblePercent>
<Button>Art/Interface/Buttons/Process/ProcessResearch.dds</Button>
</CommerceInfo>
<CommerceInfo>
<Type>COMMERCE_CULTURE</Type>
<Description>TXT_KEY_COMMERCE_CULTURE</Description>
<iInitialPercent>0</iInitialPercent>
<iTradeModifier>0</iTradeModifier>
<iInitialHappiness>10</iInitialHappiness>
<iAIWeightPercent>25</iAIWeightPercent>
<bFlexiblePercent>0</bFlexiblePercent>
<Button>Art/Interface/Buttons/Process/ProcessCulture.dds</Button>
</CommerceInfo>
<CommerceInfo>
<Type>COMMERCE_ESPIONAGE</Type>
<Description>TXT_KEY_ESPIONAGE_CULTURE</Description>
<iInitialPercent>0</iInitialPercent>
<iTradeModifier>0</iTradeModifier>
<iInitialHappiness>0</iInitialHappiness>
<iAIWeightPercent>0</iAIWeightPercent>
<bFlexiblePercent>0</bFlexiblePercent>
<Button>Art/Interface/Buttons/Process/ProcessCulture.dds,Art/Interface/Buttons/Beyond the Sword_Atlas.dds,8,16</Button>
</CommerceInfo>
</CommerceInfos>
</Civ4CommerceInfo>
Not sure, but bFlexiblePercent for espionage should be set to something higher than 0 (test 10, or so).
I'm not sure if I'll be able to answer the follow up, I think I need a break.
<CommerceInfo>
<Type>COMMERCE_ESPIONAGE</Type>
<Description>TXT_KEY_ESPIONAGE_CULTURE</Description>
<iInitialPercent>0</iInitialPercent>
<iTradeModifier>0</iTradeModifier>
<iInitialHappiness>0</iInitialHappiness>
<iAIWeightPercent>25</iAIWeightPercent>
<bFlexiblePercent>1</bFlexiblePercent>
<Button>Art/Interface/Buttons/Process/ProcessCulture.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,16</Button>
</CommerceInfo>
I'm simply trying to change the research rate for a given game speed (like normal). I've done it by creating a separate mod before, but I would like to do it on an existing mod (so keeping all of the mods other features but changing this one thing in the XML). However, if I just go in and change it, I get all sorts of errors when I try to load the mod.
What am I missing?
And thanks. (first forum post ever)
@Zlatko - I think you will have many problems working with a FFH2 mod if you intend to change things very much from how they are in FFH2. There are things hardcoded in the DLL or python that you would have to remove or change to avoid errors. At least that is what I have seen from working on More Naval AI which is also a FFH2 mod.
Thank you for Eras.
1) I have problem with Future Era (last era). This Era start in last turn of time victory. Normal game speed 1001 turns, future era start in 1001 turn.
2)I have get permission from Valkrionn to make my Rise from Erebus version (some FFH2 version, if i correctly think). My problem is ESPIONAGE. They are remove Espionage from gameyou can see on Picture 1.
![]()
Picture 1
On picture 2 you can see BTS. And i want to return this (Picture 2).
![]()
Picture 2
3) I change this in "CIV4GameOptionInfos":
PHP1 (this was default setting)PHP:<GameOptionInfo> <!-- No Espionage --> <Type>GAMEOPTION_NO_ESPIONAGE</Type> <Description>TXT_KEY_GAME_OPTION_NO_ESPIONAGE</Description> <Help>TXT_KEY_GAME_OPTION_NO_ESPIONAGE_HELP</Help> <bDefault>1</bDefault> <bVisible>0</bVisible> </GameOptionInfo>
PHP2 (my change)PHP:<GameOptionInfo> <!-- No Espionage --> <Type>GAMEOPTION_NO_ESPIONAGE</Type> <Description>TXT_KEY_GAME_OPTION_NO_ESPIONAGE</Description> <Help>TXT_KEY_GAME_OPTION_NO_ESPIONAGE_HELP</Help> <bDefault>0</bDefault> <bVisible>1</bVisible> </GameOptionInfo>
Before this i am put new Eras and new techs and game worked fine, until i am not changed in PHP2. I am copied Espionage missions from BTS, because there was only one Espionage mission.
Espionage Mission:
Spoiler :PHP:<EspionageMissionInfo> <Type>ESPIONAGEMISSION_SEE_DEMOGRAPHICS</Type> <Description>TXT_KEY_ESPIONAGE_CAN_SEE_DEMOGRAPHICS</Description> <iCost>30</iCost> <bIsPassive>1</bIsPassive> <bIsTwoPhases>0</bIsTwoPhases> <bTargetsCity>0</bTargetsCity> <bSelectPlot>0</bSelectPlot> <TechPrereq>NONE</TechPrereq> <iVisibilityLevel>0</iVisibilityLevel> <bInvestigateCity>0</bInvestigateCity> <bSeeDemographics>0</bSeeDemographics> <bNoActiveMissions>0</bNoActiveMissions> <bSeeResearch>0</bSeeResearch> <bDestroyImprovement>0</bDestroyImprovement> <iDifficultyMod>0</iDifficultyMod> <iDestroyBuildingCostFactor>0</iDestroyBuildingCostFactor> <iDestroyUnitCostFactor>0</iDestroyUnitCostFactor> <iDestroyProjectCostFactor>0</iDestroyProjectCostFactor> <iDestroyProductionCostFactor>0</iDestroyProductionCostFactor> <iBuyUnitCostFactor>0</iBuyUnitCostFactor> <iBuyCityCostFactor>0</iBuyCityCostFactor> <iStealTreasuryTypes>0</iStealTreasuryTypes> <iCityInsertCultureAmountFactor>0</iCityInsertCultureAmountFactor> <iCityInsertCultureCostFactor>0</iCityInsertCultureCostFactor> <iCityPoisonWaterCounter>0</iCityPoisonWaterCounter> <iCityUnhappinessCounter>0</iCityUnhappinessCounter> <iCityRevoltCounter>0</iCityRevoltCounter> <iBuyTechCostFactor>0</iBuyTechCostFactor> <iSwitchCivicCostFactor>0</iSwitchCivicCostFactor> <iSwitchReligionCostFactor>0</iSwitchReligionCostFactor> <iPlayerAnarchyCounter>0</iPlayerAnarchyCounter> <iCounterespionageNumTurns>0</iCounterespionageNumTurns> <iCounterespionageMod>0</iCounterespionageMod> </EspionageMissionInfo>
and i add spy and great spy in game. After all of this, game went to Havoc.
I choose custom game i choose some era (not important which) when i click on end turn, my game screen become frozen. Sometimes i must wait more than 5-10 minute for end turn. If i choose great spy and choose start golden age i get Don't send error. Spy can't do any mission although i copied all missions from BTS. And i am not choose "NO ESPIONAGE". I change courthouse to get espionage points as in BTS, and i can see +2 ESP point in civilopedia.
What have I done? And how to return Espionage in game? PLEASE HELP ....
No, no, noI want back espionage in the game, that is terrible...
This is CIV4CommerceInfo:
Spoiler :PHP:<?xml version="1.0"?> <!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Jesse Smith (Firaxis Games) --> <!-- Sid Meier's Civilization 4 --> <!-- Copyright Firaxis Games 2005 --> <!-- --> <!-- Commerce Infos --> <Civ4CommerceInfo xmlns="x-schema:CIV4GameInfoSchema.xml"> <CommerceInfos> <CommerceInfo> <Type>COMMERCE_GOLD</Type> <Description>TXT_KEY_COMMERCE_GOLD</Description> <iInitialPercent>0</iInitialPercent> <iTradeModifier>0</iTradeModifier> <iInitialHappiness>0</iInitialHappiness> <iAIWeightPercent>100</iAIWeightPercent> <bFlexiblePercent>0</bFlexiblePercent> <Button>Art/Interface/Buttons/Process/ProcessWealth.dds</Button> </CommerceInfo> <CommerceInfo> <Type>COMMERCE_RESEARCH</Type> <Description>TXT_KEY_COMMERCE_RESEARCH</Description> <iInitialPercent>100</iInitialPercent> <iTradeModifier>0</iTradeModifier> <iInitialHappiness>0</iInitialHappiness> <iAIWeightPercent>125</iAIWeightPercent> <bFlexiblePercent>1</bFlexiblePercent> <Button>Art/Interface/Buttons/Process/ProcessResearch.dds</Button> </CommerceInfo> <CommerceInfo> <Type>COMMERCE_CULTURE</Type> <Description>TXT_KEY_COMMERCE_CULTURE</Description> <iInitialPercent>0</iInitialPercent> <iTradeModifier>0</iTradeModifier> <iInitialHappiness>10</iInitialHappiness> <iAIWeightPercent>25</iAIWeightPercent> <bFlexiblePercent>0</bFlexiblePercent> <Button>Art/Interface/Buttons/Process/ProcessCulture.dds</Button> </CommerceInfo> <CommerceInfo> <Type>COMMERCE_ESPIONAGE</Type> <Description>TXT_KEY_ESPIONAGE_CULTURE</Description> <iInitialPercent>0</iInitialPercent> <iTradeModifier>0</iTradeModifier> <iInitialHappiness>0</iInitialHappiness> <iAIWeightPercent>0</iAIWeightPercent> <bFlexiblePercent>0</bFlexiblePercent> <Button>Art/Interface/Buttons/Process/ProcessCulture.dds,Art/Interface/Buttons/Beyond the Sword_Atlas.dds,8,16</Button> </CommerceInfo> </CommerceInfos> </Civ4CommerceInfo>
I see espionage in this file, but why espionage don't work? ...
What to do?
That's bad news..
I am change to this in CIV4CommerceInfo (as in BTS + new tag which is important here):
Spoiler :PHP:<CommerceInfo> <Type>COMMERCE_ESPIONAGE</Type> <Description>TXT_KEY_ESPIONAGE_CULTURE</Description> <iInitialPercent>0</iInitialPercent> <iTradeModifier>0</iTradeModifier> <iInitialHappiness>0</iInitialHappiness> <iAIWeightPercent>25</iAIWeightPercent> <bFlexiblePercent>1</bFlexiblePercent> <Button>Art/Interface/Buttons/Process/ProcessCulture.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,16</Button> </CommerceInfo>
and turn's go normal without frozen screen, don't send error and etc. But look this new picture:
![]()
Picture 1
Spy can't do any mission (Picture 1). I change courthouse to give +220 espionage points per turn, and spy can't do any espionage mission (i have all missions in CIV4EspionageMissionInfo).. Maybe because i haven't espionage screen.
![]()
Picture 2
How to return this on picture 2? Which files i must change? I think that is Python files change..
Please help me..
I see, but i want only return espionage in game, I hope it's not supposed to be so hard.