prop_detail
Jump to navigation
Jump to search
prop_detail
is an internal point entity present in all Source games. It is used to manually create a detail prop. It only supports studio models (as opposed to sprite-like detail props), so use is pretty rare.
Detail props are usually automatically created during compile time by certain textures (like grass).
Keyvalues[edit | edit source]
- World model
(model)
<studio>
- World model to appear as. It must have
$staticprop
in the QC and the texture (and all of its skins) must useUnlitGeneric
for the shader. 128 character limit. - Pitch Yaw Roll (Y X Z) (Not in FGD)
(angles)
<angle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Orientation (Not in FGD)
(detailOrientation)
<choices>
- Model rotation behavior.
- 0: No rotation (default). This setting is usually the best because the others behave odd when extremely close.
- 1: Always rotate to face the camera head on.
- 2: Rotate to face the camera, but ignore the Z axis.