Vgui movie display: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Inputs: Added more inputs used in video_splitter.nut)
Line 33: Line 33:
; <code>SetDisplayText <[[string]]></code>
; <code>SetDisplayText <[[string]]></code>
: Sets the display text.
: Sets the display text.
; <code>SetMovie <[[string]]></code>
: Sets the displayed movie.
; <code>SetUseCustomUVs <[[boolean]]></code>
: {{todo}}
; <code>SetUMin <[[float]]></code>
: {{todo}}
; <code>SetUMax <[[float]]></code>
: {{todo}}
; <code>SetVMin <[[float]]></code>
: {{todo}}
; <code>SetVMax <[[float]]></code>
: {{todo}}


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

Revision as of 08:33, 26 April 2011

Template:Portal2 point

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 or target).
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.
Display Text <string>
[Todo]
Movie Filename <string>
Path to the Bink video file, located in "media/"
Group Name <string>
[Todo]
Loop Movie <boolean>
If true, the movie will be played in an endless loop.
Panel width <int>
Width of the panel in units.
Panel height <int>
Height of the panel in units.
stretch <boolean>
[Todo]
forceprecache <boolean>
[Todo]
forcedslave <boolean>
[Todo]

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/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 <stringRedirectInput/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>
[Todo]
SetUMin <float>
[Todo]
SetUMax <float>
[Todo]
SetVMin <float>
[Todo]
SetVMax <float>
[Todo]

Outputs