Npc, why to die ? Created 19 years ago2005-04-08 14:00:25 UTC by FresheD FresheD

Created 19 years ago2005-04-08 14:00:25 UTC by FresheD FresheD

Posted 19 years ago2005-04-08 14:00:25 UTC Post #102547
I have this base, for the first time i try a npc (i'm such a n00b :zonked: )
And i'm wondering.... how to NOT kill a npc when you shoot at the npc, like he's the "allmighty" (gman in this case :P )
Posted 19 years ago2005-04-08 14:51:07 UTC Post #102551
In HL1 the gman was invincible, I imagine this is the same for HL2. If this is correct you won't have to do anything!
Posted 19 years ago2005-04-08 16:07:54 UTC Post #102570
It isn't obviously, the gman is highly killable.
Posted 19 years ago2005-04-08 16:42:34 UTC Post #102578
Try putting them in a trigger_hurt with a 'damage' value of -100.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-04-22 06:02:51 UTC Post #105257
use a filter_damage_type entity, set the filter mode value to "allow entities that match criteria" (should be default anyway) and set the "damage type" type to something you don't have in your map like "chemical" then link the NPC's "damage type" value to the filter entity (you'll have to give it a name). This stops anything but chemicals hurting the NPC. he's not quite almighty, but as far as the player is concerned he is. :)
Posted 19 years ago2005-04-22 06:06:08 UTC Post #105258
oh P.S using this method makes most bullets go through the NPC, meanin he wont bleed if u shoot him. i think bugbait and the crowbar will hit it but they don't do damage.
You must be logged in to post a response.