Soulreaper099

FastDlServer

Feb 3rd, 2012
111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local b = { .svn = true }
  2. function resource.AddDir( dir )
  3. local l = file.FindDir( Format( "%s/*", dir ), true )
  4. for i, d in pairs( l ) do
  5. if not b[ d ] then resource.AddDir( Format( "%s/%s", dir, d ) ) end
  6. end
  7. local f = file.Find( Format( "%s/*", dir ), true )
  8. for i, fn in pairs( f ) do
  9. AddDir("scripts/propdata")
  10. AddDir("scripts/sounds")
  11. AddDir("scripts/surfaceproperties")
  12. AddDir("scripts/vehicles")
  13. AddDir("scripts/weapons")
  14. AddDir("settings/controls")
  15. AddDir("settings/maps")
  16. AddDir("settings/render_targets")
  17. AddDir("settings/spawnlist")
  18. AddDir("skintemplates")
  19. AddDir("Extras")
  20. AddDir("data/Adv_duplicator")
  21. AddDir("data/CPUChip")
  22. AddDir("data/Expression2")
  23. AddDir("data/ExpressionGate")
  24. AddDir("data/GPUChip")
  25. AddDir("data/SPUChip")
  26. AddDir("data/VehController")
  27. AddDir("data/WireModelPacks")
  28. resource.AddFile("data/wire_version.txt")
  29. resource.AddFile("data/smartsnap_default_offsets.txt")
  30. resource.AddFile("data/motd.txt")
  31. resource.AddFile("data/motd.html")
  32. AddDir("lua/autorun")
  33. AddDir("lua/client")
  34. AddDir("lua/effects")
  35. AddDir("lua/entities")
  36. AddDir("lua/lua")
  37. AddDir("lua/materials")
  38. AddDir("lua/PerimeterTurrets")
  39. AddDir("lua/playx")
  40. AddDir("lua/scripts")
  41. AddDir("lua/settings")
  42. AddDir("lua/sound")
  43. AddDir("lua/weapons")
  44. AddDir("lua/wire")
  45. resource.AddFile("lua/evocity2_resources.lua")
  46. resource.AddFile("lua/sv_classmaker.lua")
  47. resource.AddFile("lua/playxlib.lua")
  48. AddDir("sound/arty")
  49. AddDir("sound/instruments")
  50. AddDir("sound/player")
  51. AddDir("sound/Radio_Mod_Sounds")
  52. AddDir("sound/synth")
  53. AddDir("sound/vehicles")
  54. AddDir("sound/weapons")
  55. AddDir("materials/arrowwire")
  56. AddDir("materials/beer")
  57. AddDir("materials/bull")
  58. AddDir("materials/Cable")
  59. AddDir("materials/combatmodels")
  60. AddDir("materials/cyborgmatt")
  61. AddDir("materials/decals")
  62. AddDir("materials/engine")
  63. AddDir("materials/expression 2")
  64. AddDir("materials/gui")
  65. AddDir("materials/highs")
  66. AddDir("materials/Holograms")
  67. AddDir("materials/hudindicator")
  68. AddDir("materials/icons")
  69. AddDir("materials/ipha")
  70. AddDir("materials/jaanus")
  71. AddDir("materials/katharsmodels")
  72. AddDir("materials/killa-x")'
  73. AddDir("materials/killicons")
  74. AddDir("materials/kobilica")
  75. AddDir("materials/maps")
  76. AddDir("materials/models")
  77. AddDir("materials/sgtsicktextures")
  78. AddDir("materials/smile")
  79. AddDir("materials/sprites")
  80. AddDir("materials/thrusteraddon")
  81. AddDir("materials/tile")
  82. AddDir("materials/venompapa")
  83. AddDir("materials/wingf0x")
  84. resource.AddFile("materials/bluredges.vmt")
  85. resource.AddFile("materials/bluredges.vtf")
  86. resource.AddFile("materials/dummy_texture.vmt")
  87. resource.AddFile("materials/egon_refract.vtf")
  88. resource.AddFile("materials/egon_middlebeam.vmt")
  89. resource.AddFile("materials/egon_ringbeam.vmt")
  90. resource.AddFile("materials/info.txt")
  91. resource.AddFile("materials/laser.vtf")
  92. resource.AddFile("materials/refract_ring.vtf")
  93. resource.AddFile("materials/refract_ring.vmt")
  94. resource.AddFile("materials/tripmine_laser.vmt")
  95. resource.AddFile("materials/wirelogo.vmt")
  96. resource.AddFile("materials/wirelogo.vtf")
  97. AddDir("models/baton")
  98. AddDir("models/beer")
  99. AddDir("models/blacknecro")
  100. AddDir("models/bull")
  101. AddDir("models/Characters")
  102. AddDir("models/cheeze")
  103. AddDir("models/Cloud")
  104. AddDir("models/combatmodels")
  105. AddDir("models/cs_market2")
  106. AddDir("models/cyborgmatt")
  107. AddDir("models/drug_mod")
  108. AddDir("models/env")
  109. AddDir("models/expression 2")
  110. AddDir("models/hammy")
  111. AddDir("models/highrise")
  112. AddDir("models/holograms")
  113. AddDir("models/humans")
  114. AddDir("models/intro")
  115. AddDir("models/ipha")
  116. AddDir("models/jaanus")
  117. AddDir("models/katharsmodels")
  118. AddDir("models/killa-x")
  119. AddDir("models/kobilica")
  120. AddDir("models/madjawa")
  121. AddDir("models/marioragdoll")
  122. AddDir("models/nypdhat")
  123. AddDir("models/player")
  124. AddDir("models/props_general")
  125. AddDir("models/smile")
  126. AddDir("models/tdmcars")
  127. AddDir("models/toronto")
  128. AddDir("models/u4lab")
  129. AddDir("models/vehicles")
  130. AddDir("models/venompapa")
  131. AddDir("models/weapons")
  132. AddDir("models/wingf0x")
  133. AddDir("models/yellowlake")
  134. resource.AddFile("models/betam01_soldier.mdl")
  135. resource.AddFile("models/biopolice.mdl")
  136. resource.AddFile("models/boxopencigshib.mdl")
  137. resource.AddFile("models/boxopenshib.mdl")
  138. resource.AddFile("models/C08Cop.mdl")
  139. resource.AddFile("models/closedboxshib.mdl")
  140. resource.AddFile("models/cocn.mdl")
  141. resource.AddFile("models/combine_infantry.mdl")
  142. resource.AddFile("models/combine_opad.mdl")
  143. resource.AddFile("models/combine_pilot.mdl")
  144. resource.AddFile("models/combine_fodder.mdl")
  145. resource.AddFile("models/combine_ranger.mdl")
  146. resource.AddFile("models/combine_urban.mdl")
  147. resource.AddFile("models/combine_urban2.mdl")
  148. resource.AddFile("models/copcar.mdl")
  149. resource.AddFile("models/copcarru.mdl")
  150. resource.AddFile("models/cremator.mdl")
  151. resource.AddFile("models/e3assassin.mdl")
  152. resource.AddFile("models/e3combine_pguard.mdl")
  153. resource.AddFile("models/e3combine_shotgunner.mdl")
  154. resource.AddFile("models/enforcer.mdl")
  155. resource.AddFile("models/gdub.mdl")
  156. resource.AddFile("models/Kass.mdl")
  157. resource.AddFile("models/led.mdl")
  158. resource.AddFile("models/led2.mdl")
  159. resource.AddFile("models/leet_police_bt.mdl")
  160. resource.AddFile("models/leet_police2.mdl")
  161. resource.AddFile("models/metrold.mdl")
  162. resource.AddFile("models/pissedmeoff.mdl")
  163. resource.AddFile("models/police_female.mdl")
  164. resource.AddFile("models/policetrench.mdl")
  165. resource.AddFile("models/Redice.mdl")
  166. resource.AddFile("models/Rolice.mdl")
  167. resource.AddFile("models/segment.mdl")
  168. resource.AddFile("models/segment2.mdl")
  169. resource.AddFile("models/segment3.mdl")
  170. resource.AddFile("models/tribal.mdl")
  171. end
  172. end
RAW Paste Data