[HELP]Custom Door animation

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
hecktickxx
Posts: 20
Joined: Mon Apr 21, 2014 7:36 pm

[HELP]Custom Door animation

Post by hecktickxx »

just wondering if I could actually make a custom door animation which reacts as a normal handle door; as I am confused from looking through the Asset pack's files and scripts it shows no animation location.
all help is appreciated =D

just fount this https://www.youtube.com/watch?v=IffbYjzYJDw -anyway I could do anything simular to this?
User avatar
maneus
Posts: 246
Joined: Mon Jun 17, 2013 10:42 pm
Location: Switzerland

Re: [HELP]Custom Door animation

Post by maneus »

The door in the video will be opened with a empty button. You can hear the push sound of the button in the video.
The opened door is (surely) only the press animation of the button and the button is (surely) connected with a script that spawn/destroy a empty secret_door by pushing it, so the player can not go through the closed "fake" door.

The normal in game door animations are not alterable (as I think). I´ve tried it, but had no success.
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: [HELP]Custom Door animation

Post by Skuggasveinn »

Hi , I replied to your question on youtube but posting this here will also will clear up things.
maneus is pretty much spot on.

The door is a lever , it has an open and close animation and is done just like I showed in this tutorial viewtopic.php?f=14&t=6560, just instead of making a button I made a lever and created 2 animations.
Then there is an invisible door like maneus correctly pointed out that gets toggled every time someone toggles the lever, stopping the party from getting in when its closed, and allowing the party to pass when its open.

The default doors don't have an animation file, the door model simply has to have a node called gate, and when the door gets triggered it will move the node gate up.
The exception is if the door assets has doubleDoor = true defined, than it will look for nodes called door_left and door_right and move them apart (like dungeon_door_iron)

hope that helps.

Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
User avatar
hecktickxx
Posts: 20
Joined: Mon Apr 21, 2014 7:36 pm

Re: [HELP]Custom Door animation

Post by hecktickxx »

Thanks for the help, so pretty much the animation of your door is used as a fake and the actual door is invisible =]
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: [HELP]Custom Door animation

Post by Skuggasveinn »

yes, its all smoke and mirrors ;)

Here is a link to my tools to create empty models http://www.zorglubb.net/grimrock/dropzone/sx_tools.rar
just include the sx_tools.lua in your dungeon and you should get 5 new assets called:
sx_wall_killer - This one takes out a wall
sx_floor_killer - this one removes the floor tile (like I did in the spike trap tutorial)
sx_pilllar_killer - this one takes out the pillars on its side
sx_blocker_tile - this is invisible blocker
sx_blocker_wall - this one is secret door that's invisible

They all have the same model that's just an empty model with a node called gate.
so if you need to make an invisible lever or a button, just create it and point to the sx_blocker.model and rename the node accordingly

Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
User avatar
hecktickxx
Posts: 20
Joined: Mon Apr 21, 2014 7:36 pm

Re: [HELP]Custom Door animation

Post by hecktickxx »

Thanks for all the help, I'll be busy within these two weeks, trying to complete my dungeon so you'll be sure to hear from me any time soon to see how it turns out :D
User avatar
hecktickxx
Posts: 20
Joined: Mon Apr 21, 2014 7:36 pm

Re: [HELP]Custom Door animation

Post by hecktickxx »

I got the Levers/doors working! except the wrong way round,I'll fix it later today ;] https://www.youtube.com/watch?v=8bM2GIU ... e=youtu.be
oh yeah I need to also fix the position as they hover for now
Post Reply