env_credits
Jump to navigation
Jump to search
Code classes:
CCreditsCPointEntityCBaseEntity(all ents)
env_credits is a point entity present in all Source games. This entity is used to control the credits that roll at the end of the game. See scripts/credits.txt. This file holds the text that will appear.
Note: This is not used for credits at any point in ![]()
. See env_outtro_stats.
ConVars/Commands[edit | edit source]
| ConVar/Command | Parameters or default value | Parameter Type | Effect |
|---|---|---|---|
creditsdone | | Finds an env_credits or env_portal_credits and forces it to fire OnCreditsDone. Not required for credit sequences. Normally executed automatically. |
Inputs[edit | edit source]
- RollCredits
- Makes the intro credits (like in
d1_trainstation_01
) begin rolling. Not available in 
. - RollOutroCredits
- Makes the ending credits being rolling. Not available in

. - ShowLogo
- Show the game's logo. Not available in

. To do: Where is that logo file stored? - SetLogoLength (Not in FGD)
<float> - Sets how long the logo appears for. Not available in

. - Start (Not in FGD) (only available in

) - To do: Description.