Info overlay: Difference between revisions
Jump to navigation
Jump to search
(→Entity Description: - selecting multiple faces) |
|||
Line 3: | Line 3: | ||
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 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 | The overlay is a more powerful version of a standard decal: it can be resized, rotated, scaled, and distorted. Overlays can also be placed on displacements, where decals can't. | ||
{{intent}} | {{intent}} |
Revision as of 17:43, 6 March 2007
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, scaled, and distorted. Overlays can also be placed on displacements, where decals can't.
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)