Obsidian Conflict Bugtracker - Obsidian Conflict
View Issue Details
0000136Obsidian Conflict[All Projects] Bug-Reportpublic03.07.2012 17:1419.09.2012 23:09
Maestro Fenix 
 
normalminoralways
newopen 
nonenone 
0.1.3.5 
 
0000136: ai_relationship doesnt stop players killing friendly npc_hgrunt
All the normal parameters are enabled (like, is reciprocal and is active), both target and subject are valid. Both are inside the radius of effect and a strong priority (tested from 1 to 9999).

If you put a npc_hgrunt as a friendly, you will be able to harm and kill him, also, even if they have a large health, they will continue dying by one headshot. Other times it will bug and will not die from them (until they have a little amount of health).

I´m not sure, but maybe the npc_combine_s could have the same bug.
Set an ai_relationship to make the npc_hgrunt like the player and reverse.

Shoot the soldier.
No tags attached.

Notes
(0000236)
Ereunity   
15.08.2012 00:21   
(edited on: 23.08.2012 00:46)
Updating temporary fix:

Set ai_relationship up to make friendly.

Then place a filter_activator_class with the class set to PLAYER and set it as the damage filter for the hgrunt. Set it to "disallow".

This will then make them immune to being killed/hurt by the player and player caused explosions.

If you are using npc_manhack_wep in your map, suggest adding a ai_relationship and another filter for it using a filter_multiple as the damage filter.

(0000238)
Maestro Fenix   
15.08.2012 17:40   
Thank you very much. This bug is a headache, because you have to cooperate with those friendly Hgrunts.

Also, i want to say that the monster_sentry has the same bug. I´ll post here more npcs with this bug if i found more.
(0000243)
neico   
19.09.2012 23:09   
probably all hl1 npc's...