This article's documentation is for anything that uses the Source engine. Click here for more information.

env_credits

From Valve Developer Community
Jump to: navigation, search
Underlinked - Logo.png
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
English (en)русский (ru)中文 (zh)
... Icon-Important.png
Env credits.png

env_credits is a point entity available in all Source 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.pngNote:In Left 4 Dead series, this entity is drastically different and has nothing except one input; Start.


In code, it is represented by theCCreditsclass, defined in theEnvMessage.cppfile.

Bugs/Limitations

Icon-Important.pngImportant:the Team Fortress 2 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 Team Fortress 2?

Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

RollCredits
Start the intro credits rolling.
RollOutroCredits
Start the outro credits rolling.
ShowLogo
Show logo.
Start  (in all games since Left 4 Dead)
Start rolling credits.

Outputs

OnCreditsDone
Fired when the credits having finished rolling.

File format

Empty

This article or section is empty. You can help by adding it.

Files

  1. scripts/credits.txt


Stub

This article or section is a stub. You can help by adding to it.