Game.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 8: Line 8:
[[Category:Source]]
[[Category:Source]]


[[Category:Files]]
[[Category:Plain text files]]
[[Category:Modding]]
[[Category:Modding]]


{{stub}}
{{stub}}
{{orphan}}
{{orphan}}

Revision as of 12:23, 14 June 2023

English (en)Español (es)Translate (Translate)

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"

Stub

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