Civilization edit

Caspi

Chieftain
Joined
Apr 22, 2002
Messages
14
Hello,

I wouls like to change some attributes of civilization. For begining some easy tasks. Like change leader trait or civilization trait. Years ago I made some changes to previous version of Civs. Not in GS I really dont know where to start.

For example:

Wanna add leader attributes from Tomyris leader to Trajan
Wanna add civ attributes from Scytihia to Romans.

Can some one help me with this?

Caspi
 
You have to use <Update> in <LeaderTraits> if you want to create a mod. Or you can alter game files directly and change in <LeaderTraits>.

Since you are starting maybe you want to check out this tutorial: Civ 6 Modding Tools & Basics
 
Snippet from the game files
Code:
<GameData>
	<TraitModifiers>
		<Row TraitType="TRAJANS_COLUMN_TRAIT" ModifierId="TRAIT_ADJUST_NON_CAPITAL_FREE_CHEAPEST_BUILDING"/>
		<Row TraitType="TRAIT_LEADER_KILLER_OF_CYRUS" ModifierId="BONUS_VS_WOUNDED_UNITS"/>
		<Row TraitType="TRAIT_LEADER_KILLER_OF_CYRUS" ModifierId="HEAL_AFTER_DEFEATING_UNIT"/>
	</TraitModifiers>
</GameData>
"TRAIT_LEADER_KILLER_OF_CYRUS" is Tomyris' Primary LeaderTrait -- "TRAJANS_COLUMN_TRAIT" is Trajan's Primary LeaderTrait.

So in a mod all you should have to do to add Tomyris' effect to Trajan is this in an XML file of a mod
Code:
<GameData>
	<TraitModifiers>
		<Row TraitType="TRAJANS_COLUMN_TRAIT" ModifierId="BONUS_VS_WOUNDED_UNITS"/>
		<Row TraitType="TRAJANS_COLUMN_TRAIT" ModifierId="HEAL_AFTER_DEFEATING_UNIT"/>
	</TraitModifiers>
</GameData>
The game opening set-up and "Dawn of Time" screens would probably not reflect the addition to Trajan, though.

Snippet from the game files
Code:
<GameInfo>
	<CivilizationTraits>
		<Row CivilizationType="CIVILIZATION_SCYTHIA" TraitType="TRAIT_CIVILIZATION_EXTRA_LIGHT_CAVALRY"/>
		<Row CivilizationType="CIVILIZATION_SCYTHIA" TraitType="TRAIT_CIVILIZATION_IMPROVEMENT_KURGAN"/>
		<Row CivilizationType="CIVILIZATION_SCYTHIA" TraitType="TRAIT_CIVILIZATION_UNIT_SCYTHIAN_HORSE_ARCHER"/>
	</CivilizationTraits>
</GameInfo>
So, again if doing this through a mod you would need to have an XML file with
Code:
<GameInfo>
	<CivilizationTraits>
		<Row CivilizationType="CIVILIZATION_ROME" TraitType="TRAIT_CIVILIZATION_EXTRA_LIGHT_CAVALRY"/>
		<Row CivilizationType="CIVILIZATION_ROME" TraitType="TRAIT_CIVILIZATION_IMPROVEMENT_KURGAN"/>
		<Row CivilizationType="CIVILIZATION_ROME" TraitType="TRAIT_CIVILIZATION_UNIT_SCYTHIAN_HORSE_ARCHER"/>
	</CivilizationTraits>
</GameInfo>
The unique units and such would definitely not show on the game Set Up screens. In order to get them to display on the setup screens a bit more but not crazy difficult steps would be required.
 
Back
Top Bottom