Frictional Games Forum (read-only)
Can you make a hatch locked? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Can you make a hatch locked? (/thread-7741.html)

Pages: 1 2 3


RE: Can you make a hatch locked? - DannieWest - 05-02-2011

Where do I find cache files? I changed the forcecahedsave thingy to false, but the hatch still feel like being unlocked...


RE: Can you make a hatch locked? - Roenlond - 05-02-2011

(05-02-2011, 02:59 PM)DannieWest Wrote: Where do I find cache files? I changed the forcecahedsave thingy to false, but the hatch still feel like being unlocked...

Same folder as your maps/scripts.


RE: Can you make a hatch locked? - DannieWest - 05-02-2011

(05-02-2011, 03:03 PM)Roenlond Wrote:
(05-02-2011, 02:59 PM)DannieWest Wrote: Where do I find cache files? I changed the forcecahedsave thingy to false, but the hatch still feel like being unlocked...

Same folder as your maps/scripts.

So.. I unlocked the hatch, deleted the cache file, locked the hatch and started the game. Hatch as unlocked as it've always been Undecided


RE: Can you make a hatch locked? - Khyrpa - 05-02-2011

I had the same problem when the hatch opens downwards. But I am fine enough with it being static until one trigger changes it from static to normal


RE: Can you make a hatch locked? - DannieWest - 05-02-2011

(05-02-2011, 04:16 PM)Khyrpa Wrote: I had the same problem when the hatch opens downwards. But I am fine enough with it being static until one trigger changes it from static to normal

So you can create a trigger, like when using key on the hatch, making it normal instead of static? Or something like that?


RE: Can you make a hatch locked? - Khyrpa - 05-02-2011

Im not sure if thats possible, but i just made the static entity not active and the normal one active


RE: Can you make a hatch locked? - DannieWest - 05-02-2011

What kind of script do you use to make that one? Like, first I got a static hatch, but when I pick up a key, the static one becomes unactive and the unstatic one becomes active!


RE: Can you make a hatch locked? - Khyrpa - 05-02-2011

collide with the key then use SetEntityActive to switch the active hatch? It dsnt feel natural that the hatch is suddenly open without using the key though


RE: Can you make a hatch locked? - DannieWest - 05-02-2011

(05-02-2011, 04:57 PM)Khyrpa Wrote: collide with the key then use SetEntityActive to switch the active hatch? It dsnt feel natural that the hatch is suddenly open without using the key though

Suppose that would work yeah! I know what you mean =/ But can't seem to find another way... or maybe I'll just use the key for a door in the next room or something lols..


RE: Can you make a hatch locked? - Khyrpa - 05-02-2011

Perhaps make it a scary event: youre glad u found the key -> happily get to the hatch but it suddenly opens up without the key?