Advertisement
Guest User

Gameinfo

a guest
Oct 14th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. "GameInfo"
  2. {
  3. game "Counter-Strike Source"
  4. title "COUNTER-STRIKE'"
  5. title2 "source"
  6. type multiplayer_only
  7. nomodels 1
  8. nohimodel 1
  9. nocrosshair 0
  10. advcrosshair 3
  11. bots 1
  12. hidden_maps
  13. {
  14. "test_speakers" 1
  15. "test_hardware" 1
  16. }
  17. nodegraph 0
  18.  
  19.  
  20. FileSystem
  21. {
  22. SteamAppId 240 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
  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 cstrike/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+mod cstrike/cstrike_english.vpk
  54. game+mod cstrike/cstrike_pak.vpk
  55.  
  56. game |all_source_engine_paths|hl2/hl2_textures.vpk
  57. game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
  58. game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
  59. game |all_source_engine_paths|hl2/hl2_misc.vpk
  60.  
  61. platform |all_source_engine_paths|platform/platform_misc.vpk
  62.  
  63. // Now search loose files. We'll set the directory containing the gameinfo.txt file
  64. // as the first "mod" search path (after any user customizations). This is also the one
  65. // that's used when writing to the "mod" path.
  66. mod+mod_write+default_write_path |gameinfo_path|.
  67.  
  68. // Add the cstrike directory as a game search path. This is also where where writes
  69. // to the "game" path go.
  70. game+game_write cstrike
  71.  
  72. // Where the game's binaries are
  73. gamebin cstrike/bin
  74.  
  75. // Last, mount in shared HL2 loose files
  76. game |all_source_engine_paths|hl2
  77. platform |all_source_engine_paths|platform
  78.  
  79. // Random files downloaded from gameservers go into a seperate directory, so
  80. // that it's easy to keep those files segregated from the official game files
  81. // or customizations intentially installed by the user.
  82. //
  83. // This directory is searched LAST. If you visit a server and download
  84. // a custom model, etc, we don't want that file to override the default
  85. // game file indefinitely (after you have left the server). Servers CAN have
  86. // custom content that overrides the default game files, it just needs to be
  87. // packed up in the .bsp file so that it will be mounted as a map search pack.
  88. // The map search pack is mounted at the top of the search path list,
  89. // but only while you are connected that server and on that map.
  90. game+download cstrike/download
  91. }
  92. }
  93. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement