Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.50 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset">
  3.     <GameObject
  4.         id="NODVeinDetonation"
  5.         KindOf="IMMOBILE NO_COLLIDE UNATTACKABLE INERT INERT_SHROUD_REVEALER NOT_AUTOACQUIRABLE IGNORE_FOR_VICTORY"
  6.         RadarPriority="STRUCTURE"
  7.         Side="NOD"
  8.         EditorName="NODVeinDetonation"
  9.         EditorSorting="SYSTEM"
  10.         CommandSet="EmptyCommandSet">
  11.         <DisplayName>NODVeinDetonation</DisplayName>
  12.         <ArmorSet
  13.             Armor="NoArmor" />
  14.         <Draws>
  15.             <ScriptedModelDraw
  16.                 id="0x50DF2C46"
  17.                 MaxRecoilDistance="3"
  18.                 RecoilDamping="0.4"
  19.                 OkToChangeModelColor="True">
  20.                 <ModelConditionState
  21.                     ParseCondStateType="PARSE_DEFAULT">
  22.                     <Model />
  23.                 </ModelConditionState>
  24.             </ScriptedModelDraw>
  25.         </Draws>
  26.         <Behaviors>
  27.             <DeletionUpdate
  28.                 id="0xFADB485A"
  29.                 MinFrames="60"
  30.                 MaxFrames="60" />
  31.             <FloodUpdate
  32.                 id="0x682F7D64" />
  33.         </Behaviors>
  34.         <Body>
  35.             <ImmortalBody
  36.                 id="0xA5C3EB8A"
  37.                 MaxHealth="1"
  38.                 InitialHealth="1" />
  39.         </Body>
  40.         <Geometry>
  41.             <Shape
  42.                 Type="BOX"
  43.                 MajorRadius="10"
  44.                 Height="3" />
  45.         </Geometry>
  46.     </GameObject>
  47. </AssetDeclaration>
  48.  
  49. <?xml version="1.0" encoding="utf-8"?>
  50. <AssetDeclaration xmlns="uri:ea.com:eala:asset">
  51.   <GameObject
  52.    id="NODVeinDetonationTrigger"
  53.    Side="NOD"
  54.    EditorSorting="SYSTEM"
  55.    CommandSet="EmptyCommandSet"
  56.    KindOf="NO_COLLIDE IMMOBILE UNATTACKABLE INERT INERT_SHROUD_REVEALER NOT_AUTOACQUIRABLE IGNORE_FOR_VICTORY"
  57.    RadarPriority="STRUCTURE"
  58.    EditorName="NODVeinDetonationTrigger">
  59.     <DisplayName>NODVeinDetonationTrigger</DisplayName>
  60.     <ArmorSet
  61.             Armor="NoArmor" />
  62.     <Draws>
  63.       <ScriptedModelDraw
  64.                 id="ModuleTag_Draw"
  65.                 OkToChangeModelColor="true">
  66.         <ModelConditionState
  67.                     ParseCondStateType="PARSE_DEFAULT">
  68.           <Model
  69.                         Name="" />
  70.         </ModelConditionState>
  71.       </ScriptedModelDraw>
  72.     </Draws>
  73.     <Behaviors>
  74.       <DeletionUpdate
  75.        id="ModuleTag_03"
  76.             MinFrames = "120"
  77.             MaxFrames = "120"/>
  78.       <FireWeaponUpdate
  79.        id="ModuleTag_WeaponFiring">
  80.         <FireWeaponNugget
  81.          WeaponName = "VeinDetonationCreationWeapon"
  82.          FireDelay = "3.2s"
  83.          OneShot = "true"/>
  84.       </FireWeaponUpdate>
  85.       <FireWeaponUpdate
  86.        id="ModuleTag_BigDamageBurst">
  87.         <FireWeaponNugget
  88.          WeaponName = "TibVeinDetonation"
  89.          FireDelay = "4.0s"
  90.          OneShot = "true"/>
  91.       </FireWeaponUpdate>
  92.     </Behaviors>
  93.     <Body>
  94.       <ImmortalBody
  95.                 id="ModuleTag_02"
  96.                 MaxHealth = "1.0"
  97.             InitialHealth = "1.0" />
  98.     </Body>
  99.     <Geometry
  100.             IsSmall="false">
  101.       <Shape
  102.                 Type="BOX"
  103.                 MajorRadius="10.0"
  104.        MinorRadius = "1.0"
  105.                 Height="3.0"/>
  106.     </Geometry>
  107.   </GameObject>
  108. </AssetDeclaration>
  109.  
  110.  
  111.  
  112.  
  113.  
  114.     <WeaponTemplate
  115.         id="VeinDetonationCreationWeapon"
  116.         Name="VeinDetionationCreationWeapon"
  117.         RadiusDamageAffects="SELF ALLIES ENEMIES NEUTRALS"
  118.         AttackRange="50000.0">
  119.         <Nuggets>
  120.             <DamageNugget
  121.                 Damage="10"
  122.                 Radius="5"
  123.                 DamageType="CANNON"
  124.                 DeathType="DETONATED" >
  125.                 <SpecialObjectFilter
  126.                     Rule="ALL"
  127.                     Exclude="AIRCRAFT"/>
  128.                 <DamageScalarDetails Scalar= "100%">
  129.                     <Filter
  130.                         Rule="NONE"
  131.                         Include="TIBERIUM" />
  132.                 </DamageScalarDetails>
  133.             </DamageNugget>
  134.             <WeaponOCLNugget
  135.                 WeaponOCL="OCL_NODVeinDetonation" />
  136.             <ReportWeaponFiredStatNugget/>
  137.         </Nuggets>
  138.     </WeaponTemplate>
  139.  
  140.   <ObjectCreationList
  141.         id="OCL_NODVeinDetonationTrigger">
  142.     <CreateObject
  143.             Disposition="ON_GROUND_ALIGNED"
  144.             Options="IGNORE_ALL_OBJECTS"
  145.             CreateFX="FX_NOD_TiberiumVeinDetonation">
  146.       <Offset x="0" y="0" z="0"/>
  147.       <CreateObject>NODVeinDetonationTrigger</CreateObject>
  148.     </CreateObject>
  149.   </ObjectCreationList>
  150.  
  151.   <ObjectCreationList
  152.         id="OCL_NODVeinDetonation">
  153.         <CreateObject
  154.             CreateFX="FX_NOD_TiberiumVeinDetonation"
  155.             Options="IGNORE_ALL_OBJECTS"
  156.             Disposition="ON_GROUND_ALIGNED"
  157.             StartingModelConditions="">
  158.             <Offset />
  159.             <CreateObject>NODVeinDetonation</CreateObject>
  160.         </CreateObject>
  161.     </ObjectCreationList>
  162.  
  163.  
  164.  
  165.     <WeaponTemplate
  166.         id="TibVeinDetonation"
  167.         Name="TibVeinDetonation"
  168.         AttackRange="50000"
  169.         RadiusDamageAffects="SELF ALLIES ENEMIES NEUTRALS"
  170.         ProjectileCollidesWith="ALLIES ENEMIES NEUTRAL STRUCTURES WALLS">
  171.         <Nuggets>
  172.             <DamageNugget
  173.                 Damage="1000"
  174.                 DamageTaperOff="15"
  175.                 Radius="250"
  176.                 DelayTimeSeconds="2.1s"
  177.                 DamageType="CANNON"
  178.                 DeathType="DETONATED">
  179.                 <SpecialObjectFilter
  180.                     Rule="ALL"
  181.                     Exclude="AIRCRAFT" />
  182.                 <DamageScalarDetails>
  183.                     <Filter
  184.                         Include="TIBERIUM" />
  185.                 </DamageScalarDetails>
  186.             </DamageNugget>
  187.             <WeaponOCLNugget
  188.                 WeaponOCL="OCL_GenericTreeCrusher" />
  189.         </Nuggets>
  190.     </WeaponTemplate>
  191.  
  192.  
  193.  
  194.     <!-- This was changed into a spawner for the real damage -->
  195.     <WeaponTemplate
  196.         id="VeinDetonationRadiusWeapon"
  197.         Name="VeinDetonationRadiusWeapon"
  198.         AttackRange="50000"
  199.         RadiusDamageAffects="SELF ALLIES ENEMIES NEUTRALS">
  200.         <Nuggets>
  201.         <!--  DelayTimeSeconds="3.5s" -->
  202.             <DamageNugget
  203.                 Damage="75"
  204.                 Radius="90"
  205.                 DamageType="CANNON"
  206.                 DeathType="DETONATED" /> <!--
  207.             <DamageNugget
  208.                 Damage="100"
  209.                 Radius="100"
  210.                 DelayTimeSeconds="3.5s"
  211.                 DamageType="CANNON"
  212.                 DeathType="DETONATED">
  213.                 <SpecialObjectFilter
  214.                     Rule="NONE">
  215.                     <IncludeThing>VeinDetonationChunk</IncludeThing>
  216.                 </SpecialObjectFilter>
  217.             </DamageNugget>
  218.             <WeaponOCLNugget
  219.                 WeaponOCL="OCL_TibVeinDamageSpawner" /> -->
  220.         </Nuggets>
  221.     </WeaponTemplate>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement