env_portal_credits
Jump to navigation
Jump to search
Code classes:
CPortalCredits
CPointEntity
CBaseEntity
(all ents)
env_portal_credits
is a point entity present in both Portal games. It shows the credits in Portal 1 and 2.
Inputs[edit | edit source]
- RollPortalOutroCredits
- Shows Portal's credits, with lyrics to 'Still Alive' and other text-based graphics. Does not play audio.
- Shows Portal 2's credit sequence (the portion of the ending sequence immediately after seeing the shed door shut). This does not play the song 'Want You Gone', but shows the lyrics for it both on-screen and in captions. Disconnects player when done.
- RollCredits
- Shows a yellow Valve logo in the bottom left for a few seconds.
- Identical to RollPortalOutroCredits.
- RollOutroCredits
- Shows a simpler version of the credits which is just scrolling white text with names only.
- Identical to RollPortalOutroCredits.
- ShowLogo
- Shows the text
HALF-LIFE' == episode one==
on the left side of the screen. - Identical to RollPortalOutroCredits.
- SetLogoLength (Not in FGD)
<float>
- Sets how long to show the logo shown by ShowLogo.
- Just makes ShowLogo not work.
Outputs[edit | edit source]
OnCreditsDone- Does not fire. In Portal, Valve fired another input 185 seconds after rolling the credits, instead of fixing a simple one-line mistake.