Raised This Month: $535 Target: $400
 133% 

[L4D2] Real .50AE bullets/Magnum pistol


Post New Thread Reply   
 
Thread Tools Display Modes
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 , 19: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 - 91 views - 5.2 KB)
    __________________
    Sorry,my english not good

    Last edited by Iciaria; 11-25-2022 at 19:52.
    Iciaria is offline
    Iizuka07
    Member
    Join Date: Aug 2018
    Old 11-29-2022 , 09:26   Re: [L4D2] Real .50AE bullets/Magnum pistol
    Reply With Quote #2

    Nice addition to realism. Thanks
    __________________
    死が待っている
    Iizuka07 is offline
    Yono_Yume
    Junior Member
    Join Date: Jan 2021
    Old 12-04-2022 , 10:44   Re: [L4D2] Real .50AE bullets/Magnum pistol
    Reply With Quote #3

    I use scripts to increase the "PenetrationNumLayers" of M60 to 2. Let M60 can tore and penetrate multiple targets, depending on the value. Your plugin appears to apply the same tore, I tried to modify magnum's "PenetrationNumLayers" with scripts, but still can't penetrate multiple targets.

    This is too strange, obviously the M60 can penetrate and tore, but Magnum cant.

    (google translate)
    Yono_Yume is offline
    Iciaria
    Member
    Join Date: Aug 2022
    Old 12-05-2022 , 04:42   Re: [L4D2] Real .50AE bullets/Magnum pistol
    Reply With Quote #4

    Quote:
    Originally Posted by Yono_Yume View Post
    I use scripts to increase the "PenetrationNumLayers" of M60 to 2. Let M60 can tore and penetrate multiple targets, depending on the value. Your plugin appears to apply the same tore, I tried to modify magnum's "PenetrationNumLayers" with scripts, but still can't penetrate multiple targets.

    This is too strange, obviously the M60 can penetrate and tore, but Magnum cant.

    (google translate)
    The default ConVar of this plugin will prevent the penetration effect of Magnum.
    PHP Code:
    // Block Magnum from penetrating the first common infection?
    // 0 = No, 1 = Yes, 2 = only Block in realism
    // -
    // Default: "1"
    l4d2_RealismMagnum_blockpenet "1" 
    Even if this value set to 0, It only tore the first target it hits to pieces.
    __________________
    Sorry,my english not good
    Iciaria is offline
    Yono_Yume
    Junior Member
    Join Date: Jan 2021
    Old 12-10-2022 , 15:49   Re: [L4D2] Real .50AE bullets/Magnum pistol
    Reply With Quote #5

    Quote:
    Originally Posted by Iciaria View Post
    The default ConVar of this plugin will prevent the penetration effect of Magnum.
    PHP Code:
    // Block Magnum from penetrating the first common infection?
    // 0 = No, 1 = Yes, 2 = only Block in realism
    // -
    // Default: "1"
    l4d2_RealismMagnum_blockpenet "1" 
    Even if this value set to 0, It only tore the first target it hits to pieces.
    sorry I didn't notice ConVar. Browser translation makes ConVar hidden.
    Thx your answer
    Yono_Yume 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 18:26.


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