| |
| | Home | | Add-On Repo | |
Title: | Climbing Pick | Summary: | Climb ledges and leap off walls! | Author: | Jetz, Spider_ | Submitted By: | HansonBot | Date Submitted: | Mon Mar 25, 2013 12:22 pm | Description: | So... Erm... Having a bit of a mental block on how to start this description with some overly long backstory to the mod's development... Guess I'll get right into the mod itself...
Introducing, the Climbing Pick! This tool - waitwaitwait got it.
A certain fifteen-hundred players who noticed I was hosting a server in the past month at time of writing should be familiar with this one. The server was a climbing challenge, originally to be called a Climbing Pick Challenge but was changed because the former name sounded better and actually fit within the character limit. As the latter name would imply, it was centered around this tool - a melee weapon for climbing ledges.
Introducing, the Climbing Pick! This tool enhances your mobility by allowing you to attach to and leap off or up bricks. It does not allow one to climb straight up a vertical wall, however, so you can design maps with it in mind, creating areas accessible with the pick while not making every area accessible.
To use the pick, simply strike a wall with it. You will then grab on to the wall and have a few options for where to go from there. If you tap crouch, jet, the fire button, or put the pick away, you'll simply drop down. If you press jump, you'll leap upwards, higher than you could normally. If you look away from the wall and jump, you'll do a wall-jump, leaping off the wall in the direction you're aiming.
When building, keep these things in mind for how the pick interacts with bricks: Disabling raycasting will make it impossible to hit the brick. If a player is attached to the brick, disabling raycasting, breaking the brick, or fake-killing the brick will also detach them. If collision is disabled, then any direction a player jumps off in will be considered a wall-jump, and launch them extra far in the direction they're looking.
Those of you who played the challenge will recall three other properties - inability to grab dark colored bricks, bricks that would launch you extra far, and bricks that would launch you immediately after connecting. These properties were built in to the challenge, and are not currently accessible through normal means. It is possible however, to enable challenge mode and these properties through the script, by editing the variables at the bottom of the file.
Included with the pick are several events that were written at the last minute since it seems like a good alternative to hard-coded properties and obscure configuration: onPickAttach - called when the player attaches to the brick with the pick. onPickDetach - called when the player disconnects from the brick by normal means, including jumping. onPickLeap - called only when the player leaps off the brick when attached, in addition to the detach event. pickDetach - output event that causes the player to detach from the brick by normal means. Has a checkbox that determines if they jump off the brick instead of simply letting go.
With these events, you could replicate the instant-swing bars from the server as such: onPickAttach > Player > pickDetach > 1 onPickAttach > Player > playSound > wrenchMiss.wav
Another example, a brick that collapses when you try to leap off it: onPickLeap > Self > fakeKillBrick > 0 0 0, 5 onPickLeap > Self > playSound > breakBrick.wav onPickLeap > Player > setVelocity > 0 0 0
Anyway, here's the feature list: -Climb on and leap off walls. -Pick model thanks to Spider_. -Functions as a high damage melee weapon. -Tested by 1500 people with mostly positive* feedback. -3 input events and an output event. -Good for challenges. -Sounds from the Half-Life 2 hopper mines. *Excluding vast quantities of death threats and rage. Actually as an aside, the testing was conducted with normal scaled players using a datablock with the standard model and jump height. I haven't fine-tuned it for other playertypes, but there is some barely-tested logic to account for them. Report relevant issues if you want.
Warning: May cause inverted genitalia. | |
Supported Games: | Blockland v20, Blockland Rebuilt | Version: | v1 | Filesize: | 34.02 kB | Filename: | Weapon_ClimbingPick.zip | Total Downloads: | 31 | Ratings: | | |
| This file has been approved by our moderators. This means it appears to be safe to use. | | | | | |
|