weapons.xml 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!--
  3. Copyright (c) 2003-onwards Shaven Puppy Ltd
  4. All rights reserved.
  5. Redistribution and use in source and binary forms, with or without
  6. modification, are permitted provided that the following conditions are
  7. met:
  8. * Redistributions of source code must retain the above copyright
  9. notice, this list of conditions and the following disclaimer.
  10. * Redistributions in binary form must reproduce the above copyright
  11. notice, this list of conditions and the following disclaimer in the
  12. documentation and/or other materials provided with the distribution.
  13. * Neither the name of 'Shaven Puppy' nor the names of its contributors
  14. may be used to endorse or promote products derived from this software
  15. without specific prior written permission.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  17. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  18. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  20. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  22. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  23. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  24. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  25. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. -->
  28. <!-- Weapons -->
  29. <resources>
  30. <!-- Load all the tags -->
  31. <include resource="tags.xml" />
  32. <property key="red_hue" value="1.0" />
  33. <property key="red_hue_end" value="1.0" />
  34. <property key="red_color" value="255,0,0,120" />
  35. <property key="orange_hue" value="0.08" />
  36. <property key="orange_hue_end" value="0.01" />
  37. <property key="orange_color" value="255,114,0,100" />
  38. <property key="yellow_hue" value="0.17" />
  39. <property key="yellow_hue_end" value="0.11" />
  40. <property key="yellow_color" value="255,222,0,80" />
  41. <property key="green_hue" value="0.22" />
  42. <property key="green_hue_end" value="0.3" />
  43. <property key="green_color" value="175,255,0,60" />
  44. <property key="green_color_soft" value="175,255,0,20" />
  45. <property key="cyan_hue" value="0.44" />
  46. <property key="cyan_hue_end" value="0.53" />
  47. <property key="cyan_color" value="0,255,200,120" />
  48. <property key="purple_hue" value="0.77" />
  49. <property key="purple_hue_end" value="0.75" />
  50. <property key="purple_color" value="150,0,255,120" />
  51. <property key="purple_color_soft" value="150,0,255,40" />
  52. <property key="gidrah_hue" value="0.85" />
  53. <property key="gidrah_hue_end" value="0.75" />
  54. <weapon
  55. name="miniblaster.weapon.spec"
  56. sound="miniblaster.buffer"
  57. firerate="30,240"
  58. />
  59. <bullet name="miniblaster.bullet" speed="5" damage="2" stun="0" blaster="true" mini="true" range="32"/>
  60. <weapon
  61. name="miniheavyblaster.weapon.spec"
  62. sound="miniheavyblaster.buffer"
  63. firerate="30,240"
  64. />
  65. <bullet name="miniheavyblaster.bullet" speed="4" damage="6" ap="3" stun="4" blaster="true" mini="true" range="32"/>
  66. <weapon
  67. name="miniblastcannon.weapon.spec"
  68. sound="miniblastcannon.buffer"
  69. firerate="120,450"
  70. />
  71. <bullet name="miniblastcannon.bullet" speed="4" damage="8" ap="4" stun="8" blaster="true" mini="true" range="32"/>
  72. <weapon
  73. name="turret.weapon.spec"
  74. minFireRate="6"
  75. minReloadSpeed="60"
  76. maxCoolingTowers="4"
  77. maxBatteries="4"
  78. maxReactors="4"
  79. maxAutoloaders="4"
  80. />
  81. <weapon
  82. name="blaster.weapon.spec"
  83. inherit="turret.weapon.spec"
  84. firerate="24"
  85. fireRatePerCoolingTower="6"
  86. magazine="10"
  87. ammoPerBattery="8"
  88. reloadSpeed="600"
  89. reloadPerReloader="60"
  90. danger="0"
  91. >
  92. <sounds>
  93. <array>
  94. <item>blaster1.buffer</item>
  95. <item>blaster2.buffer</item>
  96. <item>blaster3.buffer</item>
  97. <item>blaster4.buffer</item>
  98. <item>blaster5.buffer</item>
  99. </array>
  100. </sounds>
  101. </weapon>
  102. <bullet name="blaster.bullet" speed="10" damage="4" stun="2" blaster="true"/>
  103. <weapon
  104. name="heavyblaster.weapon.spec"
  105. inherit="turret.weapon.spec"
  106. firerate="24"
  107. fireRatePerCoolingTower="6"
  108. magazine="8"
  109. ammoPerBattery="7"
  110. reloadSpeed="600"
  111. reloadPerReloader="60"
  112. danger="1"
  113. >
  114. <sounds>
  115. <array>
  116. <item>heavyBlaster1.buffer</item>
  117. <item>heavyBlaster2.buffer</item>
  118. <item>heavyBlaster3.buffer</item>
  119. <item>heavyBlaster4.buffer</item>
  120. <item>heavyBlaster5.buffer</item>
  121. </array>
  122. </sounds>
  123. </weapon>
  124. <bullet name="heavyblaster.bullet" speed="9" damage="6" ap="4" stun="4" blaster="true"/>
  125. <weapon
  126. name="blastcannon.weapon.spec"
  127. inherit="turret.weapon.spec"
  128. sound="blastCannon.buffer"
  129. firerate="24"
  130. fireRatePerCoolingTower="6"
  131. magazine="6"
  132. ammoPerBattery="6"
  133. reloadSpeed="600"
  134. reloadPerReloader="60"
  135. danger="2"
  136. />
  137. <bullet name="blastcannon.bullet" speed="8" damage="8" ap="8" stun="8" blaster="true" />
  138. <weapon
  139. name="multiblaster.weapon.spec"
  140. inherit="turret.weapon.spec"
  141. sound="multiblaster.buffer"
  142. firerate="180"
  143. fireRatePerCoolingTower="90"
  144. magazine="20"
  145. ammoPerBattery="10"
  146. reloadSpeed="1200"
  147. reloadPerReloader="150"
  148. danger="1"
  149. />
  150. <bullet name="multiblaster.bullet" speed="10" damage="4" stun="2" blaster="true"/>
  151. <instance
  152. name="shotgun.weapon.spec"
  153. class="worm.weapons.ShotgunFeature"
  154. sound="shotgun.buffer"
  155. numpellets="5"
  156. spread="0.35"
  157. fireRate="18"
  158. fireRatePerCoolingTower="3"
  159. magazine="7"
  160. ammoPerBattery="5"
  161. reloadSpeed="900"
  162. reloadPerReloader="120"
  163. danger="1"
  164. minFireRate="6"
  165. minReloadSpeed="60"
  166. maxCoolingTowers="4"
  167. maxBatteries="4"
  168. maxReactors="4"
  169. maxAutoloaders="4"
  170. />
  171. <bullet
  172. name="shotgun.bullet"
  173. speed="13,15"
  174. baseSpeed="13.0"
  175. damage="4"
  176. stun="20"
  177. ap="0"
  178. deceleration="0.5"
  179. />
  180. <instance
  181. name="assault.weapon.spec"
  182. class="worm.weapons.ShotgunFeature"
  183. sound="assault.buffer"
  184. numpellets="7"
  185. spread="0.45"
  186. fireRate="18"
  187. fireRatePerCoolingTower="3"
  188. magazine="6"
  189. ammoPerBattery="4"
  190. reloadSpeed="1200"
  191. reloadPerReloader="150"
  192. heavyWeapon="true"
  193. danger="2"
  194. minFireRate="6"
  195. minReloadSpeed="60"
  196. maxCoolingTowers="4"
  197. maxBatteries="4"
  198. maxReactors="4"
  199. maxAutoloaders="4"
  200. />
  201. <bullet name="assault.bullet" speed="13,15" baseSpeed="13.0" damage="8" passthrough="false" stun="30" deceleration="0.5"/>
  202. <weapon
  203. name="rocket.weapon.spec"
  204. inherit="turret.weapon.spec"
  205. sound="rocket.buffer"
  206. firerate="15"
  207. fireRatePerCoolingTower="2"
  208. locked="true"
  209. magazine="5"
  210. ammoPerBattery="2"
  211. reloadSpeed="1800"
  212. reloadPerReloader="150"
  213. heavyWeapon="true"
  214. danger="3"
  215. />
  216. <bullet
  217. name="rocket.bullet"
  218. speed="5"
  219. damage="24"
  220. exploding="true"
  221. detonationSound="bombDetonated.buffer"
  222. deceleration="-0.35"
  223. stun="20"
  224. targeted="true"
  225. />
  226. <!-- Gidrah weapons -->
  227. <weapon
  228. name="gidrah.weapon.small.spec"
  229. sound="gidrah.small.weapon.buffer"
  230. firerate="1200,1800"
  231. />
  232. <bullet
  233. name="gidrah.bullet.small.spec"
  234. speed="3.5"
  235. damage="2"
  236. />
  237. <weapon
  238. name="gidrah.weapon.fast"
  239. inherit="gidrah.weapon.small"
  240. firerate="600,1800"
  241. />
  242. <weapon
  243. name="gidrah.weapon.large.spec"
  244. sound="gidrah.large.weapon.buffer"
  245. firerate="600,7200"
  246. />
  247. <bullet
  248. name="gidrah.bullet.large.spec"
  249. speed="1"
  250. damage="2"
  251. exploding="true"
  252. detonationSound="bombDetonated.buffer"
  253. targeted="true"
  254. />
  255. <instance
  256. name="gidrah.weapon.boss.spec"
  257. class="worm.weapons.DisruptorFeature"
  258. sound="bossDisruptor.buffer"
  259. fireRate="60"
  260. minRadius="120"
  261. maxRadius="120"
  262. duration="25"
  263. damage="4"
  264. strobe="255,255,255,255"
  265. texture="titan-boss-disruptor.texture"
  266. emitter="titan.boss.disruptor.emitter"
  267. />
  268. <!-- GENERIC BULLET GLOWS AND BACKGROUNDS -->
  269. <animation name="bulletglow.animation">
  270. <random>
  271. <dest seq="1"/>
  272. <dest seq="3"/>
  273. <dest seq="5"/>
  274. <dest seq="7"/>
  275. <dest seq="8"/>
  276. </random>
  277. <alpha alpha="+-10"/>
  278. <goto seq="9"/>
  279. <alpha alpha="+-20"/>
  280. <goto seq="9"/>
  281. <alpha alpha="+-30"/>
  282. <goto seq="9"/>
  283. <alpha alpha="+-40"/>
  284. <random>
  285. <dest seq="9"/>
  286. <dest seq="11"/>
  287. <dest seq="13"/>
  288. <dest seq="15"/>
  289. <dest seq="16"/>
  290. </random>
  291. <scale scale="+0.05"/>
  292. <goto seq="16"/>
  293. <scale scale="+0.1"/>
  294. <goto seq="16"/>
  295. <goto seq="16"/>
  296. <scale scale="+-0.1"/>
  297. </animation>
  298. <animation name="bulletglow.flicker.animation">
  299. <random>
  300. <dest seq="1"/>
  301. <dest seq="6"/>
  302. <dest seq="11"/>
  303. <dest seq="16"/>
  304. <dest seq="21"/>
  305. </random>
  306. <alpha alpha="+-60"/>
  307. <scale scale="+0.3" d="2"/>
  308. <alpha alpha="+60"/>
  309. <scale scale="+-0.3"/>
  310. <goto seq="0"/>
  311. <alpha alpha="+-40"/>
  312. <scale scale="+0.2" d="2"/>
  313. <alpha alpha="+40"/>
  314. <scale scale="+-0.2"/>
  315. <goto seq="0"/>
  316. <alpha alpha="+-20"/>
  317. <scale scale="+0.1" d="2"/>
  318. <alpha alpha="+20"/>
  319. <scale scale="+-0.1"/>
  320. <goto seq="0"/>
  321. <alpha alpha="+20"/>
  322. <scale scale="+-0.1" d="2"/>
  323. <alpha alpha="+-20"/>
  324. <scale scale="+0.1"/>
  325. <goto seq="0"/>
  326. <alpha alpha="+40"/>
  327. <scale scale="+-0.2" d="2"/>
  328. <alpha alpha="+-40"/>
  329. <scale scale="+0.2"/>
  330. <goto seq="0"/>
  331. <alpha alpha="+60"/>
  332. <scale scale="+-0.3" d="2"/>
  333. <alpha alpha="+-60"/>
  334. <scale scale="+0.3"/>
  335. <goto seq="0"/>
  336. </animation>
  337. <animation name="bulletbackground.animation">
  338. <scale scale="+-0.3"/>
  339. <random>
  340. <dest seq="2"/>
  341. <dest seq="4"/>
  342. <dest seq="6"/>
  343. <dest seq="8"/>
  344. <dest seq="9"/>
  345. </random>
  346. <scale scale="+0.05"/>
  347. <goto seq="9"/>
  348. <scale scale="+0.1"/>
  349. <goto seq="9"/>
  350. <scale scale="+-0.05"/>
  351. <goto seq="9"/>
  352. <scale scale="+-0.1"/>
  353. <alpha alpha="10" d="1"/>
  354. <alpha alpha="20" d="1"/>
  355. <alpha alpha="30" d="1"/>
  356. <alpha alpha="40" d="1"/>
  357. <alpha alpha="50" d="1"/>
  358. </animation>
  359. <!-- PLAYER WEAPON APPEARANCE -->
  360. <!-- background -->
  361. <animation name="miniblaster.background.animation">
  362. <alpha alpha="0"/>
  363. <frame i="spriteimage.bulletBackground" d="0"/>
  364. <scale scale="0.6" d="1"/>
  365. <frame i="bulletbackground.animation" d="1"/>
  366. </animation>
  367. <animation name="miniheavyblaster.background.animation">
  368. <alpha alpha="0"/>
  369. <frame i="spriteimage.bulletBackground" d="0"/>
  370. <scale scale="0.65" d="1"/>
  371. <frame i="bulletbackground.animation" d="1"/>
  372. </animation>
  373. <animation name="miniblastcannon.background.animation">
  374. <alpha alpha="0"/>
  375. <frame i="spriteimage.bulletBackground" d="0"/>
  376. <scale scale="0.7" d="1"/>
  377. <frame i="bulletbackground.animation" d="1"/>
  378. </animation>
  379. <animation name="blaster.background.animation">
  380. <alpha alpha="0"/>
  381. <frame i="spriteimage.bulletBackground" d="0"/>
  382. <scale scale="0.8" d="1"/>
  383. <frame i="bulletbackground.animation" d="1"/>
  384. </animation>
  385. <animation name="heavyblaster.background.animation">
  386. <alpha alpha="0"/>
  387. <frame i="spriteimage.bulletBackground" d="0"/>
  388. <scale scale="0.9" d="1"/>
  389. <frame i="bulletbackground.animation" d="1"/>
  390. </animation>
  391. <animation name="blastcannon.background.animation">
  392. <alpha alpha="0"/>
  393. <frame i="spriteimage.bulletBackground" d="0"/>
  394. <scale scale="1.0" d="1"/>
  395. <frame i="bulletbackground.animation" d="1"/>
  396. </animation>
  397. <animation name="multiblaster.background.animation">
  398. <alpha alpha="0"/>
  399. <frame i="spriteimage.bulletBackground" d="0"/>
  400. <scale scale="0.8" d="1"/>
  401. <frame i="bulletbackground.animation" d="1"/>
  402. </animation>
  403. <animation name="shotgun.background.animation">
  404. <alpha alpha="0"/>
  405. <frame i="spriteimage.bulletBackground" d="0"/>
  406. <scale scale="0.6" d="1"/>
  407. <frame i="bulletbackground.animation" d="1"/>
  408. </animation>
  409. <animation name="assault.background.animation">
  410. <alpha alpha="0"/>
  411. <frame i="spriteimage.bulletBackground" d="0"/>
  412. <scale scale="0.7" d="1"/>
  413. <frame i="bulletbackground.animation" d="1"/>
  414. </animation>
  415. <animation name="rocket.background1.animation">
  416. <color c="138,0,255,100" d="0"/>
  417. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  418. <scale scale="1.1" d="1"/>
  419. <frame i="bulletphase.animation" d="1"/>
  420. </animation>
  421. <animation name="rocket.background2.animation">
  422. <alpha alpha="0"/>
  423. <frame i="spriteimage.bulletBackground" d="0"/>
  424. <scale scale="1.1" d="1"/>
  425. <frame i="bulletbackground.animation" d="1"/>
  426. </animation>
  427. <animation name="gidrah.bullet.small.background.animation">
  428. <alpha alpha="0"/>
  429. <frame i="spriteimage.bulletBackground" d="0"/>
  430. <scale scale="0.4" d="1"/>
  431. <frame i="bulletbackground.animation" d="1"/>
  432. </animation>
  433. <animation name="gidrah.bullet.large.background.animation">
  434. <alpha alpha="0"/>
  435. <frame i="spriteimage.bulletBackground" d="0"/>
  436. <scale scale="0.7" d="1"/>
  437. <frame i="bulletbackground.animation" d="1"/>
  438. </animation>
  439. <!-- glow -->
  440. <animation name="miniblaster.glow.animation">
  441. <color c="=$red_color" d="0"/>
  442. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  443. <scale scale="1.2" d="1"/>
  444. <frame i="bulletglow.animation" d="1"/>
  445. </animation>
  446. <animation name="miniheavyblaster.glow.animation">
  447. <color c="=$orange_color" d="0"/>
  448. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  449. <scale scale="1.25" d="1"/>
  450. <frame i="bulletglow.animation" d="1"/>
  451. </animation>
  452. <animation name="miniblastcannon.glow.animation">
  453. <color c="=$cyan_color" d="0"/>
  454. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  455. <scale scale="1.3" d="1"/>
  456. <frame i="bulletglow.animation" d="1"/>
  457. </animation>
  458. <animation name="blaster.glow.animation">
  459. <color c="=$red_color" d="0"/>
  460. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  461. <scale scale="1.6" d="1"/>
  462. <frame i="bulletglow.animation" d="1"/>
  463. </animation>
  464. <animation name="heavyblaster.glow.animation">
  465. <color c="=$orange_color" d="0"/>
  466. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  467. <scale scale="1.8" d="1"/>
  468. <frame i="bulletglow.animation" d="1"/>
  469. </animation>
  470. <animation name="blastcannon.glow.animation">
  471. <color c="=$cyan_color" d="0"/>
  472. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  473. <scale scale="2.0" d="1"/>
  474. <frame i="bulletglow.animation" d="1"/>
  475. </animation>
  476. <animation name="multiblaster.glow.animation">
  477. <color c="=$yellow_color" d="0"/>
  478. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  479. <scale scale="1.6" d="1"/>
  480. <frame i="bulletglow.animation" d="1"/>
  481. </animation>
  482. <animation name="shotgun.glow.animation">
  483. <color c="=$purple_color_soft" d="0"/>
  484. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  485. <scale scale="1.2" d="1"/>
  486. <frame i="bulletglow.animation" d="1"/>
  487. </animation>
  488. <animation name="assault.glow.animation">
  489. <color c="=$green_color_soft" d="0"/>
  490. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  491. <scale scale="1.4" d="1"/>
  492. <frame i="bulletglow.animation" d="1"/>
  493. </animation>
  494. <animation name="rocket.glow.animation">
  495. <color c="=$purple_color" d="0"/>
  496. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  497. <scale scale="1.0" d="1"/>
  498. <frame i="bulletglow.animation" d="1"/>
  499. </animation>
  500. <animation name="gidrah.bullet.small.glow.animation">
  501. <color c="=$orange_color" d="0"/>
  502. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  503. <scale scale="0.8" d="1"/>
  504. <frame i="bulletglow.animation" d="1"/>
  505. </animation>
  506. <animation name="gidrah.bullet.large.glow.animation">
  507. <color c="=$orange_color" d="0"/>
  508. <frame i="spriteimage.particle.light.64px.02" d="0"/>
  509. <scale scale="1.4" d="1"/>
  510. <frame i="bulletglow.animation" d="1"/>
  511. </animation>
  512. <!-- appearance -->
  513. <weapon name="miniblaster.weapon" inherit="miniblaster.weapon.spec">
  514. <bullet><bullet inherit="miniblaster.bullet" ricochetemitter="miniblaster.ricochet.emitter" flashemitter="weapon.flash.miniblaster.emitter">
  515. <appearance><layers>
  516. <sprite layer="7" animation="miniblaster.bullet.animation"/>
  517. <sprite layer="5" animation="miniblaster.glow.animation"/>
  518. <sprite layer="6" animation="miniblaster.background.animation"/>
  519. <!-- <emitter emitter="miniblaster.trail.emitter"/> -->
  520. </layers></appearance>
  521. </bullet></bullet>
  522. </weapon>
  523. <weapon name="miniheavyblaster.weapon" inherit="miniheavyblaster.weapon.spec">
  524. <bullet><bullet inherit="miniheavyblaster.bullet" ricochetemitter="miniheavyblaster.ricochet.emitter" flashemitter="weapon.flash.miniheavyblaster.emitter">
  525. <appearance><layers>
  526. <sprite layer="7" animation="miniheavyblaster.bullet.animation"/>
  527. <sprite layer="5" animation="miniheavyblaster.glow.animation"/>
  528. <sprite layer="6" animation="miniheavyblaster.background.animation"/>
  529. <!-- <emitter emitter="miniblaster.trail.emitter"/> -->
  530. </layers></appearance>
  531. </bullet></bullet>
  532. </weapon>
  533. <weapon name="miniblastcannon.weapon" inherit="miniblastcannon.weapon.spec">
  534. <bullet><bullet inherit="miniblastcannon.bullet" ricochetemitter="miniblastcannon.ricochet.emitter" flashemitter="weapon.flash.miniblastcannon.emitter">
  535. <appearance><layers>
  536. <sprite layer="7" animation="miniblastcannon.bullet.animation"/>
  537. <sprite layer="5" animation="miniblastcannon.glow.animation"/>
  538. <sprite layer="6" animation="miniblastcannon.background.animation"/>
  539. <!-- <emitter emitter="miniblaster.trail.emitter"/> -->
  540. </layers></appearance>
  541. </bullet></bullet>
  542. </weapon>
  543. <weapon name="blaster.weapon" inherit="blaster.weapon.spec">
  544. <bullet><bullet inherit="blaster.bullet" ricochetemitter="blaster.ricochet.emitter" flashemitter="weapon.flash.blaster.emitter">
  545. <appearance><layers>
  546. <sprite layer="7" animation="blaster.bullet.animation"/>
  547. <sprite layer="5" animation="blaster.glow.animation"/>
  548. <sprite layer="6" animation="blaster.background.animation"/>
  549. <!-- <emitter emitter="blaster.trail.emitter"/> -->
  550. </layers></appearance>
  551. </bullet></bullet>
  552. </weapon>
  553. <weapon name="heavyblaster.weapon" inherit="heavyblaster.weapon.spec">
  554. <bullet><bullet inherit="heavyblaster.bullet" ricochetemitter="heavyblaster.ricochet.emitter" flashemitter="weapon.flash.heavyblaster.emitter">>
  555. <appearance><layers>
  556. <sprite layer="7" animation="heavyblaster.bullet.animation"/>
  557. <sprite layer="5" animation="heavyblaster.glow.animation"/>
  558. <sprite layer="6" animation="heavyblaster.background.animation"/>
  559. <!-- <emitter emitter="heavyblaster.emitter"/> -->
  560. </layers></appearance>
  561. </bullet></bullet>
  562. </weapon>
  563. <weapon name="blastcannon.weapon" inherit="blastcannon.weapon.spec">
  564. <bullet><bullet inherit="blastcannon.bullet" ricochetemitter="blastcannon.ricochet.emitter" flashemitter="weapon.flash.blastcannon.emitter">
  565. <appearance><layers>
  566. <sprite layer="7" animation="blastcannon.bullet.animation"/>
  567. <sprite layer="5" animation="blastcannon.glow.animation"/>
  568. <sprite layer="6" animation="blastcannon.background.animation"/>
  569. <!-- <emitter emitter="blastcannon.emitter"/> -->
  570. </layers></appearance>
  571. </bullet></bullet>
  572. </weapon>
  573. <weapon name="multiblaster.weapon" inherit="multiblaster.weapon.spec">
  574. <bullet><bullet inherit="multiblaster.bullet" ricochetemitter="multiblaster.ricochet.emitter" flashemitter="weapon.flash.multiblaster.emitter">
  575. <appearance><layers>
  576. <sprite layer="7" animation="multiblaster.bullet.animation"/>
  577. <sprite layer="5" animation="multiblaster.glow.animation"/>
  578. <sprite layer="6" animation="multiblaster.background.animation"/>
  579. <!-- <emitter emitter="multiblaster.emitter"/> -->
  580. </layers></appearance>
  581. </bullet></bullet>
  582. </weapon>
  583. <instance name="shotgun.weapon" class="worm.weapons.ShotgunFeature" inherit="shotgun.weapon.spec">
  584. <bullet><bullet inherit="shotgun.bullet" ricochetemitter="shotgun.ricochet.emitter" flashemitter="weapon.flash.spreader.emitter">
  585. <appearance><layers>
  586. <sprite layer="7" animation="spreader.bullet.animation"/>
  587. <sprite layer="5" animation="shotgun.glow.animation"/>
  588. <sprite layer="6" animation="shotgun.background.animation"/>
  589. <!-- <emitter emitter="shotgun.emitter"/> -->
  590. </layers></appearance>
  591. </bullet></bullet>
  592. </instance>
  593. <instance name="assault.weapon" class="worm.weapons.ShotgunFeature" inherit="assault.weapon.spec">
  594. <bullet><bullet inherit="assault.bullet" ricochetemitter="assault.ricochet.emitter" flashemitter="weapon.flash.assault.emitter">
  595. <appearance><layers>
  596. <sprite layer="7" animation="assault.bullet.animation"/>
  597. <sprite layer="5" animation="assault.glow.animation"/>
  598. <sprite layer="6" animation="assault.background.animation"/>
  599. <!-- <emitter emitter="assault.emitter"/> -->
  600. </layers></appearance>
  601. </bullet></bullet>
  602. </instance>
  603. <weapon name="rocket.weapon" inherit="rocket.weapon.spec">
  604. <bullet>
  605. <bullet
  606. inherit="rocket.bullet"
  607. ricochetemitter="rocket.ricochet.emitter"
  608. flashemitter="weapon.flash.rockets.emitter"
  609. explosionRadius="48"
  610. explosionDuration="8"
  611. explosionFadeDuration="32"
  612. explosionTexture="rocket.texture"
  613. >
  614. <appearance><layers>
  615. <sprite layer="5" animation="rocket.glow.animation"/>
  616. <sprite layer="5" sublayer="1" animation="rocket.bullet.animation"/>
  617. <sprite layer="4" offset="0,-11" animation="rocket.shadow.animation"/>
  618. <emitter emitter="rocket.emitter"/>
  619. </layers></appearance>
  620. </bullet></bullet>
  621. </weapon>
  622. <weapon name="gidrah.weapon.small" inherit="gidrah.weapon.small.spec">
  623. <bullet><bullet
  624. inherit="gidrah.bullet.small.spec"
  625. ricochetemitter="gidrah.small.ricochet.emitter"
  626. flashemitter="weapon.flash.gidrah.small.emitter"
  627. >
  628. <appearance><layers>
  629. <sprite layer="7" animation="gidrah.bullet.small.animation"/>
  630. <sprite layer="5" animation="gidrah.bullet.small.glow.animation"/>
  631. <sprite layer="6" animation="gidrah.bullet.small.background.animation"/>
  632. <emitter emitter="bullet.fizzle.trail.emitter"/>
  633. </layers></appearance>
  634. </bullet></bullet>
  635. </weapon>
  636. <weapon name="gidrah.weapon.large" inherit="gidrah.weapon.large.spec">
  637. <bullet>
  638. <bullet
  639. inherit="gidrah.bullet.large.spec"
  640. ricochetemitter="gidrah.large.ricochet.emitter"
  641. flashemitter="weapon.flash.gidrah.large.emitter"
  642. explosionRadius="32"
  643. explosionDuration="8"
  644. explosionFadeDuration="32"
  645. explosionTexture="rocket.texture"
  646. >
  647. <appearance><layers>
  648. <sprite layer="7" animation="gidrah.bullet.large.animation"/>
  649. <sprite layer="6" animation="gidrah.bullet.large.glow.animation"/>
  650. <sprite layer="6" animation="gidrah.bullet.large.background.animation"/>
  651. <emitter emitter="bullet.large.fizzle.trail.emitter"/>
  652. </layers></appearance>
  653. </bullet></bullet>
  654. </weapon>
  655. <instance name="gidrah.weapon.boss" class="worm.weapons.DisruptorFeature" inherit="gidrah.weapon.boss.spec"/>
  656. <!-- SPECIAL WEAPONS - CAPACITOR, DISRUPTOR AND LASER -->
  657. <instance
  658. class="worm.weapons.ElectronZapFeature"
  659. name="capacitor.weapon"
  660. firerate="1"
  661. magazine="90"
  662. ammoPerBattery="30"
  663. reloadSpeed="8"
  664. constantReload="true"
  665. danger="2"
  666. minFireRate="6"
  667. minReloadSpeed="60"
  668. maxCoolingTowers="4"
  669. maxBatteries="4"
  670. maxReactors="4"
  671. maxAutoloaders="4"
  672. >
  673. <beamStartEmitter>
  674. <emitter inherit="capacitor.start.emitter" />
  675. </beamStartEmitter>
  676. <beamEndEmitter>
  677. <emitter inherit="capacitor.end.emitter" />
  678. </beamEndEmitter>
  679. </instance>
  680. <instance
  681. class="worm.weapons.DisruptorFeature"
  682. name="disruptor.weapon"
  683. sound="disruptor.buffer"
  684. texture="disruptor.texture"
  685. firerate="12"
  686. fireRatePerCoolingTower="2"
  687. radius="110"
  688. radiusPerReactor="16.0"
  689. damage="32"
  690. magazine="3"
  691. ammoPerBattery="1"
  692. reloadSpeed="1800"
  693. reloadPerReloader="300"
  694. heavyWeapon="true"
  695. danger="4"
  696. minFireRate="6"
  697. minReloadSpeed="60"
  698. maxCoolingTowers="4"
  699. maxBatteries="4"
  700. maxReactors="4"
  701. maxAutoloaders="4"
  702. />
  703. <instance
  704. class="worm.weapons.LaserFeature"
  705. name="laser.weapon"
  706. sound="laser.buffer"
  707. layer="5"
  708. firerate="12"
  709. fireRatePerCoolingTower="2"
  710. damage="1,8"
  711. duration="20"
  712. fadeDuration="12"
  713. innerWidth="2.0"
  714. width="6.0"
  715. length="450"
  716. sweep="6"
  717. color="!198,255,255"
  718. innerColor="!198,0,255"
  719. beamEmitterOverlay="spriteimage.particle.light.64px.02"
  720. magazine="5"
  721. ammoPerBattery="1"
  722. reloadSpeed="1800"
  723. reloadPerReloader="300"
  724. heavyWeapon="true"
  725. danger="4"
  726. minFireRate="6"
  727. minReloadSpeed="60"
  728. maxCoolingTowers="4"
  729. maxBatteries="4"
  730. maxReactors="4"
  731. maxAutoloaders="4"
  732. >
  733. <beamEmitter>
  734. <!-- dont think need an emitter here -->
  735. <emitter
  736. />
  737. </beamEmitter>
  738. <reflectionEmitter>
  739. <emitter name="laser.ricochet.emitter" inherit="weapon.flash.laser.emitter">
  740. <slave><emitter particlesPerTick="-1.0, 2.0" startHue="=$purple_hue" endHue="=$purple_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.5">
  741. <slave><emitter startHue="=$purple_hue" endHue="=$purple_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.5"/></slave>
  742. </emitter></slave>
  743. </emitter>
  744. </reflectionEmitter>
  745. </instance>
  746. <instance
  747. class="worm.weapons.LaserFeature"
  748. name="boss.laser.weapon"
  749. sound="laser.buffer"
  750. layer="7"
  751. targetOnly="true"
  752. fireRate="200"
  753. damage="6"
  754. duration="60"
  755. fadeDuration="20"
  756. width="7.0"
  757. innerWidth="3.0"
  758. length="200"
  759. sweep="0"
  760. color="!124,128,255"
  761. innerColor="!124,0,255"
  762. beamEmitterOverlay="spriteimage.particle.light.64px.02"
  763. >
  764. <beamEmitter>
  765. <emitter name="boss.laser.beam.emitter" inherit="weapon.flash.laser.emitter"
  766. emitterScale="0.3" particlesPerTick="-1.0, 1.0"
  767. duration="3" startSaturation="0" endSaturation="0" startBrightness="1.0" endBrightness="0.5,1.0"
  768. >
  769. <slave><emitter particlesPerTick="-1.0, 2.0" startHue="=$cyan_hue" endHue="=$cyan_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.5">
  770. <slave><emitter startHue="=$cyan_hue" endHue="=$cyan_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.5"/></slave>
  771. </emitter></slave>
  772. </emitter>
  773. </beamEmitter>
  774. <reflectionEmitter>
  775. <emitter name="boss.laser.ricochet.emitter" inherit="weapon.flash.laser.emitter"
  776. emitterScale="0.3" particlesPerTick="-1.0, 1.0"
  777. duration="3" startSaturation="0" endSaturation="0" startBrightness="1.0" endBrightness="0.5,1.0"
  778. >
  779. <chain><emitter inherit="weapon.flash.laser.emitter"
  780. duration="2" delay="1" particlesPerTick="1.0" emitterScale="1.5" scale="0.3, 0.8" endScale="0.4, 1.0"
  781. particleDuration="2,3" fadeDuration="3,5"
  782. startHue="=$cyan_hue" endHue="=$cyan_hue_end" startBrightness="1.0" endBrightness="0.2,0.3"
  783. >
  784. <slave><emitter inherit="ricochet.sparks.emitter" particlesPerTick="-2.0, 1.0" velocity="5,9" startHue="=$cyan_hue" endHue="=$cyan_hue_end" emitterScale="0.6" appearance="spriteimage.particle.glowing.3px.01">
  785. <slave><emitter inherit="ricochet.sparks.trail.emitter" startHue="=$cyan_hue" endHue="=$cyan_hue_end" endBrightness="0.3" emitterScale="0.5"/></slave>
  786. </emitter></slave>
  787. </emitter></chain>
  788. </emitter>
  789. </reflectionEmitter>
  790. </instance>
  791. <instance
  792. class="worm.weapons.LaserFeature"
  793. name="minilaser.weapon"
  794. sound="minilaser.buffer"
  795. layer="5"
  796. firerate="60,300"
  797. damage="1,4"
  798. duration="10"
  799. fadeDuration="6"
  800. width="3.0"
  801. innerWidth="1.0"
  802. length="128"
  803. sweep="0"
  804. color="!198,255,255"
  805. innerColor="!198,0,255"
  806. beamEmitterOverlay="spriteimage.particle.light.64px.02"
  807. >
  808. <beamEmitter>
  809. <!-- dont think need an emitter here -->
  810. <emitter
  811. />
  812. </beamEmitter>
  813. <reflectionEmitter>
  814. <emitter name="minilaser.ricochet.emitter" inherit="weapon.flash.minilaser.emitter">
  815. <slave><emitter particlesPerTick="-1.0, 2.0" startHue="=$purple_hue" endHue="=$purple_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.25">
  816. <slave><emitter startHue="=$purple_hue" endHue="=$purple_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.25"/></slave>
  817. </emitter></slave>
  818. </emitter>
  819. </reflectionEmitter>
  820. </instance>
  821. <!-- BULLET ANIMATION =================================================================================================== -->
  822. <animation name="miniblaster.bullet.animation">
  823. <scale yscale="0.5" xscale="0.5"/>
  824. <frame i="spriteimage.bullet.miniblaster.01" d="1"/>
  825. <frame i="spriteimage.bullet.miniblaster.02" d="1"/>
  826. <frame i="spriteimage.bullet.miniblaster.03" d="1"/>
  827. <frame i="spriteimage.bullet.miniblaster.04" d="1"/>
  828. <frame i="spriteimage.bullet.miniblaster.05" d="1"/>
  829. </animation>
  830. <animation name="miniheavyblaster.bullet.animation">
  831. <scale yscale="0.5" xscale="0.5"/>
  832. <frame i="spriteimage.bullet.miniblaster.01" d="1"/>
  833. <frame i="spriteimage.bullet.miniblaster.02" d="1"/>
  834. <frame i="spriteimage.bullet.miniblaster.03" d="1"/>
  835. <frame i="spriteimage.bullet.miniblaster.04" d="1"/>
  836. <frame i="spriteimage.bullet.miniblaster.05" d="1"/>
  837. </animation>
  838. <animation name="miniblastcannon.bullet.animation">
  839. <scale yscale="0.25" xscale="0.25"/>
  840. <frame i="spriteimage.bullet.blastcannon.01" d="1"/>
  841. <frame i="spriteimage.bullet.blastcannon.02" d="1"/>
  842. <frame i="spriteimage.bullet.blastcannon.03" d="1"/>
  843. <frame i="spriteimage.bullet.blastcannon.04" d="1"/>
  844. <frame i="spriteimage.bullet.blastcannon.05" d="1"/>
  845. </animation>
  846. <animation name="blaster.bullet.animation">
  847. <scale yscale="0.5" xscale="0.5"/>
  848. <frame i="spriteimage.bullet.blaster.01" d="1"/>
  849. <frame i="spriteimage.bullet.blaster.02" d="1"/>
  850. <frame i="spriteimage.bullet.blaster.03" d="1"/>
  851. <frame i="spriteimage.bullet.blaster.04" d="1"/>
  852. <frame i="spriteimage.bullet.blaster.05" d="1"/>
  853. </animation>
  854. <animation name="heavyblaster.bullet.animation">
  855. <scale yscale="0.5" xscale="0.6"/>
  856. <frame i="spriteimage.bullet.heavyblaster.01" d="1"/>
  857. <frame i="spriteimage.bullet.heavyblaster.02" d="1"/>
  858. <frame i="spriteimage.bullet.heavyblaster.03" d="1"/>
  859. <frame i="spriteimage.bullet.heavyblaster.04" d="1"/>
  860. <frame i="spriteimage.bullet.heavyblaster.05" d="1"/>
  861. </animation>
  862. <animation name="blastcannon.bullet.animation">
  863. <scale yscale="0.5" xscale="0.7"/>
  864. <frame i="spriteimage.bullet.blastcannon.01" d="1"/>
  865. <frame i="spriteimage.bullet.blastcannon.02" d="1"/>
  866. <frame i="spriteimage.bullet.blastcannon.03" d="1"/>
  867. <frame i="spriteimage.bullet.blastcannon.04" d="1"/>
  868. <frame i="spriteimage.bullet.blastcannon.05" d="1"/>
  869. </animation>
  870. <animation name="spreader.bullet.animation">
  871. <scale yscale="0.5" xscale="0.5"/>
  872. <frame i="spriteimage.bullet.spreader.01" d="1"/>
  873. <frame i="spriteimage.bullet.spreader.02" d="1"/>
  874. <frame i="spriteimage.bullet.spreader.03" d="1"/>
  875. <frame i="spriteimage.bullet.spreader.04" d="1"/>
  876. <frame i="spriteimage.bullet.spreader.05" d="1"/>
  877. </animation>
  878. <animation name="multiblaster.bullet.animation">
  879. <scale yscale="0.5" xscale="0.5"/>
  880. <frame i="spriteimage.bullet.multiblaster.01" d="1"/>
  881. <frame i="spriteimage.bullet.multiblaster.02" d="1"/>
  882. <frame i="spriteimage.bullet.multiblaster.03" d="1"/>
  883. <frame i="spriteimage.bullet.multiblaster.04" d="1"/>
  884. <frame i="spriteimage.bullet.multiblaster.05" d="1"/>
  885. </animation>
  886. <animation name="assault.bullet.animation">
  887. <scale yscale="0.5" xscale="0.5"/>
  888. <frame i="spriteimage.bullet.assault.01" d="1"/>
  889. <frame i="spriteimage.bullet.assault.02" d="1"/>
  890. <frame i="spriteimage.bullet.assault.03" d="1"/>
  891. <frame i="spriteimage.bullet.assault.04" d="1"/>
  892. <frame i="spriteimage.bullet.assault.05" d="1"/>
  893. </animation>
  894. <animation name="rocket.bullet.animation">
  895. <scale scale="0.5"/>
  896. <frame i="spriteimage.rocket.01" d="1"/>
  897. </animation>
  898. <animation name="rocket.shadow.animation">
  899. <scale scale="0.5"/>
  900. <frame i="spriteimage.rocket.shadow.01" d="1"/>
  901. </animation>
  902. <animation name="gidrah.bullet.small.animation">
  903. <scale yscale="0.5" xscale="0.5"/>
  904. <frame i="spriteimage.bullet.gidrah.01" d="1"/>
  905. <frame i="spriteimage.bullet.gidrah.02" d="1"/>
  906. <frame i="spriteimage.bullet.gidrah.03" d="1"/>
  907. <frame i="spriteimage.bullet.gidrah.04" d="1"/>
  908. <frame i="spriteimage.bullet.gidrah.05" d="1"/>
  909. </animation>
  910. <animation name="gidrah.bullet.large.animation">
  911. <scale yscale="0.5" xscale="0.5"/>
  912. <frame i="spriteimage.bullet.gidrah.large.01" d="1"/>
  913. <frame i="spriteimage.bullet.gidrah.large.02" d="1"/>
  914. <frame i="spriteimage.bullet.gidrah.large.03" d="1"/>
  915. <frame i="spriteimage.bullet.gidrah.large.04" d="1"/>
  916. <frame i="spriteimage.bullet.gidrah.large.05" d="1"/>
  917. </animation>
  918. <!-- BULLET EMITTERS =================================================================================================== -->
  919. <!-- FLASH -->
  920. <emitter
  921. name="weapon.flash.emitter"
  922. duration="2.0"
  923. particlesPerTick="1.0"
  924. maxParticles="1"
  925. appearance="spriteimage.particle.light.64px.02"
  926. layer="6"
  927. doYOffset="true"
  928. startScale="0.3"
  929. scale="0.4, 0.5"
  930. endScale="0.6, 1.0"
  931. particleDuration="2.0, 3.0"
  932. fadeDuration="4.0, 8.0"
  933. startHue="1.0"
  934. startSaturation="0.5, 1.0"
  935. endHue="1.0"
  936. endSaturation="1.0"
  937. startBrightness="1.0"
  938. endBrightness="0.5, 0.6"
  939. />
  940. <emitter
  941. name="weapon.flash.miniblaster.emitter"
  942. inherit="weapon.flash.emitter"
  943. startHue="=$red_hue"
  944. startBrightness="1.0"
  945. endHue="=$red_hue_end"
  946. endBrightness="0.8, 1.0"
  947. emitterScale="0.5"
  948. />
  949. <emitter
  950. name="weapon.flash.miniheavyblaster.emitter"
  951. inherit="weapon.flash.emitter"
  952. startHue="=$orange_hue"
  953. startBrightness="1.0"
  954. endHue="=$orange_hue_end"
  955. endBrightness="0.8, 1.0"
  956. emitterScale="0.5"
  957. />
  958. <emitter
  959. name="weapon.flash.miniblastcannon.emitter"
  960. inherit="weapon.flash.emitter"
  961. startHue="=$cyan_hue"
  962. startBrightness="1.0"
  963. endHue="=$cyan_hue_end"
  964. endBrightness="0.8, 1.0"
  965. emitterScale="0.5"
  966. />
  967. <emitter
  968. name="weapon.flash.blaster.emitter"
  969. inherit="weapon.flash.emitter"
  970. startHue="=$red_hue"
  971. startBrightness="1.0"
  972. endHue="=$red_hue_end"
  973. endBrightness="0.8, 1.0"
  974. />
  975. <emitter
  976. name="weapon.flash.heavyblaster.emitter"
  977. inherit="weapon.flash.emitter"
  978. startHue="=$orange_hue"
  979. endHue="=$orange_hue_end"
  980. startBrightness="1.0"
  981. endBrightness="0.6, 0.8"
  982. emitterScale="1.1"
  983. />
  984. <emitter
  985. name="weapon.flash.blastcannon.emitter"
  986. inherit="weapon.flash.emitter"
  987. startHue="=$cyan_hue"
  988. endHue="=$cyan_hue_end"
  989. startBrightness="1.0"
  990. endBrightness="0.6, 0.8"
  991. emitterScale="1.3"
  992. />
  993. <emitter
  994. name="weapon.flash.multiblaster.emitter"
  995. inherit="weapon.flash.emitter"
  996. startHue="=$yellow_hue"
  997. endHue="=$yellow_hue_end"
  998. startBrightness="0.8"
  999. endBrightness="0.4, 0.7"
  1000. emitterScale="0.8"
  1001. />
  1002. <emitter
  1003. name="weapon.flash.spreader.emitter"
  1004. inherit="weapon.flash.emitter"
  1005. startHue="=$purple_hue"
  1006. endHue="=$purple_hue_end"
  1007. startBrightness="1.0"
  1008. endBrightness="0.2, 0.4"
  1009. />
  1010. <emitter
  1011. name="weapon.flash.assault.emitter"
  1012. inherit="weapon.flash.emitter"
  1013. startHue="=$green_hue"
  1014. endHue="=$green_hue_end"
  1015. startBrightness="0.5, 0.8"
  1016. endBrightness="0.2, 0.4"
  1017. />
  1018. <emitter
  1019. name="weapon.flash.rockets.emitter"
  1020. inherit="weapon.flash.emitter"
  1021. startHue="=$purple_hue"
  1022. endHue="=$purple_hue_end"
  1023. startBrightness="1.0"
  1024. endBrightness="0.6, 0.8"
  1025. emitterScale="1.5"
  1026. />
  1027. <emitter
  1028. name="weapon.flash.laser.emitter"
  1029. inherit="weapon.flash.emitter"
  1030. startHue="=$purple_hue"
  1031. endHue="=$purple_hue_end"
  1032. startBrightness="0.8, 1.0"
  1033. endBrightness="0.6, 0.8"
  1034. />
  1035. <emitter
  1036. name="weapon.flash.minilaser.emitter"
  1037. inherit="weapon.flash.emitter"
  1038. startHue="=$purple_hue"
  1039. endHue="=$purple_hue_end"
  1040. startBrightness="0.8, 1.0"
  1041. endBrightness="0.6, 0.8"
  1042. />
  1043. <emitter
  1044. name="weapon.flash.gidrah.small.emitter"
  1045. inherit="weapon.flash.emitter"
  1046. startHue="=$gidrah_hue"
  1047. endHue="=$gidrah_hue_end"
  1048. startBrightness="1.0"
  1049. endBrightness="0.8, 1.0"
  1050. emitterScale="2.0"
  1051. />
  1052. <emitter
  1053. name="weapon.flash.gidrah.large.emitter"
  1054. inherit="weapon.flash.gidrah.small.emitter"
  1055. emitterScale="3.0"
  1056. />
  1057. <!-- RICOCHET -->
  1058. <emitter name="miniblaster.ricochet.emitter" inherit="weapon.flash.miniblaster.emitter">
  1059. <slave><emitter startHue="=$red_hue" endHue="=$red_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.4">
  1060. <slave><emitter startHue="=$red_hue" endHue="=$red_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.4"/></slave>
  1061. </emitter></slave>
  1062. </emitter>
  1063. <emitter name="miniheavyblaster.ricochet.emitter" inherit="weapon.flash.miniheavyblaster.emitter">
  1064. <slave><emitter startHue="=$orange_hue" endHue="=$orange_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.45">
  1065. <slave><emitter startHue="=$orange_hue" endHue="=$orange_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.45"/></slave>
  1066. </emitter></slave>
  1067. </emitter>
  1068. <emitter name="miniblastcannon.ricochet.emitter" inherit="weapon.flash.miniblastcannon.emitter">
  1069. <slave><emitter startHue="=$cyan_hue" endHue="=$cyan_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.5">
  1070. <slave><emitter startHue="=$cyan_hue" endHue="=$cyan_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.5"/></slave>
  1071. </emitter></slave>
  1072. </emitter>
  1073. <emitter name="blaster.ricochet.emitter" inherit="weapon.flash.blaster.emitter">
  1074. <slave><emitter startHue="=$red_hue" endHue="=$red_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.5">
  1075. <slave><emitter startHue="=$red_hue" endHue="=$red_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.6"/></slave>
  1076. </emitter></slave>
  1077. </emitter>
  1078. <emitter name="heavyblaster.ricochet.emitter" inherit="weapon.flash.heavyblaster.emitter">
  1079. <slave><emitter startHue="=$orange_hue" endHue="=$orange_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.525">
  1080. <slave><emitter startHue="=$orange_hue" endHue="=$orange_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.65"/></slave>
  1081. </emitter></slave>
  1082. </emitter>
  1083. <emitter name="multiblaster.ricochet.emitter" inherit="weapon.flash.multiblaster.emitter">
  1084. <slave><emitter startHue="=$yellow_hue" endHue="=$yellow_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.475">
  1085. <slave><emitter startHue="=$yellow_hue" endHue="=$yellow_hue_end" endBrightness="0.1" inherit="ricochet.sparks.trail.emitter" emitterScale="0.6"/></slave>
  1086. </emitter></slave>
  1087. </emitter>
  1088. <emitter name="blastcannon.ricochet.emitter" inherit="weapon.flash.blastcannon.emitter">
  1089. <slave><emitter startHue="=$cyan_hue" endHue="=$cyan_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.55">
  1090. <slave><emitter startHue="=$cyan_hue" endHue="=$cyan_hue_end" endBrightness="0.2" inherit="ricochet.sparks.trail.emitter" emitterScale="0.65"/></slave>
  1091. </emitter></slave>
  1092. </emitter>
  1093. <emitter name="shotgun.ricochet.emitter" inherit="weapon.flash.spreader.emitter">
  1094. <slave><emitter startHue="=$purple_hue" endHue="=$purple_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.45">
  1095. <slave><emitter startHue="=$purple_hue" endHue="=$purple_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.55"/></slave>
  1096. </emitter></slave>
  1097. </emitter>
  1098. <emitter name="assault.ricochet.emitter" inherit="weapon.flash.assault.emitter">
  1099. <slave><emitter startHue="=$green_hue" endHue="=$green_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.55">
  1100. <slave><emitter startHue="=$green_hue" endHue="=$green_hue_end" endBrightness="0.1" inherit="ricochet.sparks.trail.emitter" emitterScale="0.65"/></slave>
  1101. </emitter></slave>
  1102. </emitter>
  1103. <emitter name="gidrah.small.ricochet.emitter" inherit="weapon.flash.spreader.emitter">
  1104. <slave><emitter startHue="=$gidrah_hue" endHue="=$gidrah_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.45">
  1105. <slave><emitter startHue="=$gidrah_hue" endHue="=$gidrah_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.45"/></slave>
  1106. </emitter></slave>
  1107. </emitter>
  1108. <emitter name="gidrah.large.ricochet.emitter" inherit="weapon.flash.spreader.emitter">
  1109. <slave><emitter startHue="=$gidrah_hue" endHue="=$gidrah_hue_end" inherit="ricochet.sparks.emitter" emitterScale="0.55">
  1110. <slave><emitter startHue="=$gidrah_hue" endHue="=$gidrah_hue_end" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.55"/></slave>
  1111. </emitter></slave>
  1112. </emitter>
  1113. <emitter
  1114. name="rocket.emitter"
  1115. inherit="bullet.trail.emitter"
  1116. startScale="1.0"
  1117. scale="0.7"
  1118. endScale="0.4"
  1119. particleDuration="3.0"
  1120. fadeDuration="8.0"
  1121. startHue="0.73"
  1122. startSaturation="1.0"
  1123. startBrightness="0.7"
  1124. endHue="0.7"
  1125. endSaturation="1.0"
  1126. endBrightness="0.2"
  1127. interpolation="2"
  1128. >
  1129. <chain>
  1130. <emitter
  1131. inherit="bullet.smoke.trail.emitter"
  1132. particlesPerTick="0.0, 3.0"
  1133. velocity="0.1, 0.3"
  1134. startScale="0.4, 0.5"
  1135. scale="0.7, 0.8"
  1136. endScale="1.2, 1.5"
  1137. gravityY="0.01, 0.02"
  1138. fadeDuration="10.0, 40.0"
  1139. startHue="0.75"
  1140. startSaturation="1.0"
  1141. startBrightness="0.1"
  1142. endHue="0.15"
  1143. endSaturation="0.25"
  1144. endBrightness="0.015"
  1145. />
  1146. </chain>
  1147. </emitter>
  1148. <emitter name="rocket.ricochet.emitter"
  1149. inherit="ricochet.sparks.emitter"
  1150. particlesPerTick="5.0, 8.0"
  1151. velocity="1.5, 2.5"
  1152. acceleration="-0.02"
  1153. angle="60.0, 300.0"
  1154. particleDuration="10.0, 20.0"
  1155. fadeDuration="20.0, 30.0"
  1156. startHue="0.76"
  1157. endHue="0.72"
  1158. emitterScale="0.7"
  1159. >
  1160. <slave><emitter duration="20.0" startHue="0.76" endHue="0.72" endBrightness="0.3" inherit="ricochet.sparks.trail.emitter" emitterScale="0.7"/></slave>
  1161. <chain>
  1162. <emitter
  1163. name="rocket.ricochet.glow.emitter"
  1164. duration="2.0"
  1165. particlesPerTick="1.0"
  1166. appearance="spriteimage.particle.light.64px.01"
  1167. layer="6"
  1168. startScale="0.0, 0.5"
  1169. scale="1.0, 2.0"
  1170. endScale="10.0"
  1171. particleDuration="4.0"
  1172. fadeDuration="90.0"
  1173. startHue="0.75"
  1174. startSaturation="1.0"
  1175. startBrightness="0.2"
  1176. endSaturation="1.0"
  1177. endBrightness="0.02"
  1178. sound="bombDetonated.buffer"
  1179. >
  1180. <chain>
  1181. <emitter
  1182. duration="1.0"
  1183. particlesPerTick="1.0"
  1184. appearance="spriteimage.particle.light.64px.01"
  1185. layer="6"
  1186. velocity="0.0"
  1187. startScale="0.5"
  1188. scale="1.0, 1.5"
  1189. endScale="0.75"
  1190. particleDuration="3.0"
  1191. fadeDuration="40.0, 50.0"
  1192. startHue="0.75"
  1193. startSaturation="0.5, 1.0"
  1194. startBrightness="0.5, 1.0"
  1195. endSaturation="1.0"
  1196. endBrightness="0.01"
  1197. />
  1198. </chain>
  1199. </emitter>
  1200. </chain>
  1201. </emitter>
  1202. <!-- NEW CAPACITOR STUFF =================================================================================================== -->
  1203. <emitter
  1204. name="weapon.flash.capacitor.emitter"
  1205. duration="1.0"
  1206. particlesPerTick="-1.0,1.0"
  1207. appearance="spriteimage.particle.light.64px.02"
  1208. layer="6"
  1209. startScale="0.3"
  1210. scale="0.4, 1.0"
  1211. endScale="0.3, 0.5"
  1212. particleDuration="1.0,3.0"
  1213. fadeDuration="2.0,8.0"
  1214. startSaturation="0.5, 1.0"
  1215. endSaturation="1.0"
  1216. startHue="=$cyan_hue"
  1217. endHue="=$cyan_hue_end"
  1218. startBrightness="0.4, 0.7"
  1219. endBrightness="0.2, 0.4"
  1220. />
  1221. <emitter name="capacitor.start.emitter" inherit="weapon.flash.capacitor.emitter" emitterScale="0.75"/>
  1222. <emitter name="capacitor.end.emitter" inherit="weapon.flash.capacitor.emitter"
  1223. particlesPerTick="1.0"
  1224. particleDuration="1.0"
  1225. fadeDuration="1.0"
  1226. scale="0.4,0.6"
  1227. endScale="0.8,1.0"
  1228. emitterScale="0.3"
  1229. startBrightness="0.8,1.0"
  1230. endBrightness="0.5,1.0"
  1231. startSaturation="0.0"
  1232. >
  1233. <slave><emitter inherit="weapon.flash.capacitor.emitter" emitterScale="1.5">
  1234. <slave><emitter inherit="ricochet.sparks.emitter" particlesPerTick="-1.0, 1.0" velocity="6,10" acceleration="-0.75" interpolation="1" startHue="=$cyan_hue" endHue="=$cyan_hue_end" angle="0.0, 360.0" emitterScale="0.55">
  1235. <slave><emitter inherit="ricochet.sparks.trail.emitter" startHue="=$cyan_hue" endHue="=$cyan_hue_end" endBrightness="0.3" emitterScale="0.55"/></slave>
  1236. </emitter></slave>
  1237. </emitter></slave>
  1238. </emitter>
  1239. </resources>