Game.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{stub}}
{{stub}}
The '''game.txt''' file is located in the scripts directory. It defines the variable '''$game'''.
The '''game.txt''' file is located in the scripts directory. It defines the variable '''$game''' wich is later used in another script file wich names the interface.


For a HL2MP mod the default content is:
For a HL2MP mod the default content is:
  // Game specific definitions
  // Game specific definitions
  "$game" "HL2MP"
  "$game" "HL2MP"

Revision as of 13:18, 3 August 2006

Stub

This article or section is a stub. You can help by expanding it.

The game.txt file is located in the scripts directory. It defines the variable $game wich is later used in another script file wich names the interface.

For a HL2MP mod the default content is:

// Game specific definitions
"$game"	"HL2MP"