Weapon_EP1.xml 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <Tags />
  4. <Includes>
  5. <Include type="all" source="DATA:GlobalData/GlobalDefines.xml" />
  6. <Include type="instance" source="DATA:GlobalData/Weapon.xml" />
  7. </Includes>
  8. <!-- ***** Allied ***** -->
  9. <!-- ////////////////////////// -->
  10. <!-- AlliedArtilleryVehicle -->
  11. <!-- ////////////////////////// -->
  12. <WeaponTemplate
  13. id="AlliedArtilleryVehicleMachineGun"
  14. FiringLoopSound="ALL_Pacifier_MachineGunLoopMS"
  15. FiringLoopSoundContinuesDuringReload="false"
  16. FireFX="FX_Allied_Artillery_PrimaryFire"
  17. FireVeteranFX="FX_Allied_Artillery_PrimaryFireVet"
  18. AttackRange="250.0"
  19. WeaponSpeed="999999.0"
  20. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  21. CanFireWhileMoving="true"
  22. ClipSize="8"
  23. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  24. ReAcquireDetailType="PER_CLIP">
  25. <FiringDuration
  26. MinSeconds="0.2s"
  27. MaxSeconds="0.2s" />
  28. <ClipReloadTime
  29. MinSeconds="1.0s"
  30. MaxSeconds="1.0s" />
  31. <Nuggets>
  32. <DamageNugget
  33. Damage="18.0"
  34. Radius="0.0"
  35. DamageType="AUTO_CANNON"
  36. DamageFXType="SOVIET_MACHINEGUN"
  37. DeathType="NORMAL"/>
  38. </Nuggets>
  39. </WeaponTemplate>
  40. <WeaponTemplate
  41. id="AlliedArtilleryVehicleSiegePreAttackArtillery"
  42. AttackRange="740.0"
  43. MinimumAttackRange="250"
  44. CanFireWhileMoving="false"
  45. WeaponSpeed="999999.0"
  46. Flags="NOT_ATTRACTED_BY_MAGNETS"
  47. AcceptableAimDelta="90d">
  48. <Nuggets>
  49. <WeaponOCLNugget
  50. WeaponOCL="OCL_AlliedArtilleryPreAttack_Marker">
  51. </WeaponOCLNugget>
  52. </Nuggets>
  53. </WeaponTemplate>
  54. <WeaponTemplate
  55. id="AlliedArtilleryVehicleSiegeArtillery"
  56. FireSound="ALL_SiegeTank_CannonFire"
  57. FireFX="FX_Allied_Artillery_Fire"
  58. FireVeteranFX="FX_Allied_Artillery_FireVet"
  59. AttackRange="740.0"
  60. MinimumAttackRange="250"
  61. WeaponSpeed="250.0"
  62. MinWeaponSpeed="225"
  63. MaxWeaponSpeed="275"
  64. Flags="RELOAD_WHEN_ATTACK_STOPS FORCE_EMPTY_ENTIRE_CLIP"
  65. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  66. CanFireWhileMoving="false"
  67. ClipSize="5"
  68. FinishAttackOnceStarted="true"
  69. HitPercentage="0%"
  70. ScatterIndependently="true"
  71. ScatterAlways="true"
  72. ScatterRadius="30"
  73. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  74. ReAcquireDetailType="PRE_SHOT"
  75. PreAttackType="PER_CLIP"
  76. PreAttackWeapon="AlliedArtilleryVehicleSiegePreAttackArtillery">
  77. <PreAttackDelay
  78. MinSeconds="0.1s"
  79. MaxSeconds="0.1s" />
  80. <FiringDuration
  81. MinSeconds="0.1s"
  82. MaxSeconds="0.1s" />
  83. <ClipReloadTime
  84. MinSeconds="4.0s"
  85. MaxSeconds="4.0s" />
  86. <WeaponAiHintInfo
  87. UseAsWarheadForDamageCalculations="AlliedArtilleryVehicleSiegeArtilleryBarrageWeaponWarhead" />
  88. <Nuggets>
  89. <ProjectileNugget
  90. id="AlliedArtilleryVehicleSiegeArtillery_ProjectileNugget"
  91. WarheadTemplate="AlliedArtilleryVehicleSiegeArtilleryBarrageWeaponWarhead"
  92. ProjectileTemplate="AlliedArtilleryVehicleBarrageProjectile">
  93. <SpecialObjectFilter
  94. Rule="ALL"
  95. Exclude="BRIDGE_GATEHOUSE" />
  96. <VeterancyProjectiles
  97. VeterancyLevel="HEROIC"
  98. ProjectileTemplate="AlliedArtilleryVehicleBarrageProjectile_Veteran"/>
  99. </ProjectileNugget>
  100. </Nuggets>
  101. </WeaponTemplate>
  102. <!-- this weapon should only allow attack for the bridge gatehouse -->
  103. <WeaponTemplate
  104. id="AlliedArtilleryVehicleSiegeArtilleryForBridges"
  105. inheritFrom="AlliedArtilleryVehicleSiegeArtillery"
  106. HitPercentage="100%"
  107. ScatterIndependently="false"
  108. ScatterAlways="false"
  109. HitStoredTarget="true"
  110. ProjectileCollidesWith="NEUTRAL STRUCTURES"
  111. RequiredAntiMask="ANTI_STRUCTURE"
  112. ForbiddenAntiMask="ANTI_SUBMERGED">
  113. <Nuggets>
  114. <ProjectileNugget
  115. id="AlliedArtilleryVehicleSiegeArtillery_ProjectileNugget">
  116. <SpecialObjectFilter
  117. Rule="ANY"
  118. Include="BRIDGE_GATEHOUSE"
  119. Exclude="BRIDGE_SEGMENT BRIDGE" />
  120. </ProjectileNugget>
  121. </Nuggets>
  122. </WeaponTemplate>
  123. <WeaponTemplate
  124. id="AlliedArtilleryVehicleSiegeArtilleryBarrageWeaponWarhead"
  125. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  126. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS SELF"
  127. Flags="NOT_ATTRACTED_BY_MAGNETS"
  128. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE">
  129. <Nuggets>
  130. <MetaImpactNugget
  131. id="DefaultMetaImpaceNugget"
  132. ShockWaveAmount="50"
  133. ShockWaveRadius="50.0"
  134. ShockWaveZMult="1.0"
  135. ShockWaveClearFlingHeight="15.0"
  136. ForbiddenTargetObjectStatus="LEECHED_TARGET_ACTIVE"
  137. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING">
  138. <SpecialObjectFilter
  139. Rule="ANY"
  140. Include="INFANTRY">
  141. </SpecialObjectFilter>
  142. </MetaImpactNugget>
  143. <DamageNugget
  144. id="DefaultDamageNugget"
  145. Damage="150.0"
  146. DamageType="EXPLOSIVE"
  147. DeathType="EXPLODED"
  148. Radius="40.0">
  149. <DamageScalarDetails Scalar= "50%">
  150. <Filter
  151. Rule="ALL"
  152. Relationship="ALLIES" />
  153. </DamageScalarDetails>
  154. </DamageNugget>
  155. <SuppressionNugget
  156. Radius="60.0"
  157. Suppression="25"
  158. DurationSeconds="3s" />
  159. </Nuggets>
  160. </WeaponTemplate>
  161. <!-- ///////////////////////// -->
  162. <!-- AlliedGunshipAircraft -->
  163. <!-- ///////////////////////// -->
  164. <!-- AimDirection must match circling direction -->
  165. <!-- 2 barrels so clipsize is 2 -->
  166. <WeaponTemplate
  167. id="AlliedGunshipAircraftWeapon"
  168. AimDirection="0d"
  169. AcceptableAimDelta="5d"
  170. AttackRange="400.0"
  171. MinimumAttackRange="50"
  172. UseCenterForRangeCheck="true"
  173. CanFireWhileMoving="true"
  174. ClipSize="12"
  175. ScatterRadius="30"
  176. RadiusDamageAffects="ENEMIES"
  177. FireFX="FX_Allied_Gunship_Fire"
  178. FireVeteranFX="FX_Allied_Gunship_Fire"
  179. FireSound="ALL_Gunship_ColliderCannonWeaponFire"
  180. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  181. WeaponSpeed="500"
  182. MinWeaponSpeed="500"
  183. MaxWeaponSpeed="500"
  184. MinTargetPitch="-45d"
  185. MaxTargetPitch="45d"
  186. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER">
  187. <FiringDuration
  188. MinSeconds="2.0s"
  189. MaxSeconds="2.0s" />
  190. <ClipReloadTime
  191. MinSeconds="2.0s"
  192. MaxSeconds="2.0s" />
  193. <Nuggets>
  194. <ProjectileNugget
  195. ProjectileTemplate="AlliedGunshipAircraftWeaponProjectile"
  196. WarheadTemplate="AlliedGunshipAircraftWeaponWarhead">
  197. <VeterancyProjectiles
  198. VeterancyLevel="HEROIC"
  199. ProjectileTemplate="AlliedGunshipAircraftWeaponProjectile_Veteran"/>
  200. </ProjectileNugget>
  201. <InformTargetNugget />
  202. </Nuggets>
  203. </WeaponTemplate>
  204. <WeaponTemplate
  205. id="AlliedGunshipAircraftWeaponWarhead"
  206. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  207. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  208. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  209. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER" >
  210. <Nuggets>
  211. <DamageNugget
  212. id="DefaultDamageNugget"
  213. Damage="100.0"
  214. Radius="50.0"
  215. DamageTaperOff="30"
  216. DamageType="EXPLOSIVE"
  217. DeathType="EXPLODED">
  218. <DamageScalarDetails Scalar= "50%">
  219. <Filter
  220. Rule="NONE"
  221. Include="INFANTRY" />
  222. </DamageScalarDetails>
  223. </DamageNugget>
  224. <MetaImpactNugget
  225. id="DefaultMetaImpactNugget"
  226. ShockWaveAmount="50"
  227. ShockWaveRadius="50.0"
  228. ShockWaveTaperOff="25.0"
  229. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING"/>
  230. </Nuggets>
  231. </WeaponTemplate>
  232. <WeaponTemplate
  233. id="AlliedGunshipAircraftAutoCannon"
  234. AttackRange="300.0"
  235. UseCenterForRangeCheck="true"
  236. AcceptableAimDelta="1d"
  237. CanFireWhileMoving="true"
  238. ClipSize="10"
  239. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  240. FireSound="ALL_Gunship_MachineGunWeaponFire"
  241. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  242. ReAcquireDetailType="PER_CLIP">
  243. <FiringDuration
  244. MinSeconds="0.1s"
  245. MaxSeconds="0.1s" />
  246. <ClipReloadTime
  247. MinSeconds="0.5s"
  248. MaxSeconds="0.5s" />
  249. <Nuggets>
  250. <DamageNugget
  251. Damage="12.0"
  252. Radius="0.0"
  253. DamageType="AUTO_CANNON"
  254. DamageFXType="SOVIET_MACHINEGUN"
  255. DeathType="NORMAL">
  256. <DamageScalarDetails Scalar= "50%">
  257. <Filter
  258. Rule="NONE"
  259. Include="STRUCTURE" />
  260. </DamageScalarDetails>
  261. </DamageNugget>
  262. </Nuggets>
  263. </WeaponTemplate>
  264. <!-- ///////////////////////////// -->
  265. <!-- AlliedFutureTank -->
  266. <!-- ///////////////////////////// -->
  267. <WeaponTemplate
  268. id="AlliedFutureTankNeutronScrambler"
  269. inheritFrom="ScatterableWeapon"
  270. FireSound="ALL_FutureTank_Weapon1FireMS"
  271. FireFX="FX_Allied_FutureTank_Fire"
  272. FireVeteranFX="FX_Allied_FutureTank_Fire"
  273. AttackRange="250.0"
  274. WeaponSpeed="999999.0"
  275. RadiusDamageAffects="ENEMIES NEUTRALS"
  276. ProjectileCollidesWith="ENEMIES NEUTRAL STRUCTURES WALLS"
  277. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  278. CanFireWhileMoving="true"
  279. ClipSize="2"
  280. ShotsPerBarrel="1"
  281. ReAcquireDetailType="PER_CLIP"
  282. PreAttackType="PER_TARGET"
  283. UpdateBarrelModelConditions="true">
  284. <PreAttackDelay
  285. MinSeconds="0.1s"
  286. MaxSeconds="0.1s" />
  287. <FiringDuration
  288. MinSeconds="3s"
  289. MaxSeconds="3s" />
  290. <Nuggets>
  291. <ProjectileNugget
  292. id="defaultProjectileNugget"
  293. ProjectileTemplate="AlliedFutureTankNeutronWeaponProjectile"
  294. WarheadTemplate="AlliedFutureTankNeutronWeaponWarhead">
  295. <SpecialObjectFilter
  296. Rule="ALL"
  297. Exclude="BRIDGE BRIDGE_SEGMENT BRIDGE_ENDCAP BRIDGE_GATEHOUSE" />
  298. </ProjectileNugget>
  299. <InformTargetNugget />
  300. </Nuggets>
  301. </WeaponTemplate>
  302. <WeaponTemplate
  303. id="AlliedFutureTankNeutronScrambler_Veteran"
  304. inheritFrom="AlliedFutureTankNeutronScrambler">
  305. <Nuggets>
  306. <ProjectileNugget
  307. id="defaultProjectileNugget"
  308. ProjectileTemplate="AlliedFutureTankNeutronWeaponProjectile_Vet"
  309. WarheadTemplate="AlliedFutureTankNeutronWeaponWarhead_Vet">
  310. </ProjectileNugget>
  311. <InformTargetNugget />
  312. </Nuggets>
  313. </WeaponTemplate>
  314. <WeaponTemplate
  315. id="AlliedFutureTankNeutronWeaponWarhead"
  316. RadiusDamageAffects="ENEMIES"
  317. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  318. ProjectileCollidesWith="ENEMIES NEUTRAL STRUCTURES WALLS"
  319. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER" >
  320. <Nuggets>
  321. <!-- This is a mini damage amount for campaign purposes -->
  322. <DamageNugget
  323. id="defaultDamageNugget"
  324. Damage="0.1"
  325. DamageType="NEUTRON"/>
  326. <WeaponOCLNugget
  327. id="defaultOCLNugget"
  328. WeaponOCL="OCL_AlliedFutureTankNeutronScramblerNode"
  329. TargetAsPrimaryObject="false">
  330. <SpecialObjectFilter
  331. Rule="ALL"
  332. Exclude="BRIDGE BRIDGE_SEGMENT BRIDGE_ENDCAP BRIDGE_GATEHOUSE" />
  333. </WeaponOCLNugget>
  334. </Nuggets>
  335. </WeaponTemplate>
  336. <WeaponTemplate
  337. id="AlliedFutureTankNeutronWeaponWarhead_Vet"
  338. inheritFrom="AlliedFutureTankNeutronWeaponWarhead">
  339. <Nuggets>
  340. <WeaponOCLNugget
  341. id="defaultOCLNugget"
  342. WeaponOCL="OCL_AlliedFutureTankNeutronScramblerNode_Vet">
  343. </WeaponOCLNugget>
  344. </Nuggets>
  345. </WeaponTemplate>
  346. <WeaponTemplate
  347. id="AlliedFutureTankNeutronWeapon_IncrementalWeapon"
  348. RadiusDamageAffects="ENEMIES NEUTRALS"
  349. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  350. ProjectileCollidesWith="ENEMIES NEUTRAL STRUCTURES WALLS"
  351. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER ANTI_AIRBORNE_INFANTRY ANTI_AIRBORNE_VEHICLE" >
  352. <!-- FireSound="ALL_FutureTank_Weapon_NeutronScramblerImpactBig" no worky -->
  353. <!-- FireFX="FX_ALL_FutureTank_Weapon_NeutronScramblerImpactBig" plays late -->
  354. <Nuggets>
  355. <DamageNugget
  356. Damage="10.0"
  357. DamageType="NEUTRON"
  358. DamageFXType="ALLIED_BOMB"
  359. DeathType="DETONATED">
  360. <SpecialObjectFilter
  361. Rule="ALL"
  362. Exclude="BRIDGE BRIDGE_SEGMENT BRIDGE_ENDCAP BRIDGE_GATEHOUSE" />
  363. <DamageScalarDetails Scalar= "25%">
  364. <Filter
  365. Rule="NONE"
  366. Include="INFANTRY" />
  367. </DamageScalarDetails>
  368. <DamageScalarDetails Scalar= "50%">
  369. <Filter
  370. Rule="ALL"
  371. Relationship="ALLIES" />
  372. </DamageScalarDetails>
  373. </DamageNugget>
  374. </Nuggets>
  375. </WeaponTemplate>
  376. <WeaponTemplate
  377. id="AlliedFutureTankLaserSweepWeapon"
  378. RadiusDamageAffects="ENEMIES NEUTRALS"
  379. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  380. PreAttackType="PER_SHOT"
  381. AttackRange="275.0"
  382. ClipSize="=$UNLIMITED_CLIP_SIZE">
  383. <!-- FireSound="ALL_FutureTank_DeathRayWeaponFire" no worky -->
  384. <Nuggets>
  385. <DamageNugget
  386. Damage="50.0"
  387. Radius="5.0"
  388. RadiusAffectsBridges="true"
  389. DelayTimeSeconds="0.1s"
  390. DamageType="EXPLOSIVE"
  391. DeathType="LASERED">
  392. <SpecialObjectFilter
  393. Rule="ALL"
  394. Exclude="AIRCRAFT ORE_NODE BRIDGE_SEGMENT BRIDGE_ENDCAP"
  395. StatusBitFlagsExclude="AIRBORNE_TARGET SUBMERGED" />
  396. <DamageScalarDetails Scalar= "30%">
  397. <Filter
  398. Rule="NONE"
  399. Include="INFANTRY" />
  400. </DamageScalarDetails>
  401. </DamageNugget>
  402. <LineDamageNugget
  403. id="DefaultDamageNugget"
  404. Damage="25.0"
  405. LineWidth="5.0"
  406. DamageType="EXPLOSIVE"
  407. DamageFXType="JAPAN_FORCE"
  408. DeathType="NORMAL"
  409. UseDynamicLineLength="true"
  410. RadiusAffectsBridges="true"
  411. OverShootDistance="0.0">
  412. <SpecialObjectFilter
  413. Rule="ALL"
  414. Exclude="AIRCRAFT ORE_NODE BRIDGE_SEGMENT BRIDGE_ENDCAP"
  415. StatusBitFlagsExclude="AIRBORNE_TARGET SUBMERGED" />
  416. <DamageScalarDetails Scalar= "30%">
  417. <Filter
  418. Rule="NONE"
  419. Include="INFANTRY" />
  420. </DamageScalarDetails>
  421. </LineDamageNugget>
  422. </Nuggets>
  423. </WeaponTemplate>
  424. <!-- ///////////////////////////// -->
  425. <!-- AlliedLegionnaireInfantry -->
  426. <!-- ///////////////////////////// -->
  427. <WeaponTemplate
  428. id="AlliedLegionnaireInfantryFreezeSpray"
  429. AttackRange="200.0"
  430. MinTargetPitch="-15d"
  431. MaxTargetPitch="15d"
  432. WeaponSpeed="750"
  433. RadiusDamageAffects="ENEMIES"
  434. ClipSize="=$UNLIMITED_CLIP_SIZE"
  435. FiringLoopSound="ALL_CryoLegionaire_FreezeWeaponLoop"
  436. FiringLoopSoundContinuesDuringReload="true"
  437. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  438. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  439. AcceptableAimDelta="1d"
  440. CanFireWhileMoving="false"
  441. DamageDealtAtSelfPosition="true"
  442. ReAcquireDetailType="PER_CLIP"
  443. IgnoresContactPoints="true" >
  444. <!-- this little preattack delay is so we restart the firing animation for each shot, otherwise the anim gets out of sync with the FX-->
  445. <PreAttackDelay
  446. MinSeconds="0.01s"
  447. MaxSeconds="0.01s" />
  448. <FiringDuration
  449. MinSeconds="0.1s"
  450. MaxSeconds="0.1s" />
  451. <Nuggets>
  452. <ActivateLaserNugget
  453. id="defaultActivateLaserNugget"
  454. Lifetime="1.9s"
  455. LaserId="101"
  456. OnlyIfInactive="true"/>
  457. <ActivateLaserNugget
  458. id="defaultActivateLaserNugget2"
  459. Lifetime="1.9s"
  460. LaserId="102"
  461. OnlyIfInactive="true"/>
  462. <SecondaryDamageNugget
  463. Amount="20"
  464. Radius="225"
  465. Arc="60d"
  466. DamageTaperOff="5">
  467. <SpecialObjectFilter
  468. Rule="ALL"
  469. Exclude="BRIDGE_GATEHOUSE"
  470. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING">
  471. </SpecialObjectFilter>
  472. <ForbiddenUpgrade>Upgrade_AlliedHighTechnology</ForbiddenUpgrade>
  473. </SecondaryDamageNugget>
  474. <!-- High Technology Special power weapon -->
  475. <SecondaryDamageNugget
  476. Amount="25"
  477. Radius="225"
  478. Arc="60d"
  479. DamageTaperOff="5">
  480. <SpecialObjectFilter
  481. Rule="ALL"
  482. Exclude="BRIDGE_GATEHOUSE"
  483. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING">
  484. </SpecialObjectFilter>
  485. <RequiredUpgrade>Upgrade_AlliedHighTechnology</RequiredUpgrade>
  486. </SecondaryDamageNugget>
  487. </Nuggets>
  488. <IncompatibleAttributeModifier>AttributeModifier_Garrisoned</IncompatibleAttributeModifier>
  489. </WeaponTemplate>
  490. <!-- Veteran sweep laser -->
  491. <WeaponTemplate
  492. id="AlliedLegionnaireInfantryFreezeSprayVeteran"
  493. inheritFrom="AlliedLegionnaireInfantryFreezeSpray">
  494. <Nuggets>
  495. <ActivateLaserNugget
  496. id="defaultActivateLaserNugget"
  497. LaserId="103" />
  498. <ActivateLaserNugget
  499. id="defaultActivateLaserNugget2"
  500. LaserId="104" />
  501. </Nuggets>
  502. </WeaponTemplate>
  503. <!-- check the StartAbilityRange in the unit's WeaponFireSpecialAbilityUpdate to determine the weapon range. -->
  504. <WeaponTemplate
  505. id="AlliedLegionnaireLeapWeapon"
  506. IdleAfterFiringDelaySeconds="0s"
  507. AttackRange="300.0"
  508. MinimumAttackRange="20"
  509. WeaponSpeed="300"
  510. ProjectileSelf="true"
  511. ClipSize="=$UNLIMITED_CLIP_SIZE"
  512. AutoReloadsClip="AUTO"
  513. PreAttackType="PER_SHOT"
  514. FireFX="FX_Allied_LegionnaireLeapFire"
  515. FireVeteranFX="FX_None"
  516. Flags="NOT_ATTRACTED_BY_MAGNETS"
  517. HitPercentage="0%"
  518. ProjectileSelfUsesPathfinder="true">
  519. <FiringDuration
  520. MinSeconds="0.1s"
  521. MaxSeconds="0.1s" />
  522. <Nuggets>
  523. <ProjectileNugget
  524. WarheadTemplate="DummyWeaponWarhead" />
  525. <InformTargetNugget />
  526. </Nuggets>
  527. </WeaponTemplate>
  528. <WeaponTemplate
  529. id="AlliedLegionnaireInfantryLandWeapon"
  530. FireFX="FX_Allied_LegionnaireLeapLand"
  531. Flags="NOT_ATTRACTED_BY_MAGNETS"
  532. RadiusDamageAffects="ENEMIES NEUTRALS"
  533. FireVeteranFX="FX_Allied_LegionnaireLeapLand">
  534. <Nuggets>
  535. <DamageNugget
  536. id="DefaultDamageNugget"
  537. Damage="20.0"
  538. Radius="50.0"
  539. DamageType="MELEE"
  540. DeathType="CRUSHED">
  541. <SpecialObjectFilter
  542. Rule="ALL"
  543. Relationship="ENEMIES NEUTRAL"
  544. StatusBitFlagsExclude="NO_COLLISIONS">
  545. </SpecialObjectFilter>
  546. </DamageNugget>
  547. <!-- The Meta Impact should be selective -->
  548. <MetaImpactNugget
  549. ShockWaveAmount="50"
  550. ShockWaveRadius="50.0"
  551. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING">
  552. <SpecialObjectFilter
  553. Rule="ANY"
  554. Relationship="ENEMIES"
  555. Include="INFANTRY"
  556. StatusBitFlagsExclude="NO_COLLISIONS">
  557. </SpecialObjectFilter>
  558. </MetaImpactNugget>
  559. </Nuggets>
  560. </WeaponTemplate>
  561. <!-- IF Base Defense and IFV Weapon -->
  562. <WeaponTemplate
  563. id="ABD_AlliedLegionnaireWeapon"
  564. AttackRange="300.0"
  565. WeaponSpeed="999999.0"
  566. FiringLoopSound="ALL_CryoLegionnaire_FreezeWeapon_GarrisonLoop"
  567. ImpactLoopSound="ALL_Cryocopter_CryobeamImpactLoop"
  568. RetargetedWhileLoopingSound="ALL_CryoLegionnaire_FreezeWeapon_GarrisonFire"
  569. FiringLoopSoundContinuesDuringReload="false"
  570. RadiusDamageAffects="ENEMIES"
  571. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  572. CanFireWhileMoving="true"
  573. AcceptableAimDelta="20d"
  574. ReAcquireDetailType="PER_CLIP"
  575. RequiredAntiMask="ANTI_STRUCTURE ANTI_GROUND ANTI_WATER ANTI_AIRBORNE_INFANTRY ANTI_AIRBORNE_VEHICLE">
  576. <FiringDuration
  577. MinSeconds="1.0s"
  578. MaxSeconds="1.0s" />
  579. <Nuggets>
  580. <ActivateLaserNugget
  581. Lifetime="1.0s"
  582. LaserId="0">
  583. <SpecialObjectFilter
  584. Rule="ANY"
  585. Include="INFANTRY VEHICLE HUGE_VEHICLE AIRCRAFT STRUCTURE TIME_BOMB"
  586. Exclude="BRIDGE_GATEHOUSE"
  587. StatusBitFlagsExclude="SUBMERGED"/>
  588. </ActivateLaserNugget>
  589. <!-- Normal Weapon -->
  590. <SecondaryDamageNugget
  591. Amount="75">
  592. <SpecialObjectFilter
  593. Rule="ALL"
  594. Exclude="BRIDGE_GATEHOUSE"
  595. StatusBitFlagsExclude="SUBMERGED">
  596. </SpecialObjectFilter>
  597. <ForbiddenUpgrade>Upgrade_AlliedHighTechnology</ForbiddenUpgrade>
  598. </SecondaryDamageNugget>
  599. <!-- High Technology Special power weapon -->
  600. <SecondaryDamageNugget
  601. Amount="100">
  602. <SpecialObjectFilter
  603. Rule="ALL"
  604. Exclude="BRIDGE_GATEHOUSE"
  605. StatusBitFlagsExclude="SUBMERGED">
  606. </SpecialObjectFilter>
  607. <RequiredUpgrade>Upgrade_AlliedHighTechnology</RequiredUpgrade>
  608. </SecondaryDamageNugget>
  609. </Nuggets>
  610. </WeaponTemplate>
  611. <WeaponTemplate
  612. id="AAAVT1_AlliedLegionnaireWeapon"
  613. inheritFrom="ABD_AlliedLegionnaireWeapon"/>
  614. <!-- /////////////////////////// -->
  615. <!-- CryoSpill Death Weapon -->
  616. <!-- /////////////////////////// -->
  617. <WeaponTemplate
  618. id="CryoSpillDeathWeapon"
  619. WeaponSpeed="999999.0"
  620. PreAttackFX="FX_None"
  621. FireFX="FX_Allied_LegionnaireDeath"
  622. FireVeteranFX="FX_Allied_LegionnaireDeath"
  623. CanFireWhileMoving="false"
  624. ClipSize="=$UNLIMITED_CLIP_SIZE"
  625. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  626. RadiusDamageAffects="ENEMIES"
  627. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER">
  628. <Nuggets>
  629. <SecondaryDamageNugget
  630. Amount="1000"
  631. Radius="30"
  632. DamageTaperOff="20">
  633. <SpecialObjectFilter
  634. Rule="ALL"
  635. Exclude="BRIDGE_GATEHOUSE"
  636. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING">
  637. </SpecialObjectFilter>
  638. </SecondaryDamageNugget>
  639. </Nuggets>
  640. </WeaponTemplate>
  641. <!-- ***** Soviet ***** -->
  642. <!-- /////////////////////////// -->
  643. <!-- SovietDesolatorInfantry -->
  644. <!-- /////////////////////////// -->
  645. <WeaponTemplate
  646. id="SovietDesolatorSpray"
  647. AttackRange="225.0"
  648. MinTargetPitch="-15d"
  649. MaxTargetPitch="15d"
  650. WeaponSpeed="750"
  651. FireFX=""
  652. FireVeteranFX="FX_SovietDesolatorPrimaryFireVet"
  653. FiringLoopSound="SOV_DesolatorTrooper_SprayGunFire"
  654. FiringLoopSoundContinuesDuringReload="true"
  655. RadiusDamageAffects="ENEMIES"
  656. ClipSize="=$UNLIMITED_CLIP_SIZE"
  657. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  658. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  659. AcceptableAimDelta="160d"
  660. CanFireWhileMoving="false"
  661. DamageDealtAtSelfPosition="false"
  662. ReAcquireDetailType="PER_CLIP"
  663. IgnoresContactPoints="true">
  664. <!-- this little preattack delay is so we restart the firing animation for each shot, otherwise the anim gets out of sync with the FX-->
  665. <FiringDuration
  666. MinSeconds="0.25s"
  667. MaxSeconds="0.25s" />
  668. <ClipReloadTime
  669. MinSeconds="1.0s"
  670. MaxSeconds="1.0s" />
  671. <Nuggets>
  672. <ActivateStreamNugget
  673. id="StreamNugget"
  674. Lifetime="1s"
  675. StreamId="0">
  676. <SpecialObjectFilter
  677. Rule="ANY"
  678. Relationship="ENEMIES"
  679. Include="INFANTRY VEHICLE"
  680. StatusBitFlagsExclude="AIRBORNE_TARGET"/>
  681. </ActivateStreamNugget>
  682. <ActivateStreamNugget
  683. id="StreamNugget"
  684. Lifetime="1s"
  685. StreamId="0">
  686. <SpecialObjectFilter
  687. Rule="ANY"
  688. Relationship="ENEMIES"
  689. Include="STRUCTURE"
  690. StatusBitFlags="BLATTED CONTAINER_OCCUPIED"
  691. StatusBitFlagsExclude="AIRBORNE_TARGET"/>
  692. </ActivateStreamNugget>
  693. <SlavesAttackNugget
  694. id="SlaveAttackNugget"
  695. SkipSlavesCanAttackCheck="true">
  696. <SpecialObjectFilter
  697. Rule="ANY"
  698. Relationship="ENEMIES"
  699. Include="INFANTRY VEHICLE"
  700. StatusBitFlagsExclude="AIRBORNE_TARGET"/>
  701. </SlavesAttackNugget>
  702. <SlavesAttackNugget
  703. id="SlaveAttackNuggetStructures"
  704. SkipSlavesCanAttackCheck="true">
  705. <SpecialObjectFilter
  706. Rule="ANY"
  707. Relationship="ENEMIES"
  708. Include="STRUCTURE"
  709. StatusBitFlags="BLATTED CONTAINER_OCCUPIED"
  710. StatusBitFlagsExclude="AIRBORNE_TARGET"/>
  711. </SlavesAttackNugget>
  712. </Nuggets>
  713. </WeaponTemplate>
  714. <WeaponTemplate
  715. id="SovietDesolatorSpray_Dummy"
  716. inheritFrom="SovietDesolatorSpray">
  717. <Nuggets>
  718. <ActivateStreamNugget
  719. id="StreamNugget"
  720. xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance"
  721. Lifetime="1s"
  722. StreamId="1"/>
  723. <SlavesAttackNugget
  724. id="SlaveAttackNugget"
  725. xai:joinAction="Remove" xmlns:xai="uri:ea.com:eala:asset:instance"/>
  726. </Nuggets>
  727. </WeaponTemplate>
  728. <WeaponTemplate
  729. id="AAAVT1_SovietDesolatorWeapon"
  730. inheritFrom="SovietDesolatorSpray"/>
  731. <WeaponTemplate
  732. id="SovietDesolatorAttachingWeapon"
  733. AttackRange="=$DESOLATOR_INFANTRY_SPRAY_ATTACH_RANGE"
  734. MinTargetPitch="-15d"
  735. MaxTargetPitch="15d"
  736. WeaponSpeed="999999.0"
  737. FireFX=""
  738. FireVeteranFX=""
  739. FireSound=""
  740. RadiusDamageAffects="ENEMIES"
  741. ClipSize="=$UNLIMITED_CLIP_SIZE"
  742. Flags="ATTACK_NEEDS_LINE_OF_SIGHT IGNORE_TARGET_AS_OBSTACLE"
  743. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  744. AcceptableAimDelta="1d"
  745. CanFireWhileMoving="false"
  746. DamageDealtAtSelfPosition="false"
  747. ReAcquireDetailType="PER_CLIP"
  748. IgnoresContactPoints="true"
  749. MeleeWeapon="true">
  750. <Nuggets>
  751. <AttachNugget
  752. AttachModuleId="ModuleTag_AttachUpdate"
  753. ForbiddenTargetObjectStatus="AIRBORNE_TARGET VEHICLE_ATTACHED UNDERGOING_REPAIR SPECIAL_ARMOR_ACTIVE NOT_IN_WORLD">
  754. <SpecialObjectFilter
  755. Rule="ANY"
  756. Include="VEHICLE STRUCTURE INFANTRY"
  757. Relationship="ENEMIES NEUTRAL">
  758. <ExcludeThing>SovietScoutVehicle</ExcludeThing>
  759. </SpecialObjectFilter>
  760. </AttachNugget>
  761. </Nuggets>
  762. </WeaponTemplate>
  763. <WeaponTemplate
  764. id="SovietDesolatorAttachedDamage"
  765. AttackRange="25.0"
  766. WeaponSpeed="999999.0"
  767. ReAcquireDetailType="PRE_FIRE"
  768. ClipSize="=$UNLIMITED_CLIP_SIZE"
  769. FiringLoopSound=""
  770. RadiusDamageAffects="ENEMIES"
  771. AcceptableAimDelta="180d"
  772. CanFireWhileMoving="true"
  773. Flags="NOT_ATTRACTED_BY_MAGNETS"
  774. VirtualDamage="SHARE"
  775. RequiredAntiMask="ANTI_GROUND ANTI_WATER ANTI_SUBMERGED ANTI_AIRBORNE_VEHICLE"
  776. FinishAttackOnceStarted="true"
  777. MeleeWeapon="true">
  778. <FiringDuration
  779. MinSeconds="0.25s"
  780. MaxSeconds="0.25s" />
  781. <Nuggets>
  782. <!--
  783. <TintObjectsNugget
  784. PreColorTime="0s"
  785. SustainedColorTime="3.0s"
  786. PostColorTime="0s"
  787. Frequency="0"
  788. Amplitude="0">
  789. <Color R="0" G="4" B="0"/>
  790. </TintObjectsNugget>
  791. -->
  792. <DamageNugget
  793. Damage="10.0"
  794. DamageType="RADIATION"
  795. DeathType="EXPLODED"/>
  796. </Nuggets>
  797. </WeaponTemplate>
  798. <WeaponTemplate
  799. id="SovietBlatGun"
  800. AttackRange="250.0"
  801. MinimumAttackRange="50"
  802. WeaponSpeed="350"
  803. FireSound="SOV_DesolatorTrooper_BlatGunFire"
  804. FireFX=""
  805. FireVeteranFX=""
  806. AcceptableAimDelta="10d"
  807. ClipSize="1"
  808. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  809. CanFireWhileMoving="true"
  810. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER">
  811. <FiringDuration
  812. MinSeconds=".5s"
  813. MaxSeconds=".5s" />
  814. <ClipReloadTime
  815. MinSeconds="0.5s"
  816. MaxSeconds="0.5s" />
  817. <Nuggets>
  818. <ProjectileNugget
  819. ProjectileTemplate="SovietBlatGunProjectile"
  820. WarheadTemplate="SovietBlatGunWarhead">
  821. <VeterancyProjectiles
  822. VeterancyLevel="HEROIC"
  823. ProjectileTemplate="SovietBlatGunProjectile_Vet"/>
  824. </ProjectileNugget>
  825. </Nuggets>
  826. </WeaponTemplate>
  827. <WeaponTemplate
  828. id="SovietBlatGunWarhead"
  829. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  830. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  831. ProjectileCollidesWith = "ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  832. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER" >
  833. <Nuggets>
  834. <WeaponOCLNugget
  835. WeaponOCL="OCL_DesolatorBlatGoo"
  836. TargetAsPrimaryObject="false">
  837. <!-- bridge objects do not take goo damage -->
  838. <SpecialObjectFilter
  839. Rule="ALL"
  840. Exclude="BRIDGE_GATEHOUSE BRIDGE_SEGMENT BRIDGE_ENDCAP BRIDGE" />
  841. </WeaponOCLNugget>
  842. <DamageNugget
  843. Damage="22.0"
  844. DamageType="RADIATION"
  845. DeathType="EXPLODED"/>
  846. <!-- this will shatter frozen units -->
  847. <DamageNugget
  848. Damage="10.0"
  849. DamageType="EXPLOSIVE"
  850. DeathType="EXPLODED">
  851. <SpecialObjectFilter
  852. Rule="ANY"
  853. Include="STRUCTURE VEHICLE INFANTRY"
  854. Relationship="ENEMIES NEUTRAL"
  855. StatusBitFlags="UNDER_FROZEN" />
  856. </DamageNugget>
  857. </Nuggets>
  858. </WeaponTemplate>
  859. <WeaponTemplate
  860. id="SovietBlatAttachedDamage"
  861. AttackRange="25.0"
  862. WeaponSpeed="999999.0"
  863. ReAcquireDetailType="PRE_FIRE"
  864. ClipSize="=$UNLIMITED_CLIP_SIZE"
  865. FiringLoopSound="SOV_TerrorDrone_Dismantle"
  866. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  867. AcceptableAimDelta="180d"
  868. CanFireWhileMoving="true"
  869. Flags="NOT_ATTRACTED_BY_MAGNETS"
  870. VirtualDamage="SHARE"
  871. RequiredAntiMask="ANTI_GROUND ANTI_WATER ANTI_SUBMERGED ANTI_AIRBORNE_VEHICLE"
  872. FinishAttackOnceStarted="true"
  873. MeleeWeapon="true">
  874. <FiringDuration
  875. MinSeconds="0.25s"
  876. MaxSeconds="0.25s" />
  877. <Nuggets>
  878. <TintObjectsNugget
  879. PreColorTime="0s"
  880. SustainedColorTime="1.0s"
  881. PostColorTime="0s"
  882. Frequency="0"
  883. Amplitude="0"
  884. Radius="1">
  885. <!-- bridge objects are not really affected so do not tint them -->
  886. <SpecialObjectFilter
  887. Rule="ALL"
  888. Exclude="BRIDGE_GATEHOUSE BRIDGE_SEGMENT BRIDGE_ENDCAP BRIDGE" />
  889. <Color R="0" G="2" B="0"/>
  890. </TintObjectsNugget>
  891. <DamageNugget
  892. Damage="1.0"
  893. DamageType="RADIATION"
  894. DeathType="EXPLODED">
  895. <DamageScalarDetails Scalar= "50%">
  896. <Filter
  897. Rule="NONE"
  898. Include="INFANTRY" />
  899. </DamageScalarDetails>
  900. </DamageNugget>
  901. <AttributeModifierNugget
  902. AttributeModifierName="AttributeModifier_SovietDesolatorInfantryBlatSlowdown">
  903. <!-- Applying this modifier to bridge objects causes the managed body system to break -->
  904. <SpecialObjectFilter
  905. Rule="ALL"
  906. Exclude="BRIDGE_GATEHOUSE BRIDGE_SEGMENT BRIDGE_ENDCAP BRIDGE" />
  907. </AttributeModifierNugget>
  908. </Nuggets>
  909. </WeaponTemplate>
  910. <!-- //////////////////////////// -->
  911. <!-- SovietHeavyWalkerVehicle -->
  912. <!-- //////////////////////////// -->
  913. <WeaponTemplate
  914. id="SovietHeavyWalkerGrenadeWeapon"
  915. AttackRange="225.0"
  916. MinimumAttackRange="20"
  917. WeaponSpeed="300"
  918. MinWeaponSpeed="275"
  919. MaxWeaponSpeed="325"
  920. ScatterAlways="true"
  921. ScatterRadius="20"
  922. ScatterIndependently="true"
  923. FireSound="SOV_ProtoSickle_WeaponGrenadeFire"
  924. FireFX="FX_SovietGrenadeLaunch"
  925. FireVeteranFX="FX_SovietGrenadeLaunchVet"
  926. AcceptableAimDelta="10d"
  927. ClipSize="3"
  928. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  929. CanFireWhileMoving="true"
  930. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER">
  931. <FiringDuration
  932. MinSeconds=".2s"
  933. MaxSeconds=".2s" />
  934. <ClipReloadTime
  935. MinSeconds="2.5s"
  936. MaxSeconds="2.5s" />
  937. <Nuggets>
  938. <ProjectileNugget
  939. ProjectileTemplate="SovietHeavyWalkerGrenadeWeaponProjectile"
  940. WarheadTemplate="SovietHeavyWalkerGrenadeWeaponWarhead">
  941. <VeterancyProjectiles
  942. VeterancyLevel="HEROIC"
  943. ProjectileTemplate="SovietHeavyWalkerGrenadeWeaponProjectile_Vet"/>
  944. </ProjectileNugget>
  945. <SuppressionNugget
  946. Radius="20.0"
  947. Suppression="20"
  948. DurationSeconds="5.0s" />
  949. <InformTargetNugget />
  950. </Nuggets>
  951. </WeaponTemplate>
  952. <WeaponTemplate
  953. id="SovietHeavyWalkerGrenadeWeaponWarhead"
  954. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  955. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  956. ProjectileCollidesWith = "ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  957. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER" >
  958. <Nuggets>
  959. <DamageNugget
  960. Damage="15.0"
  961. Radius="20.0"
  962. DamageTaperOff="15"
  963. DamageType="EXPLOSIVE"
  964. DamageFXType="ALLIED_MISSILE"
  965. DeathType="EXPLODED">
  966. <DamageScalarDetails Scalar= "150%">
  967. <Filter
  968. Rule="NONE"
  969. Include="INFANTRY" />
  970. </DamageScalarDetails>
  971. </DamageNugget>
  972. <SuppressionNugget
  973. Radius="20.0"
  974. Suppression="20"
  975. DurationSeconds="5s" />
  976. </Nuggets>
  977. </WeaponTemplate>
  978. <WeaponTemplate
  979. id="SovietHeavyWalkerRocketWeapon"
  980. inheritFrom="ScatterableWeapon"
  981. AttackRange="225.0"
  982. MinimumAttackRange="20"
  983. WeaponSpeed="250"
  984. MinWeaponSpeed="200"
  985. MaxWeaponSpeed="300"
  986. FireSound="SOV_ProtoSickle_WeaponRocketFire"
  987. FireFX="FX_SovietRocketLaunch"
  988. FireVeteranFX="FX_SovietRocketLaunchVet"
  989. AcceptableAimDelta="10d"
  990. VirtualDamage="SHARE"
  991. ClipSize="10"
  992. Flags="ATTACK_NEEDS_LINE_OF_SIGHT"
  993. CanFireWhileMoving="true"
  994. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE" >
  995. <FiringDuration
  996. MinSeconds=".1s"
  997. MaxSeconds=".1s" />
  998. <ClipReloadTime
  999. MinSeconds="8s"
  1000. MaxSeconds="8s" />
  1001. <Nuggets>
  1002. <ProjectileNugget
  1003. ProjectileTemplate="SovietHeavyWalkerRocketWeaponProjectile"
  1004. WarheadTemplate="SovietHeavyWalkerRocketWeaponWarhead">
  1005. <VeterancyProjectiles
  1006. VeterancyLevel="HEROIC"
  1007. ProjectileTemplate="SovietHeavyWalkerRocketWeaponProjectile_Vet"/>
  1008. </ProjectileNugget>
  1009. <SuppressionNugget
  1010. Radius="10.0"
  1011. Suppression="10"
  1012. DurationSeconds="5.0s" />
  1013. <InformTargetNugget />
  1014. </Nuggets>
  1015. </WeaponTemplate>
  1016. <WeaponTemplate
  1017. id="SovietHeavyWalkerRocketWeaponWarhead"
  1018. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1019. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1020. ProjectileCollidesWith ="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1021. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE" >
  1022. <Nuggets>
  1023. <DamageNugget
  1024. Damage="7.0"
  1025. Radius="10.0"
  1026. DamageTaperOff="0"
  1027. DamageType="ROCKET"
  1028. DamageFXType="ALLIED_MISSILE"
  1029. DeathType="EXPLODED">
  1030. <DamageScalarDetails Scalar= "500%">
  1031. <Filter
  1032. Rule="ANY"
  1033. Include="INFANTRY VEHICLE"
  1034. StatusBitFlags="AIRBORNE_TARGET"/>
  1035. </DamageScalarDetails>
  1036. </DamageNugget>
  1037. <SuppressionNugget
  1038. Radius="10.0"
  1039. Suppression="10"
  1040. DurationSeconds="5s" />
  1041. </Nuggets>
  1042. </WeaponTemplate>
  1043. <WeaponTemplate
  1044. id="SovietHeavyWalkerVehicleLeapWeapon"
  1045. IdleAfterFiringDelaySeconds="0s"
  1046. AttackRange="350.0"
  1047. MinimumAttackRange="20"
  1048. WeaponSpeed="300"
  1049. ProjectileSelf="true"
  1050. ProjectileSelfUsesPathfinder="false"
  1051. ClipSize="=$UNLIMITED_CLIP_SIZE"
  1052. AutoReloadsClip="AUTO"
  1053. PreAttackType="PER_SHOT"
  1054. FireFX="FX_None"
  1055. FireVeteranFX="FX_None"
  1056. Flags="NOT_ATTRACTED_BY_MAGNETS"
  1057. HitPercentage="0%" >
  1058. <FiringDuration
  1059. MinSeconds="0.1s"
  1060. MaxSeconds="0.1s" />
  1061. <Nuggets>
  1062. <ProjectileNugget
  1063. WarheadTemplate="DummyWeaponWarhead" />
  1064. <InformTargetNugget />
  1065. </Nuggets>
  1066. </WeaponTemplate>
  1067. <WeaponTemplate
  1068. id="SovietHeavyWalkerVehicleLandDeployWeapon"
  1069. FireFX="FX_SovietSickleLand"
  1070. Flags="NOT_ATTRACTED_BY_MAGNETS"
  1071. FireVeteranFX="FX_SovietSickleLand">
  1072. <Nuggets>
  1073. <DamageNugget
  1074. id="DefaultDamageNugget"
  1075. Damage="120.0"
  1076. DamageTaperOff="40"
  1077. Radius="50.0"
  1078. DamageType="MELEE"
  1079. DeathType="CRUSHED">
  1080. <SpecialObjectFilter
  1081. Rule="ALL"
  1082. Relationship="ENEMIES"
  1083. StatusBitFlagsExclude="NO_COLLISIONS" />
  1084. </DamageNugget>
  1085. <!-- Allows for the "crushing" of vehicles that are underneath us -->
  1086. <DamageNugget
  1087. id="CrushingDamageNugget"
  1088. Damage="999999.0"
  1089. Radius="15.0"
  1090. DamageType="CRUSH"
  1091. DeathType="CRUSHED">
  1092. <SpecialObjectFilter
  1093. Rule="ANY"
  1094. Include="VEHICLE"
  1095. Relationship="ENEMIES" />
  1096. </DamageNugget>
  1097. <!-- The Meta Impact should be selective -->
  1098. <MetaImpactNugget
  1099. ShockWaveAmount="50"
  1100. ShockWaveRadius="50.0"
  1101. ShockWaveTaperOff="1.0"
  1102. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING">
  1103. <SpecialObjectFilter
  1104. Rule="ANY"
  1105. Relationship="ENEMIES"
  1106. Include="INFANTRY"
  1107. StatusBitFlagsExclude="NO_COLLISIONS">
  1108. </SpecialObjectFilter>
  1109. </MetaImpactNugget>
  1110. </Nuggets>
  1111. </WeaponTemplate>
  1112. <!-- //////////////////////// -->
  1113. <!-- SovietGrinderVehicle -->
  1114. <!-- //////////////////////// -->
  1115. <WeaponTemplate
  1116. id="SovietGrinderVehicleGrindWeapon"
  1117. AttackRange="1.0"
  1118. WeaponSpeed="999999.0"
  1119. ReAcquireDetailType="PER_ATTACK"
  1120. ClipSize="1"
  1121. FireFX="FX_Sov_Grinder_Grind"
  1122. FireVeteranFX="FX_Sov_Grinder_Grind"
  1123. FiringLoopSound="SOV_Grinder_WeaponLoop"
  1124. AcceptableAimDelta="35d"
  1125. CanFireWhileMoving="true"
  1126. Flags="NOT_ATTRACTED_BY_MAGNETS IGNORE_TARGET_AS_OBSTACLE"
  1127. RequiredAntiMask="ANTI_VEHICLE ANTI_STRUCTURE"
  1128. ForbiddenAntiMask="ANTI_SUBMERGED ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY"
  1129. InstantLoadClipOnActivate="true"
  1130. FinishAttackOnceStarted="true"
  1131. MeleeWeapon="true"
  1132. ContactWeapon="true"
  1133. ChaseWeapon="true">
  1134. <FiringDuration
  1135. MinSeconds="0.12s"
  1136. MaxSeconds="0.12s" />
  1137. <ClipReloadTime
  1138. MinSeconds="0.12s"
  1139. MaxSeconds="0.12s" />
  1140. <Nuggets>
  1141. <!-- Without the upgrade, still need to destroy the target, but no benefit -->
  1142. <DamageNugget
  1143. id="defaultDamageNugget"
  1144. Damage="30.0"
  1145. DelayTimeSeconds="0.0s"
  1146. DamageType="EXPLOSIVE"
  1147. DeathType="CRUSHED"
  1148. DamageFXType="SOVIET_MORTAR"
  1149. PartitionFilterTestType="SPHERE">
  1150. <SpecialObjectFilter
  1151. Rule="ANY"
  1152. Include="INFANTRY VEHICLE STRUCTURE"
  1153. Exclude="ORE_NODE"
  1154. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING"/>
  1155. <ForbiddenUpgrade>Upgrade_SovietCrushPuppiesPower</ForbiddenUpgrade>
  1156. </DamageNugget>
  1157. <!-- This player power grants the attacker a percentage of the victims health -->
  1158. <LeechPercentMaxHealthDamageNugget
  1159. id="leechDamageNugget"
  1160. Damage="30.0"
  1161. DelayTimeSeconds="0.0s"
  1162. DamageType="EXPLOSIVE"
  1163. DeathType="CRUSHED"
  1164. DamageFXType="SOVIET_MORTAR"
  1165. PartitionFilterTestType="SPHERE"
  1166. PercentMaxHealthToTake="1%">
  1167. <SpecialObjectFilter
  1168. Rule="ANY"
  1169. Include="INFANTRY VEHICLE"
  1170. Exclude="ORE_NODE STRUCTURE"
  1171. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING"/>
  1172. <RequiredUpgrade>Upgrade_SovietCrushPuppiesPower</RequiredUpgrade>
  1173. </LeechPercentMaxHealthDamageNugget>
  1174. <!-- He should not however get health from structures -->
  1175. <DamageNugget
  1176. id="upgradedDamageNugget"
  1177. Damage="30.0"
  1178. DelayTimeSeconds="0.0s"
  1179. DamageType="EXPLOSIVE"
  1180. DeathType="CRUSHED"
  1181. DamageFXType="SOVIET_MORTAR"
  1182. PartitionFilterTestType="SPHERE" >
  1183. <SpecialObjectFilter
  1184. Rule="NONE"
  1185. Include="STRUCTURE"
  1186. Exclude="ORE_NODE"/>
  1187. <RequiredUpgrade>Upgrade_SovietCrushPuppiesPower</RequiredUpgrade>
  1188. </DamageNugget>
  1189. <ParalyzeNugget
  1190. ParalyzeType="USER_PARALYZE"
  1191. DurationSeconds="1.0s">
  1192. <SpecialObjectFilter
  1193. Rule="ANY"
  1194. Include="INFANTRY VEHICLE"
  1195. Exclude="ORE_NODE BRIDGE_GATEHOUSE"
  1196. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING UNDER_IRON_CURTAIN">
  1197. <ExcludeThing>JapanMechaKing</ExcludeThing>
  1198. </SpecialObjectFilter>
  1199. </ParalyzeNugget>
  1200. <!-- Stop the Grinder as well -->
  1201. <ParalyzeNugget
  1202. ParalyzeType="TEMPORARILY_BUSY"
  1203. DurationSeconds="0.4s"
  1204. OnlyAffectOwnerWhenTriggered="true" />
  1205. </Nuggets>
  1206. </WeaponTemplate>
  1207. <WeaponTemplate
  1208. id="SovietGrinderVehicleGrindWeapon_Infantry"
  1209. inheritFrom="SovietGrinderVehicleGrindWeapon"
  1210. RequiredAntiMask="ANTI_INFANTRY"
  1211. ContactWeapon="false"
  1212. FireFX=""
  1213. FireVeteranFX=""/>
  1214. <!-- Soviet Grinder Vet Weapon for new FX -->
  1215. <WeaponTemplate
  1216. id="SovietGrinderVehicleGrindVeteranWeapon"
  1217. inheritFrom="SovietGrinderVehicleGrindWeapon">
  1218. <Nuggets>
  1219. <DamageNugget
  1220. id="defaultDamageNugget"
  1221. DamageFXType="SOVIET_MORTAR"/>
  1222. <LeechPercentMaxHealthDamageNugget
  1223. id="leechDamageNugget"
  1224. DamageFXType="SOVIET_MORTAR"/>
  1225. <DamageNugget
  1226. id="upgradedDamageNugget"
  1227. DamageFXType="SOVIET_MORTAR"/>
  1228. </Nuggets>
  1229. </WeaponTemplate>
  1230. <WeaponTemplate
  1231. id="SovietGrinderVehicleGrindVeteranWeapon_Infantry"
  1232. inheritFrom="SovietGrinderVehicleGrindVeteranWeapon"
  1233. RequiredAntiMask="ANTI_INFANTRY"
  1234. ContactWeapon="false"
  1235. FireFX=""
  1236. FireVeteranFX=""/>
  1237. <!-- //////////////////////// -->
  1238. <!-- SovietMortarcycle -->
  1239. <!-- //////////////////////// -->
  1240. <WeaponTemplate
  1241. id="SovietMortarcycleMolotovCocktail"
  1242. AttackRange="210.0"
  1243. MinimumAttackRange="40"
  1244. WeaponSpeed="300"
  1245. MinWeaponSpeed="290"
  1246. MaxWeaponSpeed="310"
  1247. AcceptableAimDelta="45d"
  1248. PreAttackType="PER_SHOT"
  1249. ClipSize="1"
  1250. FireSound="SOV_Conscript_MolotovCocktailThrow"
  1251. AutoReloadsClip="AUTO"
  1252. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1253. CanFireWhileMoving="true"
  1254. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE"
  1255. RadiusDamageAffects="ENEMIES"
  1256. >
  1257. <PreAttackDelay
  1258. MinSeconds="0.0s"
  1259. MaxSeconds="0.0s" />
  1260. <FiringDuration
  1261. MinSeconds="1.0s"
  1262. MaxSeconds="1.0s" />
  1263. <ClipReloadTime
  1264. MinSeconds="0.1s"
  1265. MaxSeconds="0.1s" />
  1266. <WeaponAiHintInfo
  1267. IsAntiGarrisonWeapon="true"
  1268. MaxSpeedOfTarget="30" />
  1269. <Nuggets>
  1270. <ProjectileNugget
  1271. ProjectileTemplate="SovietMortarcycleMolotovCocktailProjectile"
  1272. WarheadTemplate="SovietMortarcycleMolotovCocktailWarhead">
  1273. <VeterancyProjectiles
  1274. VeterancyLevel="HEROIC"
  1275. ProjectileTemplate="SovietMortarCycleMolotovCocktailProjectile_Veteran"/>
  1276. </ProjectileNugget>
  1277. <SuppressionNugget
  1278. Radius="30.0"
  1279. Suppression="25"
  1280. DurationSeconds="4s" />
  1281. <InformTargetNugget />
  1282. </Nuggets>
  1283. <ScatterRadiusVsType
  1284. Radius="5.0">
  1285. <Filter
  1286. Rule="NONE"
  1287. Include="INFANTRY" />
  1288. </ScatterRadiusVsType>
  1289. </WeaponTemplate>
  1290. <WeaponTemplate
  1291. id="SovietMortarcycleMolotovCocktailWarhead"
  1292. ProjectileCollidesWith="ENEMIES"
  1293. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1294. HitStoredTarget="true"
  1295. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1296. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE" >
  1297. <Nuggets>
  1298. <DamageContainedNugget
  1299. MaxUnitsToDamage="1"
  1300. WindowBlastFX="FX_None"
  1301. Damage="50"
  1302. DamageType="EXPLOSIVE"
  1303. DeathType="BURNED">
  1304. <DamageObjectFilter
  1305. Rule="NONE"
  1306. Include="INFANTRY" />
  1307. </DamageContainedNugget>
  1308. <DamageNugget
  1309. id="DefaultDamageNugget"
  1310. Damage="24.0"
  1311. Radius="30.0"
  1312. DamageTaperOff="16"
  1313. DamageType="EXPLOSIVE"
  1314. DamageFXType="SOVIET_MOLOTOV"
  1315. DeathType="BURNED" />
  1316. </Nuggets>
  1317. <HitStoredObjectFilter
  1318. Rule="ANY"
  1319. Include="STRUCTURE" />
  1320. </WeaponTemplate>
  1321. <WeaponTemplate
  1322. id="SovietMortarcycleMortar"
  1323. AcceptableAimDelta="10d"
  1324. AttackRange="330.0"
  1325. UseCenterForRangeCheck="false"
  1326. MinimumAttackRange="150.0"
  1327. CanFireWhileMoving="false"
  1328. ClipSize="1"
  1329. FireSound="SOV_MortarCycle_MortarFireMS"
  1330. RadiusDamageAffects="ENEMIES"
  1331. FireFX="FX_SovietMortarLaunch"
  1332. FireVeteranFX="FX_SovietMortarLaunchVet"
  1333. FinishAttackOnceStarted="true"
  1334. Flags="RELOAD_WHEN_ATTACK_STOPS FORCE_EMPTY_ENTIRE_CLIP"
  1335. ReAcquireDetailType="PER_CLIP"
  1336. ScatterIndependently="true"
  1337. ScatterAlways="false"
  1338. ScatterRadius="1"
  1339. WeaponSpeed="200"
  1340. MinWeaponSpeed="190"
  1341. MaxWeaponSpeed="210"
  1342. MinTargetPitch="-45d"
  1343. MaxTargetPitch="45d"
  1344. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  1345. RevealShroudOnFire="true">
  1346. <PreAttackDelay
  1347. MinSeconds="1s"
  1348. MaxSeconds="1s" />
  1349. <FiringDuration
  1350. MinSeconds="1s"
  1351. MaxSeconds="1s" />
  1352. <ClipReloadTime
  1353. MinSeconds="2s"
  1354. MaxSeconds="2s" />
  1355. <Nuggets>
  1356. <ProjectileNugget
  1357. ProjectileTemplate="SovietMortarcycleMortarWeaponProjectile"
  1358. WarheadTemplate="SovietMortarcycleMortarWarhead">
  1359. <VeterancyProjectiles
  1360. VeterancyLevel="HEROIC"
  1361. ProjectileTemplate="SovietMortarcycleMortarWeaponProjectile_Veteran"/>
  1362. </ProjectileNugget>
  1363. <InformTargetNugget />
  1364. </Nuggets>
  1365. </WeaponTemplate>
  1366. <WeaponTemplate
  1367. id="SovietMortarcycleMortarWarhead"
  1368. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1369. HitStoredTarget="true"
  1370. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1371. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1372. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER" >
  1373. <Nuggets>
  1374. <DamageNugget
  1375. Damage="100.0"
  1376. Radius="50.0"
  1377. DamageTaperOff="10"
  1378. DamageType="EXPLOSIVE"
  1379. DeathType="EXPLODED">
  1380. </DamageNugget>
  1381. <MetaImpactNugget
  1382. ShockWaveAmount="50"
  1383. ShockWaveRadius="50.0"
  1384. ShockWaveTaperOff="0.0"
  1385. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING">
  1386. </MetaImpactNugget>
  1387. </Nuggets>
  1388. </WeaponTemplate>
  1389. <!-- ***** Japan ***** -->
  1390. <!-- /////////////////////// -->
  1391. <!-- JapanArcherInfantry -->
  1392. <!-- /////////////////////// -->
  1393. <!-- note AcceptableAimDelta is quite high to allow them to shoot circling aircraft directly above them. -->
  1394. <WeaponTemplate
  1395. id="JapanArcherInfantryEnergyBow"
  1396. AttackRange="200.0"
  1397. WeaponSpeed="500"
  1398. FireSoundPerClip="JAP_NinjaArcher_WeaponFire1_Arrow"
  1399. RadiusDamageAffects="ENEMIES"
  1400. AcceptableAimDelta="20d"
  1401. ClipSize="1"
  1402. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  1403. CanFireWhileMoving="false"
  1404. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1405. PreAttackType="PER_SHOT"
  1406. ReAcquireDetailType="PRE_FIRE">
  1407. <PreAttackDelay
  1408. MinSeconds="0.5s"
  1409. MaxSeconds="0.5s" />
  1410. <FiringDuration
  1411. MinSeconds="1.0s"
  1412. MaxSeconds="1.0s" />
  1413. <ClipReloadTime
  1414. MinSeconds="2.3s"
  1415. MaxSeconds="2.3s" />
  1416. <Nuggets>
  1417. <ProjectileNugget
  1418. WarheadTemplate="JapanArcherInfantryEnergyArrowWarhead"
  1419. ProjectileTemplate="JapanArcherInfantryEnergyArrowProjectile">
  1420. <VeterancyProjectiles
  1421. VeterancyLevel="HEROIC"
  1422. ProjectileTemplate="JapanArcherInfantryEnergyArrowProjectile_Veteran"/>
  1423. </ProjectileNugget>
  1424. </Nuggets>
  1425. </WeaponTemplate>
  1426. <WeaponTemplate
  1427. id="AAAVT1_JapanArcherWeapon"
  1428. inheritFrom="JapanArcherInfantryEnergyBow_IFV"/>
  1429. <WeaponTemplate
  1430. id="JapanArcherInfantryEnergyArrowWarhead"
  1431. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1432. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1433. Flags="NOT_ATTRACTED_BY_MAGNETS"
  1434. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE">
  1435. <Nuggets>
  1436. <DamageNugget
  1437. Damage="60.0"
  1438. DamageType="GUN"
  1439. DamageFXType="JAPAN_PLASMA"
  1440. DeathType="NORMAL"/>
  1441. </Nuggets>
  1442. </WeaponTemplate>
  1443. <!-- Archer infantry anti-air weapon -->
  1444. <WeaponTemplate
  1445. id="JapanArcherInfantryEnergyBow_Aircraft"
  1446. inheritFrom="JapanArcherInfantryEnergyBow"
  1447. AttackRange="200.0"
  1448. AcceptableAimDelta="90d"
  1449. RequiredAntiMask="ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE">
  1450. </WeaponTemplate>
  1451. <!-- Archer infantry IFV weapon -->
  1452. <WeaponTemplate
  1453. id="JapanArcherInfantryEnergyBow_IFV"
  1454. inheritFrom="JapanArcherInfantryEnergyBow"
  1455. AttackRange="250.0"
  1456. AcceptableAimDelta="20d"
  1457. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE">
  1458. </WeaponTemplate>
  1459. <!-- The Arrow Barrage MIRV-ing attack -->
  1460. <WeaponTemplate
  1461. id="JapanArcherInfantryEnergyArrowBarrage"
  1462. inheritFrom="ScatterableWeapon"
  1463. AttackRange="300.0"
  1464. MinimumAttackRange="100"
  1465. WeaponSpeed="300"
  1466. ClipSize="1"
  1467. AutoReloadsClip="AUTO"
  1468. CanFireWhileMoving="false"
  1469. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE"
  1470. FireFX="FX_JAP_ArcherMaiden_BarrageFire"
  1471. FireVeteranFX="FX_JAP_ArcherMaiden_BarrageFire_Vet"
  1472. ReAcquireDetailType="PRE_FIRE"
  1473. RadiusDamageAffects="ENEMIES"
  1474. RevealShroudOnFire="true" >
  1475. <!-- FireSound="JAP_NinjaArcher_WeaponFire1_Arrow" why doesn't this work? -->
  1476. <Nuggets>
  1477. <!-- this projectile is the logical one which does damage. -->
  1478. <ProjectileNugget
  1479. WarheadTemplate="JapanArcherInfantryEnergyArrowBarrageArrowWarhead"
  1480. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageMIRVingDamageProjectile">
  1481. </ProjectileNugget>
  1482. <!-- this projectile splits into multiple ones, and just visually represents the mirv -->
  1483. <ProjectileNugget
  1484. WarheadTemplate="DummyWeaponWarhead"
  1485. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageMIRVingProjectile">
  1486. <VeterancyProjectiles
  1487. VeterancyLevel="HEROIC"
  1488. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageMIRVingProjectileVet"/>
  1489. </ProjectileNugget>
  1490. <InformTargetNugget />
  1491. </Nuggets>
  1492. </WeaponTemplate>
  1493. <!-- this weapon fires half way through the JapanArcherInfantryEnergyArrowBarrage's
  1494. projectile trajectory, and creates a load of individual dummy projectiles.
  1495. When the WeaponSpeed is zero, pick random number from min to max -->
  1496. <WeaponTemplate
  1497. id="JapanArcherInfantryEnergyArrowBarrageArrowLauncher"
  1498. inheritFrom="ScatterableWeapon"
  1499. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1500. RadiusDamageAffects="ENEMIES"
  1501. WeaponSpeed="0"
  1502. MinWeaponSpeed="250"
  1503. MaxWeaponSpeed="250"
  1504. ScatterIndependently="true"
  1505. ScatterRadius="=$JAPAN_ARCHER_ARROW_BARRAGE_RADIUS"
  1506. ClipSize="1"
  1507. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE">
  1508. <FiringDuration
  1509. MinSeconds="1.0s"
  1510. MaxSeconds="1.0s" />
  1511. <Nuggets>
  1512. <ProjectileNugget
  1513. WarheadTemplate="DummyWeaponWarhead"
  1514. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1515. <VeterancyProjectiles
  1516. VeterancyLevel="HEROIC"
  1517. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1518. </ProjectileNugget>
  1519. <ProjectileNugget
  1520. WarheadTemplate="DummyWeaponWarhead"
  1521. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1522. <VeterancyProjectiles
  1523. VeterancyLevel="HEROIC"
  1524. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1525. </ProjectileNugget>
  1526. <ProjectileNugget
  1527. WarheadTemplate="DummyWeaponWarhead"
  1528. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1529. <VeterancyProjectiles
  1530. VeterancyLevel="HEROIC"
  1531. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1532. </ProjectileNugget>
  1533. <ProjectileNugget
  1534. WarheadTemplate="DummyWeaponWarhead"
  1535. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1536. <VeterancyProjectiles
  1537. VeterancyLevel="HEROIC"
  1538. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1539. </ProjectileNugget>
  1540. <ProjectileNugget
  1541. WarheadTemplate="DummyWeaponWarhead"
  1542. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1543. <VeterancyProjectiles
  1544. VeterancyLevel="HEROIC"
  1545. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1546. </ProjectileNugget>
  1547. <ProjectileNugget
  1548. WarheadTemplate="DummyWeaponWarhead"
  1549. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1550. <VeterancyProjectiles
  1551. VeterancyLevel="HEROIC"
  1552. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1553. </ProjectileNugget>
  1554. <ProjectileNugget
  1555. WarheadTemplate="DummyWeaponWarhead"
  1556. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1557. <VeterancyProjectiles
  1558. VeterancyLevel="HEROIC"
  1559. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1560. </ProjectileNugget>
  1561. <ProjectileNugget
  1562. WarheadTemplate="DummyWeaponWarhead"
  1563. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1564. <VeterancyProjectiles
  1565. VeterancyLevel="HEROIC"
  1566. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1567. </ProjectileNugget>
  1568. <ProjectileNugget
  1569. WarheadTemplate="DummyWeaponWarhead"
  1570. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1571. <VeterancyProjectiles
  1572. VeterancyLevel="HEROIC"
  1573. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1574. </ProjectileNugget>
  1575. <ProjectileNugget
  1576. WarheadTemplate="DummyWeaponWarhead"
  1577. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectile">
  1578. <VeterancyProjectiles
  1579. VeterancyLevel="HEROIC"
  1580. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet"/>
  1581. </ProjectileNugget>
  1582. </Nuggets>
  1583. </WeaponTemplate>
  1584. <WeaponTemplate
  1585. id="JapanArcherInfantryEnergyArrowBarrageArrowLauncherVet"
  1586. inheritFrom="ScatterableWeapon"
  1587. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1588. RadiusDamageAffects="ENEMIES"
  1589. WeaponSpeed="0"
  1590. MinWeaponSpeed="250"
  1591. MaxWeaponSpeed="250"
  1592. ScatterIndependently="true"
  1593. ScatterRadius="=$JAPAN_ARCHER_ARROW_BARRAGE_RADIUS"
  1594. ClipSize="1"
  1595. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE">
  1596. <FiringDuration
  1597. MinSeconds="1.0s"
  1598. MaxSeconds="1.0s" />
  1599. <Nuggets>
  1600. <ProjectileNugget
  1601. WarheadTemplate="DummyWeaponWarhead"
  1602. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1603. </ProjectileNugget>
  1604. <ProjectileNugget
  1605. WarheadTemplate="DummyWeaponWarhead"
  1606. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1607. </ProjectileNugget>
  1608. <ProjectileNugget
  1609. WarheadTemplate="DummyWeaponWarhead"
  1610. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1611. </ProjectileNugget>
  1612. <ProjectileNugget
  1613. WarheadTemplate="DummyWeaponWarhead"
  1614. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1615. </ProjectileNugget>
  1616. <ProjectileNugget
  1617. WarheadTemplate="DummyWeaponWarhead"
  1618. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1619. </ProjectileNugget>
  1620. <ProjectileNugget
  1621. WarheadTemplate="DummyWeaponWarhead"
  1622. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1623. </ProjectileNugget>
  1624. <ProjectileNugget
  1625. WarheadTemplate="DummyWeaponWarhead"
  1626. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1627. </ProjectileNugget>
  1628. <ProjectileNugget
  1629. WarheadTemplate="DummyWeaponWarhead"
  1630. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1631. </ProjectileNugget>
  1632. <ProjectileNugget
  1633. WarheadTemplate="DummyWeaponWarhead"
  1634. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1635. </ProjectileNugget>
  1636. <ProjectileNugget
  1637. WarheadTemplate="DummyWeaponWarhead"
  1638. ProjectileTemplate="JapanArcherInfantryEnergyArrowBarrageArrowProjectileVet">
  1639. </ProjectileNugget>
  1640. </Nuggets>
  1641. </WeaponTemplate>
  1642. <!-- this is the main single weapon for the arrow mirv. -->
  1643. <WeaponTemplate
  1644. id="JapanArcherInfantryEnergyArrowBarrageArrowWarhead"
  1645. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1646. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS SELF"
  1647. Flags="NOT_ATTRACTED_BY_MAGNETS"
  1648. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE">
  1649. <Nuggets>
  1650. <DamageNugget
  1651. id="DefaultDamageNugget"
  1652. Damage="20.0"
  1653. DamageTaperOff="20.0"
  1654. DamageType="AUTO_CANNON"
  1655. DeathType="NORMAL"
  1656. Radius="=$JAPAN_ARCHER_ARROW_BARRAGE_RADIUS"/>
  1657. <SuppressionNugget
  1658. Radius="30.0"
  1659. Suppression="50"
  1660. DurationSeconds="5s" />
  1661. </Nuggets>
  1662. </WeaponTemplate>
  1663. <!-- //////////////////// -->
  1664. <!-- JapanFortessShip -->
  1665. <!-- //////////////////// -->
  1666. <WeaponTemplate
  1667. id="JapanFortressShipMissilePods"
  1668. AttackRange="300.0"
  1669. MinimumAttackRange="30"
  1670. WeaponSpeed="300"
  1671. MinWeaponSpeed="290"
  1672. MaxWeaponSpeed="310"
  1673. FireFX="FX_Japan_DefenderVX_Fire"
  1674. FireVeteranFX="FX_Japan_DefenderVX_Fire_Vet"
  1675. FireSound="JAP_EmperorsPearl_MissilePodFire"
  1676. AcceptableAimDelta="45d"
  1677. VirtualDamage="SHARE"
  1678. ClipSize="8"
  1679. AutoReloadsClip="AUTO"
  1680. PreAttackType="PER_CLIP"
  1681. CanFireWhileMoving="true"
  1682. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE"
  1683. RadiusDamageAffects="ENEMIES">
  1684. <PreAttackDelay
  1685. MinSeconds="0.25s"
  1686. MaxSeconds="0.25s" />
  1687. <FiringDuration
  1688. MinSeconds="0.07s"
  1689. MaxSeconds="0.07s" />
  1690. <ClipReloadTime
  1691. MinSeconds="5s"
  1692. MaxSeconds="5s" />
  1693. <Nuggets>
  1694. <ProjectileNugget
  1695. WarheadTemplate="JapanFortressShipMissileProjectileWarhead"
  1696. ProjectileTemplate="JapanFortressShipMissileProjectile">
  1697. <VeterancyProjectiles
  1698. VeterancyLevel="HEROIC"
  1699. ProjectileTemplate="JapanFortressShipMissileProjectile_Veteran"/>
  1700. </ProjectileNugget>
  1701. </Nuggets>
  1702. </WeaponTemplate>
  1703. <WeaponTemplate
  1704. id="JapanFortressShipMissilePods_Aircraft"
  1705. inheritFrom="JapanFortressShipMissilePods"
  1706. MinimumAttackRange="0"
  1707. AcceptableAimDelta="180d"
  1708. RequiredAntiMask="ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE">
  1709. </WeaponTemplate>
  1710. <WeaponTemplate
  1711. id="JapanFortressShipMissilePods_JapanAdvancedMissilePack"
  1712. inheritFrom="JapanFortressShipMissilePods"
  1713. ClipSize="11">
  1714. </WeaponTemplate>
  1715. <WeaponTemplate
  1716. id="JapanFortressShipMissilePods_Aircraft_JapanAdvancedMissilePack"
  1717. inheritFrom="JapanFortressShipMissilePods_Aircraft"
  1718. ClipSize="11">
  1719. </WeaponTemplate>
  1720. <WeaponTemplate
  1721. id="JapanFortressShipMissileProjectileWarhead"
  1722. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1723. RadiusDamageAffects="ENEMIES NEUTRALS"
  1724. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1725. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE">
  1726. <Nuggets>
  1727. <DamageNugget
  1728. Damage="25.0"
  1729. Radius="20.0"
  1730. DamageType="ROCKET"
  1731. DamageFXType="JAPAN_MISSILE"
  1732. DeathType="EXPLODED" />
  1733. <SuppressionNugget
  1734. Radius="20.0"
  1735. Suppression="10"
  1736. DurationSeconds="1s" />
  1737. </Nuggets>
  1738. <ScatterRadiusVsType
  1739. Radius="10.0">
  1740. <Filter
  1741. Rule="NONE"
  1742. Include="INFANTRY" />
  1743. </ScatterRadiusVsType>
  1744. </WeaponTemplate>
  1745. <WeaponTemplate
  1746. id="JapanFortressShipCannonWeapon"
  1747. AttackRange="400.0"
  1748. MinimumAttackRange="30"
  1749. WeaponSpeed="750"
  1750. ScatterRadius="30"
  1751. FireSound="JAP_EmperorsPearl_WaterWeapon_CannonFire"
  1752. FireFX="FX_JapanAntiStructureGunFire"
  1753. FireVeteranFX="FX_JapanAntiStructureGunFire_Vet"
  1754. RadiusDamageAffects="ENEMIES"
  1755. CanFireWhileMoving="true"
  1756. ClipSize="4"
  1757. ReAcquireDetailType="PRE_FIRE"
  1758. Flags="RELOAD_WHEN_ATTACK_STOPS"
  1759. ShotsPerBarrel="1"
  1760. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  1761. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1762. WeaponRecoil="1d"
  1763. AcceptableAimDelta="1d"
  1764. RevealShroudOnFire="true">
  1765. <FiringDuration
  1766. MinSeconds="0.25s"
  1767. MaxSeconds="0.25s" />
  1768. <ClipReloadTime
  1769. MinSeconds="5.0s"
  1770. MaxSeconds="5.0s" />
  1771. <Nuggets>
  1772. <ProjectileNugget
  1773. ProjectileTemplate="JapanFortressShipCannonWeaponProjectile"
  1774. WarheadTemplate="JapanFortressShipCannonWeaponWarhead">
  1775. <VeterancyProjectiles
  1776. VeterancyLevel="HEROIC"
  1777. ProjectileTemplate="JapanFortressShipCannonWeaponProjectileVeteran"/>
  1778. </ProjectileNugget>
  1779. </Nuggets>
  1780. </WeaponTemplate>
  1781. <WeaponTemplate
  1782. id="JapanFortressShipCannonWeaponWarhead"
  1783. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1784. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1785. RequiredAntiMask="ANTI_STRUCTURE ANTI_WATER ANTI_GROUND"
  1786. Flags="NOT_ATTRACTED_BY_MAGNETS">
  1787. <Nuggets>
  1788. <DamageNugget
  1789. Damage="75.0"
  1790. Radius="15.0"
  1791. DamageTaperOff="0.0"
  1792. DamageType="CANNON"
  1793. DamageFXType="JAPAN_CANNON"
  1794. DeathType="NORMAL">
  1795. <DamageScalarDetails Scalar= "50%">
  1796. <Filter
  1797. Rule="ALL"
  1798. Relationship="ALLIES" />
  1799. </DamageScalarDetails>
  1800. </DamageNugget>
  1801. </Nuggets>
  1802. </WeaponTemplate>
  1803. <WeaponTemplate
  1804. id="JapanFortressShipAirborneSeigeCannonWeapon"
  1805. AttackRange="600.0"
  1806. MinimumAttackRange="100.0"
  1807. WeaponSpeed="99999.0"
  1808. FireSound="JAP_EmperorsPearl_SiegeLaserWeapon_Fire"
  1809. FireFX="FX_JapanPearlLaserFire"
  1810. FireVeteranFX="FX_JapanPearlLaserFire"
  1811. RadiusDamageAffects="ENEMIES"
  1812. CanFireWhileMoving="false"
  1813. ClipSize="1"
  1814. ReAcquireDetailType="PER_CLIP"
  1815. Flags="RELOAD_WHEN_ATTACK_STOPS FORCE_EMPTY_ENTIRE_CLIP"
  1816. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  1817. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1818. WeaponRecoil="1d"
  1819. RevealShroudOnFire="true">
  1820. <ClipReloadTime
  1821. MinSeconds="4.0s"
  1822. MaxSeconds="4.0s" />
  1823. <Nuggets>
  1824. <ActivateLaserNugget
  1825. id="defaultActivateLaserNugget"
  1826. Lifetime="1s"
  1827. LaserId="101"/>
  1828. </Nuggets>
  1829. </WeaponTemplate>
  1830. <!-- Veteran sweep laser -->
  1831. <WeaponTemplate
  1832. id="JapanFortressShipAirborneSeigeCannonWeaponVeteran"
  1833. inheritFrom="JapanFortressShipAirborneSeigeCannonWeapon">
  1834. <Nuggets>
  1835. <ActivateLaserNugget
  1836. id="defaultActivateLaserNugget"
  1837. LaserId="102" />
  1838. </Nuggets>
  1839. </WeaponTemplate>
  1840. <WeaponTemplate
  1841. id="JapanFortressShipAirborneSeigeCannonWeapon_SweepingWeapon"
  1842. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1843. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1844. RequiredAntiMask="ANTI_STRUCTURE ANTI_WATER ANTI_GROUND"
  1845. Flags="NOT_ATTRACTED_BY_MAGNETS">
  1846. <Nuggets>
  1847. <WeaponOCLNugget
  1848. id="defaultOCLNugget"
  1849. WeaponOCL="OCL_JapanFortressShipAirborneSeigeCannonWeaponNode">
  1850. </WeaponOCLNugget>
  1851. </Nuggets>
  1852. </WeaponTemplate>
  1853. <WeaponTemplate
  1854. id="JapanFortressShipAirborneSeigeCannonWeapon_SweepingWeapon_Veteran"
  1855. inheritFrom="JapanFortressShipAirborneSeigeCannonWeapon_SweepingWeapon">
  1856. <Nuggets>
  1857. <WeaponOCLNugget
  1858. id="defaultOCLNugget"
  1859. WeaponOCL="OCL_JapanFortressShipAirborneSeigeCannonWeaponNode_Veteran">
  1860. </WeaponOCLNugget>
  1861. </Nuggets>
  1862. </WeaponTemplate>
  1863. <WeaponTemplate
  1864. id="JapanFortressShipAirborneSeigeCannonWeapon_NodeExplosion"
  1865. ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS"
  1866. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  1867. RequiredAntiMask="ANTI_STRUCTURE ANTI_WATER ANTI_GROUND"
  1868. Flags="NOT_ATTRACTED_BY_MAGNETS">
  1869. <Nuggets>
  1870. <DamageNugget
  1871. id="DefaultDamageNugget"
  1872. Damage="250.0"
  1873. Radius="25.0"
  1874. RadiusAffectsBridges="true"
  1875. DamageTaperOff="200.0"
  1876. DamageType="EXPLOSIVE"
  1877. DeathType="NORMAL">
  1878. <SpecialObjectFilter
  1879. Rule="ALL"
  1880. Exclude="BRIDGE BRIDGE_SEGMENT BRIDGE_ENDCAP" />
  1881. <DamageScalarDetails Scalar= "50%">
  1882. <Filter
  1883. Rule="ALL"
  1884. Relationship="ALLIES" />
  1885. </DamageScalarDetails>
  1886. <DamageScalarDetails Scalar= "50%">
  1887. <Filter
  1888. Rule="NONE"
  1889. Include="STRUCTURE" />
  1890. </DamageScalarDetails>
  1891. </DamageNugget>
  1892. <MetaImpactNugget
  1893. ShockWaveAmount="50"
  1894. ShockWaveRadius="25.0"
  1895. ShockWaveTaperOff="25.0"
  1896. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING">
  1897. <SpecialObjectFilter
  1898. Rule="ANY"
  1899. Relationship="ENEMIES"
  1900. StatusBitFlagsExclude="NO_COLLISIONS">
  1901. </SpecialObjectFilter>
  1902. </MetaImpactNugget>
  1903. </Nuggets>
  1904. </WeaponTemplate>
  1905. <!-- //////////////////////// -->
  1906. <!-- JapanSentinelVehicle -->
  1907. <!-- //////////////////////// -->
  1908. <WeaponTemplate
  1909. id="JapanSentinelVehicleLaserGlaiveWeapon"
  1910. FireSoundPerClip="JAP_Sentinel_GlaiveSwipeFire"
  1911. FireFX="FX_SentinalSpearAttack"
  1912. FireVeteranFX="FX_SentinalSpearAttackVet"
  1913. RadiusDamageAffects="ENEMIES"
  1914. AttackRange="35.0"
  1915. ClipSize="1"
  1916. WeaponSpeed="999999.0"
  1917. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  1918. CanFireWhileMoving="false"
  1919. DamageDealtAtSelfPosition="true"
  1920. AcceptableAimDelta="10d"
  1921. IgnoresContactPoints="true"
  1922. HitStoredTarget="true"
  1923. MeleeWeapon="true"
  1924. ChaseWeapon="true"
  1925. FinishAttackOnceStarted="true"
  1926. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  1927. ReAcquireDetailType="PER_CLIP">
  1928. <PreAttackDelay
  1929. MinSeconds="0.6s"
  1930. MaxSeconds="0.6s" />
  1931. <FiringDuration
  1932. MinSeconds="0.8s"
  1933. MaxSeconds="0.8s" />
  1934. <ClipReloadTime
  1935. MinSeconds="1.0s"
  1936. MaxSeconds="1.0s" />
  1937. <Nuggets>
  1938. <!-- Note: the damage radius MUST be the AttackRange + half the unit's width unless you want overshoot-->
  1939. <DamageNugget
  1940. id="DefaultDamageNugget"
  1941. Damage="100.0"
  1942. Radius="105.0"
  1943. DamageArc="75d"
  1944. DelayTimeSeconds="0.0s"
  1945. DamageType="CANNON"
  1946. DamageFXType="JAPAN_GLAIVE"
  1947. DeathType="NORMAL"
  1948. PartitionFilterTestType="SPHERE"
  1949. ForceFXPositionToVictim="true"/>
  1950. <MetaImpactNugget
  1951. id="DefaultMetaImpactNugget"
  1952. ShockWaveAmount="25"
  1953. ShockWaveRadius="100.0"
  1954. ShockWaveArc="75d"
  1955. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING"/>
  1956. </Nuggets>
  1957. </WeaponTemplate>
  1958. <!-- The glaive blast special power -->
  1959. <WeaponTemplate
  1960. id="JapanSentinelVehicleLaserGlaiveBlastWeapon"
  1961. AttackRange="300.0"
  1962. ReAcquireDetailType="PRE_FIRE"
  1963. ClipSize="1"
  1964. FireSound="JAP_KingOni_LaserFire"
  1965. AcceptableAimDelta="10d"
  1966. CanFireWhileMoving="true"
  1967. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER"
  1968. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS">
  1969. <FiringDuration
  1970. MinSeconds="0.5s"
  1971. MaxSeconds="0.5s" />
  1972. <ClipReloadTime
  1973. MinSeconds="0.5s"
  1974. MaxSeconds="0.5s" />
  1975. <Nuggets>
  1976. <DamageNugget
  1977. id="JapanSentinelVehicleLaserGlaiveBlastDamageNugget"
  1978. Damage="0.01"
  1979. Radius="1.0"
  1980. DamageType="MAGIC"
  1981. DeathType="NORMAL"/>
  1982. <!-- Linear Damage Nugget does no damage, only used for the sweep FX -->
  1983. <ActivateLinearDamageNugget
  1984. id="JapanSentinelVehicleLaserGlaiveBlastLinearDamageNugget"
  1985. Lifetime="2.0s"/>
  1986. </Nuggets>
  1987. </WeaponTemplate>
  1988. <!-- triggered by LinearDamageUpdate in JapanSentinelVehicle -->
  1989. <WeaponTemplate
  1990. id="JapanSentinelVehicleLaserGlaiveBlastSweepingWeapon"
  1991. RadiusDamageAffects="ENEMIES NEUTRALS">
  1992. <Nuggets>
  1993. <DamageNugget
  1994. id="DefaultNugget"
  1995. Damage="100.0"
  1996. DamageType="EXPLOSIVE"
  1997. DeathType="NORMAL">
  1998. <DamageScalarDetails Scalar= "50%">
  1999. <Filter
  2000. Rule="NONE"
  2001. Include="INFANTRY" />
  2002. </DamageScalarDetails>
  2003. </DamageNugget>
  2004. </Nuggets>
  2005. </WeaponTemplate>
  2006. <!-- ***** Yuriko ***** -->
  2007. <WeaponTemplate
  2008. id="JapanCommandoTech1PsyonicCrush_EP1"
  2009. AttackRange="75.0"
  2010. AcceptableAimDelta="15d"
  2011. ClipSize="1"
  2012. FiringLoopSound="JAP_YurikoOmega_PsyonicLoopMS"
  2013. AutoReloadsClip="AUTO"
  2014. PreAttackType="PER_TARGET"
  2015. CanFireWhileMoving="false"
  2016. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_LIFTED_GROUND_UNIT ANTI_WATER ANTI_SUBMERGED"
  2017. RadiusDamageAffects="ENEMIES"
  2018. FinishAttackOnceStarted="false"
  2019. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS">
  2020. <PreAttackDelay
  2021. MinSeconds="0.1s"
  2022. MaxSeconds="0.1s" />
  2023. <FiringDuration
  2024. MinSeconds="0.1s"
  2025. MaxSeconds="0.1s" />
  2026. <WeaponAiHintInfo
  2027. UseLongLockOnTimeCode="true" />
  2028. <Nuggets>
  2029. <StripMaxHealthPercentNugget
  2030. AmountToStrip="4%"
  2031. DamageType="KI"
  2032. DamageFXType="JAPAN_PSIONIC"
  2033. DeathType="SLAUGHTERED">
  2034. <SpecialObjectFilter
  2035. Rule="ANY"
  2036. Include="INFANTRY STRUCTURE VEHICLE VALID_TARGET_FOR_C4 TIME_BOMB"
  2037. StatusBitFlagsExclude="UNCONTROLLABLY_SCARED">
  2038. <ExcludeThing>JapanIzumi</ExcludeThing>
  2039. </SpecialObjectFilter>
  2040. </StripMaxHealthPercentNugget>
  2041. <ActivateLiftObjectNugget
  2042. Lifetime="0.2s"
  2043. LiftObjectLinkID="1">
  2044. <SpecialObjectFilter
  2045. Rule="ANY"
  2046. Include="INFANTRY VEHICLE STRUCTURE VALID_TARGET_FOR_C4 TIME_BOMB"
  2047. StatusBitFlagsExclude="UNCONTROLLABLY_SCARED UNDER_IRON_CURTAIN">
  2048. <ExcludeThing>JapanScientist</ExcludeThing>
  2049. <ExcludeThing>JapanIzumi</ExcludeThing>
  2050. </SpecialObjectFilter>
  2051. </ActivateLiftObjectNugget>
  2052. </Nuggets>
  2053. </WeaponTemplate>
  2054. <WeaponTemplate
  2055. id="JapanCommandoTech1PsyonicBlast_EP1"
  2056. AttackRange="200.0"
  2057. ClipSize="1"
  2058. AutoReloadsClip="AUTO"
  2059. CanFireWhileMoving="false"
  2060. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE ANTI_AIRBORNE_INFANTRY"
  2061. RadiusDamageAffects="ENEMIES NEUTRALS"
  2062. Flags="NOT_ATTRACTED_BY_MAGNETS">
  2063. <FiringDuration
  2064. MinSeconds="1.0s"
  2065. MaxSeconds="1.0s" />
  2066. <Nuggets>
  2067. <DamageNugget
  2068. Damage="500.0"
  2069. Radius="125.0"
  2070. DelayTimeSeconds="0.4s"
  2071. DamageType="SNIPER"
  2072. DeathType="SLAUGHTERED"
  2073. PartitionFilterTestType="CIRCLE" />
  2074. <MetaImpactNugget
  2075. ShockWaveAmount="89.0"
  2076. ShockWaveRadius="200.0"
  2077. ShockWaveZMult="6.5"
  2078. ShockWaveClearRadius="false">
  2079. <SpecialObjectFilter
  2080. Rule="NONE"
  2081. Include="INFANTRY"
  2082. StatusBitFlagsExclude="NO_COLLISIONS">
  2083. <ExcludeThing>JapanScientist</ExcludeThing>
  2084. <ExcludeThing>JapanIzumi</ExcludeThing>
  2085. </SpecialObjectFilter>
  2086. </MetaImpactNugget>
  2087. <ParalyzeNugget
  2088. ParalyzeType="EMP"
  2089. Radius="125.0"
  2090. DurationSeconds="4.0s">
  2091. <SpecialObjectFilter
  2092. Rule="ANY"
  2093. Include="VEHICLE STRUCTURE"
  2094. Exclude="CIVILIAN_BUILDING"
  2095. StatusBitFlagsExclude="AIRBORNE_TARGET"/>
  2096. </ParalyzeNugget>
  2097. </Nuggets>
  2098. </WeaponTemplate>
  2099. <WeaponTemplate
  2100. id="YurikoPsyonicAirborneKiller_EP1"
  2101. AttackRange="150.0"
  2102. AcceptableAimDelta="15d"
  2103. ClipSize="1"
  2104. FiringLoopSound="JAP_YurikoOmega_PsyonicLoop"
  2105. AutoReloadsClip="AUTO"
  2106. PreAttackType="PER_TARGET"
  2107. CanFireWhileMoving="false"
  2108. RequiredAntiMask="ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY"
  2109. ForbiddenAntiMask="ANTI_LIFTED_GROUND_UNIT"
  2110. RadiusDamageAffects="ENEMIES"
  2111. Flags="NOT_ATTRACTED_BY_MAGNETS RELOAD_WHEN_ATTACK_STOPS">
  2112. <PreAttackDelay
  2113. MinSeconds="0.1s"
  2114. MaxSeconds="0.1s" />
  2115. <FiringDuration
  2116. MinSeconds="0.1s"
  2117. MaxSeconds="0.1s" />
  2118. <ClipReloadTime
  2119. MinSeconds="1.0s"
  2120. MaxSeconds="1.0s" />
  2121. <Nuggets>
  2122. <ActivateLiftObjectNugget
  2123. id="LiftObjectNugget"
  2124. Lifetime="5.0s"
  2125. LiftObjectLinkID="1">
  2126. <SpecialObjectFilter
  2127. Rule="ANY"
  2128. Include="TRANSFORMER INFANTRY VEHICLE STRUCTURE VALID_TARGET_FOR_C4"
  2129. StatusBitFlagsExclude="UNCONTROLLABLY_SCARED UNDER_IRON_CURTAIN">
  2130. <ExcludeThing>AlliedWallPiece</ExcludeThing>
  2131. <ExcludeThing>AlliedGunshipAircraft</ExcludeThing>
  2132. <ExcludeThing>SovietWallPiece</ExcludeThing>
  2133. <ExcludeThing>JapanWallPiece</ExcludeThing>
  2134. </SpecialObjectFilter>
  2135. </ActivateLiftObjectNugget>
  2136. <DamageNugget
  2137. Damage="250.0"
  2138. DamageType="EXPLOSIVE"
  2139. DeathType="EXPLODED">
  2140. <SpecialObjectFilter
  2141. Rule="NONE">
  2142. <IncludeThing>AlliedGunshipAircraft</IncludeThing>
  2143. </SpecialObjectFilter>
  2144. </DamageNugget>
  2145. <AttributeModifierNugget
  2146. AttributeModifierName="AttributeModifier_50PercentSlower">
  2147. <SpecialObjectFilter
  2148. Rule="NONE">
  2149. <IncludeThing>AlliedGunshipAircraft</IncludeThing>
  2150. </SpecialObjectFilter>
  2151. </AttributeModifierNugget>
  2152. </Nuggets>
  2153. </WeaponTemplate>
  2154. <WeaponTemplate
  2155. id="FlingableProp_Vehicle_DeathWeapon"
  2156. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  2157. Flags="NOT_ATTRACTED_BY_MAGNETS"
  2158. FireFX="FX_None">
  2159. <Nuggets>
  2160. <DamageNugget
  2161. id="DefaultDamageNugget"
  2162. Damage="400"
  2163. Radius="25"
  2164. DamageType="GRENADE"
  2165. DeathType="NORMAL"
  2166. RadiusAffectsBridges="true">
  2167. <SpecialObjectFilter
  2168. Rule="ALL"
  2169. Exclude="BRIDGE_GATEHOUSE"
  2170. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET">
  2171. <ExcludeThing>JapanYurikoTech1</ExcludeThing>
  2172. <ExcludeThing>JapanYurikoTech2</ExcludeThing>
  2173. <ExcludeThing>JapanYurikoTech3</ExcludeThing>
  2174. </SpecialObjectFilter>
  2175. </DamageNugget>
  2176. <MetaImpactNugget
  2177. ShockWaveAmount="50"
  2178. ShockWaveRadius="70.0"
  2179. ShockWaveTaperOff="10"
  2180. ForbiddenTargetModelCondition="STUNNED STUNNED_STANDING_UP STUNNED_FLAILING">
  2181. <SpecialObjectFilter
  2182. Rule="ALL"
  2183. Exclude="BRIDGE_GATEHOUSE"
  2184. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET">
  2185. <ExcludeThing>JapanYurikoTech1</ExcludeThing>
  2186. <ExcludeThing>JapanYurikoTech2</ExcludeThing>
  2187. <ExcludeThing>JapanYurikoTech3</ExcludeThing>
  2188. </SpecialObjectFilter>
  2189. </MetaImpactNugget>
  2190. </Nuggets>
  2191. </WeaponTemplate>
  2192. <WeaponTemplate
  2193. id="CryoBarrelWeapon"
  2194. AttackRange="1.0"
  2195. WeaponSpeed="999999.0"
  2196. PreAttackFX="FX_None"
  2197. FireFX="FX_Allied_LegionnaireDeath"
  2198. FireVeteranFX="FX_Allied_LegionnaireDeath"
  2199. CanFireWhileMoving="false"
  2200. ClipSize="=$UNLIMITED_CLIP_SIZE"
  2201. Flags="ATTACK_NEEDS_LINE_OF_SIGHT NOT_ATTRACTED_BY_MAGNETS"
  2202. RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
  2203. RequiredAntiMask="ANTI_GROUND ANTI_STRUCTURE ANTI_WATER">
  2204. <Nuggets>
  2205. <SecondaryDamageNugget
  2206. Amount="1500"
  2207. Radius="100">
  2208. <SpecialObjectFilter
  2209. Rule="ALL"
  2210. Exclude="BRIDGE_GATEHOUSE"
  2211. StatusBitFlagsExclude="SUBMERGED AIRBORNE_TARGET PARACHUTING">
  2212. <ExcludeThing>JapanYurikoTech1</ExcludeThing>
  2213. <ExcludeThing>JapanYurikoTech2</ExcludeThing>
  2214. <ExcludeThing>JapanYurikoTech3</ExcludeThing>
  2215. </SpecialObjectFilter>
  2216. </SecondaryDamageNugget>
  2217. </Nuggets>
  2218. </WeaponTemplate>
  2219. <WeaponTemplate
  2220. id="Leech_FutureTank"
  2221. inheritFrom="AlliedFutureTankNeutronScrambler"
  2222. ClipSize="1"
  2223. ForbiddenFiringObjectStatus="">
  2224. <PreAttackDelay
  2225. MinSeconds="0.1s"
  2226. MaxSeconds="0.1s" />
  2227. <FiringDuration
  2228. MinSeconds="1s"
  2229. MaxSeconds="1s" />
  2230. <ClipReloadTime
  2231. MinSeconds="2s"
  2232. MaxSeconds="2s" />
  2233. </WeaponTemplate>
  2234. <WeaponTemplate
  2235. id="Leech_GigaFortress"
  2236. inheritFrom="JapanFortressShipMissilePods_Aircraft"
  2237. ForbiddenFiringObjectStatus=""
  2238. RequiredAntiMask="ANTI_WATER ANTI_GROUND ANTI_STRUCTURE ANTI_AIRBORNE_VEHICLE ANTI_AIRBORNE_INFANTRY ANTI_PARACHUTE"/>
  2239. </AssetDeclaration>