Colour of the icon, with an optional colorblind variant. Used when TeamOverride has no colour for the team.
GameEntityIconData
Shared - used by classes in UI and HUD, Scripting and sequences and Game objects and entities.
Class Documentation
Edit documentationThe look of the minimap icon of a map entity: a texture, a colour and a size, with
replacements for each team and for colorblind mode. When the object loads, the client
registers it by ID.
The client applies the icon data to an entity's icon when the icon is created (see 0x313c0076), and again when a camp changes the icon. To pick the texture and the colour, the client:
- derives a key from the team of the entity;
- looks the key up in the
texturesandcolorsmaps ofTeamOverride; - falls back to
textureandColorifTeamOverridehas no entry for the key.
If the client's colorblind mode is on, it uses ColorblindTexturePath and
colorblindColor of the chosen entries.
Properties
ID
Hash = "0x0" Key under which the client registers the icon data when it loads. What looks icons up by this key was not identified.
MinScale
F32 = 0 The client does not read it when it applies the icon data.
Size
Vec2 = [0, 0] Size of the icon. The client multiplies it by a global icon scale.
Textures and colours for each team key. An entry replaces texture or Color for entities of that team.
maxScale
F32 = 0 The client does not read it when it applies the icon data.
Texture of the icon, with a colorblind variant. Used when TeamOverride has no texture for the team.