Creating gamemode, zombies don't give damage?

NPCs don’t seem to inflict damage.

Is there something I need to add to my gamemode?

First stop would be to make sure that sk_zombie_dmg_one_slash / sk_zombie_dmg_both_slash as set to values that aren’t zero - they default to zero.

that should help making the zombie do more damage

[editline]28th September 2014[/editline]

or even this for the player to take higher amounts of damage http://wiki.garrysmod.com/page/GM/EntityTakeDamage

Ok, I’ve checked both values in skills.cfg, they’re not zero.

I’ve also tried Certified Code’s solution. While being attack the game doesn’t print any information with this code.




hook.Add("ScaleDamage","testscaledmg",function( npc, hitgroup, dmginfo )
 
	print( npc, hitgroup, dmginfo )
 
end)

hook.Add("EntityTakeDamage","testentdmger", function( target, dmg )

print( target, dmg ) 

end)



EDIT: None of the Zombies/Aliens can damage me.

http://gmodwiki.net/Lua/Classes/Entity/TakeDamage

so you have tried that… hmm maybe take a look how zombie survival does their damage