Raised This Month: $32 Target: $400
 8% 

Jump Pads


Post New Thread Reply   
 
Thread Tools Display Modes
Author
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Plugin ID:
570
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    players can drop a jump pad
    Old 10-10-2008 , 10:29   Jump Pads
    Reply With Quote #1

    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.
    Attached Files
    File Type: sp Get Plugin or Get Source (dhjumppad.sp - 1042 views - 5.0 KB)
    File Type: smx dhjumppad.smx (4.8 KB, 1142 views)
    __________________
    "Good grammar is essential, Robin."
    - Batman

    Last edited by L. Duke; 10-11-2008 at 11:32.
    L. Duke is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 10-10-2008 , 14:09   Re: Jump Pads
    Reply With Quote #2

    Crazy man. Good work.
    retsam is offline
    teddyruxpin
    Overseer of lost packets
    Join Date: Feb 2008
    Old 10-10-2008 , 14:25   Re: Jump Pads
    Reply With Quote #3

    Commands:

    Text box: !jumppad

    Key bind: bind "f" "sm_jumppad"

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

    -Teddy
    __________________
    Black Tusk Labs Home of Turbo TF2 and Turbo L4D:
    http://blacktusklabs.com/ - Mah blog and stuff

    My Crappy Plugins: SuperBuilds, Parent Buildables,
    L4D Player Info
    teddyruxpin is offline
    tintinibar
    Member
    Join Date: Dec 2004
    Location: WI
    Old 10-10-2008 , 21:37   Re: Jump Pads
    Reply With Quote #4

    Works perfectly for dod:s SMod v1.0.4 on the first try.
    tintinibar is offline
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 10-10-2008 , 22:44   Re: Jump Pads
    Reply With Quote #5

    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
    __________________
    CrimsonGT is offline
    L. Duke
    Veteran Member
    Join Date: Apr 2005
    Location: Walla Walla
    Old 10-11-2008 , 11:31   Re: Jump Pads
    Reply With Quote #6

    Quote:
    Originally Posted by tintinibar View Post
    Works perfectly for dod:s SMod v1.0.4 on the first try.
    Thanks for the feedback!
    __________________
    "Good grammar is essential, Robin."
    - Batman
    L. Duke is offline
    tintinibar
    Member
    Join Date: Dec 2004
    Location: WI
    Old 12-05-2008 , 19:59   Re: Jump Pads
    Reply With Quote #7

    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 is offline
    tintinibar
    Member
    Join Date: Dec 2004
    Location: WI
    Old 12-24-2008 , 18:27   Re: Jump Pads
    Reply With Quote #8

    players can use it in spectator in dod. They spec you and put one by your feet.
    tintinibar is offline
    sniperkills
    Senior Member
    Join Date: Apr 2008
    Old 12-24-2008 , 23:34   Re: Jump Pads
    Reply With Quote #9

    lol now that funny
    __________________
    {ÄÕD}ۣۜ$ήiþëяҚillş
    sniperkills is offline
    tintinibar
    Member
    Join Date: Dec 2004
    Location: WI
    Old 01-03-2009 , 01:10   Re: Jump Pads
    Reply With Quote #10

    deleted until I test 0.0.1.9
    ______________________
    -=ICE=-CR[+]SSHAIR

    Last edited by tintinibar; 01-03-2009 at 01:15.
    tintinibar is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:43.


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