Info projecteddecal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (spotted a typo)
(Cleanup)
Line 1: Line 1:
{{base_point}} It projects a [[decal]] 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.
{{base_point|info_projecteddecal}} It projects a [[decal]] 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.  
 
See also [[Decals]].


== Keyvalues ==
== Keyvalues ==
 
{{KV|texture|decal|The image to apply as a decal. }}
*'''texture'''
{{KV|Distance|float|Maximum distance from the origin to project the decal.}}
:<decal> The image to apply as a decal.
{{KV Angles}}
*'''Distance'''
{{KV Targetname}}
:<float> Maximum distance from the entity to project the decal.
*{{KV Targetname}}
*{{KV Angles}}


== Inputs ==
== Inputs ==
 
{{IO|Activate|Force the decal to apply itself to the world.}}
*'''Activate'''
{{I Targetname}}
:Force the decal to apply itself to the world.
*{{I Targetname}}


== Outputs ==
== Outputs ==
{{O Targetname}}


*{{O Targetname}}
== See also ==
 
* [[Decals]]
{{wrongtitle|title=info_projecteddecal}}

Revision as of 09:18, 26 July 2011

Template:Base point It projects a decal 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.

Keyvalues

texture ([todo internal name (i)]) <decal>
The image to apply as a decal.
Distance ([todo internal name (i)]) <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.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Activate
Force the decal to apply itself to the world.


Outputs

See also