Starting with base BI 1.6,
I added to following lines to export_descr_character_traits:
Trait ExperiencedBodyguards
Characters family
NoGoingBackLevel 3
Level Superior_Bodyguards
Description Superior_Bodyguards_desc
EffectsDescription Superior_Bodyguards_effects_desc
Threshold 1
Effect BodyguardValour 2
Level Elite_Bodyguards
Description Elite_Bodyguards_desc
EffectsDescription Elite_Bodyguards_effects_desc
Threshold 2
Effect BodyguardValour 3
Level Royal_Guard
Description Royal_Guard_desc
EffectsDescription Royal_Guard_effects_desc
Threshold 3
Effect BodyguardValour 4
I created a single trigger in random_birth2 in the same file like so:
Trigger random_birth2
WhenToTest CharacterComesOfAge
Affects Anger 1 Chance 2
Affects Hypochondriac 1 Chance 5
Affects GoodSiegeDefender 1 Chance 5
Affects ExperiencedBodyguards 1 Chance 100
I then added these lines to the bottom of the
export_descr_VnVs_enums:
Superior_Bodyguards
Superior_Bodyguards_desc
Superior_Bodyguards_effects_desc
Elite_Bodyguards
Elite_Bodyguards_desc
Elite_Bodyguards_effects_desc
Royal_Guard
Royal_Guard_desc
Royal_Guard_effects_desc
Finally, I added these lines to the bottom of export_VnVs.txt
¬****************************************************************************************
¬****************************************************************************************
¬*
¬***** Changes made after 02/24/2007 18:00:00
¬*
¬****************************************************************************************
¬****************************************************************************************
{Superior_Bodyguards} Superior Bodyguards
{Superior_Bodyguards_desc}
Being a member of the royal family grants this man a group of superior bodyguards to protect him from harm both on and off the battlefield.
{Superior_Bodyguards_effects_desc}
+4 to bodyguard experience level
{Elite_Bodyguards} Superior Bodyguards
{Elite_Bodyguards_desc}
Being the heir to the throne grants this man a group of elite bodyguards to protect him from harm both on and off the battlefield.
{Elite_Bodyguards_effects_desc}
+6 to bodyguard experience level
{Royal_Guard} King's Bodyguards
{Royal_Guard_desc}
The King's bodyguards are the most experienced warriors in the kingdom. The protect their King from harm both on and off the battlefield.
{Royal_Guard_effects_desc}
+8 to bodyguard experience level
Symptoms of wrongdoing are that I crash to desktop when I attempt to look at any general's traits.
If I play enough turns without looking at a general's trait, I see a general get born and his unit card has the appropriate amount of xp on his unit card, but i still CTD if I look at the general's traits. ATV-TW finds no errors and the lordz trait editor read them fine. I am stumped. Any of you experienced modders seen this before?
Bookmarks