Jump to content

subtledoctor

Modders
  • Posts

    8,948
  • Joined

  • Last visited

Everything posted by subtledoctor

  1. Another conundrum: I want to get across in dialogue that the dukes are grappling in real-time with the contents of Sarevok's diary. Alaundo's prophecy did not specify a time when it would occur, only "when Bhaal's bastard children come of age." This has not been on anyone's front burner; but the realization that Sarevok is a Bhaalspawn means that this prophesied era is suddenly upon them. There are a score of such children, or several score - they could be anywhere! (Dun dun dun!) The prophesy says their conflict will unfold in the Sword Coast, so the dukes of Baldur's Gate should be extremely concerned about their city. The threat of Sarevok, in other words, goes well beyond the man himself and his schemes - the dukes are now realizing that the greater threat by far is what Sarevok's existence portends. This is great moment for Charname to pipe up and volunteer "hey, so just to show I am being fully honest with you guys, I got this letter from my foster-father, who found me as a baby in a temple of Bhaal at the same time Sarevok was born..." But how would the dukes respond to that? How would that change how they see you - especially given that the ultimate result has to be the same, with you accompanying their army in a place of pride, marching out to challenge the Crusade? At the same time, Charname might very well want to keep that a secret! If it was me I surely would not tell anyone. But SoD seems to operate on the assumption that everyone knows about you. I really dislike that. This one dialogue between Charname, Belt, Liia, and Entar is where that has to play out. And whether you disclose it or not, you still have to end up with a choice between marching against the Crusade, or investigating Entar's report that his killer had your face. Basically, the scene has to get railroaded to identical optional outcomes... but man, that is a BIG choice to incorporate while still getting to the same place(s) in the end. Thinking about it now, it is kind of shocking that the games never wrestled with this. You never have an option to disclose it, or keep it secret, or face any consequences either way. I suppose that wasn't very noticeable when the first game ended in a cut scene in the final battle, and the second game opened with you kidnapped in a dungeon by someone who knows all about you. But now, if we are to actually deal with the fallout from Sarevok's scheme, on-screen... this becomes rather important.
  2. I also add an op318 effect blocking them from being applied at level 0, to make sure they are only applied once at level 1. But, as these are stat-based bonuses which are presumably dynamic and responsive to score changes in-game, I assume the bug has more to do with repeating effects via 272/232.
  3. Part 6: It's Not the End of the World This one came together extremely quickly, largely because it was already done in EndlessBG1. I just borrowed two bits of code to 1) prevent the game from ending when Sarevok dies, and 2) play the original BG1 game-end video when the combat ends: The only other thing I wanted to add for this fight is to disable the exit from the temple of Bhaal when you enter, and reenable it after you defeat Sarevok: The idea is, the dukes quite sensibly told you not to engage Sarevok in combat without any backup. They wanted him alive, or at the very least they wanted his body. But Sarevok laid a trap and locked you in the temple with him. He has set up the arena beforehand such that he can absorb your divine essence and double the strength of his own. So you are forced to fight him, and when he dies his body disappears in a cloud of golden particles. Now you will go back to the dukes to report your success... but you went fairly directly against their orders (even if through no fault of your own), and you don't have the body. So you are a hero... but they are not going to be very happy with you. That tension will set the stage for the final dialogues and cut scenes as the game moves to the next chapter.
  4. Heh. I’m working on a mod that will make this much more interesting…
  5. Part 5: The Boy Who Lived With Korlasz' dungeon cleared and having found a letter from Sarevok to Korlasz mentioning his intent to regroup in a place called 'The Undercity,' the player should report back to Dukes Belt and Liia. There will be a scene in the Ducal Palace with a lot of exposition to click through (veering toward PS:T levels of reading here, need to keep it brief). Duke Liia will direct you to the next step to finding Sarevok, and Duke Entar (a.k.a. The Boy Who Lived) will appear and make some wild accusations against you, and then, if Imoen is not in the party, she will appear in the palace and begin her friendship with Duke Liia. We are just getting the various pieces in position for the end of this campaign and the beginning of the next one. Then the player will go to the Thieves' Guild, and speak to Denkod, and then descend to the maze. The Denkod dialogue is a bit wacky, but honestly I don't think a bit of levity is out of order at this juncture. Most of Part 5 has been writing, writing, writing. I got a bit tired of it by the end. Maybe that comes through, maybe not. In any event this is a beta so the first draft is going in and I am pressing forward. Everything is subject to later revision. The first order of business is dealing with Journal entries, which I have never done before. I think I got it right...? I also added similar lines back to the top of Step 3 and Step 4 in my local version. That should allow AddJournalEntry() script actions to lump all my journal entries into a proper quest log. Next, I add some checks to BALDUR.BCS to constantly check whether Imoen is in the party, and if so, what chapter it is. This should therefore set a variable value to the last chapter Imoen was in the party. I have four different lines of explanatory dialogue from Imoen, depending on her status: Only in the party in chapter 1 or not at all Last in the party in chapter 2, 3, or 4 In the party during chapter 5, 6, or 7 Dead Next, I will add some trigger in the Ducal Palace area script to set up the three cut scenes that will occur here, and script those cut scenes themselves: The first has Duke Entar enter and get in a conversation with Liia; the second has Entar leave in a huff; and the third has Imoen (the SoD BDIMOEN version) enter the area if she is not already in the party. Then I will add a bunch of dialogue to Belt and Liia. (I'm still duplicating the same dialogue for both of them, sue me... anyway here again, the player will never know because the dialogue only triggers once.) And also some lines for Entar and Imoen, and a couple short interjections from Skie in case she is in the party when Entar accuses you of murder. That all goes into a single .D file, because various lines from one person EXTERN out to added lines for another person, and the variables that represent the new line numbers need to be resolved at the same time, in a single COMPILE command. Next I will modify the area script for the Thieves' Guild. I understand the issues mentioned about Angelo having come down hard on the thieves, but I don't want the Guild to be completely empty, so I will edit the script so that only named thieves get removed in chapter 7. Now, a handful of nameless "Rogue" thieves will still be present in the guild, and Denkod will appear and speak to Charname when you enter. And the stairs down to the maze will be enabled by my new global variables instead of the original ones. Finally, for now at least, I will remove Voleta Stiletto from the entrance to the maze. The original dialogue - that Sarevok passed by moments earlier and ran her through - make no sense anymore. I will think it over... maybe it would be best to leave her there, injured at the entrance to the maze, but change her dialogue to talk about being injured by the undead in the maze. It only wouldn't make much sense because the maze should not be accessible to anyone without the Dukes' rune. Need to think about it a bit. And, that's it for Part 5! Basically, as I said, just a lot of exposition and moving pieces into place for the endgame. Imoen is in the palace, and we are on the way to confronting Sarevok. In fact this right here could be a fully-functioning mod. We have stretched out the end of BG1 and added some content and improved the narrative. Just point the start of SoD to the palace assassination scene instead of Korlasz’ dungeon, and job done! But, Entar has claimed that someone looking just like Charname brutally murdered him. We want to come back and address this mystery after dealing with Sarevok. So, we will do a bit more: Make sure the game doesn't end when Sarevok dies Write some closeout dialogues with the dukes, and arrange for the new transition to SoD Set up the cut scene for the optional transition directly to SoA, and connect it to the SoD abduction scene Possibly, modify the very end of SoD itself Work on compatibility with EndlessBG1
  6. That’s fine. That doesn’t mean the guild has to be completely nonexistent. Rededge, Lily, Denkod, and Voleta are still around. Everything doesn’t have to be explicit - sometimes leaving things vague is more compelling. A line or two about not wanting to make a volatile situation worse should be sufficient.
  7. Cool, that would be helpful. I see in the area script that most of the occupants of the guild are set to disappear in chapter 7. But neither Black Lily nor Denkod has anything to say about it, and in my recent playthrough I did not meet anyone who gave more information about it. It is a nice enough plot point, but if the game does not actually present it to players, then what is the use of it? I don't really like the idea that the guild has been completely eliminated. (And after all Denkod, Black Lily, and Voleta Stiletto are still there.) So I might reintroduce some nameless thieves to the area, just to have bodies there. I am going to write out a small conversation with Denkod, and if the player gets needlessly murderous and attacks him, I want others around to help him. I've got the post-Korlasz palace dialogue all written up and tested. (...Pending any necessary adjustments for addressing the current stat of the Thieves' Guild. Which, if it really comes to that, could also be addressed by simply moving the maze entrance as discussed earlier.) Meantime, it occurs to me that this is probably the appropriate time to re-introduce Imoen, if she is not already in the party. It is going to be complicated - need to go back to earlier chapters and add global variable to mark the last time she was in the party, and add appropriate dialogue now. And a further complication: what if Imoen was never in the party, and shows up at the palace now, and Liia says she wants to keep Imoen in protective custody until the threat of Sarevok has passed... should the player be able to recruit Imoen, ust for the last fight? Or should we say, if she is not in your party going at this point, then it is too late. I'll tinker with it. But it means this step will take a while longer.
  8. I just checked, and it is fine. Just a brain fart on my part. You can go ahead and make a release.
  9. “Minor Oversight” should be the name of a cantrip
  10. Is that actually shown or described? (Runs off to savegame) Okay so Alatos is not there but several rogues are in the guild and Black Lily is there with the guild’s most powerful and valuable gear. Nobody has anything to say about Alatos. I got arrested and Angelo has nothing to say about it. Is this another thing Bioware did half-assedly (presumably they were under time pressure at the end) and the story of what happened was filled in by out-of-game sources? I don’t love it. Why would one new commander - and a particularly corrupt one at that - be an existential threat to a thieves’ guild? Wouldn’t every new commander be incentivized to eliminate them? Why is Black Lily still there? Wouldn’t she just step up and become the new head of the guild? Honestly, sounds like another thing in the late game that needs fixing. EDIT - might be as simple as changing a line from …to something like: Or something like that.
  11. Hold off for like a day on rc5 - I need to make sure I didn’t screw up the Sleep patch. (Might have forgotten about the pre-EE engine and left an EE-only opcode in it.) I’ll double-check that, and make a PR with an extra component for the saving throw tables.
  12. Writing up dialogue for step 5. God, this is going to be so much easier than step 4. And I think there is a very simple solution to the problem of the dukes teleporting you into the thieves’ guild, even if we don’t move the entrance of the maze, and also why Charname would be sent alone to confront Sarevok, instead of with an army at his back. Basically, just fix it with some expository dialogue. Liia will tell you that all entrances to the Undercity were sealed long ago, and being useless, were forgotten. There is a rumor that one such sealed entrance was in the thieves guild. Of course, the civic leaders and city guard are not welcome there, so why doesn’t Charname go investigate that rumor. Not fight Sarevok, not end the game, just investigate the rumor. And in case it is true, here is a magical rune to unseal the passage. This makes a ton of sense. The Flaming Fist consists of fighters, but they are largely low-level soldiers. (And I’ll probably add a line about the most experienced members gearing up to leave the city and confront the Crusade.) Thieves’ Guild members, by contrast, are probably higher-level thieves. They are probably more than a match for low-level fighters one-on-one… then add in the fact that the fight would be on their home turf, they have traps, they have poison, they have magic… it would be a bloodbath. So even if the dukes know where the guild is, they cannot send their own troops. Instead they will ask Charname, as an independent agent, to investigate the possibility, and try to scout Sarevok’s location, and then report back without confronting Sarevok, do the Dukes can send in the cavalry. That is a much more sensible plan for the leaders of a major Sword Coast city, than blindly teleporting Charname into the thieves’ guild! Of course that plan will be frustrated. Just need a “the door locks behind you, you cannot leave” moment when you find Sarevok, to force the fight. So the actual end of the game can be the same as it always was, but become much more sensible and believable.
  13. If it is any consolation, my own mod adding save bonuses for ability scores operates by applying a 6-second bonus every round, and the spell is preceded by an op321 effect to make sure there is no stacking. Nevertheless, I have seen instances of the bonuses being doubled. Which should not be possible. Unfortunately I did not chase down the bug, and could not reproduce it reliably - I don't think it is happening anymore in my game. I can maybe check later today. But there is at least some anecdotal supporting evidence that this impossible thing can in fact happen. I have a theory that the bonus might be mechanically correct, but the EE Record screen is actually picking it up and simply displaying the wrong values. That needs testing though, it may not be the case. EDIT - ah, I see that the OP has actually checked the bonuses in EEKeeper, so it is not just a display bug.
  14. Fair points. Unfortunately, the mod author left with most of the work on v4 done, but without creating a readme for it. So this is not a case where someone is evilly twirling their mustache, slipping undocumented changes into unsuspecting players' games, but rather just an instance of real life getting in the way. Thank you for calling attention to this. As far as what we can do about it, being mere caretakers and not the author, I am not sure. I don't think I see a problem breaking the revised save tables out into a separate component. Will wait to see if anyone else chimes in with an opinion.
  15. Part 4: Fight the Future Okay, I think I've got this part set. This post is going to be less tutorial-y, and more about the reality of making mods for this game. Because, at least if you are me, you maybe don't entirely know exactly what everything does in the mod you publish. Someone helps you, someone on the forums writes a function for you, and you put it in your mod and it works... but maybe you don't entirely know why. It happens! The important thing is that you made a cool thing, which actually installs and works. So, as has been mentioned, the EndlessBG1 mod has a component called "Korlasz' Dungeon Is In BG1." Sound familiar? Yes! But there is a key difference: EndlessBG1 keeps the basic plot of the BG1-SoD transition, whereby you defeat Sarevok, and then the Dukes ask to to go after the rest of his former allies and followers. The plot is a bit thin. Really Beamdog just needed a mod-level tutorial dungeon that could occur after the end of BG1 but before you leave the city to confront Caelar Argent in SoD. In addition to moving the dungeon for some cool gameplay, I want to improve the narrative, by making the dungeon an integral part of your progression to the finale of BG1 - not an afterthought clean-up quest. The content of that EndlessBG1 component basically does two things: It places the dungeon in the BG1 maps and handles the technical issues of being in that dungeon before the actual SoD campaign has started It arranges the post-Sarevok-fight dialogue of Duke Belt et al. to send you to Korlasz' dungeon (literally, teleporting you there), and to acknowledge your completion of the dungeon in preparation of moving you to the assassination attempt and departure from the city We definitely want to glom on to #1. The technical issues are myriad: for example, there are scripted events that advance variables that the game only expects to be advanced in the SoD campaign. There is the issue of Imoen being an out-of-party NPC giving you guidance, when you might be approaching the dungeon with Imoen in your party. Et cetera. But we definitely do not want EndlessBG1's handling of the dukes' dialogue, since it is all about how Sarevok is dead, and you are the Hero of Baldur's Gate (gag), and with the Reflections mod none of that has happened yet. So what I have done, is basically copy about two thirds of that EndlessBG1 component, and paste it directly into this mod: Yeah, that's like 600 lines of code and it is not the easiest to read. Just take it on faith, as I am taking it on faith, that this is handling those technical issues mentioned above. (It works in EndlessBG1 after all, and I have tested it in this context.) Borrowing code like this is actually not a good method; Jastey might well make updates to Endless BG1, and then the code won't match, and this mod might lag behind and have bugs that have already been fixed. In time this borrowed code will be sectioned off in its own file, so that it will be easy to simply drop in an updated version if need be. And honestly , I have actually come to understand most of what it does, and while I would no doubt write it a bit differently, the content of what it does is exactly how I would do it if I were writing it from scratch. Add travel triggers for the entrance to the dungeon, handle the contingency of Imoen being in the party, patch the dialogues of some minor characters who appear there, add some useful variables for the modified end-of-game parameters, modify some cut scenes, etc. The relatively huge benefit of borrowing the code in this way is for compatibility. The rest of my code in this section can operate under the assumption that this is the state of things. So I can put a giant conditional clause around all those 600 lines, and say "If EndlessBG1 is installed, just skip all this." It can be skipped, but the rest of this mod will find the state of the game to be identical as if it were not skipped. And oh yes, there is a lot more to do. First, we very much do not want Duke Belt to send us to Korlasz' Dungeon. In Part 3 we met Captain Gregson of the Flaming Fist who was directing us there. We will add him and a small contingent of scouts to Central Baldur's Gate, near the entrance of the dungeon, and his dialgue will trigger the cut scene for entering the dungeon: The non-party version of Imoen spawns as part of the initial cut scene where you see two of Korlasz' henchmen talking near the entrance we want to modify that script a bit more, to prevent Imoen spawning if Captain Gregson has been introduced into the game: Even more modifications to the dungeon's area script, to add Captain Gregson and spawn the Flaming Fist guys in Imoen's absence, and add some more conditions to some stuff like Siege of Dragonspear journal entries being generated: We will give Gregson his dialogue for outside and inside the dungeon: We need to suppress a bunch of spoken references to Sarevok's death in the introductory cut scene: The small cut scene where Porios talks to you across the chasm is all about Sarevok's sword. It does not fit here, so we will simply add a condition and prevent it from happening altogether. Then we will scrub a few references to Sarevok's death from the dialogue of Porios and Korlasz: We need to make one of those letters Sarevok constantly sends to all his lieutenants. (This guy leaves a huge paper trail, would make a terrible white-collar criminal. I would say his OpSec sucks, but I guess it's tough when you have to deal with literal hobgoblins...) We will copy an existing one and change the text, and then place it on the body of Korlasz' familiar: Finally, we need to manage some of the script conditions on the second level of the dungeon, mostly involving suppressing the Siege of Dragonspear journal entries and adding some of our own: And that's it! That's... it? I think that's it. I have played through the dungeon with this installed, and it all works, and when I go back to the palace Belt and Liia are still giving me the dialogue lines I left them with after the modified coronation scene. So all seems well. We have set some variables here that can be used to add more dialogue to them. Belt will start coming around to the idea to you are something like the Hero of Baldur's Gate. But just as the conversation takes that turn... The dead will rise! EDIT - Entar. Entar Silvershield will rise. And he is NOT a happy camper. He is under a bit of a misapprehension - or is he?? - and the whole time everyone has been coming to grips with the whole doppelganger plot, Entar has been dead. So, being resurrected only now, he is understandably confused. Or is he??
  16. Well, yeah, that would not work. I even the existing thing with the spider lady in the Cloakwood is rather ham-fisted and generally bad. I would consider very much subtler signs. Like, maybe a duergar is nosing around Gullykin, the second time you visit it. He isn't harming anyone, he won't talk to you, doesn't given anything away. Just... there. Maybe an off-hand comment from a local halfling like "you don't see that every day!" but literally nothing more than that. Maybe a pair of dryads in the Cloudpeaks, talking to each other about their sisters, but they run away if you try to talk to them. I don't know. Just tiny little bits that are reminiscent of things connected to Irenicus. But could also be coincidences, and would be missed entirely by someone who hasn't played BG2 10+ times. Some very, very light foreshadowing. ------------- I said above that the Sarevok fight adustment would be easy... but I was thinking about whether to make changes to the Sarevok fight itself. There are hints in what I've been writing that suggest Sarevok has a Plan B. I mean, he's a pretty competent strategist, why wouldn't he? And what's this thing about retreating to the Undercity and trying to draw Charname there? Why not just leave? I have an idea that there is a bit more significance to Sarevok luring you to a prepared battleground, which just happens to be a temple to the god of murder, which just happens to be sarevok's father and the subject of a major prophecy. Very roughly, the idea is that Sarevok has prepared some rituals or the like, which mean that his killing a relatively powerful Bhaalspawn in that location will empower him in some nontrivial way. It doesn't work both ways, of course - Charname didn't prepare the rituals. But it would explain why Sarevok collects the remnants of his followers and resources there, and risks so much for the final confrontation. BUT, if that is the idea... it should be reflected in the mechanics of the fights. I was thinking, maybe, everytime someone dies during the fight (anyone), Sarevok himself would get a stat boost and maybe healed some hit points. Or - or maybe and - if Sarevoks hit points go below 10%, one of his teammates dies and gives him the bonus, being him back up to 50%. Something like that, just to show he is benefiting from the arena itself, and you will need to overcome that. The problem with this idea is, would it be incompatible with existing mods that alter this fight. Which, I guess SCS is the only one. (But I don't like the SCS version very much!)
  17. I'm still here. This bit about Korlasz' dungeon is kicking my butt. I'm so close to getting it done. Just need to tweak one or two conditions - e.g. I finally got rid of tour guide Imoen... but I was too thorough and now she doesn't show up even if you start SoD as a new campaign. Also, I need to write some journal entries. On the bright side, in testing it, I really like how it plays. The end of the BG1 campaign gets stretched out, letting you breath a bit before rushing to the finale. And, has a professionally made prestige dungeon added in! What's not to like? Most of the later steps should be way easier and quicker than this one. Part 5 is a few lines of dialogue and a cut scene. I've never made a cut scene before! but it is an exceedingly simple one - just somebody bursting into a room and butting into an ongoing dialogue. Piece of cake. Probably. Part 6 is altering the end of the Sarevok fight, so that it doesn't end the campaign. EndlessBG1 already does this and it seems fairly straightforward. I only need to apply one very tiny difference: I need to make a body disappear. (I know - we've all been there, right?) ** Part 7 is yet more dialogue, this one implementing a choice of whether to go on to SoD or SoA. I expect the transition to SoD will be a little tricky, but here too EndlessBG1 has already done it and I want it to be as close as possible, for the sake of compatibility. Also I probably need to stick The Return Of Imoen in here. Part 8 is another cut scene - but this one will be very tricky. I need to script some spell effects that cannot actually be scripted. This will be the second-hardest part of the mod, probably. Part 9 is bringing another part of SoD forward into BG1... but this time it should be way simpler. The SoD-related variables and stuff won't matter, since this part will only take effect if you choose to skip SoD. Part 10 - yeah, we have a part 10 now! - will involve modding the very end of SoD, after the return from Avernus. I am playing SoD right now, so when I get to the end I will have a better sense of how much work this will be. An open-ended question: should there be a Part 11. Which would be more small adjustments to earlier parts of the BG1 campaign, dropping a couple more small hints that Irenicus is not sitting on his hands the whole time, but actively advancing his own plans. Very small stuff - smaller than killing Thalantyr, for sure. Nothing has popped into my head but I haven't thought hard about it yet. If anyone has ideas feel free to mention them. ** EDIT - although... see below.
  18. This is one of the rare mods that is fine to install mid-game. Any NPCs who have been in the same area with you will not have the tome, but you can just add it via the console: C:CreateItem(“d5_ckit”) The only caveat is, if you have already leveled up an NPC and spent a proficiency point, then using the tome can leave you with more proficiency points than you are supposed to get. Ideal usage is immediately after recruiting someone.
  19. I have no idea. All the relevant stuff is mostly defined in campaign.2da and M_K#tbl.lua. I have logos in my game, I don’t know what LeUI is doing to short-circuit it. Maybe LeUI sets up its own campaign selection screen instead of using the Normal EET one? In which case a mod would need to hook into that. But I am not equipped to do that. Better off asking @lefreut
  20. Is the game paused? You need to let the game clock run for a couple seconds after waking up, for the spells to be prepared. Alternatively… I’m not sure what that other mod does to make him a F/M. Is this right after recruiting him? You might need to level him up for everything to be properly aligned in his new class.
  21. I am looking at this function and it says: I want to delete a proximity trigger form a map. Trigger #17. But, I do not know what kind of "structure" that is for purposes of this function. The way Near Infinity displays .ARE files does not seem to match up with the categories that this function expects. Can anyone help me translate between them?
  22. I need to have a scripted scene that emulates a Timestop spell. It will: Start a cut scene Every one should freeze like in a Timestop, except Charname (still in cut scene mode though) The Dimension Door animation plays and Charname will be teleported a short distance away The Timestop should end and a dialogue fires That's it. My questions are: 1) Do area scripts continue to run in Timestop? 2) Can scripted animations play in Timestop? 3) Can I manipulate a character like teleporting them somewhere work in Timestop? If the answer to one or more of those is 'no,' is there a way to visually simulate a Timestop (the greyed out background etc.), and I can fudge the other stuff in the cut scene?
  23. Is there a particular reason for this advice? Just because it can mess up other mods? I need to amend Korlasz' dialogue in SoD. Where she says in state 3: ...I want to change it to simply: Not really changing the content, just making it a bit more general, removing reference to an event that may not have happened, depending on other conditions. In this case wouldn't REPLACE_SAY be the simplest way to achieve that?
  24. Yes, you will see lines that look like that for BG1, SOD, SOA, TOB, BP1, and BP2. (And maybe also TUT, or something like that, at the end.) Paste the above in between TOB and BP1.
  25. Well, I can confirm the issue is when LeUI is installed first - the IWD campaign selections work fine with out it, but do not work with it. The bad news is, I have no idea what LeUI changes, or how EET's UI stuff responds to it, or even really how my own mod interacts with it. (Well, I mostly understand my own mod, but the recent versions of it use code donated by the guys who made NWNforBG, and working with code written by other people is always awkward.) All I can really suggest is that you try using the older version of IWD_EET_Integration, before I adopted the code from NWNforBG. Mind you, I have no particular reason to think the old version will work with LeUI. But, it is a different method, so maybe will get different results? LeUI must make changes to UI.MENU that cause a regexp match to fail, or something. I suppose you could muck around in Near Infinity after everything is installed. If you look near line 6685 of UI.menu, you can see that the IWD campaign entries for the lines with "elseif(buttonnum..." are missing. These get added fine when LeUI is not present, so like I say, LeUI must make some change that breaks things for mods downstream. (And if you instead install it later, it breaks a bunch of mods upstream. You begin to see why I don't like UI mods...) You could try pasting this in between the lines for TOB and BP1, near line ~6697: elseif(buttonNum == const.START_CAMPAIGN_ID1) then startEngine:OnCampaignButtonClick('ID1',true) Infinity_SetINIValue('Program Options','Active Campaign',const.START_CAMPAIGN_ID1) elseif(buttonNum == const.START_CAMPAIGN_ID2) then startEngine:OnCampaignButtonClick('ID2',true) Infinity_SetINIValue('Program Options','Active Campaign',const.START_CAMPAIGN_ID2) A quick test suggests this might work.
×
×
  • Create New...