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

SM Parachute


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SWAT_88
SourceMod Donor
Join Date: Jan 2008
Location: Austria
Plugin ID:
270
Plugin Version:
2.5
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    SourceMod Parachute 2.5 with Model Final
    Old 01-31-2008 , 15:31   SM Parachute
    Reply With Quote #1

    SM Parachute

    Version: 2.5
    Author: SWAT_88


    1.0 First version, should work on basically any mod
    1.1 Linear fallspeed added.
    1.2 Key assignment amended
    1.3 Added +use Button support. No keybinding required!
    Fixed some bugs in linear Flight mode:
    You dont stay hanging on the wall.
    You don't bounce when you touch the ground.
    You dont have Gravity 0.1 when you jump holding the E button.
    1.4 Fixed a serious bug:
    Maxplayers are now correctly counted.
    1.5 Added new features:
    • Information, welcome and status messages in Chat, Panel or BottomCenterText!
    • Buy Parachute and Sell Parachute added ! (CS ONLY)
    • Translations added !
    • Works on basically any mod !
    1.6 Model Added!

    1.7 Added new features:
    Fixed another bug in linear Flight mode.
    Linear Flight mode should be bugfree now!
    Added Cvar for model display.
    1.7b Fixed some bugs:
    Fixed a small bug in checking the model.
    Added a better check for Parachute ending.
    1.7c Fixed a stupid bug in HandleSay.

    1.8 Added new features:
    Fixed a bug in OnPlayerDisconnect.
    Changed /bp /sp to !bp !sp
    Realistic velocity-decrease.
    More detailed model textures.
    Added a new parachute.
    1.9 Added new features:
    Added a new button: Space
    Added automatic button change for TF2.
    2.0 Fixed some bugs:
    in RoundMsg
    in Chat Commands
    2.5 Fixed this error: "Can't create physics object for model/parachute/parachute_carbon.mdl".

    Requirements:
    If you are running a TF2 server you should install the latest SM Snapshot.
    Description:
    If cost = 0 then everybody has a parachute.
    To use your parachute press and hold your E(+use)/Space(+jump) button while falling.
    If you are running a TF2 server the button will automatically change to Space.
    I checked whether cstrike is running or not, so dont be afraid of crashing the plugin in another Mod, It's safe!!!
    Sidenote:
    To change the model you have to edit the global variables for the names. Afterwards recompile sm_parachute.sp. Here is a tutorial.
    To change the texture you have to recompile the smd and change its content. Here is the Model source.
    Commands:
    Press E(+use) to slow down your fall.
    No more binding Keys!
    Write !bp or !buy_parachute in Chat to buy a parachute (Only if cost > 0) !
    Write !sp or !sell_parachute in Chat to sell your parachute (Only if cost > 0) !
    Cvars:
    sm_parachute_enabled "1" - 0: disables the plugin - 1: enables the plugin

    sm_parachute_fallspeed "100" - speed of the fall when you use the parachute

    sm_parachute_linear "1" - 0: disables linear fallspeed -1: enables it

    sm_parachute_msgtype "1" - 0: disables Information -1: Chat -2: Panel -3: BottomCenter

    sm_parachute_cost "0" - cost of the parachute (CS ONLY) (If cost = 0 then free for everyone)

    sm_parachute_payback "75" - how many percent of the parachute cost you get when you sell your parachute (ie. 75% of 1000 = 750$)

    sm_parachute_welcome "1" - 0: disables Welcome Message -1: enables it

    sm_parachute_roundmsg "1" - 0: disables Round Message - 1: enables it

    sm_parachute_model "1" - 0: dont use the model - 1: display the Model

    sm_parachute_decrease "50" - 0: dont use Realistic velocity-decrease - x: sets the velocity-decrease.

    sm_parachute_button "1" - 1: uses button +USE for parachute usage. - 2: uses button +JUMP.

    Modifications:
    • CS: Global Offensive Version - by Sheepdude
      • With CS:GO support.
      • For more information look here
    • Parachute for Admins/Donors - by Sheepdude
      • With CS:GO support.
      • For more information look here
    • Gravity Support Version - by eladnava
      • Remembers the gravity of the player before pressing "E" and sets it back after releasing "E".
      • For more information look here
    • Gravity Fix and Teleport Fix - by CoMaNdO
      • Parachute without using teleport & without using gravity.
      • For more information look here
    • Nuclear Dawn Version - by yedpodtrzitko
      • In Nuclear Dawn, one of the playable classes can be invisible. This patch wont show the parachute in given situation.
      • For more information look here
    • Client Language Version - by GrO
      • Using the client language for translations instead of server language.
      • For more information look here

    Available models:
    • parachute_carbon (Standard) Thanks to CYoung
    • parachute_green_v2
    • parachute_ice_v2
    • parachute_blue
    Tutorials:
    Supported Languages:
    • en (English)
      • Attached
    • en (English US) - Thanks to hamilton5
    • de (German)
      • Attached
    • fr (French) - Thanks to eric0279
      • Attached
    • nl (Dutch) - Thanks to MiguelFP
      • Attached
    • pl (Polish) - Thanks to GPhoenix97
    • hu (Hungarian) - Thanks to KeepCalm
    • es (Spanish) - Thanks to Sarona
    Look at the attached sm_parachute_phases.txt File for the latest translations.
    If you write a Translation post it in this thread.

    Setup (SourceMod):
    Install the smx file to addons\sourcemod\plugins.
    Install the translation file to addons\sourcemod\translations
    (Re)Load Plugin or change Map.
    TO DO:
    • Nothing.
    Copyright:
    Everybody can edit this plugin and copy this plugin.
    Thanks to:
    Pinkfairie
    bl4nk
    Greyscale
    theY4Kman
    Knagg0
    KRoT@L
    JTP10181
    Donations:
    I'm a student and code this plugins in my freetime, while you probably play games .
    If you like my work, kindly make a donation via PayPal.
    Feel free to donate whatever amount you like.

    Thank you for supporting this plugin!
    Don't forget to support SourceMod too.
    Consider: Without SourceMod none of these plugins would exist!
    Notice: This


    Please Feedback!
    HAVE FUN!!!
    Attached Thumbnails
    Click image for larger version

