
Originally Posted by
therother
I'm beginning to think that there is no way around using player faction specific traits.
Okay, got the GoodCommander working properly using this idea.
I've made a new trait line, PlayerGoodCommander, as below:
Code:
;------------------------------------------
Trait PlayerGoodCommander
Characters family
AntiTraits PlayerBadCommander
Level Confident_Commander
Description Confident_Commander_desc
EffectsDescription Confident_Commander_effects_desc
GainMessage Confident_Commander_gain_desc
Threshold 2
Effect Command 1
Level Good_Commander
Description Good_Commander_desc
EffectsDescription Good_Commander_effects_desc
GainMessage Good_Commander_gain_desc
Threshold 4
Effect Command 2
Level Superior_Commander
Description Superior_Commander_desc
EffectsDescription Superior_Commander_effects_desc
GainMessage Superior_Commander_gain_desc
Threshold 8
Effect Command 3
Level Great_Commander
Description Great_Commander_desc
EffectsDescription Great_Commander_effects_desc
GainMessage Great_Commander_gain_desc
Threshold 16
Effect Command 4
Level Legendary_Commander
Description Legendary_Commander_desc
EffectsDescription Legendary_Commander_effects_desc
GainMessage Legendary_Commander_gain_desc
Epithet Legendary_Commander_epithet_desc
Threshold 32
Effect Command 5
I've also added/changed both these triggers:
Code:
;------------------------------------------
Trigger V0090_Standard_Battle_Any_Victory_VnV_Trigger
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and not FactionType britons
Affects GoodCommander 1 Chance 100
;------------------------------------------
Trigger V0090_Standard_Battle_Any_Victory_VnV_Trigger_Player
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and FactionType britons
Affects PlayerGoodCommander 1 Chance 100
To change faction, all you'd need to do is replace "britons" with whatever faction you intend to use.
You would, of course, need to do this with every trait line which is affected by the battlemap (GoodAttacker, BattleScarred, BadCommander, etc.). Hmm, it's not a great solution by any stretch of the imagination, but at least it works.
(Quote the post to get the correct formatting.)
Bookmarks