env_credits
Jump to navigation
Jump to search
Class hierarchy |
---|
CCredits |
EnvMessage.cpp |
env_credits
is a point 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 scripts/credits.txt
.
Note:In use env_outtro_stats. This entity is drastically different and has nothing except one input;
Start
.
Bugs/Limitations
Important:the Team Fortress 2 will crash if an env_credits is attempted to be used without a registered
scripts/credits.txt
file. Clarify: which games suffer from this other than Team Fortress 2?
Keyvalues
- Name (targetname) <string>
- 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 (not in )
- Start the intro credits rolling.
- Note:Replaced with env_introcredits entity in Black Mesa.
- ShowLogo
- Show logo.
- SetLogoLength <float>
- Sets the amount of time the logo is displayed. Default is 5.0.
Outputs
- OnCreditsDone
- Fired when the credits having finished rolling.
File format
Files
scripts/credits.txt