Name:	carbon.jpg
Views:	10347
Size:	61.6 KB
ID:	36140   Click image for larger version

Name:	green_v2.jpg
Views:	8176
Size:	24.5 KB
ID:	36141   Click image for larger version

Name:	ice_v2.jpg
Views:	5614
Size:	33.3 KB
ID:	36142   Click image for larger version

Name:	blue.jpg
Views:	73272
Size:	53.9 KB
ID:	36143  
    Attached Files
    File Type: zip SM Parachute 2.0 Beta Full.zip (450.3 KB, 26499 views)
    File Type: zip SM Parachute 2.5 Final Full.zip (452.4 KB, 48963 views)
    File Type: sp Get Plugin or Get Source (sm_parachute.sp - 19497 views - 19.5 KB)
    File Type: txt sm_parachute.phrases.txt (4.2 KB, 8262 views)
    File Type: txt sm_parachute.phrases (utf8).txt (3.4 KB, 5337 views)
    File Type: zip Model Source (smd and Texture) v2.zip (809.3 KB, 15327 views)
    __________________

    Last edited by SWAT_88; 07-28-2015 at 14:48.
    SWAT_88 is offline
    WoZeR
    Donor
    Join Date: Nov 2007
    Old 01-31-2008 , 16:32   Re: SM Parachute
    Reply With Quote #2

    Maybe this will help you with the parachute model.

    new String:strTargetName[64]
    IntToString(client, strTargetName, 64)

    DispatchKeyValue(client, "targetname", strTargetName)

    SetVariantString(strTargetName)
    AcceptEntityInput(parachute, "SetParent", -1, -1, 0)
    WoZeR is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 01-31-2008 , 16:43   Re: SM Parachute
    Reply With Quote #3

    Thank you!
    Maybe I will try it, but anyone else can try it too.
    SWAT_88 is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 02-01-2008 , 10:23   Re: SM Parachute
    Reply With Quote #4

    Any maps for this? I'd like to see airborne maps.

    Otto
    ottobohn is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 02-01-2008 , 10:47   Re: SM Parachute
    Reply With Quote #5

    I dont know, but most of the users use the parachute in "rats" maps.
    SWAT_88 is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 02-01-2008 , 13:41   Re: SM Parachute
    Reply With Quote #6

    SORRY @ Everybody.
    I noticed that +use dont work.

    BUT:
    With the new Key assignment it works.
    Just bind a button to +para:

    AND NOW
    HAVE FUN.

    I'm trying to include a Model soon.

    PS: Works with all Mods of HL2.
    SWAT_88 is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 02-01-2008 , 16:40   Re: SM Parachute
    Reply With Quote #7

    Awww, that breaks my heart hahah. I was looking for binding of the use key to use soucemod plugins.


    Otto
    ottobohn is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 02-01-2008 , 18:50   Re: SM Parachute
    Reply With Quote #8

    With the hacks extension you might be able to hook the use key, with that plugin you can hook the pressing of any binded key, not sure if it is buy the key they press, or by the command the bind is firing, so you will have to do some testing
    Greyscale is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 02-02-2008 , 06:40   Re: SM Parachute
    Reply With Quote #9

    Thank you!!!
    I looked for some methods to bind keys.

    Can anyone help me (with the hacks extension)?
    I would like to run following command on the client console.

    ClientCommand(client,"bind e +para");

    Or

    If the client press +use, then it calls a function.

    Last edited by SWAT_88; 02-02-2008 at 07:33.
    SWAT_88 is offline
    J@y-R
    Senior Member
    Join Date: Jan 2007
    Location: Hamburg (Germany)
    Old 02-02-2008 , 08:17   Re: SM Parachute
    Reply With Quote #10

    nice plugin works nice on my server

    Can you add a buy function for the parachute (from the original) !!
    "bp" or "buy_parachute" to buy the parachute,

    and a model for the parachute. PLEASE

    Mfg
    JaY
    J@y-R is offline
    Send a message via ICQ to J@y-R Send a message via MSN to J@y-R
    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 18:50.


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