Garry's Mod

Garry's Mod

148 ratings
NPC Damage Scale
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
File Size
Posted
1.276 KB
2 Jan, 2024 @ 7:35am
1 Change Note ( view )

Subscribe to download
NPC Damage Scale

Description
A dead-simple addon that patches GM:ScaleNPCDamage to follow the sk_npc_ convars that ship with source to enable on-the-fly editing.

If you've ever wondered why the HL2 weapons feel weak, this might be why.

This changes the default damage scales for NPC's as follows:
  • Headshot damage: 2x -> 3x
  • Arm damage: 0.25x -> 1x
  • Leg damage: 0.25x -> 1x

Custom gamemodes that use their own version of ScaleNPCDamage and hooks shouldn't be affected.

Because of how skill.cfg is configured changes won't persist unless you edit skill.cfg or set up your own values in autoexec.cfg, though it's still an improvement over having values hardcoded into the base gamemode.
24 Comments
beet eater 19 Jul @ 7:58pm 
zombies die way too easily
Рисуй Сьюка! 1 Jul @ 5:55am 
So this one works flawlessly, Its just that combine soldiers of all kinds dont have bodypart assigned to chest and abdomen, hence why they receive full weapon damage regardless of sk_npc_*bodypart* damage scale.
Рисуй Сьюка! 1 Jul @ 4:37am 
Damn, so this is why when i change sk_npc_chest to lower value it doesnt work?
This mod is a savior
Lieutenant Kara Thrace 15 Jun @ 7:30pm 
I'm not sure if this is what I need. It seems to me that my character dies too quickly, to HL2 NPCs, in comp. to how long it takes for Gordon to give up in HL2. I'll try playing with the HEV Suit on & fuly-charged to see if it makes a difference...
Favkis Nexerade 11 Mar, 2024 @ 5:22am 
still doesn't work
Vuthakral 13 Jan, 2024 @ 4:36pm 
"skill" persists between sessions, I don't know what weapon bases if any besides my own have difficulty-aware damage scaling. Setting the difficulty higher may only result in Half-Life 2 NPC weapons dealing more damage.
Khaiø 13 Jan, 2024 @ 3:00pm 
In addition to this mod, depending on the case?
Khaiø 13 Jan, 2024 @ 2:59pm 
@TankNut; @Vuthakral

So, to fix NPC's being "weaker" with weapons, I can fix that using the "skill 2" command, or put in in autoexec?
Levuh 7 Jan, 2024 @ 2:21pm 
thanks for this
That1d10tGuy 7 Jan, 2024 @ 1:46pm 
Is there still a way to edit damage dealt to players on our end or are the values hard-coded?