2023-05-21: Yes, we're back. No, you can't login yet

Crouch Jumping

Uploaded by piber20

The add-on board icon. Server Mods
The add-on file name icon. Server_CrouchJump.zip
The add-on upload date icon. Oct 20th 2016, 4:01 PM
The add-on download count icon. 1,223

Description

This script implements a crouch-jump feature reminiscent of Half-Life and similar games. If you're in the air and you crouch, you get sent up a bit allowing you to reach higher areas.

Crouch jump height can be changed by editing the pref $Pref::Server::CrouchJump::HeightInPlates (default is 7). For the best FPS-like/half-life-like experience I recommend you try out my Half-Life-Like playertype.

You can bypass the maximum/minimum by changing the pref $Pref::Server::CrouchJump::BypassHeightMax to true.

You can change how fast the air detection ticks are by changing the $Pref::Server::CrouchJump::TickLength pref. By default it is 20. Set it higher to improve server performance at the cost of it being less accurate.

Comments (2)

EV0
2016-10-31 21:03:36
It is not actually crouching that makes you go up higher in HL, etc, but the fact that your body is now smaller, which is based off of the bottom of your collision box that makes it so you can go "higher".
piber20
2016-11-25 07:28:32
In any case, this replicates the result of the mechanics Half-Life employs when crouching and in the air - letting you bypass higher walls. However, this script doesnt "push" the player back down if they un-crouch while in the air, due to more potential of getting stuck.