Env credits: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Important:the 
 Team Fortress 2 will crash if an env_credits is attempted to be used without a registered 
		
	
Thunder4ik (talk | contribs) m (→File format: Unicodifying, added Empty section (1) tag)  | 
				m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)  | 
				||
| Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}}  | {{Underlinked|date=January 2024}}  | ||
{{lang|Env credits}}  | {{lang|Env credits}}  | ||
[[File:env_credits.png|left]]{{this is a|  | [[File:env_credits.png|left]]{{this is a|point entity|engine=Source|name=env_credits}} This entity is used to control the rolling [[credits]]. The text that will be displayed is determined inside the file <code>scripts/credits.txt</code>.  | ||
{{note|In {{l4ds}}, this entity is drastically different and has ''nothing'' except one input; <code>Start</code>.}}  | {{note|In {{l4ds}}, this entity is drastically different and has ''nothing'' except one input; <code>Start</code>.}}  | ||
Revision as of 15:51, 17 May 2024
This article needs more 
 links to other articles to help 
 integrate it into the encyclopedia. Please help improve this article by adding links 
 that are relevant to the context within the existing text.
January 2024
January 2024
env_credits  is a   point entity  available in all 
 Source games. This entity is used to control the rolling credits. The text that will be displayed is determined inside the file scripts/credits.txt.
Bugs/Limitations
scripts/credits.txt file. Clarify: which games suffer from this other than 
 Team Fortress 2?
 Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
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 logo.
 
- Start   (in all games since 
) - Start rolling credits.
 
Outputs
- OnCreditsDone
 - Fired when the credits having finished rolling.
 
File format
Files
scripts/credits.txt
