Since I've had no luck adding historical names, I thought that I'd attempt accomplishing that by going down the much trickier road of using traits with epithets instead.
After adding two trait that was suppoused to generate the epithet "Julius Caesar" for all male members of the Julii family, I get strange CTD's without any error reports (at least now I know the -show_err works, solved another problem with that).
I've checked the traits with the Trait/Ancillary Validator and it checks out fine without neither errors nor warnings. The game loads fine, but when I start a new campaign, I get a CTD when about 1/4 of the campaign loading bar gets filled.
Here is the relevant code:
...in export_descr_character_traits.txt:
...in export_descr_VnVs_enums.txt:Code:Trait JuliusTrait Hidden Characters family ExcludeCultures barbarian, eastern, egyptian, carthaginian, greek NoGoingBackLevel 1 AntiTraits JuliusCaesarTrait Level Julius_Trait Description Julius_Trait_desc EffectsDescription Julius_Trait_effects_desc Epithet Julius_Trait_epithet_desc Threshold 1 Trait JuliusCaesarTrait Hidden Characters family ExcludeCultures barbarian, eastern, egyptian, carthaginian, greek NoGoingBackLevel 1 AntiTraits JuliusTrait Level Julius_Caesar_Trait Description Julius_Caesar_Trait_desc EffectsDescription Julius_Caesar_Trait_effects_desc Epithet Julius_Caesar_Trait_epithet_desc Threshold 1 ... Trigger JuliusTrait_1 WhenToTest CharacterComesOfAge Condition FatherTrait JuliusTrait >= 1 Affects JuliusTrait 1 Chance 10 Affects JuliusCaesarTrait 1 Chance 90 Trigger JuliusTrait_2 WhenToTest CharacterComesOfAge Condition FatherTrait JuliusCaesarTrait >= 1 Affects JuliusCaesarTrait 1 Chance 100
...in export_VnVs.txt:Code:JuliusTrait JuliusTrait_desc JuliusTrait_effects_desc JuliusTrait_eithet_desc
I then added "JuliusTrait 1" to the list of traits of the Julii faction leader. I deleted all his children excep for one male at age 14, I set his mother at age 34 and his father (the faction leader) at age 38.Code:{JuliusTrait} Julius {JuliusTrait_desc} This man is a member of the Julii family. {JuliusTrait_effects_desc} None {JuliusTrait_epithet_desc} Julius {JuliusCaesarTrait} Julius Caesar {JuliusCaesarTrait_desc} This man is a member of the Caesar branch of the Julii family. {JuliusCaesarTrait_effects_descr} None {JuliusCaesarTrait_epithet_desc} Julius Caesar
If all was correct the faction leader's son should come of age soon enough and be given "Julius Caesar" as an epithet to replace his surname "Julius". I never got that far though...
Am I the worst modder ever or what? I guess it's bound to be something small, but it feels like I've double- and triple-checked everything.




Reply With Quote







