Frictional Games Forum (read-only)
Getting picture to stay on the wall - 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: Getting picture to stay on the wall (/thread-19983.html)



Getting picture to stay on the wall - stokesie95 - 01-19-2013

i am wanting to put a
picture on a secret wall hiding the hole, but every time i test the map it falls off, I've put it as close to the wall i can without it falling off


RE: Getting picture to stay on the wall - Hardarm - 01-19-2013

(01-19-2013, 04:22 PM)stokesie95 Wrote: i am wanting to put a
picture on a secret wall hiding the hole, but every time i test the map it falls off, I've put it as close to the wall i can without it falling off

What's the name of the picture you're using?
if it's painting03_dynamic then you should choose the "painting03" one.


RE: Getting picture to stay on the wall - Streetboat - 01-19-2013

Go to the second tab of the entity settings and select 'static physics'. Then, when you want that painting to come off the wall, use the SetPropStaticPhysics function in your .hpl file. If you want the painting to come off when you touch it, create a script area roughly the size of the painting and have it be interactable with a function in the .hpl that uses the SetPropStaticPhysics line mentioned above.


RE: Getting picture to stay on the wall - Hardarm - 01-19-2013

Just... do what he said Blush