Frictional Games Forum (read-only)
A secret passage - 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: A secret passage (/thread-7704.html)



A secret passage - vansd - 04-30-2011

Can you tell me how make a breakable wall with a secret passage in the details? Which script areas I need? What I have to write in HPS file? Help me please!


RE: A secret passage - Tanshaydar - 04-30-2011

You can always open the official maps and see there how it's done.


RE: A secret passage - Kyle - 04-30-2011

I completely understand how it works, I could do it, but it would take around a hour to do so.
The script would include a wall that is empty and then being filled up with entities like bricks for example, and then you would go to each one's tab and check the box that says static physics. Then when the player uses some tool or something to bash the wall down, you could set all of the objects with physics again by using this script line: SetPropPhysics(string& asName, bool abX);