AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Modify Weapon Damage (1.0.0) (https://forums.alliedmods.net/showthread.php?t=339016)

oqyh 08-09-2022 16:47

[ANY] Modify Weapon Damage (1.0.0)
 
[ANY] Modify Weapon Damage (1.0.0)
[ Change any weapon damage ]

https://github.com/oqyh/modify_weapo...e.jpg?raw=true

https://github.com/oqyh/modify_weapo...2.jpg?raw=true
https://github.com/oqyh/modify_weapo...p.jpg?raw=true

.:[ ConVars ]:.
Spoiler


.:[ Weapon List ]:.
Spoiler


.:[ Change Log ]:.
Spoiler



.:[ Download ]:.


L4D2Noob 08-10-2022 13:57

Re: [ANY] Modify Weapon Damage (1.0.0)
 
Code:

public Plugin myinfo =  {
        name = "Custom Weapon Damage",
        author = "Kolapsicle",
        description = "Controls weapon damage per client.",
        version = "1.0.0",
        url = ""
};

There is already a similar plugin. I don't remember the original link, but I do remember downloading it for my server.

Ark_Procession 08-20-2022 12:10

Re: [ANY] Modify Weapon Damage (1.0.0)
 
cant it be a multiplier of original damage? otherwise i don't understand what to take for reference

vadia111 08-20-2022 19:50

Re: [ANY] Modify Weapon Damage (1.0.0)
 
Is it possible to update the plugin...

where is it possible to put more than 1 weapon in the cfg?


example -->


sm_modify_damage "24"

sm_modify_weapon "tf_weapon_smg"

sm_modify_weapon "tf_weapon_charged_smg"

Grey83 08-21-2022 03:34

[ANY] Weapon damage modifier 1.0.0 [2022/08/21]
 
2 Attachment(s)
Quote:

Originally Posted by vadia111 (Post 2787041)
where is it possible to put more than 1 weapon in the cfg?

Nowhere: the plugin does not support more than one weapon name

But you can try this (negative values ​​will likely increase the target's health ^_^).
Convars:
  1. sm_weapon_dmg_mod_enable - Enables/Disables plugin
  2. sm_weapon_dmg_mod_ff - Enables/Disables friendly fire modification
weapon_dmg_mod.ini must be located at .../addons/sourcemod/configs/

evans 08-27-2022 12:54

Re: [ANY] Modify Weapon Damage (1.0.0)
 
I love you Grey83 )))) :-* :-* thank you, works like a charm ;)

VaLaKi 08-27-2022 19:04

Re: [ANY] Weapon damage modifier 1.0.0 [2022/08/21]
 
Quote:

Originally Posted by Grey83 (Post 2787058)
Nowhere: the plugin does not support more than one weapon name

But you can try this (negative values ​​will likely increase the target's health ^_^).
Convars:
  1. sm_weapon_dmg_mod_enable - Enables/Disables plugin
  2. sm_weapon_dmg_mod_ff - Enables/Disables friendly fire modification
weapon_dmg_mod.ini must be located at .../addons/sourcemod/configs/

Compile latest 1.11 sourcemod:
https://i.imgur.com/PXv4O5M.png

Grey83 08-28-2022 02:58

Re: [ANY] Weapon damage modifier 1.0.0 [2022/08/21]
 
1 Attachment(s)
Quote:

Originally Posted by VaLaKi (Post 2787555)
Compile latest 1.11 sourcemod

PHP Code:

bool
    bLate
,
    
bEnable

==Ю
PHP Code:

bool
    bLate
,
    
bEnable,
    
bFF


evans 08-28-2022 18:44

Re: [ANY] Modify Weapon Damage (1.0.0)
 
I did not research the code more closely but just removed bFF from define and from if condition and plugin works good with sourcemod 1.10 although as it should. Will it have any fatal consequencies in the future ? Server running good, no sign of errors in logs or crashes......what is that bFF for there? Thanks.

Grey83 08-29-2022 11:53

Re: [ANY] Modify Weapon Damage (1.0.0)
 
Quote:

Originally Posted by evans (Post 2787618)
what is that bFF for there?

Quote:

Originally Posted by Grey83 (Post 2787058)
sm_weapon_dmg_mod_ff - Enables/Disables friendly fire modification



All times are GMT -4. The time now is 16:01.

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