home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / global / ambience.scr < prev    next >
Encoding:
Text File  |  2002-10-21  |  8.2 KB  |  238 lines

  1. //
  2. // global ambience script
  3. // used for easy placement of ambient sounds
  4.  
  5. ambience:
  6. if(level.script == "maps/room1.scr")
  7. {
  8. //thread sound ( 24 64 16 ) cricket
  9. }
  10. if(level.script == "maps/traf.scr")
  11. {
  12. //thread sound ( 2462 -6696 -95.88 ) cricket
  13. }
  14. if(level.script == "maps/t1l1.scr")
  15. {
  16. thread sound ( -3175 5139 -6999 ) cricket4 
  17. thread sound ( -3386 5631 -7127 ) stream1
  18. thread sound ( -4463 6023 -7127 ) stream1
  19. thread sound ( -1782 5733 -7128 ) stream1
  20. thread sound ( -3024 1165 -6851 ) wind_trees7 
  21. thread sound ( -1919 1000 -6859 ) wind_trees7 
  22. thread sound ( -2497 1069 316 ) wind_trees7
  23. thread sound ( -2222 -778 430 ) wind_trees7
  24. thread sound ( -2360 -782 -6771 ) wind_trees7
  25. thread sound ( -3020 -737 -6726 ) wind_trees7
  26. thread sound ( -1491 711 -6812 ) cricket5
  27. thread sound ( -2089 -361 -6739 ) cricket5
  28. thread sound ( -237 -2150 -6736 ) wind_trees7
  29. }
  30. if(level.script == "maps/t1l2.scr")
  31. {
  32. //thread sound ( 1689 -5055 123 ) cricket1
  33. thread sound ( 1731 -5170 138 ) cricket4
  34. thread sound ( -5525 1231 4 ) cricket5
  35. thread sound ( -4041 5081 -15 ) cricket4
  36. thread sound ( 2387 4949 17 ) cricket4
  37. thread sound ( 5265 -54 -247 ) river1
  38. thread sound ( 4425 83 -207 ) river1
  39. thread sound ( 4529 -2959 -153 ) river2
  40. thread sound ( 4272 4048 -247) river1
  41. thread sound ( -780 144 -35 ) stream
  42. thread sound ( 635 -88 -30 ) stream
  43. thread sound ( 2340 -32 -34 ) stream
  44. thread sound ( -5556 890 -56 ) stream
  45. thread sound ( -2935 261 -63 ) stream
  46. thread sound ( -4952 1800 -55 ) basement_water1
  47. thread sound ( 1675 -4292 54 ) wind_trees7
  48. thread sound ( -3381 -1648 -11 ) wind_trees5
  49. thread sound ( -3106 -2928 -19 ) Wind_trees6
  50. thread sound ( -3965 5062 -15 ) wind_trees6
  51. }
  52. if(level.script == "maps/t1l3.scr")
  53. {
  54. //thread sound ( -868 -4832 -95 ) river3
  55. thread sound ( -2856 -860 30 ) wind_trees5
  56. thread sound ( -1379 -714 18 ) cricket4
  57. thread sound ( -1124 685 1 ) cricket4 
  58. thread sound ( 1252 1835 1 ) cricket4
  59. thread sound ( 1325 943 1 ) cricket4
  60. thread sound ( 2808 1756 1 ) cricket3
  61. thread sound ( 2587 2991 1 ) cricket3
  62. thread sound ( 2037 3242 1 ) cricket3
  63. thread sound ( 3081 -2247 119 ) Cricket4
  64. thread sound ( -877 2375 1 ) wind_trees7
  65. thread sound ( -684 3288 1 ) wind_trees7
  66. thread sound ( -1494 3279 1 ) wind_trees6
  67. thread sound ( 1039 987 1 ) wind_trees6
  68. thread sound ( 2025 1417 -9 ) wind_trees6
  69. thread sound ( 3143 -3945 -90 ) river2
  70. thread sound ( 3168 -5345 -90 ) river2
  71. thread sound ( 3223 -7118 -90 ) river2
  72. thread sound ( 104 4485 21 ) fire_med
  73. }
  74. if(level.script == "maps/t2l1.scr")
  75. {
  76. thread sound ( 6478 4644 1920 ) fireplace
  77. thread sound ( 6155 5671 1904 ) radio_loop
  78. }
  79. if(level.script == "maps/t2l2.scr")
  80. {
  81. //thread sound ( 4123 4331 1907 ) wind_weak
  82. }
  83. if(level.script == "maps/t2l3.scr")
  84. {
  85. //thread sound ( -869 -2088 47 ) river
  86. //thread sound ( -118 1974 -31 ) wind_trees8
  87. thread sound ( 2144 -439 2.13 ) fire_small
  88. }
  89. if(level.script == "maps/t2l4.scr")
  90. {
  91. //thread sound ( -1255 -6718 23 ) wind_trees9
  92. //thread sound ( 1173 -6831 -3 ) wind_trees9
  93. //thread sound ( -3505 -3550 13 ) wind_trees8
  94. //thread sound ( -4093 -1627 50 ) wind_trees8
  95. //thread sound ( -1647 -3704 90 ) wind_trees8
  96. //thread sound ( -9 -3760 114 ) wind_trees8
  97. //thread sound ( 1320 -2976 63 ) wind_trees8
  98. //thread sound ( 2068 -4018 95 ) wind_trees8
  99. //thread sound ( -2029 -2718 43 ) wind_trees8
  100. }
  101. if(level.script == "maps/t3l1.scr") 
  102. {
  103. thread sound ( 2837 3350 -159 ) rain_plant1
  104. thread sound ( 3549 1418 -150 ) rain_plant1
  105. thread sound ( 4039 1146 -139 ) rain_plant1
  106. thread sound ( 4390 924 -105 ) rain_plant1
  107. thread sound ( 4934 2179 -159 ) rain_plant1
  108. thread sound ( 4598 2649 -159 ) rain_plant1
  109. thread sound ( 5948 -5223 24 ) rain_plant1
  110. thread sound ( 5353 -6071 24 ) rain_plant1
  111. thread sound ( 4769 -6374 24 ) rain_plant1
  112. thread sound ( -3315 -5077 384 ) rain_ext1
  113. thread sound ( -4088 -3876 192 ) rain_ext1
  114. }
  115. if(level.script == "maps/t3l2.scr")
  116. {
  117. //thread sound ( -4028 -3895 107.29 ) rain_puddle
  118. }
  119. //DM levels start
  120. if(level.script == "maps/dm/MP_Stadt_DM.scr")
  121. {
  122. thread sound ( -2792 406 8 ) Cricket4
  123. thread sound ( -902 98 1 ) wind_trees7
  124. thread sound ( -116 2171 180 ) wind_trees7
  125. //thread sound ( -1884 -1174 -345 ) basement_water2
  126. //thread sound ( -1870 -139 -345 ) basement_water2
  127. //thread sound ( -1873 309 -345 ) basement_water2
  128. //thread sound ( -1519 -40 -345 ) basement_water2
  129. //thread sound ( -1079 -190 -345 ) basement_water2
  130. //thread sound ( -1080 315 -345 ) basement_water2
  131. //thread sound ( -859 705 -345 ) basement_water2
  132. //thread sound ( -1090 910 -345 ) basement_water2
  133. //thread sound ( -1082 1406 -345 ) basement_water2
  134. //thread sound ( -1100 1829 -345 ) basement_water2
  135. //thread sound ( -1634 1870 -345 ) basement_water2
  136. }
  137. if(level.script == "maps/dm/mp_brest_dm.scr")
  138. {
  139. //thread sound ( 1664 3632 280 ) cricket4
  140. //thread sound ( 1126 3670 270 ) fire_med1
  141. //thread sound ( 1419 4805 261 ) fire_small1
  142. //thread sound ( 2729 6077 261 ) fire_large1
  143. //thread sound (352 2267 392 ) fire_med1
  144. }
  145. if(level.script == "maps/dm/mp_unterseite_dm.scr")
  146. {
  147. thread sound ( -211 200 225 ) cricket5
  148. thread sound ( 496 1038 127 ) cricket3
  149. thread sound ( -274 256 226 ) wind_trees4
  150. thread sound ( 950 1962 171 ) wind_trees5 
  151. thread sound ( 1140 295 -27 ) wind_trees5 
  152. thread sound ( -124 1829 -27 ) wind_trees6
  153. thread sound ( 576 2153 -27 ) wind_trees6
  154. thread sound ( 1146 1822 -27 ) wind_trees6
  155. thread sound ( 1326 635 -27 ) wind_trees6
  156. thread sound ( 656 875 77 ) wind_trees4
  157. thread sound ( -1154 1652 124 ) spark
  158. thread sound ( 869 1295 208 ) fire_med2
  159. }
  160. if(level.script == "maps/DM/MP_Gewitter_DM.scr")
  161. {
  162. thread sound ( 1119 768 8 ) cricket4
  163. thread sound ( 512 763 98 ) fire_small
  164. }
  165. if(level.script == "maps/dm/MP_Holland_DM.scr")
  166. {
  167. thread sound ( -2945 -2882 48 ) cricket6
  168. thread sound ( -3777 -1858 255 ) cricket6
  169. thread sound ( -2571 -2895 10 ) wind_trees4
  170. thread sound ( -2457 -3776 -4 ) wind_trees7
  171. thread sound ( -1420 -2976 12 ) wind_trees7
  172. thread sound ( -1901 -2451 -191) river4
  173. thread sound ( -1958 -929 -191 ) river4
  174. thread sound ( -1918 -1816 -192 ) basement_water1
  175. thread sound ( -1840 60 -192 ) river4
  176. thread sound ( 4269 -760 -143 ) river4
  177. thread sound ( 4132 -1694 -143 ) river4
  178. thread sound ( 3914 -2337 -143 ) river4
  179. thread sound ( 3323 -2666 -143 ) river4
  180. thread sound ( 2390 -2826 -143 ) river4
  181. thread sound ( 1073 -3080 -143 ) river4
  182. thread sound ( -761 -1451 16 ) wind_trees7
  183. thread sound ( -216 -860 16 ) wind_trees7
  184. thread sound ( -767 -295 16 ) wind_trees7
  185. thread sound ( -115 -2596 1 ) wind_trees4 
  186. }
  187. if(level.script == "maps/dm/MP_Malta_DM.scr")
  188. {
  189. thread sound ( 848 1632 -1407 ) cricket4
  190. }
  191. //DM levels end obj levels start
  192. if(level.script == "maps/obj/MP_Druckkammern_TOW.scr")
  193. {
  194. thread sound ( 8 -1753 -511 ) waves
  195. thread sound ( -2063 -2380 -475 ) waves
  196. thread sound ( 3246 320 -511 ) waves
  197. thread sound ( 866 1328 -475 ) waves
  198. thread sound ( 2316 2032 -515 ) waves
  199. thread sound ( -1289 -2516 -449 ) rain_ext2
  200. thread sound ( 1136 -4020 -511 ) rain_ext2
  201. thread sound ( 3695 363 -511 ) rain_ext2
  202. thread sound ( 3939 1507 -511 ) rain_ext2
  203. //thread sound ( 2645 -1163 -620 ) river3
  204. //thread sound ( 2555 -6021 -620 ) river3
  205. //thread sound ( 4386 -1010 -685 ) river3
  206. }
  207. if(level.script == "maps/obj/MP_Ardennes_TOW.scr")
  208. {
  209. thread sound ( 180 889 -12 ) wind_trees5
  210. thread sound ( -166 2659 29 ) wind_trees7
  211. thread sound ( -453 2478 -10 ) wind_trees7
  212. thread sound ( 311 3400 46 ) wind_trees7
  213. thread sound ( 1915 2356 -31 ) wind_trees7
  214. thread sound ( 1704 -2134 293 ) wind_trees7
  215. thread sound ( -3458 -2198 345 ) wind_trees7
  216. thread sound ( 388 -2927 82 ) wind_trees7
  217. thread sound ( -1158 -4213 91 ) wind_trees7
  218. thread sound ( -1914 -3661 329 ) wind_trees7
  219. thread sound ( 3464 -20 -19 ) wind_weak1
  220. thread sound ( 1038 229 592 ) wind_weak1
  221. thread sound ( -72 218 416 ) wind_weak1
  222. thread sound ( -1866 -405 34 ) wind_trees5
  223. }
  224. if(level.script == "maps/obj/MP_Flughafen_TOW.scr")
  225. {
  226. thread sound ( -1309 2625 -23 ) cricket4
  227. thread sound ( -548 2144 -686 ) sub_idle2
  228. //thread sound ( -935 2410 -697 ) power_generator
  229. thread sound ( 44 2439 -695 ) power_generator
  230. }
  231. end
  232.  
  233. sound local.origin local.sound:
  234.     local.soundorigin = spawn script_model model "fx/dummy.tik"
  235.     local.soundorigin.origin = local.origin
  236.     local.soundorigin loopsound local.sound
  237.     local.soundorigin notsolid
  238. end