This article's documentation is for anything that uses the Source engine. Click here for more information.

Prop detail: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
(I guess)
 
(25 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{wrongtitle|title=prop_detail}}
{{this is a|model entity|internal=1|name=prop_detail}} It is used to manually create a [[detail prop]]. It only supports [[model]] detail props, so is rarely used.
==Entity Description==
{{altnames|name1=detail_prop}}
A prop that doesn't move, isn't solid, and doesn't animate. This entity is built into it's designated lump in the map and is not networked. '''This entity cannot be placed into the map during runtime!'''
 
==Keyvalues==
==Keyvalues==
* '''model'''
{{KV|World model|intn=model|studio|World model to appear as. Must be [[$staticprop]] and <code>[[UnlitGeneric]]</code> (ALL skins). Maximum string length: 128.}}
: <studio> World model
{{KV Angles}}
==See Also==
{{KV|detailOrientation|intn=detailOrientation|integer choices}}
* [[Prop_Types_Overview]]
: How the sprite will react to the camera:
[[Category:Entities]]
:* 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.
{{KV Targetname null|hammer only=1}}
 
== See also ==
* [[prop_detail_sprite]]
 
[[Category:Prop entities|detail]]

Latest revision as of 04:49, 19 May 2025

prop_detail is an internal model entity available in all Source Source games. It is used to manually create a detail prop. It only supports model detail props, so is rarely used.

AltNames.pngAltNames: This entity is also tied to detail_prop.

Keyvalues

World model (model) <model path>
World model to appear as. Must be $staticprop and UnlitGeneric (ALL skins). Maximum string length: 128.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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.
detailOrientation (detailOrientation) <integer choices>
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.

See also