Spendios
06-22-2006, 19:10
Hi, everybody I'm currently trying to add new ancillaries, more exactly factions specific ancillaries.
Let's say for axample I want a specific bodyguard for greek and another for roman with different portraits, effects, etc...
So, in my export_descr_ancillaries, I put this :
;------------------------------------------
;Ancillary: bodyguard_greek
; o bodyguard : <PersonalSecurity> 2, <BodyguardValour> 2
Ancillary bodyguard_greek
Image 109.tga
Description bodyguard_greek_desc
EffectsDescription bodyguard_greek_effects_desc
Effect PersonalSecurity 2
Effect BodyguardValour 2
;------------------------------------------
Ancillary bodyguard_roman
; o bodyguard : <PersonalSecurity> 2, <BodyguardValour> 2
Ancillary bodyguard_roman
Image 401.tga
Description bodyguard_roman_desc
EffectsDescription bodyguard_roman_effects_desc
Effect PersonalSecurity 2
Effect BodyguardValour 2
and this :
;------------------------------------------
Trigger trigger_bodyguard_greek
WhenToTest CharacterTurnStart
Condition Trait AcquireBodyguard_Greek > 0
and FactionType greek_cities
AcquireAncillary bodyguard_greek chance 100
;------------------------------------------
Trigger trigger_bodyguard_roman
WhenToTest CharacterTurnStart
Condition Trait AcquireBodyguard_Roman > 0
and FactionType romans_julii
AcquireAncillary bodyguard_roman chance 100
Then in my export_descr_ancillary_enums I add this :
bodyguard_greek
bodyguard_greek_desc
bodyguard_roman
bodyguard_roman_desc
Then in my export_ancillaries I add this :
¬---------------
{bodyguard_greek} Bodyguard
{bodyguard_greek_desc}
Personal security never has too high a price.
{bodyguard_greek_effects_desc}
+2 to personal security (improves the chances of detecting and foiling assassination attempts), +2 to the valour of your general's bodyguards
¬---------------
{bodyguard_roman} Bodyguard
{bodyguard_roman_desc}
Personal security never has too high a price.
{bodyguard_roman_effects_desc}
+2 to personal security (improves the chances of detecting and foiling assassination attempts), +2 to the valour of your general's bodyguards
¬---------------
And finally in my export_descr_character_traits :
;------------------------------------------
Trait AcquireBodyguard_Greek
Characters family
Hidden
AntiTraits Bodyguard_GreekAcquired
Level Acquire_Bodyguard_Greek
Description Acquire_Bodyguard_Greek_desc
EffectsDescription Acquire_Bodyguard_Greek_effects_desc
Threshold 1
;------------------------------------------
Trait Bodyguard_GreekAcquired
Characters family
Hidden
NoGoingBackLevel 1
AntiTraits AcquireBodyguard_Greek
Level Bodyguard_Greek_Acquired
Description Bodyguard_Greek_Acquired_desc
EffectsDescription Bodyguard_Greek_Acquired_effects_desc
Threshold 1
;------------------------------------------
Trait AcquireBodyguard_Roman
Characters family
Hidden
AntiTraits Bodyguard_RomanAcquired
Level Acquire_Bodyguard_Roman
Description Acquire_Bodyguard_Roman_desc
EffectsDescription Acquire_Bodyguard_Roman_effects_desc
Threshold 1
;------------------------------------------
Trait Bodyguard_RomanAcquired
Characters family
Hidden
NoGoingBackLevel 1
AntiTraits AcquireBodyguard_Roman
Level Bodyguard_Roman_Acquired
Description Bodyguard_Roman_Acquired_desc
EffectsDescription Bodyguard_Roman_Acquired_effects_desc
Threshold 1
Problem is that campaign doesn't lauch with this...what is the correct thing to do to have this kind of thing working ? :help:
Thanks a lot
Let's say for axample I want a specific bodyguard for greek and another for roman with different portraits, effects, etc...
So, in my export_descr_ancillaries, I put this :
;------------------------------------------
;Ancillary: bodyguard_greek
; o bodyguard : <PersonalSecurity> 2, <BodyguardValour> 2
Ancillary bodyguard_greek
Image 109.tga
Description bodyguard_greek_desc
EffectsDescription bodyguard_greek_effects_desc
Effect PersonalSecurity 2
Effect BodyguardValour 2
;------------------------------------------
Ancillary bodyguard_roman
; o bodyguard : <PersonalSecurity> 2, <BodyguardValour> 2
Ancillary bodyguard_roman
Image 401.tga
Description bodyguard_roman_desc
EffectsDescription bodyguard_roman_effects_desc
Effect PersonalSecurity 2
Effect BodyguardValour 2
and this :
;------------------------------------------
Trigger trigger_bodyguard_greek
WhenToTest CharacterTurnStart
Condition Trait AcquireBodyguard_Greek > 0
and FactionType greek_cities
AcquireAncillary bodyguard_greek chance 100
;------------------------------------------
Trigger trigger_bodyguard_roman
WhenToTest CharacterTurnStart
Condition Trait AcquireBodyguard_Roman > 0
and FactionType romans_julii
AcquireAncillary bodyguard_roman chance 100
Then in my export_descr_ancillary_enums I add this :
bodyguard_greek
bodyguard_greek_desc
bodyguard_roman
bodyguard_roman_desc
Then in my export_ancillaries I add this :
¬---------------
{bodyguard_greek} Bodyguard
{bodyguard_greek_desc}
Personal security never has too high a price.
{bodyguard_greek_effects_desc}
+2 to personal security (improves the chances of detecting and foiling assassination attempts), +2 to the valour of your general's bodyguards
¬---------------
{bodyguard_roman} Bodyguard
{bodyguard_roman_desc}
Personal security never has too high a price.
{bodyguard_roman_effects_desc}
+2 to personal security (improves the chances of detecting and foiling assassination attempts), +2 to the valour of your general's bodyguards
¬---------------
And finally in my export_descr_character_traits :
;------------------------------------------
Trait AcquireBodyguard_Greek
Characters family
Hidden
AntiTraits Bodyguard_GreekAcquired
Level Acquire_Bodyguard_Greek
Description Acquire_Bodyguard_Greek_desc
EffectsDescription Acquire_Bodyguard_Greek_effects_desc
Threshold 1
;------------------------------------------
Trait Bodyguard_GreekAcquired
Characters family
Hidden
NoGoingBackLevel 1
AntiTraits AcquireBodyguard_Greek
Level Bodyguard_Greek_Acquired
Description Bodyguard_Greek_Acquired_desc
EffectsDescription Bodyguard_Greek_Acquired_effects_desc
Threshold 1
;------------------------------------------
Trait AcquireBodyguard_Roman
Characters family
Hidden
AntiTraits Bodyguard_RomanAcquired
Level Acquire_Bodyguard_Roman
Description Acquire_Bodyguard_Roman_desc
EffectsDescription Acquire_Bodyguard_Roman_effects_desc
Threshold 1
;------------------------------------------
Trait Bodyguard_RomanAcquired
Characters family
Hidden
NoGoingBackLevel 1
AntiTraits AcquireBodyguard_Roman
Level Bodyguard_Roman_Acquired
Description Bodyguard_Roman_Acquired_desc
EffectsDescription Bodyguard_Roman_Acquired_effects_desc
Threshold 1
Problem is that campaign doesn't lauch with this...what is the correct thing to do to have this kind of thing working ? :help:
Thanks a lot