Env credits: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(updates) |
||
Line 1: | Line 1: | ||
{{base point|env_credits}} | {{lang|Env credits}} | ||
[[File:env_credits.png|left]]{{base point|env_credits}} This entity is used to control the rolling [[credits]]. The credits text that's displayed is determined inside the file <code>scripts/credits.txt</code> see that file for an example of how the script should be laid out. | |||
{{note|In {{l4ds}}, this entity is drastically different and has ''nothing'' except one input; <code>Start</code>.}} | |||
{{code class|CCredits|EnvMessage.cpp}} | {{code class|CCredits|EnvMessage.cpp}} | ||
== Keyvalues == | ==Keyvalues== | ||
{{KV | {{KV BaseEntity|css=1}} | ||
== Inputs == | ==Inputs== | ||
{{IO|RollCredits|Start the intro credits rolling.}} | {{IO|RollCredits|Start the intro credits rolling.}} | ||
{{IO|RollOutroCredits|Start the outro credits rolling.}} | {{IO|RollOutroCredits|Start the outro credits rolling.}} | ||
{{IO|ShowLogo|Show | {{IO|ShowLogo|Show logo.}} | ||
{{I | {{IO|Start|since=L4D|Start rolling credits.}} | ||
{{I BaseEntity|prel4d=1}} | |||
== Outputs == | ==Outputs== | ||
{{IO|OnCreditsDone|Fired when the credits having finished rolling.}} | {{IO|OnCreditsDone|Fired when the credits having finished rolling.}} | ||
{{O | {{O BaseEntity|l4d=1}} | ||
[[Category:GUI Entities]] | [[Category:GUI Entities]] |
Revision as of 10:43, 23 September 2018
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.
Keyvalues
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.