Advertisement
Guest User

Untitled

a guest
Jul 17th, 2014
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. <ItemType UNID="&itSun;"
  2. name= "Fire Spell"
  3. level= "10"
  4. value= "0"
  5. mass= "4000"
  6. frequency= "uncommon"
  7. modifiers= "MajorItem; SolarReactor; NotForSale;"
  8.  
  9. description= "A short range, high powered beam saber. Be careful of explosions."
  10. >
  11. <Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96"/>
  12. <Weapon
  13. type= "particles"
  14.  
  15. damage= "plasma:50; mining2; WMD4"
  16. fireRate= "30"
  17. missileSpeed= "30"
  18. lifetime= "40"
  19. powerUse= "2000"
  20.  
  21. particleCount= "500"
  22. particleSpreadAngle="1"
  23. particleSplashChance="50"
  24. sound= "&snRecoillessCannon;"
  25. >
  26.  
  27. <Effect>
  28. <Particle
  29. style= "flame"
  30. minWidth= "3"
  31. maxWidth= "3-7"
  32. />
  33. </Effect>
  34. </Weapon>
  35. <Events>
  36. <OnFireWeapon>
  37. (block Nil
  38. (sysCreateWeaponFire (itmGetType gItem) gSource aFirePos aFireAngle (typGetDataField (itmGetType gItem) 'speed) aTargetObj)
  39. (for i 0 (random 10 15) (block Nil
  40. (sysCreateWeaponFire &itSun2; gSource aFirePos aFireAngle (subtract (typGetDataField (itmGetType gItem) 'speed) i) aTargetObj)
  41. ))
  42. )
  43. </OnFireWeapon>
  44. </Events>
  45. </ItemType>
  46. <ItemType UNID="&itSun2;"
  47. name= "Beam Saber"
  48. level= "10"
  49. value= "0"
  50. mass= "4000"
  51. frequency= "uncommon"
  52. modifiers= "MajorItem; SolarReactor; NotForSale;"
  53.  
  54. description= "A short range, high powered beam saber. Be careful of explosions."
  55. >
  56. <Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96"/>
  57. <Weapon
  58. type= "particles"
  59.  
  60. damage= "plasma:50; mining2; WMD4"
  61. lifetime= "300"
  62. fireRate= "30"
  63. missileSpeed= "30"
  64. accelerationFactor= "10"
  65. powerUse= "2000"
  66.  
  67. particleCount= "500"
  68. particleSpreadAngle="1"
  69. particleSplashChance="50"
  70. sound= "&snRecoillessCannon;"
  71. >
  72.  
  73. <Effect>
  74. <Particle
  75. style= "flame"
  76. minWidth= "3"
  77. maxWidth= "3-7"
  78. />
  79. </Effect>
  80. </Weapon>
  81. </ItemType>
  82. <ItemType UNID="&itStationFireWall;"
  83. name= "Fire Spell"
  84. level= "10"
  85. value= "0"
  86. mass= "4000"
  87. frequency= "uncommon"
  88. modifiers= "MajorItem; SolarReactor; NotForSale;"
  89.  
  90. description= "A short range, high powered beam saber. Be careful of explosions."
  91. >
  92. <Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96"/>
  93. <Weapon
  94. type= "particles"
  95.  
  96. damage= "plasma:50; mining2; WMD4"
  97. fireRate= "30"
  98. missileSpeed= "30"
  99. lifetime= "40"
  100. powerUse= "2000"
  101. interaction= "100"
  102.  
  103. particleCount= "500"
  104. particleSpreadAngle="1"
  105. particleSplashChance="50"
  106. sound= "&snRecoillessCannon;"
  107. >
  108.  
  109. <Effect>
  110. <Particle
  111. style= "flame"
  112. minWidth= "3"
  113. maxWidth= "3-7"
  114. />
  115. </Effect>
  116. </Weapon>
  117. <Events>
  118. <OnFireWeapon>
  119. (block Nil
  120. (for i 0 (random 10 15) (block Nil
  121. (sysCreateWeaponFire &itSun2; gSource aFirePos aFireAngle (subtract (typGetDataField (itmGetType gItem) 'speed) i) aTargetObj)
  122. ))
  123. )
  124. </OnFireWeapon>
  125. </Events>
  126. </ItemType>
  127. <ItemType UNID="&itfireWall;"
  128. name= "Fire Wall"
  129. level= "10"
  130. value= "0"
  131. mass= "4000"
  132. frequency= "uncommon"
  133. modifiers= "MajorItem; SolarReactor; NotForSale;"
  134.  
  135. description= "Fire Wall staff."
  136. >
  137. <Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96"/>
  138. ;repeating= "75"
  139. <Weapon
  140. type= "particles"
  141.  
  142. damage= "plasma:50; mining2; WMD4"
  143. lifetime= "70"
  144. fireRate= "30"
  145. missileSpeed= "10"
  146. powerUse= "2000"
  147.  
  148. particleCount= "500"
  149. particleSpreadAngle="1"
  150. particleSplashChance="50"
  151. sound= "&snRecoillessCannon;"
  152. >
  153. <Configuration aimTolerance="5">
  154. <Shot posAngle="350" posRadius="60" angle="90"/>
  155. <Shot posAngle="10" posRadius="60" angle="270"/>
  156. </Configuration>
  157.  
  158. <Effect>
  159. <Particle
  160. style= "flame"
  161. minWidth= "3"
  162. maxWidth= "3-7"
  163. />
  164. </Effect>
  165. </Weapon>
  166. <Events>
  167. <OnFireWeapon>
  168. (block (fire)
  169. (setq Fire (SysCreateStation &stFireLocation; (ObjGetPos gSource)))
  170. (ObjSetData Fire "Facing" (shpGetDirection gSource))
  171. )
  172. </OnFireWeapon>
  173. </Events>
  174. </ItemType>
  175. <StationType UNID="&stFireLocation;"
  176. name= "(planet label)"
  177. sovereign= "&svIndependent;"
  178. mass= "5000"
  179.  
  180. stealth= "100"
  181. >
  182. <Image imageID="&rsStations1;" imageX="0" imageY="668" imageWidth="1" imageHeight="1"/>
  183. <Events>
  184. <OnCreate>
  185. (block Nil
  186. (sysAddObjRecurringTimerEvent 5 gSource "FireWall")
  187. (sysAddObjTimerEvent 150 gSource "ded")
  188. )
  189. </OnCreate>
  190. <FireWall>
  191. (block Nil
  192. (setq shotObj (sysCreateWeaponFire &itStationFireWall; gSource aFirePos (add (ObjGetData gSource "Facing") 90) 20 Nil))
  193. (setq shotObj (sysCreateWeaponFire &itStationFireWall; gSource aFirePos (subtract (ObjGetData gSource "Facing") 90) 20 Nil))
  194. )
  195. </FireWall>
  196. <ded>
  197. (ObjDestroy gSource)
  198. </ded>
  199. </Events>
  200. </StationType>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement