Add-Ons >> Boards >> Server Mods >> Crouch Jumping

Crouch Jumping

Uploaded by piber20
Server Mods
Server_CrouchJump.zip
Oct 20th 2016, 12:01 PM
298

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.

Updates

Version 8

July 27, 2017

Bugs

No bugs reported.
Download
v8
piber20
3300
Nov 25th 2016, 2:28 AM
Uploader
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.
EV0
122066
Oct 31st 2016, 5:03 PM
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".