Info projecteddecal: Difference between revisions
Jump to navigation
Jump to search
Important:This is a preserved entity in 




.
If the game has round restart mechanics this entity may not behave as expected:
Bug:This entity marked as preserved is most likely a mistake because decals it places are dynamic which don't stay between round restarts making the entity effectively usable only by vscript [todo tested in ?]
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-bug, note, see also) |
||
Line 2: | Line 2: | ||
{{this is a|point entity|name=info_projecteddecal}} It projects a dynamic [[decal]] (same type of decal as bullet holes, blood splatter etc.) onto anything capable of receiving one. If it has no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the '''Activate''' input. | {{this is a|point entity|name=info_projecteddecal}} It projects a dynamic [[decal]] (same type of decal as bullet holes, blood splatter etc.) onto anything capable of receiving one. If it has no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the '''Activate''' input. | ||
{{PreservedEnt|info_projecteddecal}} | {{PreservedEnt|info_projecteddecal}} | ||
{{bug|This entity marked as preserved is most likely a mistake because decals it places are dynamic which don't stay between round restarts making the entity effectively usable only by vscript}} | |||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
:{{note|Unnamed info_projecteddecal applies the decal right after spawning and then removes itself.}} | |||
{{KV|texture|intn=texture|decal|The image to apply as a decal. }} | {{KV|texture|intn=texture|decal|The image to apply as a decal. }} | ||
{{KV|Distance|intn=Distance|float|Maximum distance from the origin to project the decal.}} | {{KV|Distance|intn=Distance|float|Maximum distance from the origin to project the decal.}} | ||
Line 13: | Line 15: | ||
== See also == | == See also == | ||
* {{ent|infodecal}} | |||
* [[Decals]] | * [[Decals]] |
Revision as of 18:59, 22 June 2024
![]() |
---|
CProjectedDecal |
![]() |
info_projecteddecal
is a point entity available in all Source games. It projects a dynamic decal (same type of decal as bullet holes, blood splatter etc.) onto anything capable of receiving one. If it has no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the Activate input.







If the game has round restart mechanics this entity may not behave as expected:
|

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
Note:Unnamed info_projecteddecal applies the decal right after spawning and then removes itself.
- texture (texture) <decal>
- The image to apply as a decal.
- Distance (Distance) <float>
- Maximum distance from the origin to project the decal.
- 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.
Inputs
- Activate
- Force the decal to apply itself to the world and removes itself.