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

[L4D2] Scale Weapon Damage On Low Ammo v1.3【2024-02-22】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8630
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 01-30-2024 , 01:32   [L4D2] Scale Weapon Damage On Low Ammo v1.3【2024-02-22】
    Reply With Quote #1

    scale the damage on low ammo for rare usage. dosen't work for grenade launcher, and recommand not enable for m60 rifle.

    Cvars
    PHP Code:
    scale_damage_on_low_ammo_path "data/scale_damage_on_low_ammo.cfg" 
    Commands
    • sm_scale_damage_on_low_ammo_reload (admin flag "z")
      :reload config data from file.

    Change log
    Spoiler


    Configs installation
    • put scale_damage_on_low_ammo.cfg in sourcemod/data/. if you changed the file name or path, you have to edit the cvar "path" too.
    • when sum of clip and ammo lower than "ammo_left", damage will scale to "damage_scale", but at least keep 1.0 damage. to disable on a weapon type, set "ammo_left" to 0 or set "damage_scale" to 1.0.
    Attached Files
    File Type: cfg scale_damage_on_low_ammo.cfg (1.4 KB, 60 views)
    File Type: sp Get Plugin or Get Source (scale_damage_on_low_ammo.sp - 33 views - 6.3 KB)

    Last edited by little_froy; 02-21-2024 at 18:12.
    little_froy is offline
    Reply



    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 07:12.


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