Here is version 1.0 of the safe_ladder.lua and safe_ladder_deploy.lua scripts in the form of a demonstration dungeon in a 5MB download that includes new sounds. I can post the scripts, sounds, and definitions separately if anyone likes. Otherwise, it can be found at:
https://ntg.missouristate.edu/images/la ... erDemo.zip
See the demo, but to use it, simply put the files in the right directory, load definitions as part of your dungeon, add the safe_ladder_deploy.lua one place in your dungeon (I always used the first level), then back on to a ladder to descend it safely (without falling). No big deal for ladders of elevation one, but stack 10 ladders on top of each other and that's quite a fall unless you use this script. Please post ideas, suggestions, improvements, et cetera and be kind! I do this part time for fun and I have a lot yet to learn!
Thanks, -Lark
[END OF EDIT]
I am writing a script that can be used to descend any number of stacked ladders without the party falling. I've tried three different methods, and now have one that basically works (and enough knowledge to fix the second if I so desired). I don't know that it's the best method, but it works in the editor and in an exported dungeon. I'll upload the script/test dungeon soon. However, I've run into a few choices and, while I could implement all or most of them, I thought I'd get people's opinions:
- Should the party descend "smoothly", or hesitate slightly on each "step"? (Implemented)
- Should the party make sounds as they step on "each rung"? (Implemented)
- Should the sound that plays when the party falls one level be played at the bottom of the ladder? (currently works either way).
- The party controls are disabled, but should they be "grayed out" until the bottom is reached? (I've not gotten this to work, but I have some good leads from people here.)
- The party descends all stacked ladders "safely" by backing onto the top-most ladder and control isn't returned until they reach the foot of the bottom ladder. This is the only way to descend safely. Is this good enough?
- What else am I missing?
Does anyone have any other ideas, comments, et cetera? Thanks, -Lark