Env portal credits: Difference between revisions
Jump to navigation
Jump to search
Bug:If a save is reloaded during the Portal credits, they will turn into regular HL2 style credits. Portal 2 fixes this, but the credits will still restart and desync with the song. [todo tested in ?]
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{this is a|e0|name=env_portal_credits|series=Portal}} | {{this is a|e0|name=env_portal_credits|series=Portal}} This entity controls the rolling credits for Portal and Portal 2. All of the credits data, including the names and song lyrics, is read from the file <code>scripts/credits.txt</code>. | ||
{{bug|If a save is reloaded during the Portal credits, they will turn into regular HL2 style credits. Portal 2 fixes this, but the credits will still restart and desync with the song.}} | |||
{{infotable | {{infotable | ||
Line 8: | Line 10: | ||
|in={{Portal}}{{p2}} | |in={{Portal}}{{p2}} | ||
}} | }} | ||
== Keyvalues == | == Keyvalues == |
Revision as of 13:44, 8 February 2024
env_portal_credits
is an e0 available in Portal series. This entity controls the rolling credits for Portal and Portal 2. All of the credits data, including the names and song lyrics, is read from the file
scripts/credits.txt
.

env_portal_credits | |
---|---|
![]() | |
Type | Point entity |
Engine | ![]() |
Availability | ![]() ![]() |
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 the HL2 logo.
- RollPortalOutroCredits
- Start the Portal greenscreen outro credits.
Outputs
- OnCreditsDone
- Fired when the credits having finished rolling.