The Stranger
02-26-2012, 02:51
is there anyone who knows a bit about modding traits?
i wish to make all units recruitable generals in order to get a bit more time feeling into it. but i dont want all recruited generals to become interlopers when they are in an allied city.
so my idea was to make a new trait, captain which recruited generals get when recruited in a 1-3 province building instead of 4.
i tried adding this but then the game ctd's
Trait Captain
Characters family
;Hidden
Level Captain_1
Description Family_Member_desc
EffectsDescription Family_Member_effects_desc
Threshold 1
Trigger Becomes_Captain
WhenToTest CharacterTurnEnd
Condition IsGeneral
and Trait FamilyMember = 0
and Trait ClientRuler = 0
and Trait Type4Governor = 0
and Trait RecruitedGeneral = 1
and EndedInSettlement
and not SettlementBuildingExists = gov4
and not SettlementBuildingExists = govnomad
Affects RecruitedGeneral -1 Chance 100
Affects Captain -1 Chance 100
hmmm and i also miraculously corrupted my export_descr_character_traits.txt
does anyone have a working one to spare?
i wish to make all units recruitable generals in order to get a bit more time feeling into it. but i dont want all recruited generals to become interlopers when they are in an allied city.
so my idea was to make a new trait, captain which recruited generals get when recruited in a 1-3 province building instead of 4.
i tried adding this but then the game ctd's
Trait Captain
Characters family
;Hidden
Level Captain_1
Description Family_Member_desc
EffectsDescription Family_Member_effects_desc
Threshold 1
Trigger Becomes_Captain
WhenToTest CharacterTurnEnd
Condition IsGeneral
and Trait FamilyMember = 0
and Trait ClientRuler = 0
and Trait Type4Governor = 0
and Trait RecruitedGeneral = 1
and EndedInSettlement
and not SettlementBuildingExists = gov4
and not SettlementBuildingExists = govnomad
Affects RecruitedGeneral -1 Chance 100
Affects Captain -1 Chance 100
hmmm and i also miraculously corrupted my export_descr_character_traits.txt
does anyone have a working one to spare?