Add a special tag to disable team damage from a certain weapon/guns

Add a special tag to disable team damage from a certain weapon/guns

I enabled team damage in the mission to limit explosives and various artillery.

However, this caused friendly bots in squad mode to kill the player, which is not what I want.

I want to have a setting to disable team damage for specific weapons (in this case, infantry weapons)

and keep the rest team damage system works include the kicks

2 Likes

Also something like this would be nice, speaking of tags:

"still_obstacles__disable:tag"{
is_disabled:b=yes
  }
2 Likes

As a layman for modding.
Maybe go to the flamethrower entity and see if there’s a tag that can still damage friendly in the “no friendly damage” setting and apply it to other gun, or modify the flamethrower to make it a normal gun, and then set the global setting to Set as no friendly damage.

But even if this is possible for small arms , fixed weapons and artillery will lose friendly damage, which is not what you want.

i have checked its only for flames not work for bullet guns

I would replace the word weapon with ammunition, we have multiple types of weapons using one ammunition, with each update with a new weapon you will have to adjust the mod, with ammunition this frequency will greatly decrease.

1 Like