Guest morpheus562 Posted April 12, 2022 Share Posted April 12, 2022 Please feel free to put any scripting issues in here. I'm happy to look into any that people feel need to be addressed. @CamDawg please feel free to delete if you prefer a separate thread for each on. Quote Link to comment
Guest morpheus562 Posted April 12, 2022 Share Posted April 12, 2022 Ursa the Cavebear - It always irked me the Xvarts in the Xvart Village referred to Ursa as their "Protector", but the first thing Ursa does is attack them. I recommend that Ursa, when spawned, attacks the party instead of the Xvarts (s)he is supposed to be protecting. Quote Link to comment
jastey Posted April 12, 2022 Share Posted April 12, 2022 1 hour ago, morpheus562 said: Ursa the Cavebear - It always irked me the Xvarts in the Xvart Village referred to Ursa as their "Protector", but the first thing Ursa does is attack them. I recommend that Ursa, when spawned, attacks the party instead of the Xvarts (s)he is supposed to be protecting. That's a difficult one. Is it a bug, was the developper intent that Ursa would really protect the Xvarts? One could argue that. But Ursa the Protector turning against the Xvarts is like... like... a "legacy fun fact". I think changing that and calling it a fix would stirr riots. Quote Link to comment
Awachi Posted April 12, 2022 Share Posted April 12, 2022 I put Ursa on the same level as Gandhi nuking everyone in Civ: Bug or not, it's canon at this point. Quote Link to comment
CamDawg Posted April 12, 2022 Share Posted April 12, 2022 Yeah, Ursa going after Nexlit is basically canon at this point--we knew about it during BGEE development and AFAIK no one wanted to change it because it's hilarious. Quote Link to comment
Guest morpheus562 Posted April 12, 2022 Share Posted April 12, 2022 Forgive me for quite literally poking the bear on this one. I had no idea. Quote Link to comment
Sam. Posted April 12, 2022 Share Posted April 12, 2022 I can't recall ever seeing this happen. Guess I slaughter everything in sight too quickly for it to matter... After killing every monster, bandit, thug, and animal on the Sword Coast, I began to wonder who the real monster is... Quote Link to comment
jastey Posted April 13, 2022 Share Posted April 13, 2022 6 hours ago, morpheus562 said: Forgive me for quite literally poking the bear on this one. hehe 5 hours ago, Sam. said: After killing every monster, bandit, thug, and animal on the Sword Coast, I began to wonder who the real monster is... Father would be proud! Quote Link to comment
jmerry Posted April 13, 2022 Share Posted April 13, 2022 Well, how about an actual bug: how to get Mulahey stuttering. The way to trigger it is very simple: deal more than half his health (24-45) in damage before he gets a chance to speak to you. A sufficiently strong backstab can do this pretty reliably. Then bluff him with the "Tazok is ... is most displeased with you" line. He will then talk to you repeatedly without going hostile. Attacking him won't interrupt this; only opening the chest or killing him ends it. The logic involved is mostly in MULAHEY.BCS and MULAHE.DLG. Mulahey speaks to you under four conditions, in order of priority: "CDMulahey" (local to the area) is 0. His HP are under half and "TalkedToMulahey" (global) is 0. He's attacked while neutral and "CDMulahey" is 1 or 4. This one also increments "CDMulahey" by 1. He's neutral, and either he's attacked or "CDMulahey" is 2 or 5. Then there's his dialogue. He has seven starting points, in order of priority: Charmed: "I am your humble servant..." No variables changed. "CDMulahey" is 0: "Tazok must have dispatched you...". You can respond by bluffing him, or by starting a fight. The former sets "CDMulahey" to 1 and turns him neutral, while the latter sets it to 3, turns him hostile, and summons minions. "CDMulahey" is 2: "Fools, you'll never have the chance to take anything! ..." Sets "CDMulahey" to 3, turns him hostile, and summons minions. "CDMulahey" is 5: "I'll have your skulls for coming here! ..." Sets "CDMulahey" to 6, turns him hostile, and summons minions. "CDMulahey" is 1: "Tazok is unfair. ..." Sets "CDMulahey" to 1 and turns him neutral. "CDMulahey" is 4: "I thank thee for thy mercy! ..." Sets "CDMulahey" to 4 and turns him neutral. His HP are under half: "I yield, I yield to thee! ..." You can respond by accepting or refusing his surrender. The former sets "CDMulahey" to 4 and turns him neutral, the latter sets "CDMulahey" to 6 and turns him hostile. Either way, it sets "TalkedToMulahey" to 1. The last bit of the logic is in the chest script. If anyone opens it and "CDMulahey" is 1 or 4, the variable increments by 1. So, what's going on with this stutter? If you knock him down under half health immediately, he follows up with his starting lines. Then after that, if you bluff him, CDMulahey is 1 and he's under half HP - which is a state the script never planned for. The latter condition forces him to talk to you, but the former means that he gives his "Tazok is unfair" line instead of "I yield". So he talks, no variables update, and he talks again repeatedly. Attacking him further at this point won't change that the half-health dialogue condition is the highest priority. Actually, now that I look at it again, you should be able to bring him down to below half health with a second hit after the initial bluff. I think the cleanest fix is to add a condition to the half-health dialogue so he only forces it if "CDMulahey" is 3. It's still a little weird; if you drop him to half-health before the first phase of the fight properly begins, he'll start that fight and then immediately surrender. But you don't get the stutter or the completely free win. Quote Link to comment
CamDawg Posted April 13, 2022 Share Posted April 13, 2022 Man, whoever did that Mulahey scripting clearly didn't know what they were doing. Quote Link to comment
DavidW Posted April 13, 2022 Share Posted April 13, 2022 If only he'd left some hint in the scripting by which we could identify him. Quote Link to comment
jastey Posted April 13, 2022 Share Posted April 13, 2022 OMG it took me until @DavidW's remark to notice. Hehe Quote Link to comment
CamDawg Posted April 14, 2022 Share Posted April 14, 2022 If I'm making fun of someone's code, rest assured that it's mine. Quote Link to comment
jastey Posted April 15, 2022 Share Posted April 15, 2022 Yes, I know that, but I wasn't aware that you also did scripting things like these so I was confused. Quote Link to comment
Guest Isk Posted April 16, 2022 Share Posted April 16, 2022 The default scripts do not take Invisibility into account. At least for thief the script should be: - If visible, attack normally, - If invisible, do not attack The default script in Icewind Dale works properly ('iwdpregen' I believe). I suggest modifying the default BG scripts so that characters do not attack while invisible (or Turning Undead). Or at least include the default script from Icewind Dale with this fixpack Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.