Wazanator

TF2 gameinfo.txt

Jul 21st, 2019
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "Team Fortress 2"
  4. type multiplayer_only
  5. nomodels 1
  6. nohimodel 1
  7. nocrosshair 0
  8. hidden_maps
  9. {
  10. "test_speakers" 1
  11. "test_hardware" 1
  12. }
  13. nodegraph 0
  14. GameData "tf.fgd"
  15. InstancePath "maps/instances/"
  16. advcrosshair 1
  17. supportsvr 1
  18.  
  19.  
  20. FileSystem
  21. {
  22. SteamAppId 440
  23.  
  24. //
  25. // Setup engine search paths.
  26. //
  27. // If a search path contains "_english", and the current language is not english, then
  28. // another search path will be inserted above the english one by replacing "_english" with
  29. // the appropriate language.
  30. //
  31. // To debug how the engine has parsed this file, type "path" at the console.
  32. //
  33. // Search paths are relative to the base directory, which is where hl2.exe is found.
  34. //
  35. // |gameinfo_path| points at the directory where gameinfo.txt is.
  36. // |all_source_engine_paths| points at the directory cintaining HL2 shared content.
  37. //
  38. SearchPaths
  39. {
  40.  
  41. // First, mount all user customizations. This will search for VPKs and subfolders
  42. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  43. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  44. // folder.
  45. //
  46. // Note that this folder is scanned only when the game is booted.
  47. game+mod+custom_mod tf/custom/*
  48.  
  49. // We search VPK files before ordinary folders, because most files will be found in
  50. // VPK and we can avoid making thousands of file system calls to attempt to open files
  51. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  52. // system call.)
  53. game_lv tf/tf2_lv.vpk
  54. game+mod tf/tf2_textures.vpk
  55. game+mod tf/tf2_sound_vo_english.vpk
  56. game+mod tf/tf2_sound_misc.vpk
  57. game+mod+vgui tf/tf2_misc.vpk
  58. game |all_source_engine_paths|hl2/hl2_textures.vpk
  59. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  60. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  61. game+vgui |all_source_engine_paths|hl2/hl2_misc.vpk
  62. platform+vgui |all_source_engine_paths|platform/platform_misc.vpk
  63.  
  64. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  65. // as the first "mod" search path (after any user customizations). This is also the one
  66. // that's used when writing to the "mod" path.
  67. mod+mod_write+default_write_path |gameinfo_path|.
  68.  
  69. // Add the TF directory as a game search path. This is also where where writes
  70. // to the "game" path go.
  71. game+game_write tf
  72.  
  73. // Where the game's binaries are
  74. gamebin tf/bin
  75.  
  76. // Last, mount in shared HL2 loose files
  77. game |all_source_engine_paths|hl2
  78. platform |all_source_engine_paths|platform
  79.  
  80. // Random files downloaded from gameservers go into a seperate directory, so
  81. // that it's easy to keep those files segregated from the official game files
  82. // or customizations intentially installed by the user.
  83. //
  84. // This directory is searched LAST. If you visit a server and download
  85. // a custom model, etc, we don't want that file to override the default
  86. // game file indefinitely (after you have left the server). Servers CAN have
  87. // custom content that overrides the default game files, it just needs to be
  88. // packed up in the .bsp file so that it will be mounted as a map search pack.
  89. // The map search pack is mounted at the top of the search path list,
  90. // but only while you are connected that server and on that map.
  91. game+download tf/download
  92. }
  93. }
  94.  
  95. ToolsEnvironment
  96. {
  97. "Engine" "Source"
  98. "UseVPLATFORM" "1"
  99. "PythonVersion" "2.7"
  100. "PythonHomeDisable" "1"
  101. }
  102. }
Add Comment
Please, Sign In to add comment