Advertisement
Wazanator

nmrihgameinfo.txt

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