addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.6 KB
No file matches.
Long Jump Enabler 1.0.0 (olds.ro)
=================================
Everyone gets a long jump on a key, with no manual bind needed: when a
player joins, olds_lje_key is bound to +ljump and a message (shown once)
says which key it is and how to undo it.
Requirements
- AMX Mod X 1.10.0.5490 or newer (fakemeta)
Install
1. Compile scripting/olds_lje.sma and copy olds_lje.amxx to
addons/amxmodx/plugins/.
2. Copy data/lang/olds_lje.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_lje.cfg, created on first run)
olds_lje_auto 1 1 = bind the key on join; 0 = bind nothing and just
tell the player how (an existing bind is never touched)
olds_lje_key "v" the key: letters and digits only (v, mouse4, kp5...);
anything else is refused and logged
olds_lje_gravity 1.0 gravity during a long jump (0.2-2, 1 = normal)
olds_lje_reset 0 1 = send "unbind <key>" when the player leaves
The jump
"+ljump" asks for a long jump; at the start of the player's next move
(FM_CmdStart) a player standing on the ground (not swimming) is thrown
along their view at 560 u/s and up at 300 u/s, with the stock jump sound.
A press in the air does nothing. One jump every 0.5 s at most.
Notes
- Newer Steam clients may ignore bind commands sent by servers
(cl_filterstuffcmd). The join message always shows the command to type.
- Other plugins can read the length of a player's last long jump:
native Float:olds_lje_last_distance(id) (library "olds_lje")
No downloads (the jump sound is the stock player/pl_jump2.wav).