Infodecal (GoldSrc): Difference between revisions
Jump to navigation
Jump to search

Important:
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) (→Key Values: infodecal doesn't use angles) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{TabsBar|main=gs|base=Infodecal}} | |||
{{CD|CDecal|goldsrc=1}} | |||
{{this is a|point entity|name=infodecal|engine=GoldSrc}} It is used to place a static [[decal (GoldSrc)|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. | {{this is a|point entity|name=infodecal|engine=GoldSrc}} It is used to place a static [[decal (GoldSrc)|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. | ||
{{important|{{code|infodecal}} ''must'' use {{file|decals|wad}}, and only work on brush textures. See [[Decals (GoldSrc)]] for alternative methods of decaling.}} | {{important|{{code|infodecal}} ''must'' use {{file|decals|wad}}, and only work on brush textures. See [[Decals (GoldSrc)]] for alternative methods of decaling.}} | ||
==Key Values== | ==Key Values== | ||
{{hl1_kv_targetname}} | {{hl1_kv_targetname}} | ||
{{KV|texture|intn=texture|decal|This defines which image from decals.wad will be displayed by the entity.}} | {{KV|texture|intn=texture|decal|This defines which image from decals.wad will be displayed by the entity.}} | ||
== Flags == | == Flags == | ||
{{fl|2048|Not in Deathmatch}} | {{fl|2048|Not in Deathmatch}} | ||
Latest revision as of 18:51, 28 November 2025
| CDecal |
infodecal is a point entity available in all
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.
infodecal must use decals.wad, and only work on brush textures. See Decals (GoldSrc) for alternative methods of decaling.Key Values
- Name (targetname) <string>
- The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
- texture (texture) <decal>
- This defines which image from decals.wad will be displayed by the entity.
Flags
- Not in Deathmatch : [2048]