Is There Any Way For Me To Add Eating Corpses As A Feature To A HL1 Mod Created 6 months ago2024-04-27 04:35:21 UTC by skarano skarano

Created 6 months ago2024-04-27 04:35:21 UTC by skarano skarano

Posted 6 months ago2024-04-27 04:35:21 UTC Post #348752
ditto to the title
Posted 6 months ago2024-04-27 04:46:42 UTC Post #348753
Of course. You can do anything with programming. But eating corpses could be done even with the level editor alone, you just put an invisible button next to a corpse, which removes the corpse or makes it invisible, with an entity like func_changetarget or env_render, and plays an eating sound with ambient_generic, and gives you health with game_player_equip or a trigger_hurt with a negative damage value. But this would only work for corpses that already exist when the map loads.
You must be logged in to post a response.