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

[L4D2] IMPROVED Charger Jump


Post New Thread Reply   
 
Thread Tools Display Modes
Author
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Plugin ID:
5121
Plugin Version:
2.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Added modifications to the [L4D2] Charger Jump plugin.
    Old 04-09-2016 , 07:54   [L4D2] IMPROVED Charger Jump
    Reply With Quote #1

    Wow, never realized 'till now that I posted many modifications of other's plugins. Now, here's another one - the famous in Versus "Charger jump" plugin. Same functions but I added a new and fun one. Did you ever notice that when you jump as charger and dies, your victim is put down safely?

    Here is a simple illustration:


    survivors ----------------- you as a charger grabbing
    survivors ---(shooting)---- a victim and tries to jump ---- victim is put down safely.
    survivors ---------------- and died or seppuku.

    Well, not anymore! By using this modified version, I added a convar along with a progress bar as a hint to notify players when will they be allowed to jump.

    Here is the new illustration:

    Same as above but --- victim (teleported with added velocity) then falls to his/her hilarious death.

    Two Ways Of What Plugin Does:
    • It allows human-controlled charger to jump after 15 seconds only if he/she grabs a survivor and on ground. It doesn't work when charging for a long time then grabbing a survivor, not like that. Just charge then quickly grab a victim to be thrown in air.

      When the delay is complete and said player jumps, both charger and victim will be registered that they are not on ground. If said charger seppuku, the victim will be teleported 3 times the value of charger_jump-l4d2_inertiavaultpower, and for all players, they will see the victim flying like he/she was super punched by a tank then eventually falls to death.
    • Another way to do that is if you seppuku or die in mid-air, you don't have to complete the delay, just press MIDDLE MOUSE BUTTON to seppuku and victim is automatically teleported.

      Why it does that? Because you and victim are detected not on ground (that's what mid-air means).

    CVars:
    • "charger_jump-l4d2_version" "1.0" - Plugin version
    • "charger_jump-l4d2_inertiavault" "1" - Enable/Disable Inertia Vault
    • "charger_jump-l4d2_inertiavaultpower" "425.0" - Power applied to Inertia Vault.
    • "charger_jump-l4d2_inertiavaultdelay" "11" - Delay before Inertia Vault kicks in.

    Quote:
    Changelog: 04-09-16
    - First release.
    - Bug-free finally!

    04-11-16
    - Posted Dead Center and Hard Rain screenshots to better understand what I meant and what this plugin really does.

    05-11-16
    - Fixed a bug where notifications still appear after dying.
    - Added the "Super Jump In 15.." notifications back for testing purposes.

    05-14-16
    - Fixed the timer notification where 15 is kept static.
    - Now, every charges reset the timer notifications to prevent error logs.
    - New convar.

    08-17-16
    - Last post.

    10-24-16
    - Now added with a repeating datapack timer to check for flying victims caused by this plugin to fire the CreateEvent("player_death", true) function.
    - Same with BHP, it is fully incompatible with CPS right now. Still fixing it.
    (Yep, taken in Dead Air, L4D1 Campaign with working L4D2 survivors and their voices)


    NOTE:
    • Add line sm_cvar "z_charge_duration" "any value" in your server.cfg.
    • In order for your charged victim to fly to his/her hilarious death, you have to complete the delay, press SPACE to jump, and press MIDDLE MOUSE BUTTON to seppuku.
    • I advice you to download [L4D2] Infected Seppuku, [L4D2] Charger Steering and [L4D2] Bulldozer Certificate in order for this to work.

    Installation:
    1. Download .smx file if you're contented and put it in plugins folder; or
    2. Download .sp file and put it in scripting folder if you want IV to activate faster or wait longer.
    Attached Files
    File Type: smx charger_jump-l4d2.smx (7.6 KB, 1245 views)
    File Type: sp Get Plugin or Get Source (charger_jump-l4d2.sp - 2745 views - 7.1 KB)

    Last edited by cravenge; 10-24-2016 at 00:52.
    cravenge is offline
    cuantunrex
    Junior Member
    Join Date: Dec 2011
    Old 04-11-2016 , 02:00   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #2

    hi sir, how i can reduce the wait for active the be inertia vault?

    because 19 is too...
    Attached Thumbnails
    Click image for larger version

Name:	Sin título.png
Views:	647
Size:	64.7 KB
ID:	153681  
    cuantunrex is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 04-11-2016 , 02:24   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #3

    Quote:
    Originally Posted by cuantunrex View Post
    hi sir, how i can reduce the wait for active the be inertia vault?

    because 19 is too...
    If you want lower values, download the .sp file if you don't have it and look/find for:
    Code:
    SetEntPropFloat(client, Prop_Send, "m_flProgressBarDuration", 15.0);
    Then change it to:
    Code:
    SetEntPropFloat(client, Prop_Send, "m_flProgressBarDuration", your value);
    Then compile.

    Your value must be equal to the "z_charge_duration" cvar and you must set "z_charge_duration" with 4 seonds delay for more time to jump. (i.e if you want SetEntPropFloat(client, Prop_Send, "m_flProgressBarDuration", 7);, your z_charge_duration should be 11).

    Last edited by cravenge; 04-11-2016 at 02:25.
    cravenge is offline
    cuantunrex
    Junior Member
    Join Date: Dec 2011
    Old 04-11-2016 , 03:15   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #4

    excuse me.
    with what program I can open?
    using notepad not saved me change
    please help me
    cuantunrex is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 04-11-2016 , 04:27   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #5

    Quote:
    Originally Posted by cuantunrex View Post
    excuse me.
    with what program I can open?
    using notepad not saved me change
    please help me
    Download Notepad++ if you don't have one. After edit, put file in scripting folder then open compile.exe, then go to scripting/compiled folder, cut charger_jump-l4d2.smx and put it in plugins folder. Also, delete charger_jump-l4d2.cfg in left4dead2/cfg/sourcemod folder to reload.

    Last edited by cravenge; 04-11-2016 at 04:42.
    cravenge is offline
    cuantunrex
    Junior Member
    Join Date: Dec 2011
    Old 04-11-2016 , 11:00   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #6

    Thanks Sir d.(^_^)
    good plugin
    cuantunrex is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 04-11-2016 , 11:07   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #7

    Quote:
    Originally Posted by cuantunrex View Post
    Thanks Sir d.(^_^)
    good plugin
    You're welcome. Glad you like it.

    EDIT: Oops, forgot to mention that you must also find for:
    Code:
    CreateTimer(15.0, JumpDelayTimer, client);
    Then change it to:
    Code:
    CreateTimer(your value, JumpDelayTimer, client);
    This is for the players' notifications.

    Last edited by cravenge; 04-11-2016 at 11:18.
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 04-21-2016 , 14:50   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #8

    Quote:
    Originally Posted by cravenge View Post
    You're welcome. Glad you like it.

    EDIT: Oops, forgot to mention that you must also find for:
    Code:
    CreateTimer(15.0, JumpDelayTimer, client);
    Then change it to:
    Code:
    CreateTimer(your value, JumpDelayTimer, client);
    This is for the players' notifications.
    Just make a globle Float

    e.g.

    static const Float:g_fJumpTimer = 15.0;

    then just put g_fJumpTimer where the 15.0 is simple O.o

    CreateTimer(15.0, JumpDelayTimer, client);
    to
    CreateTimer(g_fJumpTimer, JumpDelayTimer, client);

    SetEntPropFloat(client, Prop_Send, "m_flProgressBarDuration", 15.0);
    to
    SetEntPropFloat(client, Prop_Send, "m_flProgressBarDuration", g_fJumpTimer);


    Then done easy changing or you could just write a convar
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    SELL
    Junior Member
    Join Date: Feb 2016
    Old 04-30-2016 , 08:54   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #9

    whether it is possible to make so that bouncing is not every time, but it was a% chance ??? I apologize for my English writing with the help of Google
    SELL is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 04-30-2016 , 09:35   Re: [L4D2] IMPROVED Charger Jump
    Reply With Quote #10

    Quote:
    Originally Posted by SELL View Post
    whether it is possible to make so that bouncing is not every time, but it was a% chance ??? I apologize for my English writing with the help of Google
    Hmm, I haven't thought of that. Thanks for the idea, I'll plan to add that.
    cravenge 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 17:12.


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