Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. scn NSStormMasterScript
  2.  
  3. float zang
  4. float xang
  5. ref RefsandStorm1
  6. ref RefsandStorm2
  7. ref RefsandStorm3
  8. ref RefsandStorm4
  9. ref RefdustStorm1
  10. ref RefdustStorm2
  11. ref RefdustStorm3
  12. ref RefdustStorm4
  13. ref ReficeStorm1
  14. ref ReficeStorm2
  15. ref ReficeStorm3
  16. ref ReficeStorm4
  17. ref RefToxicStorm1
  18. ref RefToxicStorm2
  19. ref RefToxicStorm3
  20. ref RefToxicStorm4
  21. ref RefBloodStorm1
  22. ref RefBloodStorm2
  23. ref RefBloodStorm3
  24. ref RefBloodStorm4
  25. ref rWeather
  26. short Cleaner
  27.  
  28. Begin GameMode
  29.  
  30. Set rWeather to GetCurrentWeather
  31.  
  32. if ListGetFormIndex SandstormWeather rWeather >= 0
  33. set StormToggle to 1
  34. set Cleaner to 0
  35. Print "Inital"
  36. elseif ListGetFormIndex SandstormToggleWeather rWeather >= 0 && NSLRStorm
  37. set StormToggle to 1
  38. set Cleaner to 0
  39. Print "Inital"
  40. elseif ListGetFormIndex DuststormWeather rWeather >= 0
  41. set StormToggle to 2
  42. set Cleaner to 0
  43. Print "Inital"
  44. elseif ListGetFormIndex icestormweather rWeather >= 0
  45. set StormToggle to 3
  46. set Cleaner to 0
  47. Print "Inital"
  48. elseif ListGetFormIndex Toxicstormweather rWeather >= 0
  49. set StormToggle to 4
  50. set Cleaner to 0
  51. Print "Inital"
  52. elseif ListGetFormIndex Bloodstormweather rWeather >= 0
  53. set StormToggle to 5
  54. set Cleaner to 0
  55. Print "Inital"
  56. else
  57. set StormToggle to 0
  58. set Cleaner to 1
  59. Print "Disable"
  60. endif
  61.  
  62. set RefsandStorm1 to sandStorm1
  63. set RefsandStorm2 to sandStorm2
  64. set RefsandStorm3 to sandStorm3
  65. set RefsandStorm4 to sandStorm4
  66. set RefdustStorm1 to dustStorm1
  67. set RefdustStorm2 to dustStorm2
  68. set RefdustStorm3 to dustStorm3
  69. set RefdustStorm4 to dustStorm4
  70. set ReficeStorm1 to iceStorm1
  71. set ReficeStorm2 to iceStorm2
  72. set ReficeStorm3 to iceStorm3
  73. set ReficeStorm4 to iceStorm4
  74. set ReftoxicStorm1 to toxicStorm1
  75. set ReftoxicStorm2 to toxicStorm2
  76. set ReftoxicStorm3 to toxicStorm3
  77. set ReftoxicStorm4 to toxicStorm4
  78. set RefbloodStorm1 to bloodStorm1
  79. set RefbloodStorm2 to bloodStorm2
  80. set RefbloodStorm3 to bloodStorm3
  81. set RefbloodStorm4 to bloodStorm4
  82.  
  83. if Cleaner || NSPerformance == 3
  84. RefsandStorm1.disable
  85. RefsandStorm1.moveto sandStormhome 0 0 0
  86. RefSandStorm2.disable
  87. RefSandStorm3.disable
  88. RefSandStorm4.disable
  89. RefSandStorm2.moveto SandStormhome 0 0 0
  90. RefSandStorm3.moveto SandStormhome 0 0 0
  91. RefSandStorm4.moveto SandStormhome 0 0 0
  92. RefdustStorm1.disable
  93. RefdustStorm1.moveto dustStormhome 0 0 0
  94. RefdustStorm2.disable
  95. RefdustStorm3.disable
  96. RefdustStorm4.disable
  97. RefdustStorm2.moveto dustStormhome 0 0 0
  98. RefdustStorm3.moveto dustStormhome 0 0 0
  99. RefdustStorm4.moveto dustStormhome 0 0 0
  100. ReficeStorm1.disable
  101. ReficeStorm1.moveto iceStormhome 0 0 0
  102. ReficeStorm2.disable
  103. ReficeStorm3.disable
  104. ReficeStorm4.disable
  105. ReficeStorm2.moveto iceStormhome 0 0 0
  106. ReficeStorm3.moveto iceStormhome 0 0 0
  107. ReficeStorm4.moveto iceStormhome 0 0 0
  108. RefToxicStorm1.disable
  109. RefToxicStorm1.moveto ToxicStormhome 0 0 0
  110. RefToxicStorm2.disable
  111. RefToxicStorm3.disable
  112. RefToxicStorm4.disable
  113. RefToxicStorm2.moveto ToxicStormhome 0 0 0
  114. RefToxicStorm3.moveto ToxicStormhome 0 0 0
  115. RefToxicStorm4.moveto ToxicStormhome 0 0 0
  116. RefbloodStorm1.disable
  117. RefbloodStorm1.moveto bloodStormhome 0 0 0
  118. RefbloodStorm2.disable
  119. RefbloodStorm3.disable
  120. RefbloodStorm4.disable
  121. RefbloodStorm2.moveto bloodStormhome 0 0 0
  122. RefbloodStorm3.moveto bloodStormhome 0 0 0
  123. RefbloodStorm4.moveto bloodStormhome 0 0 0
  124. Print "Home"
  125. endif
  126.  
  127. if NSPerformance == 1
  128. Print "Stage 1"
  129. if StormToggle == 1
  130. Print "Storm 1"
  131. if player.IsInInterior
  132. set Cleaner to 1
  133. SoundSandstormINTRef.disable
  134. SoundSandstormINTRef.moveto Player
  135. SoundSandstormINTRef.enable
  136. else
  137. SoundSandstormINTRef.disable
  138. if getcurrentweatherpercent >= 0.7
  139. RefsandStorm2.disable
  140. RefsandStorm3.disable
  141. RefsandStorm4.disable
  142. RefsandStorm2.moveto player 0 0 -200
  143. RefsandStorm3.moveto player 50 0 -200
  144. RefsandStorm4.moveto player 150 0 -200
  145. RefsandStorm2.enable
  146. RefsandStorm3.enable
  147. RefsandStorm4.enable
  148. endif
  149. endif
  150. elseif StormToggle == 2
  151. Print "Storm 2"
  152. if player.IsInInterior
  153. set Cleaner to 1
  154. SoundSandstormINTRef.disable
  155. SoundSandstormINTRef.moveto Player
  156. SoundSandstormINTRef.enable
  157. else
  158. SoundSandstormINTRef.disable
  159. if getcurrentweatherpercent >= 0.7
  160. RefdustStorm2.disable
  161. RefdustStorm3.disable
  162. RefdustStorm4.disable
  163. RefdustStorm2.moveto player 0 0 -200
  164. RefdustStorm3.moveto player 50 0 -200
  165. RefdustStorm4.moveto player 150 0 -200
  166. RefdustStorm2.enable
  167. RefdustStorm3.enable
  168. RefdustStorm4.enable
  169. endif
  170. endif
  171. elseif StormToggle == 3
  172. Print "Storm 3"
  173. if player.IsInInterior
  174. set Cleaner to 1
  175. SoundIcestormINTRef.disable
  176. SoundIcestormINTRef.moveto Player
  177. SoundIcestormINTRef.enable
  178. else
  179. SoundIcestormINTRef.disable
  180. if getcurrentweatherpercent >= 0.7
  181. ReficeStorm2.disable
  182. ReficeStorm3.disable
  183. ReficeStorm4.disable
  184. ReficeStorm2.moveto player 0 0 -200
  185. ReficeStorm3.moveto player 50 0 -200
  186. ReficeStorm4.moveto player 150 0 -200
  187. ReficeStorm2.enable
  188. ReficeStorm3.enable
  189. ReficeStorm4.enable
  190. endif
  191. endif
  192. elseif StormToggle == 4
  193. Print "Storm 4"
  194. if player.IsInInterior
  195. set Cleaner to 1
  196. SoundToxicstormINTRef.disable
  197. SoundToxicstormINTRef.moveto Player
  198. SoundToxicstormINTRef.enable
  199. else
  200. SoundToxicstormINTRef.disable
  201. if getcurrentweatherpercent >= 0.7
  202. ReftoxicStorm2.disable
  203. ReftoxicStorm3.disable
  204. ReftoxicStorm4.disable
  205. ReftoxicStorm2.moveto player 0 0 -200
  206. ReftoxicStorm3.moveto player 50 0 -200
  207. ReftoxicStorm4.moveto player 150 0 -200
  208. ReftoxicStorm2.enable
  209. ReftoxicStorm3.enable
  210. ReftoxicStorm4.enable
  211. endif
  212. endif
  213. elseif StormToggle == 5
  214. Print "Storm 5"
  215. if player.IsInInterior
  216. set Cleaner to 1
  217. SoundFirestormINTRef.disable
  218. SoundFirestormINTRef.moveto Player
  219. SoundFirestormINTRef.enable
  220. else
  221. SoundFirestormINTRef.disable
  222. if getcurrentweatherpercent >= 0.7
  223. RefbloodStorm2.disable
  224. RefbloodStorm3.disable
  225. RefbloodStorm4.disable
  226. RefbloodStorm2.moveto player 0 0 -200
  227. RefbloodStorm3.moveto player 50 0 -200
  228. RefbloodStorm4.moveto player 150 0 -200
  229. RefbloodStorm2.enable
  230. RefbloodStorm3.enable
  231. RefbloodStorm4.enable
  232. endif
  233. endif
  234. endif
  235. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement