Is there a way to make all security guards in a map become hostile to you at once? Created 2 weeks ago2024-10-06 01:35:30 UTC by meow_moment meow_moment

Created 2 weeks ago2024-10-06 01:35:30 UTC by meow_moment meow_moment

Posted 2 weeks ago2024-10-06 01:35:30 UTC Post #349225
I'm currently making a map that revolves around sneakily sabotaging equipment in a building, and if you get caught you're declared a threat. I want to make it so that security guards you encounter after getting caught will try to shoot you on sight, but as far as I'm aware the only way to make them upset at you is to shoot at them, or to shoot at one of their allies while you're in their line of sight. Additionally, this is for the currently running competition, for which custom code is not allowed. Is there any way in the vanilla engine to make all barneys in a map become hostile to the player?
Posted 2 weeks ago2024-10-06 02:00:51 UTC Post #349226
You can't do this in vanilla Half-Life, unfortunately. I guess you could try using an edited model and replace the HECU soldiers.
Posted 2 weeks ago2024-10-06 02:34:18 UTC Post #349227
Is replacing the hgrunt model with the barney one possible in vanilla? I feel like I remember it requiring you to edit a DLL.

EDIT: Also, the map contains monster_scientists that the hgrunts would need to be non-hostile to.
Posted 2 weeks ago2024-10-06 10:22:01 UTC Post #349229
Yeah, this has been questioned a few times in the past, as far back as twenty years ago on this very site. It's not possible to make Barney hostile via a trigger I'm afraid.
monster_urby monster_urbyGoldsourcerer
You must be logged in to post a response.