Espionage adjustment (slider) allowed by tech (like Drama enables culture adjustment)

Cybah

Emperor
Joined
Jun 22, 2007
Messages
1,481
To boost the AI's early research (no wasting of commerce for espionage), espionage adjustment should be enabled by a tech like drama allows culture adjustment.

Here are two problems:

1) There is no icon for "Allows Espionage Adjustment" in the tech tree. You will see a pink square.

2) Espionage adjustment is enabled by default immediately after first contact with another civ. How can I change this (xml/python/sdk)?
 
Could it be because the palace provides EP points? I've often thought that.
 
The CIV4CommerceInfo controls the sliders (Assets/XML/GameInfo). Go to the espionage entry and change:

<bFlexiblePercent>1</bFlexiblePercent>

Making the 1 a 0.

Then go into CIV4TechInfos (Assets/XML/Technologies) and for the tech you want, find the tag <CommerceFlexible/>.

Change it to:

Code:
			<CommerceFlexible>
				<bFlexible>0</bFlexible>
				<bFlexible>0</bFlexible>
				<bFlexible>0</bFlexible>
				<bFlexible>1</bFlexible>
			</CommerceFlexible>

If there is an XML entry already programed in for its button it would be found in the CIV4ArtDefines_Interface (Assets/XML/Art).

Alternatively, you can allow a building to enable you to adjust the slider instead of a tech using the <CommerceFlexibles/> tag in the CIV4BuildingInfos file.
 
If that works, you will be my personal hero. :D Thank you, will try it.
 
same procedure. but you won't be able to get this technology without specialists. don't recommend that, the AI won't understand it.
 
My suggestion is work with CIV4ProcessInfo.XML only. You just add it...


Spoiler :
<ProcessInfo>
<Type>PROCESS_ESPIONAGE</Type>
<Description>TXT_KEY_PROCESS_ESPIONAGE</Description>
<Strategy>TXT_KEY_PROCESS_ESPIONAGE_STRATEGY</Strategy>
<TechPrereq>TECH_SECRET_SERVICE</TechPrereq>
<ProductionToCommerceModifiers>
<iProductionToCommerceModifier>0</iProductionToCommerceModifier>
<iProductionToCommerceModifier>0</iProductionToCommerceModifier>
<iProductionToCommerceModifier>0</iProductionToCommerceModifier>
<iProductionToCommerceModifier>50</iProductionToCommerceModifier>
</ProductionToCommerceModifiers>
<Button>,Art/Interface/Buttons/TechTree/Corporation.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,8,16</Button>
</ProcessInfo>



The button is the same of spy missions. You should change the Tech.
 
The science bar is going to be filled by buildings that would act just like specialists. I don't want budget management influence science untill industrial age.

I found the possible solution in Civ4CommerceInfo.xml, disabled the science slider, but there is another python/c++ problem. All my commerce goes into science and the treasury remains zero. Whatever I try, it doesn't work.
 
Back
Top Bottom