Jump to content

Last Door flag unknowns revealed


Avenger

Recommended Posts

Check IWD2 doorflag.ids :thumbsup:

 

1 DOOROPEN

2 DOORLOCKED

4 TRAPRESET

8 TRAPDETECTABLE

16 BROKEN -- new flag! might mean door couldn't be locked

32 CANTCLOSE -- new flag! door cannot be closed

64 DETECTED

128 SECRET

256 DETECTEDSECRET

512 LOCKEDINFOTEXT - it will display some string? probably when door is unpickable?

1024 SEETHROUGH

2048 WARNINGINFOTEXT - it will display some string? probably when door is trapped?

4096 WARNINGTEXTDISPLAYED - ?

0x2000 HIDDEN

0x4000 USEUPKEY

 

No idea what is the difference between 512 and 2048.

Also no idea what is the difference between secret and hidden

 

I think these flags are all the same for the different engines.

Link to comment

It's so much more fun with a hex editor and lots of frustrating long, frustrating, frustrating hours testing.

Or not.

 

I wonder if there's anything else we've missed from IWD2?

I'll see if I can test some of these things before the next update. Logically, you'd think hidden and secret must have a separate use, unless the earlier one is bugged. Same with the warninginfo flags.

Link to comment
Also no idea what is the difference between secret and hidden

 

AD&D differentiates between secret and hidden doors. As far as I recall, secrets doors are door disguised as something else (a closet, a part of a wall, etc) while hidden doors are doors placed out of sight (beneath a carpet, behind the closet, whatever). They may have been trying to implement both of these. Of course, I have no idea as to what the ingame different of these flags might be.

 

-Echon

Link to comment

Ok, at least the warning text is a hoax.

IWD2 implements the warning text as traps/floatmessage.

And has a local area variable for the 'warningtextdisplayed' flag.

But the broken flag works, when i broke a door in pst it was set.

The -can't close- flag doesn't seem to work in pst/bg2.

Actually i think if a door is opened AND locked, you cannot close it anyway.

I still don't know if the hidden/secret door thingie is really working in iwd2.

In bg2 those flags do something else, which was already confirmed (slide door, useupkey).

And the useupkey flag is in a different place too.

So, it seems this .ids file is somewhat outdated. Though, it helped me find the - totally useless - broken flag :thumbsup:

I hope, at least the Lock() function honours this flag (untested).

 

Here comes the flag list as i know it now:

 

1 DOOROPEN (in pst it is DOORCLOSED)

2 DOORLOCKED

4 TRAPRESET

8 TRAPDETECTABLE

16 BROKEN -- new flag! tested

32 ?

64 ?

128 SECRET

256 DETECTEDSECRET

512 SEETHROUGH

1024 USEUPKEY

2048 SLIDE

0x1000 ?

0x2000 ?

0x4000 ?

0x8000 ?

 

The broken flag could be used in iwd2 to test if the door was broken or picked/unlocked.

CheckDoorFlags("mydoor",BROKEN)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...