Vgui movie display: Difference between revisions
Jump to navigation
Jump to search
m (→Inputs: Added more inputs used in video_splitter.nut) |
m (Implemented some templates) |
||
Line 1: | Line 1: | ||
{{portal2 point|vgui_movie_display}} | {{portal2 point|vgui_movie_display}} | ||
==Entity | ==Entity description== | ||
This entity is used to display Bink videos on a wall. | This entity is used to display Bink videos on a wall. | ||
Line 8: | Line 8: | ||
{{KV Parentname}} | {{KV Parentname}} | ||
{{KV Angles}} | {{KV Angles}} | ||
{{KV|Display Text|string}} | |||
{{KV|Movie Filename|string|Path to the Bink video file, located in "media/"}} | |||
{{KV|Group Name|string}} | |||
{{KV|Loop Movie|boolean|If true, the movie will be played in an endless loop.}} | |||
{{KV|Panel width|integer|Width of the panel in units.}} | |||
{{KV|Panel height|integer|Height of the panel in units.}} | |||
{{KV|Stretch|boolean}} | |||
{{KV|Force precache|boolean}} | |||
{{KV|Forced slave|boolean}} | |||
==Inputs== | ==Inputs== | ||
Line 31: | Line 22: | ||
{{I Parentname}} | {{I Parentname}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{IO|SetDisplayText|Sets the display text.|param=string}} | |||
{{IO|SetMovie|Sets the displayed movie.|param=string}} | |||
{{IO|SetUseCustomUVs|param=boolean}} | |||
{{IO|SetUMin|param=float}} | |||
{{IO|SetUMax|param=float}} | |||
{{IO|SetVMin|param=float}} | |||
{{IO|SetVMax|param=float}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 14:51, 3 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
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.
- 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.
- Loop Movie ([todo internal name (i)]) <boolean>
- If true, the movie will be played in an endless loop.
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.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- SetDisplayText <string >
- Sets the display text.
- SetMovie <string >
- Sets the displayed movie.
- SetUseCustomUVs <boolean >
- SetUMin <float >
- SetUMax <float >
- SetVMin <float >
- SetVMax <float >