Hello everybody,
First of all, I want say I love this mod, I can't think about playing Civ IV without it, I can't even play any of the newer Civ games because they seem too poor compared to this mod..
I'm posting here because I aslo love modding the games I enjoy playing and I was trying to change something about unit production requirements and bonuses, but I can't figure out what I'm missing here..
The idea is to remove strategic resources requirements so you can build any unit, no matter what, and instead use bonus to several stats (production, combat strength, etc) if you have access to that resource, but you don't punish a player just because it has not access to a given resource..
Example:
Spearman right now you need to have access to one of these resources
I like to change it to something like:
Having access to OBSIDIAN gives you 25% production bonus
Having access to COPPER gives you 30% production bonus and 5% Combat Strength
Having access to IRON gives you 45% production bonus and 10% Combat Strength
So if you has no access to any of those resources you still can train Spearman, but it will cost you more time and will be less efficient than if you have access to any of them
I have modded AND_CIV4UnitSchema
<ElementType name="BonusCombatModifier" content="eltOnly">
<element type="BonusType"/>
<element type="iCombatPercent"/>
</ElementType>
<ElementType name="BonusProductionModifiers" content="eltOnly">
<element type="BonusProductionModifier" minOccurs="0" maxOccurs="*"/>
<element type="BonusCombatModifier" minOccurs="0" maxOccurs="*"/>
</ElementType>
and CIV4UnitInfos
<BonusProductionModifiers>
<BonusProductionModifier>
<BonusType>BONUS_OBSIDIAN</BonusType>
<iProductonModifier>25</iProductonModifier>
</BonusProductionModifier><BonusCombatModifier>
<BonusType>BONUS_COPPER</BonusType>
<iCombatPercent>10</iCombatPercent>
</BonusCombatModifier>
</BonusProductionModifiers>
But It seems I need to change something else.. any clues?
Thanks in advance and sorry for the long post
First of all, I want say I love this mod, I can't think about playing Civ IV without it, I can't even play any of the newer Civ games because they seem too poor compared to this mod..
I'm posting here because I aslo love modding the games I enjoy playing and I was trying to change something about unit production requirements and bonuses, but I can't figure out what I'm missing here..
The idea is to remove strategic resources requirements so you can build any unit, no matter what, and instead use bonus to several stats (production, combat strength, etc) if you have access to that resource, but you don't punish a player just because it has not access to a given resource..
Example:
Spearman right now you need to have access to one of these resources
Spoiler :
<PrereqBonuses>
<BonusType>BONUS_COPPER</BonusType>
<BonusType>BONUS_IRON</BonusType>
<BonusType>BONUS_OBSIDIAN</BonusType>
</PrereqBonuses>
<BonusType>BONUS_COPPER</BonusType>
<BonusType>BONUS_IRON</BonusType>
<BonusType>BONUS_OBSIDIAN</BonusType>
</PrereqBonuses>
I like to change it to something like:
Having access to OBSIDIAN gives you 25% production bonus
Having access to COPPER gives you 30% production bonus and 5% Combat Strength
Having access to IRON gives you 45% production bonus and 10% Combat Strength
So if you has no access to any of those resources you still can train Spearman, but it will cost you more time and will be less efficient than if you have access to any of them
I have modded AND_CIV4UnitSchema
Spoiler :
<ElementType name="BonusCombatModifier" content="eltOnly">
<element type="BonusType"/>
<element type="iCombatPercent"/>
</ElementType>
<ElementType name="BonusProductionModifiers" content="eltOnly">
<element type="BonusProductionModifier" minOccurs="0" maxOccurs="*"/>
<element type="BonusCombatModifier" minOccurs="0" maxOccurs="*"/>
</ElementType>
and CIV4UnitInfos
Spoiler :
<BonusProductionModifiers>
<BonusProductionModifier>
<BonusType>BONUS_OBSIDIAN</BonusType>
<iProductonModifier>25</iProductonModifier>
</BonusProductionModifier><BonusCombatModifier>
<BonusType>BONUS_COPPER</BonusType>
<iCombatPercent>10</iCombatPercent>
</BonusCombatModifier>
</BonusProductionModifiers>
But It seems I need to change something else.. any clues?
Thanks in advance and sorry for the long post