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

[L4D2] Real .50AE bullets/Magnum pistol


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Iciaria
Member
Join Date: Aug 2022
Plugin ID:
8304
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Magnum will tore common infection to pieces, just like m60, which also prevents its piercing effect.
    Old 11-25-2022 , 18:37   [L4D2] Real .50AE bullets/Magnum pistol
    Reply With Quote #1

    Most of the code for this plugin is fetched from(BloodyBlade's version)[L4D2] Realism Penetration Fix (v1.3 bugfix, 2014 Oct 5)

    The code used to block the wound is from(Toranks's version)[L4D2] Nerf Damage To Commons [v1.0.8 | 03-March-2021]



    These two plugins will conflict, moreover, to avoid complex programming, I separate the functionality I need from these two plugins.

    So with this plugin.


    What will this plugin do?
    This mod prevents Magnum from penetrating common Infested and tearing apart the first target it hits, just like the M60.


    Cvar:
    cfg file in "../left4dead2/cfg/sourcemod/l4d2_realismMagnum.cfg"
    PHP Code:
    // This file was auto-generated by SourceMod (v1.11.0.6906)
    // ConVars for plugin "l4d2_realismMagnum.smx"


    // Enable this plugins?
    // 0 = Disable, 1 = Enable
    // -
    // Default: "1"
    l4d2_RealismMagnum_Enabled "1"

    // Block Magnum from penetrating the first common infection?
    // 0 = No, 1 = Yes, 2 = only Block in realism
    // -
    // Default: "1"
    l4d2_RealismMagnum_blockpenet "1"

    // Magnum will tore common infection to pieces?
    // 0 = Disable, 1 = Enable, 2 = Only enable in realism
    // -
    // Default: "1"
    l4d2_RealismMagnum_tore "1" 
    Change logs:
    Code:
    1.0 (26-Nov-2022)
            - Initial release.
    Install:
    1.Click "Get Plugin" and put the *.smx file in "../addons/sourcemod/plugins".
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_realismMagnum.sp - 330 views - 5.2 KB)
    __________________
    Sorry,my english not good

    Last edited by Iciaria; 11-25-2022 at 18:52.
    Iciaria 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 02:27.


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