env_credits
Jump to navigation
Jump to search
| CCredits |

env_credits is a logical entity available in all
Source games. This entity is used to control the rolling credits. The text that will be displayed is determined inside the file credits.txt.
CHudCredits not being compiled into the client DLL, or the game may crash from an undefined CreditsMsg user message. (tested in: - For the

Portal series musical credits, use env_portal_credits. - For the

Left 4 Dead series campaign "credits", use env_outtro_stats.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- RollCredits (not in
) - Start the intro credits rolling.
Note:Replaced with env_introcredits entity in
Black Mesa.
- ShowLogo
- Show logo.
- Start (in all games since
) - Start rolling credits.
- SetLogoLength <float>
- Sets the amount of time the logo is displayed. Default is 5.0.
Outputs
- OnCreditsDone
- Fired when the credits having finished rolling.
Files
scripts/credits.txt