Prop detail sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: Automated text replacement (-\{\|\r +{| class=standard-table))
No edit summary
Line 1: Line 1:
{{wrongtitle|title=prop_detail_sprite}}
{{base point|prop_detail_sprite}} It allows manual insertion of [[Detail props|detail sprites]] into a level.
==Entity Description==
 
This entity allows for manual insertion of detail sprites into a level.
{{tip|Only use this entity if you are desperate. It is much better to assign a material a [[Detail props#Usage|%detaitype]] and let VBSP generate detail sprites itself.}}


{{intent}}
{{intent}}


==Keyvalues==
==Keyvalues==
*; position_ul <vec2d>
 
: Upper left X and Y values for the position of the detail in the detail sprite material
''This entity is not in Valve's FGDs. Its properties must be set with [[SmartEdit]] disabled.''
*; position_lr <vec2d>
 
: Lower right X and Y values for the position of the detail in the detail sprite material
; <code>origin <[[Vector]]></code>
*; tex_ul <vec2d>
; <code>angles <[[QAngle]]></code>
: Upper left X and Y values for the texture position of the detail in the detail sprite material
: Standard position information.
*; tex_size <vec2d>
; <code>detailOrientation <[[int]]></code>
: X and Y values for the displacement from the upper left position of the detail in the detail sprite material"
: See [[Detail props#sprites]].
*; tex_total_size <float>  
; <code>position_ul <[[Vector2D]]></code>
: Sprite Scale
; <code>position_lr <Vector2D></code>
*; detailOrientation <choices>
: {{confirm|The location of the sprite's upper left and lower right corners, relative to its origin.}}
: Detail Orientation
; <code>tex_ul <Vector2D></code>
:{| class=standard-table
; <code>tex_size <Vector2D></code>
! Literal Value || Description
; <code>tex_total_size <[[float]]> </code>
|-
: The area of the detail texture that should constitute this sprite. See [[Detail props#sprites]].
| 0 || Static
 
|-
| 1 || Facing
|-
| 2 || Facing (Y Clamp)
|}
[[Category:Entities]]
[[Category:Entities]]
[[Category:Entities Without Targetname]]

Revision as of 08:04, 19 March 2010

Template:Base point It allows manual insertion of detail sprites into a level.

Tip.pngTip:Only use this entity if you are desperate. It is much better to assign a material a %detaitype and let VBSP generate detail sprites itself.

Template:Intent

Keyvalues

This entity is not in Valve's FGDs. Its properties must be set with SmartEdit disabled.

origin <Vector>
angles <QAngle>
Standard position information.
detailOrientation <int>
See Detail props#sprites.
position_ul <Vector2D>
position_lr <Vector2D>
Confirm:The location of the sprite's upper left and lower right corners, relative to its origin.
tex_ul <Vector2D>
tex_size <Vector2D>
tex_total_size <float>
The area of the detail texture that should constitute this sprite. See Detail props#sprites.