User:Ashe/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== 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...")
 
No edit summary
Line 2: Line 2:
This trick allows to create a fake clipbrush that works as toolsblockbullets but is not solid to players using [[func_physbox_multiplayer]].
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 ==
=== Creating the brush ===
* Create a [[func_physbox_multiplayer]] (maybe just [[func_physbox]]) brush entity.
* Create a [[func_physbox_multiplayer]] (maybe just [[func_physbox]]) brush entity.
* Flags:
* Flags:
Line 21: Line 21:
* Disable Receiving Shadows: Yes
* Disable Receiving Shadows: Yes
* Render Mode: Don't Render
* Render Mode: Don't Render
== $8WayMovement ==
Found in TF2. Mainly used for the movement of the robots. {{todo|documentation}}

Revision as of 09:31, 30 June 2023

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

$8WayMovement

Found in TF2. Mainly used for the movement of the robots.

Todo: documentation