Block Bullets

NoirSuede

L2: Junior Member
Dec 22, 2012
63
9
Is it possible to make the block bullet entity to only block attacks from 1 team only ?
 

henke37

aa
Sep 23, 2011
2,075
515
It's a material. A special material.
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Blockbullets is a texture you apply to a brush, not an entity (an entity is something you place using shift-e, the point entity tool, or something that is 'tied' to a brush with ctrl-t, a brush entity). To answer your question, no, you can't block only one team's bullets using blockbullets.
 

henke37

aa
Sep 23, 2011
2,075
515
It is a material, not a texture.
 

PootisSpencer

L1: Registered
Nov 28, 2011
11
3
texture, no - but you can use entities and some logic.

tf_filter_damage
disallow damage type bullets (or allow only drown for total godmode, as long as they don't really drown)

trigger_multiple
placed in spawnroom(s) or wherever
OnStartTouch !activator SetDamageFilter FilterName



I use the same trick to make "safe rooms" on my maps where players can congregate at their leisure without having to combat.


to remove the damage filter, you can add an OnStopTouch
 
Last edited:

henke37

aa
Sep 23, 2011
2,075
515
That doesn't quite have the same impact, that's a global block. Blockbullets is a single brush that blocks.
 

PootisSpencer

L1: Registered
Nov 28, 2011
11
3
BlockBullets texture blocks all projectiles, players, and npc's - you cannot pass through such a texture.
if he wants to prevent damage to a specific team, the above trick will do just that.
 
Last edited:

NoirSuede

L2: Junior Member
Dec 22, 2012
63
9
texture, no - but you can use entities and some logic.

tf_filter_damage
disallow damage type bullets (or allow only drown for total godmode, as long as they don't really drown)

trigger_multiple
placed in spawnroom(s) or wherever
OnStartTouch !activator SetDamageFilter FilterName



I use the same trick to make "safe rooms" on my maps where players can congregate at their leisure without having to combat.


to remove the damage filter, you can add an OnStopTouch

Where can i regulate the tf_filter_damage in hammer ?
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
It's a point entity; press shift-e then type "tf_filter_damage" into the dropdown box on the right. As you're typing, it should autocomplete the name for you. Select it and place the entity in your map. Exact location doesn't matter, but it's good to place filters near things that use them.