Env credits: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: Added short info)
(→‎Availability: Removed dead links)
Line 10: Line 10:
==Availability==
==Availability==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
{{in code|class=class_c_credits.html CCredits|file=_env_message_8cpp-source.html EnvMessage.cpp}}
In code it is represented by class CCredits, defined in EnvMessage.cpp.


==Keyvalues==
==Keyvalues==

Revision as of 13:13, 15 December 2008

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

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.