150 lines
5.6 KiB
XML
150 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Defs>
|
|
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Projectile_CatastropheMissile</defName>
|
|
<label>“天灾”巡航导弹</label>
|
|
<thingClass>ArachnaeSwarm.Projectile_CruiseMissile</thingClass>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Single_AgeSecs</graphicClass>
|
|
<texPath>Things/Projectile/FleshmassSpitterProjectileSheet</texPath>
|
|
<drawSize>(3,3)</drawSize>
|
|
<shaderType>MoteGlow</shaderType>
|
|
</graphicData>
|
|
<projectile>
|
|
<useGraphicClass>True</useGraphicClass>
|
|
<shadowSize>1</shadowSize>
|
|
<damageDef>ARA_AcidBurn</damageDef>
|
|
<damageAmountBase>200</damageAmountBase>
|
|
<speed>80</speed>
|
|
<spinRate>15</spinRate>
|
|
<flyOverhead>true</flyOverhead>0
|
|
<filth>Filth_SpentAcid</filth>
|
|
<filthCount>4</filthCount>
|
|
<explosionEffect>Shell_AcidSpitImpact</explosionEffect>
|
|
<explosionEffectLifetimeTicks>60</explosionEffectLifetimeTicks>
|
|
<doExplosionVFX>false</doExplosionVFX>
|
|
<explosionRadius>5.9</explosionRadius>
|
|
<soundExplode>MortarBomb_Explode</soundExplode>
|
|
</projectile>
|
|
<modExtensions>
|
|
<li Class="ArachnaeSwarm.CruiseMissileProperties">
|
|
<customDamageDef>ARA_AcidBurn</customDamageDef>
|
|
<customDamageAmount>150</customDamageAmount>
|
|
<customExplosionRadius>5.9</customExplosionRadius>
|
|
<customSoundExplode>MortarBomb_Explode</customSoundExplode>
|
|
<useSubExplosions>true</useSubExplosions>
|
|
<subExplosionCount>8</subExplosionCount>
|
|
<subExplosionRadius>2.9</subExplosionRadius>
|
|
<subExplosionDamage>50</subExplosionDamage>
|
|
<subExplosionSpread>15</subExplosionSpread>
|
|
<subDamageDef>ARA_AcidBurn</subDamageDef>
|
|
<subSoundExplode>Mortar_Explode</subSoundExplode>
|
|
<bezierArcHeightFactor>0.05</bezierArcHeightFactor>
|
|
<bezierMinArcHeight>5</bezierMinArcHeight>
|
|
<bezierMaxArcHeight>20</bezierMaxArcHeight>
|
|
<bezierHorizontalOffsetFactor>0.1</bezierHorizontalOffsetFactor>
|
|
<bezierSideOffsetFactor>0.2</bezierSideOffsetFactor>
|
|
<bezierRandomOffsetScale>0.5</bezierRandomOffsetScale>
|
|
</li>
|
|
</modExtensions>
|
|
<comps>
|
|
<li Class="CompProperties_ProjectileEffecter">
|
|
<effecterDef>Shell_AcidSpitStream</effecterDef>
|
|
</li>
|
|
<li Class="CompProperties_ProjectileEffecter">
|
|
<effecterDef>Shell_AcidSpitLaunched</effecterDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Projectile_CatastropheMissile_Fake</defName>
|
|
<label>“天灾”巡航导弹</label>
|
|
<thingClass>ArachnaeSwarm.Projectile_CruiseMissile</thingClass>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Single_AgeSecs</graphicClass>
|
|
<texPath>Things/Projectile/FleshmassSpitterProjectileSheet</texPath>
|
|
<drawSize>(3,3)</drawSize>
|
|
<shaderType>MoteGlow</shaderType>
|
|
</graphicData>
|
|
<projectile>
|
|
<useGraphicClass>True</useGraphicClass>
|
|
<shadowSize>1</shadowSize>
|
|
<damageDef>ARA_AcidBurn</damageDef>
|
|
<damageAmountBase>0</damageAmountBase>
|
|
<speed>50</speed>
|
|
<spinRate>15</spinRate>
|
|
<flyOverhead>true</flyOverhead>
|
|
</projectile>
|
|
<modExtensions>
|
|
<li Class="ArachnaeSwarm.CruiseMissileProperties">
|
|
<isDummy>true</isDummy>
|
|
<useSubExplosions>false</useSubExplosions>
|
|
</li>
|
|
</modExtensions>
|
|
<comps>
|
|
<li Class="CompProperties_ProjectileEffecter">
|
|
<effecterDef>Shell_AcidSpitStream</effecterDef>
|
|
</li>
|
|
<li Class="CompProperties_ProjectileEffecter">
|
|
<effecterDef>Shell_AcidSpitLaunched</effecterDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<ThingDef ParentName="BaseWeapon">
|
|
<defName>CatastropheMissile_Weapon</defName>
|
|
<label>天灾导弹武器系统</label>
|
|
<description>天灾导弹的发射系统。</description>
|
|
<techLevel>Spacer</techLevel>
|
|
<graphicData>
|
|
<texPath>Things/Building/Security/TurretMortar_Top</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
</graphicData>
|
|
<statBases>
|
|
<RangedWeapon_Cooldown>5.0</RangedWeapon_Cooldown>
|
|
<Mass>50</Mass>
|
|
</statBases>
|
|
<verbs>
|
|
<li>
|
|
<verbClass>Verb_Shoot</verbClass>
|
|
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
|
|
<warmupTime>4.0</warmupTime>
|
|
<forcedMissRadius>9</forcedMissRadius>
|
|
<forcedMissRadiusClassicMortars>13</forcedMissRadiusClassicMortars>
|
|
<isMortar>true</isMortar>
|
|
<requireLineOfSight>false</requireLineOfSight>
|
|
<minRange>29.9</minRange>
|
|
<range>500</range>
|
|
<burstShotCount>1</burstShotCount>
|
|
<soundCast>Mortar_LaunchA</soundCast>
|
|
<muzzleFlashScale>16</muzzleFlashScale>
|
|
<consumeFuelPerShot>1</consumeFuelPerShot>
|
|
<targetParams>
|
|
<canTargetLocations>true</canTargetLocations>
|
|
</targetParams>
|
|
</li>
|
|
</verbs>
|
|
<verbs>
|
|
<li>
|
|
<verbClass>ArachnaeSwarm.Verb_LaunchCatastropheMissile</verbClass>
|
|
<hasStandardCommand>true</hasStandardCommand>
|
|
<defaultProjectile>Projectile_CatastropheMissile</defaultProjectile> <!-- Placeholder local projectile -->
|
|
<warmupTime>3.0</warmupTime>
|
|
<forcedMissRadius>1</forcedMissRadius>
|
|
<isMortar>true</isMortar>
|
|
<requireLineOfSight>false</requireLineOfSight>
|
|
<minRange>29.9</minRange>
|
|
<burstShotCount>1</burstShotCount>
|
|
<range>500</range>
|
|
<soundCast>Shot_Autocannon</soundCast>
|
|
<muzzleFlashScale>16</muzzleFlashScale>
|
|
<targetParams>
|
|
<canTargetLocations>true</canTargetLocations>
|
|
</targetParams>
|
|
</li>
|
|
</verbs>
|
|
</ThingDef>
|
|
|
|
</Defs> |