Wazanator

gameinfo.txt 2013mp

Aug 8th, 2018
2,161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "MyMod"
  4. title "My Mod"
  5. title2 "Hello World"
  6. type multiplayer_only
  7. nomodels 0
  8. nohimodel 1
  9. nocrosshair 1
  10. hidden_maps
  11. {
  12. "test_speakers" 1
  13. "test_hardware" 1
  14. }
  15. supportsvr 1
  16.  
  17.  
  18. FileSystem
  19. {
  20. SteamAppId 243750
  21.  
  22. //
  23. // The code that loads this file automatically does a few things here:
  24. //
  25. // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
  26. // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
  27. // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
  28. // 3. For the first "Game" search path, it adds a search path called "MOD".
  29. // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
  30. //
  31.  
  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. // We always want to mount that directory relative to gameinfo.txt, so
  37. // people can mount stuff in c:\mymod, and the main game resources are in
  38. // someplace like c:\program files\valve\steam\steamapps\half-life 2.
  39. //
  40. SearchPaths
  41. {
  42. // First, mount all user customizations. This will search for VPKs and subfolders
  43. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  44. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  45. // folder.
  46. //
  47. // Note that this folder is scanned only when the game is booted.
  48. game+mod |gameinfo_path|custom/*
  49.  
  50. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  51. // as the first "mod" search path (after any user customizations). This is also the one
  52. // that's used when writing to the "mod" path.
  53. game+mod+mod_write+default_write_path |gameinfo_path|.
  54. gamebin |gameinfo_path|bin
  55.  
  56. // We search VPK files before ordinary folders, because most files will be found in
  57. // VPK and we can avoid making thousands of file system calls to attempt to open files
  58. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  59. // system call.)
  60. game_lv |all_source_engine_paths|hl2/hl2_lv.vpk
  61. game+mod |all_source_engine_paths|hl2mp/hl2mp_english.vpk
  62. game+mod |all_source_engine_paths|hl2mp/hl2mp_pak.vpk
  63. game |all_source_engine_paths|hl2/hl2_english.vpk
  64. game |all_source_engine_paths|hl2/hl2_pak.vpk
  65. game |all_source_engine_paths|hl2/hl2_textures.vpk
  66. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  67. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  68. game |all_source_engine_paths|hl2/hl2_misc.vpk
  69. platform |all_source_engine_paths|platform/platform_misc.vpk
  70.  
  71. // Add the HL2 directory as a game search path. This is also where where writes
  72. // to the "game" path go.
  73. game+game_write hl2mp
  74.  
  75. // Where the game's binaries are
  76. //gamebin hl2mp/bin
  77.  
  78. // Last, mount in shared HL2 loose files
  79. game |all_source_engine_paths|hl2mp
  80. game |all_source_engine_paths|hl2
  81. platform |all_source_engine_paths|platform
  82. }
  83. }
  84. }
Advertisement
Add Comment
Please, Sign In to add comment