Jump to content

jastey

Gibberlings
  • Posts

    13,752
  • Joined

  • Last visited

Posts posted by jastey

  1. Thank you so much for your help and patience.

    10 hours ago, argent77 said:

    all variables contain at least one index

    What exactly does that mean? What are the consequences? If a mod changed the state so much that it no longer contains a reply option with the expected strref, all transactions would be patched (which would be not good)?

    10 hours ago, argent77 said:

    That could be solved by adding a dActionWhen condition that is guaranteed to fail.

    I nearly don't dare to ask. But I have no idea how and where I would put in such a condition.

  2. 23 minutes ago, argent77 said:

    You could do all the variable initializations before compiling the respective .d files. That way the .d may contain as many commands as you want (provided each command references a unique variable name).

    That's what I was thinking off but I wouldn't know how to the syntax would be. Currently, the .d compilation is inside the OUTER_FOR and PATCH_IF to determine whether the strref matches. I can read in several "strrefs" but how would I include the check whether the state has the correct number for the patching.

    Hm - I guess it would be possible to determine the correct "idx" reply option index so I could use something like

    ADD_TRANS_TRIGGER ARAN 39 ~Global("C#IM_ImoenStays","GLOBAL",0)~ DO %idx%

    inside the d-file (with a more generic variable name than "idx", of course). If you would help me add this to the function that would be super cool.

  3. Thank you very much for the example and the help!

    I have several instances in several dlg files. I guess I could use more unique names for the "strrefs" variable, but I do not see a possibility to make the patch process more general. Providing a .d file for each would be ineffective; I guess I'd need to switch to inlined .d for each. In case there is a more efficient way to patch different reply options in different states of different dlgs I'd appreciate a hint, otherwise I'll use your code and use inlined .d files for each instance.

  4. Ah, I see. Thank you for the clearification.

    4 minutes ago, argent77 said:

    To simplify the code you could instead check for predefined strrefs, since you want to check vanilla game dialog lines. The strref for the above-mentioned line would be 43058 in BG2/BG2EE.

    That would be even better than what I originally anticipated. I'd need coding help to realize this, though, and would be very happy about help.

    EDIT: And, while we are at it - would it be possible to scan the existing reply options, and patch the one with #43058 in case it's no longer number "0"?

    If yes, I would be very grateful for coding help.

  5. I want to patch ARAN.dlg state 39 reply option 0 with a variable - but only if this reply option is the original one where you can ask him about Imoen.

    This is what I do so far (without failsave):

    ADD_TRANS_TRIGGER ARAN 39 ~Global("C#IM_ImoenStays","GLOBAL",0)~ DO 0

    The reply option has the following text:

    Quote

    #43058 /* ~Then it is a simple matter of retrieveing Imoen from this place.~ */

    I tried the following. There is no error message, but the variable isn't patched to the reply option, either:

    ADD_TRANS_TRIGGER ARAN 39 ~Global("C#IM_ImoenStays","GLOBAL",0)~ DO 0 IF ~Imoen~

    -How would I use the dActionWhen so that it only patches if the reply option really contains a reference to Imoen?

    -How would I do this in a way so that I can account for different languages (and, more imprtantly, letters)?

  6. That's good to know. Thanks!

    EDIT: although clicking on the topic title did that before the software update for me, too: clicking on the topic title led to the first post, clicking on the blue dot/star to the first unread post, and clicking on the "speech bubble" on the right to the last post. I think I'll leave it at that.

    Thanks for your work on keeping the forum updated! 👍

  7. Gibberlings Three

     

    Endless BG1

     

    For the EE games, the main aim of this mod is to provide the possibility to remain in the BG1 "world" after Sarevok is defeated. Original progressing/ending of the game will be done by talking to Duke Belt inside the Palace.
    For EET, it also adds the possibility to move on to BGII by skipping SoD completely. This was included because it was easy to add, not because I think it should be skipped. (Also note that there might be mods that expect SoD events to have happened in BGII).

    For BGT, the main component of the mod adds some praise for the PC to Duke Belt's dialogue and removes some oversights with regard to references to Sarevok after he died.

    There are several optional components that give more flavor to the situation and prepare for the SoD story events in all games. For most additional content I was inspired by how Baldur's Gate city looks in SoD. Three components are for SoD/EET only.

     

    Main changes for v5 are compatibility with the Transitions Mod. Thanks Mike1072 for typo corrections!

     

    Changes:

    -compatibility with Transitions
    -ebg1 considers Transitions' versions of Sarevok Items in Duke Belt's and Denkod's dialogue
    -typo corrections in readme and setup.tra by Mike1072

     

    View Readme

    Visit Modpage

    Visit Forum

    Download

  8. Most recent announcement at the end of the thread!

    --------------------------------

     

    The mod updates to v5. Main changes are compatibility with Transitions Mod. Thanks @Mike1072 for typo corrections!

    Changelog v5:

    -compatibility with Transitions
    -ebg1 considers Transitions' versions of Sarevok Items in Duke Belt's and Denkod's dialogue
    -typo corrections in readme and setup.tra by Mike1072

  9. If I sip all the follower quests except the one for Korlasz and chose the "I'll come back later" reply on that one, talking to Duke Belt again gives me the quest for Winski again first. This happens every time.

    If I leave Korlasz crypt and go back to the Dukes, Duke Jannath tells me again about the scrolls etc she would like to have. It might fit the character, but since she told me before in the same words, maybe it could be skipped afterwards.

  10. I have Transitions without EBG1 installed. EDIT: that's current v0.2.02. I had one glitch where Semaj did his "is too strong, let's get out of here" speech but remained to continue attacking the group. After reloading, he vanished as planned.

    When I came into the Palace the first time, Duke Belt greeted me with "And now to business!", although it was the first thing he said to me.

    When my PC went upstairs to visit Imoen using the stairs on her side, the servant in the PC's quarters talked to my CHARNAME although we couldn't see him.

×
×
  • Create New...