env_portal_credits

From Source Entities
Jump to navigation Jump to search

Code classes:

env_portal_credits is a point entity present in both P1.pngP2.pngPortal games. It shows the credits in Portal 1 and 2.

Inputs[edit | edit source]

RollPortalOutroCredits
P1.pngShows Portal's credits, with lyrics to 'Still Alive' and other text-based graphics. Does not play audio.
P2.pngShows 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
P1.pngShows a yellow Valve logo in the bottom left for a few seconds.
P2.pngIdentical to RollPortalOutroCredits.
RollOutroCredits
P1.pngShows a simpler version of the credits which is just scrolling white text with names only.
P2.pngIdentical to RollPortalOutroCredits.
ShowLogo
P1.pngShows the text HALF-LIFE' == episode one== on the left side of the screen.
P2.pngIdentical to RollPortalOutroCredits.
SetLogoLength (Not in FGD) <float>
P1.pngSets how long to show the logo shown by ShowLogo.
P2.pngJust 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.