Jump to content

patch 2.5 changes


Recommended Posts

Some more details regarding triggers that works in door scripts (tested on BG2:EE patch 2.5)

1. Clicked, Unlocked, OpenState - all works as expected.

IESDP mentions that Clicked works only for trigger regions and Unlocked "Appears to be broken" which is not true. Worth mentioning that successful door bashing also triggers Unlocked.

 

2. Detected - works on trapped doors

IESDP mentions that it works only for trap scripts which is a bit confusing when we can detect it from Door script as well.

 

3. SecretDoorDetected - works as described on IESDP

 

4. Opened, Closed - works only if door "Is Trapped = Yes" (only one time detection depending on the open state if "Reset Traps" flag is not set)

Setting "Reset Traps" flag makes these triggers work all the time.

If you don't set "Detectable trap" flag then there are no drawbacks in "trapping" the door in order to use these triggers.

IESDP doesn't mention that these triggers are dependent on trap flags.

 

5. Disarmed - works on successful door trap disarming

IESDP doesn't mention door scripts.

 

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

 

Following triggers don't work with Door scripts (or at least I don't know how to use them correctly):

Reset, TrapTriggered, Entered, IsOverMe, WalkedToTrigger

Edited by K4thos
Link to comment
#262 (0x106) Stat: Visual Range
The Visual Range parameter seems to be in the 0-15 interval.

 

The cap is not present in EE patch 2.5. Tested with See() trigger and visual range set to 100 with this opcode.

Edited by K4thos
Link to comment
0x4018 Range(O:Object*,I:Range*)
Returns true only if the specified object is within distance given (in feet) of the active CRE. Range seems limited to the default visual range (30), and does not bypass objects. Range is affected by foot circle size (e.g. the minimum range for a huge foot circle creature (Dragon) is 8). Melee range is 4.

 

 

Bolded part is not true anymore. Tested with Range 100 - works fine. And unlike See and LOS, Range actually ignores all obstacles (walls etc.).

Link to comment

 

#262 (0x106) Stat: Visual Range

The Visual Range parameter seems to be in the 0-15 interval.

The cap is not present in EE patch 2.5. Tested with See() trigger and visual range set to 100 with this opcode.

 

There is still a limit applied to fog of war exposure by this opcode (0-23).
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...