Raised This Month: $12 Target: $400
 3% 

[L4D2] Baseball


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
7696
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Melee weapons can now deflect projectile
    Old 06-23-2021 , 01:41   [L4D2] Baseball
    Reply With Quote #1

    Showcase

    ConVars
    PHP Code:
    sv_melee_force_projectile <- base scale of velocity <- default 0.6
    sv_melee_force_boost_projectile_up 
    <- boost up for shove base velocity  <- default 250.0
    sv_melee_radius_projectile 
    <- radius at which the projectile can potentially be deflected  <- default 75.0
    sv_melee_deflect_filter 
    <- deflect filter

    /* pipe bomb and vomitjar cant be deflected */
    sm_cvar sv_melee_deflect_filter "pipe_bomb_projectile vomitjar_projectile" 
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_baseball.sp - 388 views - 5.2 KB)
    __________________
    cry

    Last edited by BHaType; 10-24-2021 at 21:08.
    BHaType is offline
    Send a message via AIM to BHaType
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 06-23-2021 , 07:13   Re: [L4D2] Baseball
    Reply With Quote #2

    Cool
    __________________
    HarryPotter is offline
    Shao
    Senior Member
    Join Date: Jan 2015
    Old 10-08-2021 , 23:55   Re: [L4D2] Baseball
    Reply With Quote #3

    Would it be possible to filter what could be deflected? Like, I'd be pretty cool if the only thing I could have is Spitter projectile.
    Shao is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 10-24-2021 , 21:08   Re: [L4D2] Baseball
    Reply With Quote #4

    Updated
    PHP Code:
    Added deflection filter

    /* pipe bomb and vomitjar cant be deflected */
    sm_cvar sv_melee_deflect_filter "pipe_bomb_projectile vomitjar_projectile" 
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    Coffe Games
    New Member
    Join Date: Mar 2023
    Old 03-02-2023 , 18:04   Re: [L4D2] Baseball
    Reply With Quote #5

    have plans to do to reflect more objects?
    Example: list of throwables.. including gnomes?
    Coffe Games is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 05-19-2023 , 04:34   Re: [L4D2] Baseball
    Reply With Quote #6

    Quote:
    Originally Posted by Coffe Games View Post
    have plans to do to reflect more objects?
    Example: list of throwables.. including gnomes?
    I had plans only for the projectiles. Maybe someday.
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    kazumakiryu
    Junior Member
    Join Date: Feb 2024
    Location: nuh uh
    Old 02-16-2024 , 06:28   Re: [L4D2] Baseball
    Reply With Quote #7

    Quote:
    Originally Posted by BHaType View Post
    Showcase

    ConVars
    PHP Code:
    sv_melee_force_projectile <- base scale of velocity <- default 0.6
    sv_melee_force_boost_projectile_up 
    <- boost up for shove base velocity  <- default 250.0
    sv_melee_radius_projectile 
    <- radius at which the projectile can potentially be deflected  <- default 75.0
    sv_melee_deflect_filter 
    <- deflect filter

    /* pipe bomb and vomitjar cant be deflected */
    sm_cvar sv_melee_deflect_filter "pipe_bomb_projectile vomitjar_projectile" 
    parryed by V2 ultrakill

    Last edited by kazumakiryu; 02-16-2024 at 06:37.
    kazumakiryu 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 01:07.


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