Just tried to play Calm Before the Storm using the latest EE Retail version. It seems that the transition areas do not highlight so they can be used. Tried jumping to the first destination tag, but the return does not work either.
Does anyone know if there is a fix or workaround for this problem.
The message is quite old, is the problem still there? If yes, can you give me an example for a nonworking transition?
edit -------------------------------------------------------------------
Forget it, I already found it (the western transition in Flexy). The transition-target points to a trigger of the type areatransition, instead to a waypoint. That is something EE can’t handle. I recently had a similar issue with a french module. The bug seems to be well known.
If someone has the time, I suspect a generic script could be written to fix all such modules. The pseudo-code is
For all areas
For all triggers and doors
If GetTransitionTarget is trigger
- Create waypoint at target location
- SetTransitionTarget to waypoint
Run in DebugMode and save.
Now here it gets messy. We know that the 1.69 engine jumps the player to the target trigger, but is that always exactly the same location that is returned by GetLocation? That function was never very helpful with triggers. Needs a lot of testing.
If the simple solution doesn’t work, drop the target trigger into json for analysis?
I’m sorry to hear that you’ve encountered a bug.
Unfortunately, I can’t prioritize making updates for NWN: Enhanced Edition (which is why I wrote the blue “IMPORTANT” message on each of my modules).
The best I can do is recommending you to play mine, and other older modules; with the old Diamond version of NWN. This older version is included in the NWN:EE version which you can buy from GOG: https://www.gog.com/game/neverwinter_nights_enhanced_edition_pack
Regards and happy new year to all of you,
/ Erik Birger Karlsson
That’s great news! You know what? If you email me the module with your fixes (I’d prefer if you return the bell sounds in this version), then I could add that to as a seperate NWN EE-download on the module page: erik.birger.karlsson@gmail.com
I’ll give you credit for the changes, of course. What name would you like displayed? Any website or link you want to add?
This issue was bugged to Beamdog a little over a week ago. It uses an old way of drawing transitions, the quirky design worked in older 1.69 modules but at some point, got borked in Enhanced Edition.
Small script that should fix it (untested but hopefully the logic is fine) as suggested by Proleric. Run it in the script console in game with the void main() {} tickbox on. If it TMI’s then, well, let’s just say it’d need some more code.
One could use GetNearestObjectToLocation() and Get*ObjectInShape() instead of GetFirstObjectInArea() to iterate only triggers and doors in each area. Using a switch should also shave some instructions:
oTarget = GetTransitionTarget(oObject);
switch(GetObjectType(oTarget))
{
case OBJECT_TYPE_INVALID:
case OBJECT_TYPE_DOOR:
case OBJECT_TYPE_WAYPOINT: break
default:
{
// CreateObject...
}
}
What I meant was you would have to use function and delay command it running for each area. The functions you mentioned are really not going to make much of a difference due to how they work.