Env credits: Difference between revisions
Jump to navigation
Jump to search
m (links) |
(Cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{base point|env_credits}} | ||
==Entity description== | |||
[[Image:{{PAGENAME}}.png|left|link=]] | |||
An [[entity]] to control the rolling [[credits]]. The credits text that's displayed is determined inside credits.txt located in the scripts folder of the game/mod. See <code>source engine.gcf/hl2/scripts/credits.txt</code> for an example of how the script should be layed out. | |||
{{clr}} | {{clr}} | ||
==Availability== | ==Availability== | ||
{{in game|point}} {{game-base}} | {{in game|point}} {{game-base}} | ||
==Keyvalues== | {{code class|CCredits|EnvMessage.cpp}} | ||
== Keyvalues == | |||
{{KV Targetname}} | |||
== Inputs == | |||
{{IO|RollCredits|Start the intro credits rolling.}} | |||
{{IO|RollOutroCredits|Start the outro credits rolling.}} | |||
{{IO|ShowLogo|Show the HL2 logo.}} | |||
{{I Targetname}} | |||
== | == Outputs == | ||
{{IO|OnCreditsDone|Fired when the credits having finished rolling.}} | |||
{{O Targetname}} | |||
[[Category:GUI Entities]] | |||
: |
Revision as of 01:01, 17 June 2011
Entity description

An entity to control the rolling credits. The credits 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
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
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.