Prop detail: Difference between revisions
Jump to navigation
Jump to search
AltNames: This entity is also tied to
(Add detailOrientation values) |
SirYodaJedi (talk | contribs) |
||
Line 9: | Line 9: | ||
:* 1: It will rotate around its origin to always face the camera head-on. | :* 1: It will rotate around its origin to always face the camera head-on. | ||
:* 2: It will rotate around its Z-axis only to face the camera. | :* 2: It will rotate around its Z-axis only to face the camera. | ||
{{KV Targetname null|hammer only=1}} | |||
== See also == | == See also == |
Revision as of 07:01, 9 March 2025
prop_detail
is an internal point entity available in all Source games. It is used to manually create a detail prop. It only supports model detail props, so is rarely used.

detail_prop
. Keyvalues
- World model (model) <model path>
- World model to appear as. Must be $staticprop and
UnlitGeneric
(ALL skins). Maximum string length: 128.
- detailOrientation (detailOrientation) <integer>
- How the sprite will react to the camera:
- 0: It will not rotate.
- 1: It will rotate around its origin to always face the camera head-on.
- 2: It will rotate around its Z-axis only to face the camera.
- Name (targetname) <string>
- Name of this entity. Displayed in Hammer's 2D views and Entity Report. No effect in-game, nor in map compilers.