AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Jump Pads (https://forums.alliedmods.net/showthread.php?t=78756)

L. Duke 10-10-2008 10:29

Jump Pads
 
2 Attachment(s)
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.

retsam 10-10-2008 14:09

Re: Jump Pads
 
Crazy man. Good work. :P

teddyruxpin 10-10-2008 14:25

Re: Jump Pads
 
Commands:

Text box: !jumppad

Key bind: bind "f" "sm_jumppad"

Then press "f" to drop a pad in front of you

-Teddy

tintinibar 10-10-2008 21:37

Re: Jump Pads
 
Works perfectly for dod:s SMod v1.0.4 on the first try.

CrimsonGT 10-10-2008 22:44

Re: Jump Pads
 
lol, I had some fun playing with this on my local testing server earlier today. I used a code snippet from it as well to fix something of my own <3

L. Duke 10-11-2008 11:31

Re: Jump Pads
 
Quote:

Originally Posted by tintinibar (Post 698139)
Works perfectly for dod:s SMod v1.0.4 on the first try.

Thanks for the feedback!

tintinibar 12-05-2008 19:59

Re: Jump Pads
 
L 12/03/2008 - 17:20:19: SourceMod error session started
L 12/03/2008 - 17:20:19: Info (map "dod_orange_till_sniper") (file "errors_20081203.log")
L 12/03/2008 - 17:20:19: [SM] Native "RemoveEdict" reported: Edict 163 is not a valid edict
L 12/03/2008 - 17:20:19: [SM] Displaying call stack trace for plugin "dhjumppad.smx":
L 12/03/2008 - 17:20:19: [SM] [0] Line 152, X:\gameservers\steam\orangebox\dod\addons\sou rcemod\scripting\dhjumppad.sp::(null)()
L 12/03/2008 - 17:20:19: [SM] Native "RemoveEdict" reported: Edict 163 is not a valid edict
L 12/03/2008 - 17:20:19: [SM] Displaying call stack trace for plugin "dhjumppad.smx":
L 12/03/2008 - 17:20:19: [SM] [0] Line 152, X:\gameservers\steam\orangebox\dod\addons\sou rcemod\scripting\dhjumppad.sp::(null)()
L 12/03/2008 - 17:20:19: [SM] Native "RemoveEdict" reported: Edict 163 is not a valid edict
L 12/03/2008 - 17:20:19: [SM] Displaying call stack trace for plugin "dhjumppad.smx":
L 12/03/2008 - 17:20:19: [SM] [0] Line 152, X:\gameservers\steam\orangebox\dod\addons\sou rcemod\scripting\dhjumppad.sp::(null)()
L 12/03/2008 - 17:21:52: [SM] Native "RemoveEdict" reported: Edict 82 is not a valid edict
L 12/03/2008 - 17:21:52: [SM] Displaying call stack trace for plugin "dhjumppad.smx":
L 12/03/2008 - 17:21:52: [SM] [0] Line 152, X:\gameservers\steam\orangebox\dod\addons\sou rcemod\scripting\dhjumppad.sp::(null)()
L 12/03/2008 - 17:26:10: Error log file session closed.
L 12/03/2008 - 17:56:21: SourceMod error session started
L 12/03/2008 - 17:56:21: Info (map "dod_4_towers_final5_[bds]") (file "errors_20081203.log")
L 12/03/2008 - 17:56:21: [SM] Native "RemoveEdict" reported: Edict 111 is not a valid edict
L 12/03/2008 - 17:56:21: [SM] Displaying call stack trace for plugin "dhjumppad.smx":
L 12/03/2008 - 17:56:21: [SM] [0] Line 152, X:\gameservers\steam\orangebox\dod\addons\sou rcemod\scripting\dhjumppad.sp::(null)()

tintinibar 12-24-2008 18:27

Re: Jump Pads
 
players can use it in spectator in dod. They spec you and put one by your feet.

sniperkills 12-24-2008 23:34

Re: Jump Pads
 
lol now that funny

tintinibar 01-03-2009 01:10

Re: Jump Pads
 
deleted until I test 0.0.1.9
______________________
-=ICE=-CR[+]SSHAIR


All times are GMT -4. The time now is 13:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.