batalhadematos
Chieftain
- Joined
- Feb 25, 2017
- Messages
- 22
Hi all,
I am learning on how to mod CIV6 a at this time I am working on a new civilization using xml structure.
I have been following examples from other mods and until now everything runs fine except for a problem I found on changing the additional MILITARY slot to ECOMONIC slot.
I have been looking on several civilization mods I could not find any which includes this change, at least on xml format.
What I want to:
- Change my code to give an additional economic slot instead of additiona military slot;
- Be abble to give an additional economic slot when a specific civic is researched (let's say reformation civic);
The code I have for leaders trait is:
I have tryed to change the TRAIT_MILITARY_GOVERNMENT_SLOT with TRAIT_WILDCARD_GOVERNMENT_SLOT and worked for wildcard slot (I get an additiona wildcard slot). I just can't change it to ECONOMIC slot... tested with TRAIT_ECONOMIC_SLOT, TRAIT_ECONOMY_SLOT and nothing happens.
The second point (be abble to give an additional economic slot when a specific civic is researched), I just don't know how to do it...
Can anyone help?
Thank you in advance
Regards
Paulo
I am learning on how to mod CIV6 a at this time I am working on a new civilization using xml structure.
I have been following examples from other mods and until now everything runs fine except for a problem I found on changing the additional MILITARY slot to ECOMONIC slot.
I have been looking on several civilization mods I could not find any which includes this change, at least on xml format.
What I want to:
- Change my code to give an additional economic slot instead of additiona military slot;
- Be abble to give an additional economic slot when a specific civic is researched (let's say reformation civic);
The code I have for leaders trait is:
Code:
<LeaderTraits>
<Row LeaderType="LEADER_KING_MANDUMBE" TraitType="TRAIT_LEADER_THE_KWANHAMA"/>
</LeaderTraits>
<Traits>
<Row TraitType="TRAIT_LEADER_THE_KWANHAMA" Name="LOC_TRAIT_LEADER_THE_KWANHAMA_NAME" Description="LOC_TRAIT_LEADER_THE_KWANHAMA_DESCRIPTION"/>
</Traits>
<TraitModifiers>
<Row TraitType="TRAIT_LEADER_THE_KWANHAMA" ModifierId="TRAIT_MILITARY_GOVERNMENT_SLOT"/>
</TraitModifiers>
<Modifiers>
<Row>
<ModifierId>TRAIT_MILITARY_GOVERNMENT_SLOT</ModifierId>
<ModifierType>MODIFIER_PLAYER_CULTURE_ADJUST_GOVERNMENT_SLOTS_MODIFIER</ModifierType>
</Row>
</Modifiers>
<ModifierArguments>
<Row>
<ModifierId>TRAIT_MILITARY_GOVERNMENT_SLOT</ModifierId>
<Name>GovernmentSlotType</Name>
<Value>SLOT_MILITARY</Value>
</Row>
</ModifierArguments>
I have tryed to change the TRAIT_MILITARY_GOVERNMENT_SLOT with TRAIT_WILDCARD_GOVERNMENT_SLOT and worked for wildcard slot (I get an additiona wildcard slot). I just can't change it to ECONOMIC slot... tested with TRAIT_ECONOMIC_SLOT, TRAIT_ECONOMY_SLOT and nothing happens.
The second point (be abble to give an additional economic slot when a specific civic is researched), I just don't know how to do it...
Can anyone help?
Thank you in advance
Regards
Paulo