Game.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (two of them in fact)
mNo edit summary
Line 1: Line 1:
cabobocg
The '''game.txt''' file is located in the scripts directory. It defines the variable '''$game''' which is later used in another script file which names the interface.
The '''game.txt''' file is located in the scripts directory. It defines the variable '''$game''' which is later used in another script file which names the interface.



Revision as of 20:04, 1 October 2007

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

For a HL2MP mod the default content is:

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