Thread: Pev Research
View Single Post
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-23-2016 , 12:41   Re: Pev Research
Reply With Quote #32

There are things that are undocumented and/or plain wrong!

For example: pev_enemy (I believe, I could be wrong!) is the current target of a NPC entity.

The user values are custom values for mods (according to HLSDK)

Quote:
Always set to 100 but doesn't effect entities. I think it is just for reference. Players always respawn at 100.0 but I don't know if non-player entities spawn with this much HP when DLL_Func_Spawn is called. will have to test.
max_health is exactly what says in the tin, how much health can the entity gain before stopping any healing action. (see health chargers in the HLSDK).

Players don't respawn with the maxhealth because 100 is hardcoded. (I BELIEVE it's listed in player.cpp but I can't remember)

Since there's no healing methods in CS, the guy who made the guide just shrugged it off.
__________________

Last edited by gabuch2; 05-23-2016 at 12:41.
gabuch2 is offline