Advertisement
Guest User

Slums 2 - Half-Life 2: Episode Two mod

a guest
Dec 22nd, 2013
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1.  
  2. "GameInfo"
  3. {
  4. game "Slums 2: Extended"
  5. title ""
  6. title2 ""
  7.  
  8. type singleplayer_only
  9.  
  10. developer "Diolator"
  11. developer_url "http://www.moddb.com/members/diolator"
  12. icon "resource/icon"
  13.  
  14. FileSystem
  15. {
  16. SteamAppId 420 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
  17.  
  18. //
  19. // The code that loads this file automatically does a few things here:
  20. //
  21. // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
  22. // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
  23. // For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
  24. // 3. For the first "Game" search path, it adds a search path called "MOD".
  25. // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
  26. //
  27.  
  28. //
  29. // Search paths are relative to the base directory, which is where hl2.exe is found.
  30. //
  31. // |gameinfo_path| points at the directory where gameinfo.txt is.
  32. // We always want to mount that directory relative to gameinfo.txt, so
  33. // people can mount stuff in c:\mymod, and the main game resources are in
  34. // someplace like c:\program files\valve\steam\steamapps\half-life 2.
  35. //
  36. SearchPaths
  37. {
  38. // First, mount all user customizations. This will search for VPKs and subfolders
  39. // and mount them in alphabetical order. The easiest way to distribute a mod is to
  40. // pack up the custom content into a VPK. To "install" a mod, just drop it in this
  41. // folder.
  42. //
  43. // Note that this folder is scanned only when the game is booted.
  44. game+mod |gameinfo_path|.
  45. platform |gameinfo_path|.
  46.  
  47. // We search VPK files before ordinary folders, because most files will be found in
  48. // VPK and we can avoid making thousands of file system calls to attempt to open files
  49. // in folders where they don't exist. (Searching a VPK is much faster than making an operating
  50. // system call.)
  51. game_lv hl2/hl2_lv.vpk
  52. game+mod ep2/ep2_english.vpk
  53. game+mod ep2/ep2_pak.vpk
  54. game |all_source_engine_paths|episodic/ep1_english.vpk
  55. game |all_source_engine_paths|episodic/ep1_pak.vpk
  56. game |all_source_engine_paths|hl2/hl2_english.vpk
  57. game |all_source_engine_paths|hl2/hl2_pak.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 |all_source_engine_paths|hl2/hl2_misc.vpk
  62. platform |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 HL2 directory as a game search path. This is also where where writes
  70. // to the "game" path go.
  71. game+game_write |gameinfo_path|.
  72.  
  73. // Where the game's binaries are
  74. gamebin episodic/bin
  75.  
  76. // Last, mount in shared HL2 loose files
  77. game |all_source_engine_paths|episodic
  78. game |all_source_engine_paths|hl2
  79. platform |all_source_engine_paths|platform
  80. }
  81. }
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement