Prop detail sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Entity Description: {{Intent}})
mNo edit summary
Line 6: Line 6:


==Keyvalues==
==Keyvalues==
* position_ul
*; position_ul <vec2d>
:<vec2d> Upper left X and Y values for the position of the detail in the detail sprite material
: Upper left X and Y values for the position of the detail in the detail sprite material
* position_lr
*; position_lr <vec2d>
:<vec2d> Lower right X and Y values for the position of the detail in the detail sprite material
: Lower right X and Y values for the position of the detail in the detail sprite material
* tex_ul
*; tex_ul <vec2d>
:<vec2d> Upper left X and Y values for the texture position of the detail in the detail sprite material
: Upper left X and Y values for the texture position of the detail in the detail sprite material
* tex_size
*; tex_size <vec2d>
:<vec2d> X and Y values for the displacement from the upper left position of the detail in the detail sprite material"
: X and Y values for the displacement from the upper left position of the detail in the detail sprite material"
* tex_total_size
*; tex_total_size <float>  
: <float> Sprite Scale
: Sprite Scale
* detailOrientation
*; detailOrientation <choices>
: <choices> Detail Orientation
Detail Orientation
:{|
:{|
! Literal Value || Description
! Literal Value || Description
Line 28: Line 28:
|}
|}
[[Category:Entities]]
[[Category:Entities]]
[[Category:Entities without Targetname]]

Revision as of 11:47, 17 April 2008

Template:Wrongtitle

Entity Description

This entity allows for manual insertion of detail sprites into a level.

Template:Intent

Keyvalues

  • position_ul <vec2d>
Upper left X and Y values for the position of the detail in the detail sprite material
  • position_lr <vec2d>
Lower right X and Y values for the position of the detail in the detail sprite material
  • tex_ul <vec2d>
Upper left X and Y values for the texture position of the detail in the detail sprite material
  • tex_size <vec2d>
X and Y values for the displacement from the upper left position of the detail in the detail sprite material"
  • tex_total_size <float>
Sprite Scale
  • detailOrientation <choices>
Detail Orientation
Literal Value Description
0 Static
1 Facing
2 Facing (Y Clamp)