Info overlay: Difference between revisions
m (Updated keyvalues) |
mNo edit summary |
||
Line 8: | Line 8: | ||
{{intent}} | {{intent}} | ||
There can be a max amount of 512 overlays in a single map file. The info_overlays are all packed into a special lump in the BSP file. To enable accesses by name, a [[ | There can be a max amount of 512 overlays in a single map file. The info_overlays are all packed into a special lump in the BSP file. To enable accesses by name, a [[info_overlay_accessor]] entity is created in the compiled map, which translates targetnames to info_overlay ID numbers. | ||
== Distorting overlays == | == Distorting overlays == |
Revision as of 06:02, 8 May 2011
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.
There can be a max amount of 512 overlays in a single map file. The info_overlays are all packed into a special lump in the BSP file. To enable accesses by name, a info_overlay_accessor entity is created in the compiled map, which translates targetnames to info_overlay ID numbers.
Distorting overlays
If the overlay is not yet placed, select the overlay tool and your material, and click where you wish the center of the overlay to be. You should now see 4 white boxes at the edges of the overlay, and you may drag them about to distort it.
If you wish to distort an existing overlay, first select the overlay you wish to edit, and then select the overlay tool. Then you should be able to distort the overlay as described above. If the overlay does not respond, try deleting it and then following the above procedure.
Keyvalues
- Name ([todo internal name (i)]) <targetname>
- Name of the overlay. Used to access the overlay with an env_texturetoggle.