Vgui movie display: Difference between revisions
Jump to navigation
Jump to search
m (Implemented some templates) |
(Updated with data from the official portal2.fgd) |
||
Line 6: | Line 6: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV Angles}} | |||
{{KV Parentname}} | {{KV Parentname}} | ||
{{KV|Display Text|string}} | {{KV|Display Text|string}} | ||
{{KV|Movie Filename|string | {{KV|Movie Filename|string}} | ||
{{KV|Group Name|string}} | {{KV|Group Name|string}} | ||
{{KV|Loop Movie|boolean| | {{KV|Loop Movie|boolean}} | ||
{{KV|Stretch to Fill|boolean}} | |||
{{KV|Forced slave|boolean}} | |||
{{KV|Force precache|boolean|Precache the movie referred to by Movie Filename on entity spawn.}} | |||
{{KV|Panel width|integer|Width of the panel in units.}} | {{KV|Panel width|integer|Width of the panel in units.}} | ||
{{KV|Panel height|integer|Height of the panel in units.}} | {{KV|Panel height|integer|Height of the panel in units.}} | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{I Parentname}} | {{I Parentname}} | ||
{{ | {{IO|Enable|Make movie visible.}} | ||
{{IO|Disable|Make movie invisible.}} | |||
{{IO|SetDisplayText|Sets the display text.|param=string}} | {{IO|SetDisplayText|Sets the display text.|param=string}} | ||
{{IO|SetMovie|Sets the | {{IO|SetMovie|Sets the movie to display.|param=string}} | ||
{{IO|SetUseCustomUVs|param= | {{IO|SetUseCustomUVs|Use custom UVs.|param=bool}} | ||
{{IO|SetUMin|param=float}} | {{IO|TakeOverAsMaster|Start using this video as the master of it's group.}} | ||
{{IO|SetUMax|param=float}} | {{IO|SetUMin|Set the minimum U.|param=float}} | ||
{{IO|SetVMin|param=float}} | {{IO|SetUMax|Set the maximum U.|param=float}} | ||
{{IO|SetVMax|param=float}} | {{IO|SetVMin|Set the minimum V.|param=float}} | ||
{{IO|SetVMax|Set the maximum V.|param=float}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 02:44, 11 May 2011
Entity description
This entity is used to display Bink videos on a wall.
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
- 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.
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- Force precache ([todo internal name (i)]) <boolean>
- Precache the movie referred to by Movie Filename on entity spawn.
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Enable
- Make movie visible.
- Disable
- Make movie invisible.
- SetDisplayText <string >
- Sets the display text.
- SetMovie <string >
- Sets the movie to display.
- SetUseCustomUVs <boolean >
- Use custom UVs.
- TakeOverAsMaster
- Start using this video as the master of it's group.
- SetUMin <float >
- Set the minimum U.
- SetUMax <float >
- Set the maximum U.
- SetVMin <float >
- Set the minimum V.
- SetVMax <float >
- Set the maximum V.