Info overlay accessor: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'func_overlay_accessor entities only exist in compiled BSP files, and map targetnames to ID numbers of info_overlays, which are stored in a separate lump in the BSP file.') |
No edit summary |
||
(13 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Ent not in fgd|nolink=1|because=it is automatically created by [[VBSP]]}} | |||
{{CD|CInfoOverlayAccessor|file1=info_overlay_accessor.cpp}} | |||
{{CD|client=1|C_InfoOverlayAccessor|base=C_BaseEntity|file1=c_info_overlay_accessor.cpp}} | |||
{{this is a|logical entity|name=info_overlay_accessor}} It only exists in compiled [[BSP]] files, and maps [[targetname]]s to ID numbers of [[info_overlay]]s, which are stored in a separate lump in the BSP file. Unnamed overlays do not have accessors added for them. | |||
== Keyvalues == | |||
{{KV Targetname}} | |||
{{KV|Overlay ID|intn=OverlayID|integer|Which index in the overlay lump to associate with this entity's targetname.}} | |||
== See also == | |||
* {{ent|env_texturetoggle}} | |||
* {{ent|material_modify_control}} |
Latest revision as of 10:13, 6 May 2025

![]() |
---|
CInfoOverlayAccessor |
![]() |
![]() |
---|
C_InfoOverlayAccessor |
![]() |
info_overlay_accessor
is a logical entity available in all 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
ortarget
).
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.