ok so I got it, actually searching a bit.
I got what the problem. you can't add more than 1 custom dlga in conversation.txt
or atleast not without the source code of the mod, and AWOIAF creator didn't give sources code (those why I can't add two custom dlga.)
that what I understood. I did get what the codes meant, I could even make different character with different UI id have the same option. and it worked,
it really look like I just can't add more than one custom dlga even tho the two dlga could work at the same time, like if there was a limit.
that probably something I need to change in another file, I tried to add the customs dialogue id (lair_captain_add_troops) in dialogue dialog_states.txt to maybe make it seen by the game as not a custom dlga but an compiled one. but without success...
(for example I made the cook give me troops... and it worked: (
Code:
dlga_lair_cook:lair_add_troops 69631 2646 0 Give_me_100_Archer_for_twenty_thousand. 2647 2 1610 3 648518346341351424 360287970189639725 100 1529 2 360287970189639680 20000 0 NO_VOICEOVER
))
"648518346341351424" is the party id (its the same not matter what the mod)
"360287970189639680" is the player id
"360287970189639725" is the troop id.
"1610" is the "add_troop_to_party" command
"2646 + 2647" is the ui id
"lair_add_troops" is the custom dialogue id
"dlga_lair_cook" is the cook main dialogue ui id.
"100" the number of troop
"1529" is the "remove_money" command
"2" is number of operation
"3" number of parameter following
I nailed it, and again I could make it work with many character dialogue in the game, only not when there was more than 1 dialogue added, even if it was to different character
I tried to have both the option (both cook and captain) but not its just not possible, I have to remove one of the option or I get the error even if both work individually (when the other is not in the file).
the two code are working, and are right, the problem is that those two cannot be together even tho they have different dlga id.
so the only explanation is that the code are not recognized when there is more than one. maybe I need to add the custom dlga id to another file for the game to recognize and locate it normally.
that the thing I don't get how to do, I believe there is a way, I just don't get what file to edit, but that probably not in conversation.txt
maybe when there only 1 custom(new) dlga without set path the game get it.
(and of course, Like I said in previous post dialog count is not the problem each time I add a new dialog are add +1 to the dialog count.
also its not a problem with the empty space in the end of the line as I said in first post and take care of it in the begin, and if I would **** up on this I wouldn't be able to have even 1 option working. (also not updating dialog count don't make the game crash with rgl error, it just don't take the dialogue itself into account and you won't see it in the game.)
and thanks kalarhan for trying to help me!