Hi
I've been looking at trying to code in a trait for Kingdoms (vanilla M2TW in this case) and was wondering if anyone could help as I am having no luck getting the game to pick it up.
I have:-
1. used unpack_all.bat
2. found export_descr_character_traits.txt and added my trait (1. at the bottom)
3. in export_descr_character_traits.txt added a trigger (2. at the bottom)
4. used a converter to convert export_vnvs.strings.txt.bin to export_vnvs.txt
5. added a description to export_vnvs.txt
6. found descr_strat.txt in imperial_campaign and found a character to add the trait to
7. Using 'Richard' (english spy) I removed the trait 'GoodSpy 1' and replaced it with 'IdbsTest 1'
All changes were saved into the files.
Are these the correct steps to create the trait and make the game pick it up? Right now Richard has no traits at all (so it has detected that GoodSpy 1 was removed from descr_strat.txt) and the triggers don't fire either.
Trait IdbsTest
Characters all
Level Idbs_Test_One
Description Idbs_Test_One_desc
EffectsDescription Idbs_Test_One_effects_desc
Threshold 1
Effect MovementPoints 10
Effect Subterfuge 1
Level Idbs_Test_Two
Description Idbs_Test_Two_desc
EffectsDescription Idbs_Test_Two_effects_desc
Threshold 2
Effect MovementPoints 30
Effect Subterfuge 3
;------------------------------------------
====================================================================
TRIGGER
;------------------------------------------
Trigger agent66
WhenToTest SpyMission
Condition = MissionSucceeded
Affects IdbsTest 1 Chance 100
;------------------------------------------
Trigger agent67
WhenToTest SpyMission
Condition = MissionSucceeded
and IdbsTest >= 1
Affects IdbsTest 2 Chance 100
:-----------------------------------------
=====================================================================
CHARACTER
character Richard, spy, male, age 20, x 107, y 160
traits IdbsTest 1
NOTE
In the .txt file the formatting is correct (tabs and all)
Bookmarks