Game.txt: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
	 
	
		
	
| No edit summary |  (Rewrite Template:Lang to Template:LanguageBar) | ||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar|noborder=true|Game.txt|$title=<code>game.txt</code>}} | ||
| The [[game.txt]] file is located in the scripts directory. It defines the variable <code>$game</code>, which is later used in [[another script file]]{{clarify}} that names the interface. | The [[game.txt]] file is located in the scripts directory. It defines the variable <code>$game</code>, which is later used in [[another script file]]{{clarify}} that names the interface. | ||
| Line 8: | Line 8: | ||
| [[Category:Source]] | [[Category:Source]] | ||
| [[Category: | [[Category:Plain text files]] | ||
| [[Category:Modding]] | [[Category:Modding]] | ||
| {{stub}} | {{stub}} | ||
| {{orphan}} | {{orphan}} | ||
Latest revision as of 16:01, 18 July 2025
The game.txt file is located in the scripts directory. It defines the variable $game, which is later used in another script file[Clarify] that names the interface.
For an HL2MP mod, the default content is:
// Game specific definitions "$game" "HL2MP"

This article is an orphan, meaning that few or no articles link to it.
You can help by adding links to this article from other relevant articles.
 adding links to this article from other relevant articles.  
 
You can help by
 adding links to this article from other relevant articles.
 adding links to this article from other relevant articles.  
























