Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange problem with trap doors.
A Tricky Carnie Offline
Member

Posts: 72
Threads: 15
Joined: Sep 2011
Reputation: 0
#1
Strange problem with trap doors.

Hey guys, I put a trap door in the floor in one of my maps, its locked (I just checked, so yes, I am sure its locked), yet for whatever reason, I can still open the trap door when I'm in the game, without unlocking it. Is this just a way the entity acts?

The map and script can be changed with ease, but this has simply piqued my curiosity.

11-16-2011, 03:57 AM
Find
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#2
RE: Strange problem with trap doors.

I had the same problem when I was working on one of my mod levels. "StaticPhysics" in level editor or scripting "SetPropStaticPhysics(string& asName, bool abX);" if you don't need to open it. Or if you want to "unlock" it with key, you can make this(SetPropStaticPhysics(string& asName, bool abX)Wink to be "false".

When Life No Longer Exists
Full-conversion mod
11-16-2011, 07:40 PM
Website Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#3
RE: Strange problem with trap doors.

Trap doors' entity type is SwingDoor, so they should be able to be locked/unlocked. On that note, make sure the trap door is an entity from the entities/doors/ directory. I don't believe there are any trap-door entities that AREN'T SwingDoors, but check just to be sure. Have you tried deleting the .map_cache file in your maps folder? Give that a shot.

11-17-2011, 06:56 AM
Find




Users browsing this thread: 1 Guest(s)