Prop detail: Difference between revisions
Jump to navigation
Jump to search
AltNames: This entity is also tied to
SirYodaJedi (talk | contribs) No edit summary |
(Add detailOrientation values) |
||
Line 4: | Line 4: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|World model|intn=model|studio|World model to appear as. Must be [[$staticprop]] and <code>[[UnlitGeneric]]</code> (ALL skins). Maximum string length: 128.}} | {{KV|World model|intn=model|studio|World model to appear as. Must be [[$staticprop]] and <code>[[UnlitGeneric]]</code> (ALL skins). Maximum string length: 128.}} | ||
{{KV|detailOrientation|intn=detailOrientation|int | {{KV|detailOrientation|intn=detailOrientation|int}} | ||
: 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. | |||
== See also == | == See also == |
Revision as of 10:03, 13 November 2024
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.