shinkicker
Warlord
- Joined
- Sep 21, 2010
- Messages
- 130
I noticed that none of the existing Civs really have any +science traits and thought I'd figure out how to add one, hopefully using the existing tags in the XML files.
So I went to my \XML folder and did a string search in the files for "SCIENCE".
All it found were:
From GlobalAIDefines.xml:
<Row Name="AI_VALUE_OF_YIELD_SCIENCE">
<Value>8</Value>
</Row>
<Row Name="AI_CITIZEN_VALUE_SCIENCE">
<Value>6</Value>
</Row>
... and.
From CIV5Yields.xml:
<Row>
<ID>3</ID>
<Type>YIELD_SCIENCE</Type>
<Description>TXT_KEY_YIELD_SCIENCE</Description>
<IconString>[ICON_RESEARCH]</IconString>
<MinCity>0</MinCity>
<AIWeightPercent>80</AIWeightPercent>
</Row>
I did a similar search on 'RESEARCH' and all I found were some definitions and building modifiers but nothing that looks to me like it would allow a civilization or building TYPE to work at +science. I can't accept that this is right.
There is a TRAIT_CREATIVE in the Civ5Traits.XML file but it is not given any values.
If I want to create a new building that adds SCIENCE/RESEARCH, isn't there some kind of a modifier or value that can be adjusted for that building?
So I went to my \XML folder and did a string search in the files for "SCIENCE".
All it found were:
From GlobalAIDefines.xml:
<Row Name="AI_VALUE_OF_YIELD_SCIENCE">
<Value>8</Value>
</Row>
<Row Name="AI_CITIZEN_VALUE_SCIENCE">
<Value>6</Value>
</Row>
... and.
From CIV5Yields.xml:
<Row>
<ID>3</ID>
<Type>YIELD_SCIENCE</Type>
<Description>TXT_KEY_YIELD_SCIENCE</Description>
<IconString>[ICON_RESEARCH]</IconString>
<MinCity>0</MinCity>
<AIWeightPercent>80</AIWeightPercent>
</Row>
I did a similar search on 'RESEARCH' and all I found were some definitions and building modifiers but nothing that looks to me like it would allow a civilization or building TYPE to work at +science. I can't accept that this is right.
There is a TRAIT_CREATIVE in the Civ5Traits.XML file but it is not given any values.
If I want to create a new building that adds SCIENCE/RESEARCH, isn't there some kind of a modifier or value that can be adjusted for that building?