Frictional Games Forum (read-only)

Full Version: possible to turn an .expobj into an entity?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Not a clue Bill! Don't even have the game installed anymore so I couldn't check. Just felt like I should point it out since I remember having issues with that in the past.
(01-12-2015, 12:40 PM)Neelke Wrote: [ -> ]Ehm, I have actually made a scene where its the actual elevator that is going up. I made my own elevator wall out of static objects and made the actual elevator, lever and hanging lantern move upwards.

Sadly though, thanks to the way Amnesia works, you have to limit there what the player can do. If he jumps, you can clip out and if you crouch you might get stuck in the elevator floor if it goes fast. I have not messed around too much with this to fully understand how it works, but I have made a functioning one.

I'm okay with the player not being able to move during the transition. As long as its possible to send the elevator up either with him in it or not, I'll be happy. How did you achieve this feat?
(01-12-2015, 03:23 PM)Streetboat Wrote: [ -> ]I'm okay with the player not being able to move during the transition. As long as its possible to send the elevator up either with him in it or not, I'll be happy. How did you achieve this feat?

I basically had to convert the elevator, the hanging elevator lantern and the lever to entities as move objects and then moved each entity up by themselves.

Like this:

Code:
void OnStart()
{
    SetMoveObjectStateExt("elevator_moveable", 30, 2, 1.0f, 0.2f, true);
    //SetMoveObjectStateExt("elevator_lamp", 30, 2, 1.0f, 0.2f, true); //Dont know why this is turned off
    SetMoveObjectStateExt("elevator_lever_1", 30, 2, 1.0f, 0.2f, true);
}

This is what I created while messing around with this. Ignore all the other events, lol.





I can send you the entities I used here if that's what you wish.
Sure, i'll take a poke at it, you sexy beast, you.
Lol, why thank you mister Blush

Hope you enjoy it Tongue
Pages: 1 2