Some models are flammable, that means that they can be ignited with some damage, for example - oildrum001_explosive.mdl ignites after 2 pistol shots and explodes after that.
This function create entityflame at models center, this entity damages everything that touches it.
In Half Life 2 we can't kill friendly to player NPCs, this prevents scene breaks and softlocks, this is why barrel exploading by player not hit friendly to player NPCs. However - entityflame can. Thanks this we can kill Gman in d1_town_05, or softlocking, for example in d1_canals_05 by killing the woman, that open the gate that prevent to take airboat before she explain everything.
Describe the bug
Some models are flammable, that means that they can be ignited with some damage, for example -
oildrum001_explosive.mdl
ignites after 2 pistol shots and explodes after that. This function createentityflame
at models center, this entity damages everything that touches it. In Half Life 2 we can't kill friendly to player NPCs, this prevents scene breaks and softlocks, this is why barrel exploading by player not hit friendly to player NPCs. However -entityflame
can. Thanks this we can kill Gman ind1_town_05
, or softlocking, for example ind1_canals_05
by killing the woman, that open the gate that prevent to take airboat before she explain everything.https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/d6660dcd-2aba-4cc1-ab2f-fe5b2bd05cbb
Expected that
entityflame
will not damage friendly to player NPCs if was created by object that was ignited by player.To Reproduce
sv_cheats 1; give weapon_pistol; use weapon_pistol; ent_create npc_gman; prop_physics_create /props_c17/oildrum001_explosive.mdl
.Operating System
Any.