[BTS] City Processes (e.g. Building Wealth)

MHTranport

Chieftain
Joined
Sep 9, 2007
Messages
1
Background: I was playing continents, boxed in the AI and had focused on grabbing a third of the planets land mass. So I had many cities but need tech, so I switched most cities to research and let it go. I later realized beside the great tech push I had received no great people points. I thought that uneven. A process is about the same as a specialist.

So I find ProcessInfo in Assets/XML/GameInfo/CIV4ProcessInfo.xml and find the Specialists, tweak and get the following.

The trouble is ProcessInfo is only referred to in CoreGameLL, with no callback called and the iGreatPeopleRateChange is handled in the specialist code below that. Has any one changed the function of process with python? Or do I have to change the default 'payment' code for city building?

Code:
<ProcessInfo>
<Type>PROCESS_RESEARCH</Type>
<Description>TXT_KEY_PROCESS_RESEARCH</Description>
<Strategy>TXT_KEY_PROCESS_RESEARCH_STRATEGY</Strategy>
<TechPrereq>TECH_ALPHABET</TechPrereq>
<GreatPeopleUnitClass>UNITCLASS_SCIENTIST</GreatPeopleUnitClass>
<iGreatPeopleRateChange>3</iGreatPeopleRateChange>
&#8722;
	<ProductionToCommerceModifiers>
<iProductionToCommerceModifier>0</iProductionToCommerceModifier>
<iProductionToCommerceModifier>50</iProductionToCommerceModifier>
<iProductionToCommerceModifier>0</iProductionToCommerceModifier>
</ProductionToCommerceModifiers>
<Button>Art/Interface/Buttons/Process/ProcessResearch.dds</Button>
</ProcessInfo>

I also want to add a religion process 10%W 10%R 30%C and a security espionage process. But that seems easier. (Religion process attached.)
 

Attachments

  • Different Processes.zip
    139.8 KB · Views: 93
Top Bottom