so I did add a tweak on AWOIAF (game of thrones mod based on brytenwalda/VC) from kraggrim
this tweak add a dialogue with the lair captain to be able to recruit soldier directly.
this is the code(original one from kraggrim for viking conquest):
dlga_lair_captain:lair_captain_add_troops 69631 1142 0 Give_me_one_recruit. 1151 2 1610 3 648518346341351424 360287970189639680 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
this is the code I modified to make it work in AWOIAF:
dlga_lair_captain:lair_captain_add_troops 69631 2665 0 Give_me_one_recruit. 2674 2 1610 3 648518346341351424 360287970189639720 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
now I wanted to add multiple option but can't get it to work. It work with one option but when I try to add a second dialog It give me and RGL error bad file ending.
I carefully checked there a empty space in the end of voice over, and added the pattern still don't work (and of course edited dialogs counter on the second line of conversation.txt, as I said having only one option work perfectly, made it working and running could recruit and all, my problem is trying to add a second option)
(what I did)
dlga_lair_captain:lair_captain_add_troops 69631 2665 0 Give_me_one_recruit. 2674 2 1610 3 648518346341351424 360287970189639720 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
dlga_lair_captain:lair_captain_add_troops.1 69631 2665 0 Give_me_one_recruit. 2674 2 1610 3 648518346341351424 360287970189639725 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
and it give me RGL error when the game load conversation.txt
now I tried to do a little change with another code line to check if I doing something wrong
edited the simple code:
dlga_lair_captain:close_window 69631 2665 0 That'll_be_all. 6 0 NO_VOICEOVER
to:
dlga_lair_captain:close_window 69631 2665 0 That'll_be_all. 6 0 NO_VOICEOVER
dlga_lair_captain:close_window.1 69631 2665 0 That'll_be_all_test_ok. 6 0 NO_VOICEOVER
and it work, the dialogue is added and work.
but somehow dlga_lair_captain:lair_captain_add_troops I can't add the .1 pattern, even trying to use the exact same code, same troop id and all and only slightly modifying description and pattern, it still don't work.
so maybe I need to change dlga_lair_captain:lair_captain_add_troops configuration to be able to add .1? maybe its in another file?
I am pretty much stuck really.
this tweak add a dialogue with the lair captain to be able to recruit soldier directly.
this is the code(original one from kraggrim for viking conquest):
dlga_lair_captain:lair_captain_add_troops 69631 1142 0 Give_me_one_recruit. 1151 2 1610 3 648518346341351424 360287970189639680 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
this is the code I modified to make it work in AWOIAF:
dlga_lair_captain:lair_captain_add_troops 69631 2665 0 Give_me_one_recruit. 2674 2 1610 3 648518346341351424 360287970189639720 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
now I wanted to add multiple option but can't get it to work. It work with one option but when I try to add a second dialog It give me and RGL error bad file ending.
I carefully checked there a empty space in the end of voice over, and added the pattern still don't work (and of course edited dialogs counter on the second line of conversation.txt, as I said having only one option work perfectly, made it working and running could recruit and all, my problem is trying to add a second option)
(what I did)
dlga_lair_captain:lair_captain_add_troops 69631 2665 0 Give_me_one_recruit. 2674 2 1610 3 648518346341351424 360287970189639720 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
dlga_lair_captain:lair_captain_add_troops.1 69631 2665 0 Give_me_one_recruit. 2674 2 1610 3 648518346341351424 360287970189639725 1 1529 2 360287970189639680 50 0 NO_VOICEOVER
and it give me RGL error when the game load conversation.txt
now I tried to do a little change with another code line to check if I doing something wrong
edited the simple code:
dlga_lair_captain:close_window 69631 2665 0 That'll_be_all. 6 0 NO_VOICEOVER
to:
dlga_lair_captain:close_window 69631 2665 0 That'll_be_all. 6 0 NO_VOICEOVER
dlga_lair_captain:close_window.1 69631 2665 0 That'll_be_all_test_ok. 6 0 NO_VOICEOVER
and it work, the dialogue is added and work.
but somehow dlga_lair_captain:lair_captain_add_troops I can't add the .1 pattern, even trying to use the exact same code, same troop id and all and only slightly modifying description and pattern, it still don't work.
so maybe I need to change dlga_lair_captain:lair_captain_add_troops configuration to be able to add .1? maybe its in another file?
I am pretty much stuck really.