Env credits: Difference between revisions
Jump to navigation
Jump to search
Bug:The game will crash if an env_credits is attempted to be used without a registered
(Crash bug added, needs to be verified if its not TF2 only) |
(-concise page) |
||
Line 9: | Line 9: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV | {{KV Targetname}} | ||
==Inputs== | ==Inputs== | ||
Line 16: | Line 16: | ||
{{IO|ShowLogo|Show logo.}} | {{IO|ShowLogo|Show logo.}} | ||
{{IO|Start|since=L4D|Start rolling credits.}} | {{IO|Start|since=L4D|Start rolling credits.}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnCreditsDone|Fired when the credits having finished rolling.}} | {{IO|OnCreditsDone|Fired when the credits having finished rolling.}} | ||
[[Category:GUI Entities]] | [[Category:GUI Entities]] |
Revision as of 13:03, 30 October 2022
Template:Base point This entity is used to control the rolling credits. The credits text that's displayed is determined inside the file scripts/credits.txt
see that file for an example of how the script should be laid out.

scripts/credits.txt
file. [todo tested in ?]Keyvalues
- Name (targetname) <string>[ Edit ]
- 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
- Start the intro credits rolling.
- RollOutroCredits
- Start the outro credits rolling.
- ShowLogo
- Show logo.
- Start (in all games since
)
- Start rolling credits.
Outputs
- OnCreditsDone
- Fired when the credits having finished rolling.