Env credits: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (links)
Line 4: Line 4:
==Entity Description==
==Entity Description==
[[Image:{{PAGENAME}}.png|left]]
[[Image:{{PAGENAME}}.png|left]]
An entity to control the rolling credits. The credis text that's displayed is determined inside credits.txt located in the scripts folder of the game/mod. See source engine.gcf/hl2/scripts/credits.txt for an example of how the script should be layed out.
An [[entity]] to control the rolling [[credits]]. The credis text that's displayed is determined inside credits.txt located in the scripts folder of the game/mod. See source engine.gcf/hl2/scripts/credits.txt for an example of how the script should be layed out.


{{clr}}
{{clr}}

Revision as of 18:33, 27 September 2010

Template:Wrongtitle Template:Base point

Entity Description

Env credits.png

An entity to control the rolling credits. The credis text that's displayed is determined inside credits.txt located in the scripts folder of the game/mod. See source engine.gcf/hl2/scripts/credits.txt for an example of how the script should be layed out.

Availability

Template:In game Template:Game-base In code it is represented by class CCredits, defined in EnvMessage.cpp.

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

Inputs

  • RollCredits
Start the intro credits rolling.
  • RollOutroCredits
Start the outro credits rolling.
  • ShowLogo
Show the HL2 logo.

Outputs

  • OnCreditsDone
Fired when the credits having finished rolling.