Frictional Games Forum (read-only)
How to make a breakable window? - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How to make a breakable window? (/thread-25607.html)



How to make a breakable window? - KenseiDSG - 07-04-2014

I need to know how to make a "Breakable Window" in my Amnesia Custom Story. I have the mansionbase_large_window_breakable_1 but Its just the glass part. How do I get the full thing?


RE: How to make a breakable window? - Daemian - 07-04-2014

On level editor, go to static objects, select mansion base from the list and place the object called window_noglass. That one has no glass.

You gotta put a breakable window yourself, I think it's this one: mansionbase_large_window_breakable.ent
Try setting its life to -1 and see if it breaks, If it does, you can use it.

Then add some glass particles and sounds when it breaks.
I don't remember if that entity needs a collide callback to break, you should throw something at it and check.