Skip to content

Editing .dlg Files

MindTyrantMindTyrant Member Posts: 24
edited September 12 in BGII:EE Mods
I want to add a unique upgradable armor to BG2/EET by hijacking the code to make Aslyferund Chain in BOTSMITH.dlg. I do not want to just change the component and finished armor, as those changes will be carried into the Black Pits 2, other item shops, and as loot drops; I do not want there to be multiple copies. Instead, I want to edit the 26 response triggers in BOTSMITH that refer to:
PartyHasItem("chan16")

Into:
PartyHasItem("emchan16")

Are there any commands for editing response triggers? I looked at the Weidu documentation, and it suggests REPLACE_TRIGGER_TEXT, but then immediately says never to use it. Please help!

P.S.

I also want to adjust the formula in the 1 action in BOTSMITH and adjust two little unvoiced lines of dialog. So far, I think I made progress by adjusting the two dialog strings here:
OUTER_SPRINT recipe_short @161
OUTER_SPRINT recipe_tweak @162
STRING_SET_EVALUATE 66897 ~%recipe_short%~
STRING_SET_EVALUATE 66898 ~%recipe_tweak%~

I am hoping this will replace the string referenced with the text from @161 & @162 in my tra file. Are these the correct commands? I find it quite cumbersome to experiment with weidu to find out. But and actions. Any advice is appreciated.
Post edited by MindTyrant on
Sign In or Register to comment.