This article's documentation is for the "GoldSrc" engine. Click here for more information.

infodecal

From Valve Developer Community
Revision as of 09:25, 21 May 2024 by SirYodaJedi (talk | contribs) (replace inaccurate copy pasted explanation from Sorse)
Jump to navigation Jump to search

infodecal is a point entity available in all GoldSrc GoldSrc games. It is used to place a static decal in a map. It is the entity created when the Decal tool is used. It places a texture on any brush, with the first 255 colors in the palette being used to determine alpha, and the last color being used to determine color.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
texture (texture) <decal>
This defines which image from decals.wad will be displayed by the entity.

Flags

Not in Deathmatch : [2048]