env_portal_credits
Jump to navigation
Jump to search
![]() |
---|
CPortalCredits |
![]() |
env_portal_credits
is a logical entity available in Portal series. This entity controls the rolling credits for the
Portal series. All of the credits data, including the names and song lyrics, is read from the file scripts/credits.txt.
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.
- SetLogoLength !FGD
- Meant to be used with ShowLogo, it sets the duration for the logo to stay on the screen. It will also show the
HL2 logo on top of the
Episode One logo.
Outputs
- OnCreditsDone
- Fired when the credits having finished rolling.