Raised This Month: $60 Target: $400
 15% 

[L4D & L4D2] Unscope Sniper On Shoot (1.2a) [24-Sep-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6981
Plugin Version:
1.2a
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Un-zooms Sniper scopes on each shot.
    Old 03-14-2020 , 10:22   [L4D & L4D2] Unscope Sniper On Shoot (1.2a) [24-Sep-2020]
    Reply With Quote #1

    About:
    • Makes players un-zoom / un-scope Sniper Rifles on each shot.
    • Thanks to "Iizuka07" for the idea and request.


    Cvars:

    Saved to l4d_unscope.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_unscope_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_unscope_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_unscope_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_unscope_modes_tog "0"

    // 1=Hunting Rifle. L4D2 only: 2=Sniper Military, 4=Sniper AWP, 8=Sniper Scout. 15=All.
    l4d_unscope_types "15" // "1" in L4D1.

    // Unscope plugin version.
    l4d_unscope_version 


    Changes:
    Code:
    1.2a (24-Sep-2020)
        - Compatibility update for L4D2's "The Last Stand" update.
        - GameData .txt file updated.
    
    1.2 (10-May-2020)
        - Added better error log message when gamedata file is missing.
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
    
    1.1 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.0 (14-Mar-2020)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
    Attached Files
    File Type: txt l4d_unscope.txt (268 Bytes, 35 views)
    File Type: sp Get Plugin or Get Source (l4d_unscope.sp - 125 views - 8.7 KB)
    __________________

    Last edited by Silvers; 09-24-2020 at 14:18.
    Silvers is offline
    mathilde
    Member
    Join Date: Jan 2020
    Location: samedi et dimanche
    Old 03-15-2020 , 09:59   Re: [L4D & L4D2] Unscope Sniper On Shoot (1.0) [14-Mar-2020]
    Reply With Quote #2

    I don't get it

    You have to press the scope button every time you shoot. Hassle, I think.
    I don't see the point.
    mathilde is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 03-15-2020 , 10:10   Re: [L4D & L4D2] Unscope Sniper On Shoot (1.0) [14-Mar-2020]
    Reply With Quote #3

    It was a request, you don't have to use.
    __________________
    Silvers is offline
    mathilde
    Member
    Join Date: Jan 2020
    Location: samedi et dimanche
    Old 03-15-2020 , 10:38   Re: [L4D & L4D2] Unscope Sniper On Shoot (1.0) [14-Mar-2020]
    Reply With Quote #4

    Ahh. Got my hopes up when I thought the plugin removes crosshair when scoped.
    My bad.
    mathilde 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 22:14.


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