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

[L4D2] Ricochet


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
6801
Plugin Version:
0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Add ricochet system for weapons
    Old 11-11-2019 , 05:15   [L4D2] Ricochet
    Reply With Quote #1

    Description
    Click Me

    ConVars
    PHP Code:
    sm_ricochet_tracer_type <- What type of tracers shuld we use?
    incendiary
    explosive
    Original weapon tracers

    sm_ricochet_angle 
    <- The angle at which there can be a ricochet
    sm_ricochet_chance 
    <- Chance of ricochet
    sm_ricochet_damage 
    <- Damage of ricochet
    sm_ricochet_damage_type 
    <- Damage type of ricochet
    sm_ricochet_upgraded_ammo_only 
    <- Ricochet will work only if weapon has upgraded ammo 
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_ricochet.sp - 228 views - 6.5 KB)
    __________________
    cry

    Last edited by BHaType; 05-19-2023 at 04:51.
    BHaType is offline
    Send a message via AIM to BHaType
    sonic155
    Senior Member
    Join Date: Mar 2019
    Old 11-11-2019 , 16:56   Re: [L4D2] Ricochet
    Reply With Quote #2

    Testing =o
    sonic155 is offline
    sonic155
    Senior Member
    Join Date: Mar 2019
    Old 11-11-2019 , 17:11   Re: [L4D2] Ricochet
    Reply With Quote #3

    looks like it works didnt find any bugs or anything out of the normal ill keep testing to see if I or any of my players find any bugs and ill report them back to you =o
    sonic155 is offline
    sxtszx
    Junior Member
    Join Date: Sep 2020
    Old 03-03-2021 , 10:10   Re: [L4D2] Ricochet
    Reply With Quote #4

    Very cool plugin and it adds to the graphic features of the game. I turned off the damage because I only want a visual effect and the ricochet damage can be hard to controlled for the general players.

    I did notice I can sometimes get ricochet effect on zombies when bullets hit them in the right angle. Any chance you can add a fix to avoid ricochet on zombies (common & SIs)?
    sxtszx is offline
    Coffe Games
    New Member
    Join Date: Mar 2023
    Old 03-02-2023 , 15:26   Re: [L4D2] Ricochet
    Reply With Quote #5

    Congratulations on the work done on the plugin!

    can you make it to be activated only during explosive ammo upgrade, or even to activate separately for each type of weapon in the game?
    Coffe Games is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 05-19-2023 , 04:53   Re: [L4D2] Ricochet
    Reply With Quote #6

    Quote:
    Originally Posted by sxtszx View Post
    Very cool plugin and it adds to the graphic features of the game. I turned off the damage because I only want a visual effect and the ricochet damage can be hard to controlled for the general players.

    I did notice I can sometimes get ricochet effect on zombies when bullets hit them in the right angle. Any chance you can add a fix to avoid ricochet on zombies (common & SIs)?
    Fixed

    Quote:
    Originally Posted by Coffe Games View Post
    Congratulations on the work done on the plugin!

    can you make it to be activated only during explosive ammo upgrade, or even to activate separately for each type of weapon in the game?
    Done

    Updated
    PHP Code:
    Fixed ricochet from zombies
    Added ConVar to allow ricochet if weapon has upgraded ammo 
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    swofleswof
    New Member
    Join Date: May 2023
    Old 05-28-2023 , 17:47   Re: [L4D2] Ricochet
    Reply With Quote #7

    This seems to randomly set zombies on fire, even though I'm not using incendiary rounds.
    swofleswof is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 05-28-2023 , 18:46   Re: [L4D2] Ricochet
    Reply With Quote #8

    Quote:
    Originally Posted by swofleswof View Post
    This seems to randomly set zombies on fire, even though I'm not using incendiary rounds.
    Change sm_ricochet_damage_type to one of those dmg types:
    Spoiler
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    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 22:55.


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