Frictional Games Forum (read-only)
Inverted room - 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: Inverted room (/thread-10334.html)



Inverted room - NyteMyre - 09-15-2011

Hey, guys....still experimenting with the level editor.... nothing worthy for release yet but i'm getting better.

Anyway, i wanted to try to set up a map that is slowly tilting and finally becomes upside down. However, i want stuff that can be interacted with (chairs/boxes/tinderboxes) to stick on the "ceiling" (floor). As soon as i load the map, they all drop down to the "ground" (ceiling).

Is there anyway to kick gravity in the nuts?



RE: Inverted room - MrBigzy - 09-15-2011

Well, for one, you would have to convert the walls to entities with the model editor. And then to rotate the room, you would use RotatePropToSpeed, though you would have to do this for every wall/object not connected to another rotating object, and you would have to make sure they all have the same pivot point set, as well as the same angular velocity.

For stuff sticking to the walls, you can use AddAttachedPropToProp to connect entities.



RE: Inverted room - NyteMyre - 09-16-2011

oh i was actually talking about pre-setup inverted/titled rooms.... but are you saying you can actually spin a room in realtime?



RE: Inverted room - MrBigzy - 09-16-2011

It's possible, yes.

Oh, as for making the room tilt down a hallway...well, it would have pretty bad clipping errors. You would have to edit the walls in a CG program.



RE: Inverted room - NyteMyre - 10-14-2011

Damn you White Night :p
But then again, nice to see someone else had the same idea



RE: Inverted room - Elven - 10-14-2011

Nice Big Grin. Seems some people got this idea too Smile.

Well, there is small button called: Static physics. It means no matter where the entity is, it is static and won't move Tongue.