Prop detail sprite: Difference between revisions
Jump to navigation
Jump to search
Tip:Only use this entity if you are desperate. It is much better to assign a material a %detailtype and let VBSP generate detail sprites itself.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{base point|prop_detail_sprite}} It allows manual insertion of [[Detail props|detail sprites]] into a level. | {{base point|prop_detail_sprite|internal=1}} It allows manual insertion of [[Detail props|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|%detailtype]] and let VBSP generate detail sprites itself.}} | {{tip|Only use this entity if you are desperate. It is much better to assign a material a [[Detail props#Usage|%detailtype]] and let VBSP generate detail sprites itself.}} | ||
Line 21: | Line 21: | ||
; <code>tex_total_size <[[float]]> </code> | ; <code>tex_total_size <[[float]]> </code> | ||
: The area of the detail texture that should constitute this sprite. See [[Detail props#sprites]]. | : The area of the detail texture that should constitute this sprite. See [[Detail props#sprites]]. | ||
Revision as of 09:22, 6 March 2011
Template:Base point It allows manual insertion of detail sprites into a level.

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.