This article's documentation is for anything that uses the Source engine. Click here for more information.

Info overlay accessor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
{{KV|Overlay ID|intn=OverlayID|integer|Which index in the overlay lump to associate with this entity's targetname.}}
{{KV|Overlay ID|intn=OverlayID|integer|Which index in the overlay lump to associate with this entity's targetname.}}
== See also ==
== See also ==
* [[env_texturetoggle]]
* {{ent|env_texturetoggle}}
* {{ent|material_modify_control}}

Revision as of 19:43, 27 April 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it is automatically created by VBSP.
C++ Class hierarchy
CInfoOverlayAccessor
CPointEntity
CBaseEntity
C++ info_overlay_accessor.cpp

info_overlay_accessor is a point entity available in all Source Source games. It only exists in compiled BSP files, and maps targetnames to ID numbers of info_overlays, which are stored in a separate lump in the BSP file. Unnamed overlays do not have accessors added for them.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Overlay ID (OverlayID) <integer>
Which index in the overlay lump to associate with this entity's targetname.

See also