Jump to content

Bug with Improved Encounters on EET


Recommended Posts

SCS improved encounters on EET causes the 6th chapter random encounter with rakshasa disguised as travelers to happen prematurely in chapter 2. We have this block in ar0041.bcs - ar0046.bcs

IF
	OnCreation()
	GlobalGT("RandomEncounters","GLOBAL",1)
	Global("DMWWRandomTravelers","GLOBAL",0)
	GlobalGT("chapter","GLOBAL",5)
THEN
	RESPONSE #100
		SetGlobal("DMWWRandomTravelers","GLOBAL",1)
		CreateCreature("RERAK01",[488.558],NE)  // Traveler
		CreateCreature("RERAK02",[500.454],NE)  // Traveler
		CreateCreature("RERAK03",[552.476],NE)  // Traveler
		CreateCreature("RERAK04",[427.548],NE)  // Traveler
		CreateCreature("RERAK05",[525.591],NE)  // Traveler
		CreateCreature("RERAK06",[585.542],NE)  // Traveler
END

I fixed  this manually in my install by changing the condition GlobalGT("chapter","GLOBAL",5) to GlobalGT("AsylumPlot","GLOBAL",50). The bug is present in v35.10

Edited by Enkidu
Link to comment

I see the problem, yes. Chapter variables need to be localized to allow for EET: that 'Global("chapter","GLOBAL",5)' needs to be 'Global("chapter","GLOBAL",%bg2_chapter_5%)'. The same thing occurs in a few places in stratagems/tactical_bg2/ssl/dw#random.ssl. Fixed locally, will be in 35.11. You can hotfix by dropping the attached file into stratagems/tactical_bg2/ssl before installing (no need if you're not playing EET).

dw#random.ssl

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...