Info overlay: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: - selecting multiple faces)
Line 1: Line 1:
{{wrongtitle|title=info_overlay}}
{{wrongtitle|title=info_overlay}}
==Entity Description==
==Entity Description==
The info_overlay entity is automatically placed when you use the [[Hammer Overlay Tool]]. The overlay is a more powerful version of a standard decal; it can be resized, rotated, and scaled. Overlays can also be placed on displacements, where decals can't.
The info_overlay entity is automatically placed when you use the [[Hammer Overlay Tool]]. The '''sides''' keyvalue is automatically set when placed in this manner. If you need the overlay to span multiple faces, open the overlay's properties in SmartEdit mode, choose '''Brush Faces''' and then Ctrl-Click in the camera window to add more faces.
 
The overlay is a more powerful version of a standard decal: it can be resized, rotated, and scaled. Overlays can also be placed on displacements, where decals can't.


{{intent}}
{{intent}}

Revision as of 13:02, 2 May 2006

Template:Wrongtitle

Entity Description

The info_overlay entity is automatically placed when you use the Hammer Overlay Tool. The sides keyvalue is automatically set when placed in this manner. If you need the overlay to span multiple faces, open the overlay's properties in SmartEdit mode, choose Brush Faces and then Ctrl-Click in the camera window to add more faces.

The overlay is a more powerful version of a standard decal: it can be resized, rotated, and scaled. Overlays can also be placed on displacements, where decals can't.

Template:Intent

Availability

Template:In game Template:Game-base

Keyvalues

  • material
The material to overlay.
  • sides
(sidelist) Faces on which the overlay will be applied.
  • RenderOrder
(integer) Higher values render after lower values. This value can be 0–3.
  • StartU, EndU, StartV, EndV
(float) Texture coordinates
  • BasisOrigin
(Vector) Overlay Basis Origin (Read-Only)
  • BasisU
(Vector) Overlay Basis U (Read-Only)
  • BasisV
(Vector) Overlay Basis V (Read-Only)
  • BasisNormal
(Vector) Overlay Basis Normal (Read-Only)
  • uv0, uv1, uv2, uv3
(vector) Overlay Points (Read-Only)