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

[L4D] L4DNoSmoking (v1.0.5, 2019-07-23)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Plugin ID:
6651
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin prevents the smoker from smoking the last survivor.
    Old 07-20-2019 , 13:07   [L4D] L4DNoSmoking (v1.0.5, 2019-07-23)
    Reply With Quote #1

    Description:
    This plugin prevents the smoker from smoking the last survivor.
    It checks for the following status:
    1 survivor running around
    the other survivors dead, incapped, pounced, smoked, smoked from ledge, hanging from ledge or falling from ledge.

    Tested on L4D1. Included conditions for L4D2 but untested.

    Feature:
    Use cfg to set the server to automatically slap the smoker to break his tongue or kill the smoker, when he tries to smoke the last survivor.

    CVAR/Command list:
    killorslap (default=1) 1 = kill smoker / 2 = slap smoker
    displaykillmessage (default=3) 0 - Disabled; 1 - small HUD Hint; 2 - big HUD Hint ; 3 - Chat Notification

    Changelog:
    2019-07-20 (v1.0.0)
    * Initial release.
    2019-07-21 (v1.0.1)
    * Code cleanup and added language support by Aya Supay
    2019-07-23 (v1.0.5)
    * Code cleanup and added language support by Aya Supay
    * new code for handling survivors and cleanup by Lux

    Installation instructions:
    Click 'Get Plugin' button, place SMX in the sourcemod plugins folder. Or compile it yourself.
    Download 'l4d_nosmoking.phrases.txt' and place it in translations folder.

    Dependencies:
    none

    Plans:
    none atm

    Credits:
    Based on code snippets from:
    * [L4D, L4D2] No Death Check Until Dead
    * https://forums.alliedmods.net/showthread.php?t=142432
    * [L4D & L4D2] Survivor Bot Takeover v0.8
    * https://forums.alliedmods.net/showthread.php?p=1192594
    * xZk TeleportEntity suggestion to break tongue
    * Aya Supay code cleanup and added language support
    * Lux for different approach on tongue_grab and code cleanup
    Attached Files
    File Type: sp Get Plugin or Get Source (L4DNoSmoking1.0.5.sp - 772 views - 8.6 KB)
    File Type: txt l4d_nosmoking.phrases.txt (1.4 KB, 308 views)

    Last edited by finishlast; 07-24-2019 at 11:08.
    finishlast is offline
     



    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 14:30.


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