Garry's Mod

Garry's Mod

153 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.
26 Comments
marsh 26 Jul @ 6:53am 
Works completely fine for me
Malevelon Creek Forever! 25 Jul @ 1:57am 
Latest update seems to have broken this mod.
Headshots dont kill, just deplete health to a certain point after which no damage would be applied.
Headshot will kill and work only when shot in the body first.
meow to meet you 19 Jul @ 7:58pm 
zombies die way too easily
Malevelon Creek Forever! 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.
Malevelon Creek Forever! 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
HRKHN 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?