User:Ashe/Sandbox
Jump to navigation
Jump to search
Block bullets but not players
This trick allows to create a fake clipbrush that works as toolsblockbullets but is not solid to players using func_physbox_multiplayer.
Creating the brush
- Create a func_physbox_multiplayer (maybe just func_physbox) brush entity.
- Flags:
- Start Asleep
- Debris - Don't collide with the player or other debris
- Motion Disabled
- Only Break on Trigger
- Don't Take Physics Damage
- Don't Allow Bullet Penetration
- Prevent Motion Enable on Player Bump
Uncheck the rest. Also, set these keyvalues:
- Material: (Anything)
- Strength: 0
- Disable Shadows: Yes
- Disable Receiving Shadows: Yes
- Render Mode: Don't Render