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?
[HELP]Custom Door animation
Re: [HELP]Custom Door animation
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.
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.
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: [HELP]Custom Door animation
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.
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.
- hecktickxx
- Posts: 20
- Joined: Mon Apr 21, 2014 7:36 pm
Re: [HELP]Custom Door animation
Thanks for the help, so pretty much the animation of your door is used as a fake and the actual door is invisible =]
- Skuggasveinn
- Posts: 562
- Joined: Wed Sep 26, 2012 5:28 pm
Re: [HELP]Custom Door animation
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.
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.
- hecktickxx
- Posts: 20
- Joined: Mon Apr 21, 2014 7:36 pm
Re: [HELP]Custom Door animation
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 
- hecktickxx
- Posts: 20
- Joined: Mon Apr 21, 2014 7:36 pm
Re: [HELP]Custom Door animation
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
oh yeah I need to also fix the position as they hover for now