Garry's Mod

Garry's Mod

NPC Damage Scale
26 kommentarer
marsh 26. juli kl. 6:53 
Works completely fine for me
Kyrin Lex 25. juli kl. 1:57 
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.
buster bludknutt 19. juli kl. 19:58 
zombies die way too easily
Kyrin Lex 1. juli kl. 5:55 
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.
Kyrin Lex 1. juli kl. 4:37 
Damn, so this is why when i change sk_npc_chest to lower value it doesnt work?
This mod is a savior
HRKHN 15. juni kl. 19:30 
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 kl. 5:22 
still doesn't work
Vuthakral 13. jan. 2024 kl. 16:36 
"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 kl. 15:00 
In addition to this mod, depending on the case?
Khaiø 13. jan. 2024 kl. 14:59 
@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 kl. 14:21 
thanks for this
That1d10tGuy 7. jan. 2024 kl. 13:46 
Is there still a way to edit damage dealt to players on our end or are the values hard-coded?
Vuthakral 5. jan. 2024 kl. 7:03 
To expand on that better, "Skill" is the HL2 difficulty command. It defaults to 1 (Easy), 2 is medium, and 3 is hard. On medium the damage scaling is 1:1
Vuthakral 5. jan. 2024 kl. 7:02 
@Jamesinator Set the console command "skill" to 2, this makes players & NPCs do the same damage values with zero skill mitigation or bonus.
Jamesinator 4. jan. 2024 kl. 12:46 
can you make a mod like this that makes damage consistent between players and npc's? so the HL2 SMG can do more than 7 damage to players?
krozbot 4. jan. 2024 kl. 10:58 
is it possible to edit the new values in the console?
hawky_ 4. jan. 2024 kl. 9:16 
nice mod! I once made a hacky version of this but for only for the arms with values I thought would match.
:( 4. jan. 2024 kl. 1:39 
good job and nice mod
TankNut  [ophavsmand] 3. jan. 2024 kl. 7:00 
This changes the damage dealt to NPC's, damage to players or entities isn't affected.
Galok 3. jan. 2024 kl. 5:37 
Good addon
The Pizza is Aggressive 2. jan. 2024 kl. 23:00 
wait so this changes the damage we deal to NPCs or is it the other way around?
TankNut  [ophavsmand] 2. jan. 2024 kl. 8:39 
As for the default 3x multiplier, that's what skill.cfg ships with. I figured it'd be easier to just let that be and let people edit it themselves instead of trying to overwrite it somehow and potentially breaking other functionality in the process.
TankNut  [ophavsmand] 2. jan. 2024 kl. 8:36 
I've looked at that, don't worry.

The 2x headshot multiplier that is present for the combine in the SDK doesn't seem to apply to Garry's Mod. They take the correct amount of damage based on the value of sk_npc_head.
Vuthakral 2. jan. 2024 kl. 8:30 
My bad I must have interpreted the description incorrectly, sorry.

Should definitely still be careful with increasing that head damage multiplier though, it's just the combine that only take 2x; everything else in the game already takes 3x including custom NPCs.
TankNut  [ophavsmand] 2. jan. 2024 kl. 8:26 
I'm not claiming that the scaling doesn't work, just that the values that are built into Garry's Mod differ wildly from HL2 and is what makes NPC's feel incredibly spongy at times.

Fighting combine soldiers for example, a majority of the time their chest is going to be covered by their arms so you'll be either doing 1/4th the damage you should be doing, or doubling it because you hit the head instead.

HL2 doesn't have this issue because it applies 1x damage to limbs. That's what I'm aiming for here.
Vuthakral 2. jan. 2024 kl. 8:20 
I get the point of exposing/overriding sk_ configs, but what's this about claiming that the scaling doesn't work? The 3x headshot and 1/4 limb damage, 80% gut, etc have always worked properly in gmod. If anything trying to work around those has been my personal nightmare already.

Some Half-Life 2 NPCs have unique special multipliers per hitgroup however, but generic NPCs already take 3x head and 1/4 limb.

Also, weapon damage scaling depending on difficulty with the "skill" console command still works. Gmod is even defaulted to "easy" (1), which is why gmod in general is a lot "easier" when playing HL2 maps.