grimboi368
Chieftain
- Joined
- Feb 24, 2019
- Messages
- 8
Hi, so this is my first mod and am attempting to create a unique ability for my leader, Shrek. I thought what I wanted to achieve was fairly straight forward but I'm having some difficulty. Essentially, what I want is to give Marsh tiles a +3 Production and +2 Culture. This is to begin with, I'd also like to increase appeal and combat strength on marsh but I'll worry about that later. So I have opened the Civ IV data files and the closest I could find was Peter's Mother Russia. So I plugged that in and changed Tundra to Marsh, game loaded fine but nothing was changed. Here is what I am up to at this point in the code, bearing in mind I am completely new and am teaching myself as I go.
So my next plan was to include a similar line to what appears in the feature data set
<Row FeatureType="FEATURE_MARSH" YieldType="YIELD_FOOD" YieldChange="1"/>, then change the yield. Am I on the correct path and if not, teach this noob.
Any help would be greatly appreciated
(also I tried looking at other mods and all the ones I found where in SQL)
Code:
<!--Trait-->
<Kinds>
<Row Kind="KIND_TRAIT"/>
</Kinds>
<Types>
<Row Type="TRAIT_CIVILIZATION_GET_OUT_OF_MY_SWAMP"/>
</Types>
<CivilizationTraits>
<Row CivilizationType="CIVILIZATION_OGRE" TraitType="TRAIT_CIVILIZATION_GET_OUT_OF_MY_SWAMP"/>
</CivilizationTraits>
<TraitModifiers>
<Row>
<TraitType>TRAIT_CIVILIZATION_GET_OUT_OF_MY_SWAMP</TraitType>
<ModifierId>TRAIT_INCREASED_MARSH_PRODUCTION</ModifierId>
</Row>
</TraitModifiers>
So my next plan was to include a similar line to what appears in the feature data set
<Row FeatureType="FEATURE_MARSH" YieldType="YIELD_FOOD" YieldChange="1"/>, then change the yield. Am I on the correct path and if not, teach this noob.
Any help would be greatly appreciated

(also I tried looking at other mods and all the ones I found where in SQL)