Prop detail sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No 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}} 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|%detaitype]] 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.}}


{{intent}}
{{intent}}

Revision as of 12:45, 9 August 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 %detailtype 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.