Game.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (typo)
Line 1: Line 1:
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.
The '''game.txt''' file is located in the scripts directory. It defines the variable '''$game''' wich is later used in another script file which 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 14:18, 3 August 2006

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

For a HL2MP mod the default content is:

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