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

[L4D1 & L4D2] Miss Shot/Shove On Tongue Grab [v1.0.0 | 06-June-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7673
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Survivors can miss shots/shove while grabbed by a tongue
    Old 06-06-2021 , 17:04   [L4D1 & L4D2] Miss Shot/Shove On Tongue Grab [v1.0.0 | 06-June-2021]
    Reply With Quote #1

    Description

    Survivors can miss shots/shove while grabbed by a tongue.

    I did this to turn Smoker into a more challenging enemy.

    In vanilla game you can shoot/shove the Smoker for a while after being grabbed by it's tongue, sometimes that shot kills the Smoker.

    With this plugin the Smoker will become invunerable from the victim shots/shove after being grabbed by tongue.

    Features
    • Allow configuring a chance to miss the shots.
    • Allow configuring a chance to miss the shove.

    Cvars

    A configuration file named "l4d_miss_tongue_grab.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_miss_tongue_grab_enable "1"

    // Chance to miss hits when the survivor is grabbed by tongue.
    // 0 = OFF.
    // -
    // Default: "100.0"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    l4d_miss_tongue_grab_shot_miss_chance "100.0"

    // Chance to miss the shove when the survivor is grabbed by tongue.
    // 0 = OFF.
    // -
    // Default: "100.0"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    l4d_miss_tongue_grab_shove_miss_chance "100.0" 
    Related Game Cvars
    • tongue_victim_accuracy_penalty => How much someone's accuracy suffers while being dragged by a tongue. (default: 0.133)

    Admin Commands
    • sm_print_cvars_l4d_miss_tongue_grab => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    Notes
    • The damage block only applies to damage from firearms.
    • The damage/shove block is also applied to other SI, commons and witches.

    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Installation
    • Put the "l4d_miss_tongue_grab.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_miss_tongue_grab.sp - 173 views - 16.9 KB)
    __________________

    Last edited by Marttt; 02-12-2023 at 15:37.
    Marttt is offline
    Kid_Bandes
    Member
    Join Date: May 2010
    Old 02-12-2023 , 06:04   Re: [L4D1 & L4D2] Miss Shot/Shove On Tongue Grab [v1.0.0 | 06-June-2021]
    Reply With Quote #2

    Thank Martt!
    Kid_Bandes 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 19:11.


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