Jump Pads
players can drop a jump pad
This should work for TF2 and DODS. On TF2, this plugin will allow heavies and other classes to reach places usually only accessible to soldiers and demos.
(Thanks to
tintinibar for the report that the plugin does work on DODS.)
Requires the
Dukehacks extension version 0.0.1.5 or greater.
Client Commands
Say !jumppad
in chat or
bind "f" "sm_jumppad"
in console, where f is any valid key.
ConVars
"sm_jp_hmult" = "1.5"
- horizontal speed multiplier to apply to player on jump
"sm_jp_vspeed" = "800.0"
- vertical speed to apply to player on jump
"sm_jp_life" = "30.0"
- time before unused jumppads are removed (in seconds)
"sm_jp_delay" = "15.0"
- how often players can drop a jump pad (in seconds)
Notes
This was created as an example of the Touch hook in the Dukehacks extension. One way this hook can be used is to create items that can be picked up such as powerups, jump pads, health packs, ammo packs, etc. Feel free to modify this code however you wish and to post in the new plugin section.
Download
Requires the
Dukehacks extension version 0.0.1.5 or greater.