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

[L4D2] Karma Ride | 1.2 : August 6, 2019 |


Post New Thread Reply   
 
Thread Tools Display Modes
Author
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Plugin ID:
5954
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    What the title says, but chargers aren't the only ones to be underestimated this time.
    Old 12-24-2017 , 10:47   [L4D2] Karma Ride | 1.2 : August 6, 2019 |
    Reply With Quote #1

    Description:

    Inspired by AtomicStryker's Karma Charge, Jockeys can now also bring karma to the survivors by making them fall to their doom.

    ConVars:
    • karma_ride-l4d2_version (Default:1.2)
      |Version of this plugin.|
    • karma_ride-l4d2_no_ledge_hang [0 / 1] (Default: 1)
      |Do we make the plugin prevent ridden survivors from hanging onto ledges? (Ignored if Jockey jump is present.)|
    • karma_ride-l4d2_height_check (Default: 425.0)
      |Distance from the ground needed in order for the plugin to consider karma rides.|
    • karma_ride-l4d2_slowmo_duration (Default: 5.0)
      |Time for the slow motion effects to last whenever karma rides have been made.|
    • karma_ride-l4d2_slowmo_type [0 / 1] (Default: 1)
      |In what way should the slow motion effects affect? 0 = Whole server, 1 = Jockeys and their victims only|

    Commands:
    None.

    Bugs:
    1. False detections, just like the ones found in its predecessor.

    Installation:
    1. Get the .smx file by clicking the "Get Plugin" button and put in your SourceMod's plugin folder.

    Credits:

    * AtomicStryker - For the [L4D2] Karma Charge concept.
    * DieTeetasse - For their [L4D2] Jockey jump plugin for detection.
    Attached Files
    File Type: sp Get Plugin or Get Source (karma_ride-l4d2.sp - 843 views - 10.8 KB)

    Last edited by cravenge; 08-06-2019 at 08:10.
    cravenge is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 12-25-2017 , 02:50   Re: [L4D2] Karma Ride
    Reply With Quote #2

    Why not make karma jockey trigger when your victim dies from fall damage while you're on it... the slow motion may in some cases help you navigate the survivor to death and you can fail the fall kill if you're in Dead Air for example, spamming it for nothing.

    I'm incapable to check it but I think that if you use the ledge blocker to karma kill a survivor without performing a single jockey jump, the karma won't register.

    Last edited by eyal282; 12-25-2017 at 06:19.
    eyal282 is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 12-25-2017 , 06:52   Re: [L4D2] Karma Ride
    Reply With Quote #3

    Quote:
    Originally Posted by cravenge View Post
    But by doing that, the karma would be considered useless since the jockey's victim is already dead.
    The next update got it covered.
    Karma jockey is the annihilation of a survivor with the jump. What's the point in the "YODELEYYY" if the victim is yet to be known as dead when landing. Also the fact that steering the survivor while slow-mo is active is much easier.

    Last edited by eyal282; 12-25-2017 at 06:52.
    eyal282 is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 12-25-2017 , 08:15   Re: [L4D2] Karma Ride
    Reply With Quote #4

    I thought the slow-mo triggers once the plugin detects that the Jockey and its victim are falling off a surface that is X distance off the ground.
    __________________

    Last edited by Psyk0tik; 12-25-2017 at 08:16.
    Psyk0tik is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 12-25-2017 , 09:06   Re: [L4D2] Karma Ride
    Reply With Quote #5

    A major update has been released! Kindly check the changelog for further details!

    Last edited by cravenge; 08-06-2019 at 07:25.
    cravenge is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 08-06-2019 , 08:10   Re: [L4D2] Karma Ride | 1.2 : August 6,2019 |
    Reply With Quote #6

    A major update has been released! Kindly check the changelog for further details!
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 08-06-2019 , 08:31   Re: [L4D2] Karma Ride | 1.2 : August 6, 2019 |
    Reply With Quote #7

    RemoveEdict(entity); don't do it, it is a trap and also don't pass entity indexs use references.

    PHP Code:
    CreateTimer(fSlowMoDurationRevertTimeEntIndexToEntRef(iTimeEnt)) 

    I think this should be ok
    PHP Code:
    public Action RevertTime(Handle timerany entity)
    {
        if(
    EntRefToEntIndex(entity) == INVALID_ENT_REFERENCE)
            return 
    Plugin_Stop;
        
        
    AcceptEntityInput(entity"Stop");
        
    AcceptEntityInput(entity"Kill");
        
        return 
    Plugin_Stop;

    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 08-06-2019 at 08:32.
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 08-06-2019 , 08:43   Re: [L4D2] Karma Ride | 1.2 : August 6, 2019 |
    Reply With Quote #8

    Quote:
    Originally Posted by Lux View Post
    RemoveEdict(entity); don't do it, it is a trap and also don't pass entity indexs use references.

    PHP Code:
    CreateTimer(fSlowMoDurationRevertTimeEntIndexToEntRef(iTimeEnt)) 

    I think this should be ok
    PHP Code:
    public Action RevertTime(Handle timerany entity)
    {
        if(
    EntRefToEntIndex(entity) == INVALID_ENT_REFERENCE)
            return 
    Plugin_Stop;
        
        
    AcceptEntityInput(entity"Stop");
        
    AcceptEntityInput(entity"Kill");
        
        return 
    Plugin_Stop;

    Yeah, I just found this one after digging through my old plugins.
    I will consider this suggestion immediately.
    cravenge is offline
    King_OXO
    Senior Member
    Join Date: Dec 2020
    Location: Brazil
    Old 03-15-2021 , 19:27   Re: [L4D2] Karma Ride | 1.2 : August 6, 2019 |
    Reply With Quote #9

    karma ride with personalized sound

    Quote:
    installation:
    place the smx file in the plugin folder under addons / sourcemod / plugins

    extract the zip file in your sound folder located on left4dead2 / sound
    Attached Files
    File Type: sp Get Plugin or Get Source (karma_ride-l4d2.sp - 230 views - 10.8 KB)
    File Type: zip karma_ride_illuminati.zip (237.2 KB, 87 views)

    Last edited by King_OXO; 03-15-2021 at 19:29.
    King_OXO is offline
    DonProof
    Junior Member
    Join Date: Jun 2021
    Old 11-06-2021 , 03:26   Re: [L4D2] Karma Ride | 1.2 : August 6, 2019 |
    Reply With Quote #10

    can someone help me with this error

    Code:
    L 11/05/2021 - 13:04:51: [SM] Exception reported: Invalid timer handle d4cc02c7 (error 1)
    L 11/05/2021 - 13:04:51: [SM] Blaming: karma_ride-l4d2.smx
    L 11/05/2021 - 13:04:51: [SM] Call stack trace:
    L 11/05/2021 - 13:04:51: [SM]   [0] KillTimer
    L 11/05/2021 - 13:04:51: [SM]   [1] Line 264, E:\Left 4 Dead2\left4dead2\addons\sourcemod\scripting\ karma_ride-l4d2.sp::OnPlayerRunCmd

    Last edited by DonProof; 11-06-2021 at 22:03.
    DonProof is offline
    Reply



    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:56.


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