|
|
|
|
@@ -0,0 +1,244 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
|
<Defs>
|
|
|
|
|
|
|
|
|
|
<ThingDef ParentName="BuildingBase">
|
|
|
|
|
<defName>CatastropheMissileSilo</defName>
|
|
|
|
|
<label>天灾导弹发射井</label>
|
|
|
|
|
<description>一个多功能导弹发射平台。它装备的武器系统既可以作为自动炮塔进行本地防御,也可以在操作员的指引下,将“天灾”级巡航导弹发射到全球任何一个角落。</description>
|
|
|
|
|
<thingClass>ArachnaeSwarm.Building_CatastropheMissileSilo</thingClass>
|
|
|
|
|
<drawerType>MapMeshAndRealTime</drawerType>
|
|
|
|
|
<graphicData>
|
|
|
|
|
<texPath>Things/Building/Security/TurretHeavy_Base</texPath>
|
|
|
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
|
|
|
<drawSize>(3, 3)</drawSize>
|
|
|
|
|
<drawOffset>(0,0,-0.1)</drawOffset>
|
|
|
|
|
<damageData>
|
|
|
|
|
<rect>(0.2,0.2,0.6,0.6)</rect>
|
|
|
|
|
</damageData>
|
|
|
|
|
<shadowData>
|
|
|
|
|
<volume>(1.5,0.35,1.4)</volume>
|
|
|
|
|
<offset>(0,0,-0.05)</offset>
|
|
|
|
|
</shadowData>
|
|
|
|
|
</graphicData>
|
|
|
|
|
<size>(2,2)</size>
|
|
|
|
|
<altitudeLayer>Building</altitudeLayer>
|
|
|
|
|
<passability>PassThroughOnly</passability>
|
|
|
|
|
<pathCost>50</pathCost>
|
|
|
|
|
<fillPercent>0.5</fillPercent>
|
|
|
|
|
<stealable>false</stealable>
|
|
|
|
|
<statBases>
|
|
|
|
|
<MaxHitPoints>500</MaxHitPoints>
|
|
|
|
|
<WorkToBuild>12000</WorkToBuild>
|
|
|
|
|
<Mass>800</Mass>
|
|
|
|
|
<Beauty>-20</Beauty>
|
|
|
|
|
</statBases>
|
|
|
|
|
<tickerType>Normal</tickerType>
|
|
|
|
|
<comps>
|
|
|
|
|
<li Class="CompProperties_Refuelable">
|
|
|
|
|
<fuelLabel>导弹</fuelLabel>
|
|
|
|
|
<fuelGizmoLabel>导弹</fuelGizmoLabel>
|
|
|
|
|
<outOfFuelMessage>缺少导弹</outOfFuelMessage>
|
|
|
|
|
<fuelFilter>
|
|
|
|
|
<thingDefs>
|
|
|
|
|
<li>ComponentSpacer</li>
|
|
|
|
|
</thingDefs>
|
|
|
|
|
</fuelFilter>
|
|
|
|
|
<fuelCapacity>10</fuelCapacity>
|
|
|
|
|
<initialFuelPercent>0</initialFuelPercent>
|
|
|
|
|
<autoRefuelPercent>1</autoRefuelPercent>
|
|
|
|
|
<showFuelGizmo>true</showFuelGizmo>
|
|
|
|
|
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
|
|
|
|
</li>
|
|
|
|
|
<li Class="CompProperties_Forbiddable"/>
|
|
|
|
|
<li Class="CompProperties_Breakdownable"/>
|
|
|
|
|
<li Class="ArachnaeSwarm.CompProperties_ForceTargetable" />
|
|
|
|
|
</comps>
|
|
|
|
|
<building>
|
|
|
|
|
<turretGunDef>CatastropheMissile_Weapon</turretGunDef>
|
|
|
|
|
<turretBurstCooldownTime>5.0</turretBurstCooldownTime>
|
|
|
|
|
<buildingTags>
|
|
|
|
|
<li>Artillery</li>
|
|
|
|
|
</buildingTags>
|
|
|
|
|
</building>
|
|
|
|
|
<designationCategory>ARA_Buildings</designationCategory>
|
|
|
|
|
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
|
|
|
|
|
<researchPrerequisites>
|
|
|
|
|
<li>ShipbuildingBasics</li>
|
|
|
|
|
</researchPrerequisites>
|
|
|
|
|
</ThingDef>
|
|
|
|
|
|
|
|
|
|
<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>150</damageAmountBase>
|
|
|
|
|
<speed>80</speed>
|
|
|
|
|
<flyOverhead>true</flyOverhead>
|
|
|
|
|
<filth>Filth_SpentAcid</filth>
|
|
|
|
|
<filthCount>4</filthCount>
|
|
|
|
|
<explosionEffect>ARA_Shell_AcidSpitImpact</explosionEffect>
|
|
|
|
|
<explosionEffectLifetimeTicks>60</explosionEffectLifetimeTicks>
|
|
|
|
|
<doExplosionVFX>false</doExplosionVFX>
|
|
|
|
|
<explosionRadius>10.9</explosionRadius>
|
|
|
|
|
<soundExplode>MortarBomb_Explode</soundExplode>
|
|
|
|
|
</projectile>
|
|
|
|
|
<modExtensions>
|
|
|
|
|
<li Class="ArachnaeSwarm.CruiseMissileProperties">
|
|
|
|
|
<customDamageDef>ARA_AcidBurn</customDamageDef>
|
|
|
|
|
<customDamageAmount>150</customDamageAmount>
|
|
|
|
|
<customExplosionRadius>10.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>MortarBomb_Explode</subSoundExplode>
|
|
|
|
|
<bezierArcHeightFactor>0.01</bezierArcHeightFactor>
|
|
|
|
|
<bezierMinArcHeight>1</bezierMinArcHeight>
|
|
|
|
|
<bezierMaxArcHeight>5</bezierMaxArcHeight>
|
|
|
|
|
<bezierHorizontalOffsetFactor>0.05</bezierHorizontalOffsetFactor>
|
|
|
|
|
<bezierSideOffsetFactor>0.05</bezierSideOffsetFactor>
|
|
|
|
|
<bezierRandomOffsetScale>1.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>
|
|
|
|
|
|
|
|
|
|
<EffecterDef>
|
|
|
|
|
<defName>ARA_Shell_AcidSpitImpact</defName>
|
|
|
|
|
<children>
|
|
|
|
|
<li>
|
|
|
|
|
<subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
|
|
|
|
|
<fleckDef>Fleck_AcidSpitImpact</fleckDef>
|
|
|
|
|
<burstCount>1</burstCount>
|
|
|
|
|
<scale>5</scale>
|
|
|
|
|
<chancePerTick>1</chancePerTick>
|
|
|
|
|
<chancePeriodTicks>2</chancePeriodTicks>
|
|
|
|
|
<lifespanMaxTicks>8</lifespanMaxTicks>
|
|
|
|
|
<spawnLocType>OnSource</spawnLocType>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
|
|
|
|
|
<fleckDef>Fleck_AcidSpitLaunchedMist</fleckDef>
|
|
|
|
|
<scale>20</scale>
|
|
|
|
|
<burstCount>3~6</burstCount>
|
|
|
|
|
<spawnLocType>OnSource</spawnLocType>
|
|
|
|
|
<absoluteAngle>false</absoluteAngle>
|
|
|
|
|
<angle>0~100</angle>
|
|
|
|
|
<positionRadius>1</positionRadius>
|
|
|
|
|
<speed>-1~1</speed>
|
|
|
|
|
<rotation>0</rotation>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
|
|
|
|
|
<fleckDef>Fleck_AcidSpitLaunchedGlobFast</fleckDef>
|
|
|
|
|
<burstCount>6~10</burstCount>
|
|
|
|
|
<spawnLocType>OnSource</spawnLocType>
|
|
|
|
|
<absoluteAngle>false</absoluteAngle>
|
|
|
|
|
<positionRadius>.7</positionRadius>
|
|
|
|
|
<positionRadiusMin>.7</positionRadiusMin>
|
|
|
|
|
<fleckUsesAngleForVelocity>true</fleckUsesAngleForVelocity>
|
|
|
|
|
<rotateTowardsTargetCenter>true</rotateTowardsTargetCenter>
|
|
|
|
|
<angle>0~100</angle>
|
|
|
|
|
<scale>2.5</scale>
|
|
|
|
|
<speed>20~45</speed>
|
|
|
|
|
<rotation>0~360</rotation>
|
|
|
|
|
</li>
|
|
|
|
|
</children>
|
|
|
|
|
</EffecterDef>
|
|
|
|
|
|
|
|
|
|
<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>80</speed>
|
|
|
|
|
<flyOverhead>true</flyOverhead>
|
|
|
|
|
</projectile>
|
|
|
|
|
<modExtensions>
|
|
|
|
|
<li Class="ArachnaeSwarm.CruiseMissileProperties">
|
|
|
|
|
<isDummy>true</isDummy>
|
|
|
|
|
<useSubExplosions>false</useSubExplosions>
|
|
|
|
|
<bezierArcHeightFactor>0.01</bezierArcHeightFactor>
|
|
|
|
|
<bezierMinArcHeight>1</bezierMinArcHeight>
|
|
|
|
|
<bezierMaxArcHeight>5</bezierMaxArcHeight>
|
|
|
|
|
<bezierHorizontalOffsetFactor>0.05</bezierHorizontalOffsetFactor>
|
|
|
|
|
<bezierSideOffsetFactor>0.05</bezierSideOffsetFactor>
|
|
|
|
|
<bezierRandomOffsetScale>1.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="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>
|
|
|
|
|
<hasStandardCommand>true</hasStandardCommand>
|
|
|
|
|
<defaultProjectile>Projectile_CatastropheMissile</defaultProjectile>
|
|
|
|
|
<consumeFuelPerShot>1</consumeFuelPerShot>
|
|
|
|
|
<warmupTime>3.0</warmupTime>
|
|
|
|
|
<forcedMissRadius>1</forcedMissRadius>
|
|
|
|
|
<isMortar>true</isMortar>
|
|
|
|
|
<requireLineOfSight>false</requireLineOfSight>
|
|
|
|
|
<minRange>10.9</minRange>
|
|
|
|
|
<burstShotCount>1</burstShotCount>
|
|
|
|
|
<range>500</range>
|
|
|
|
|
<soundCast>Shot_Autocannon</soundCast>
|
|
|
|
|
<muzzleFlashScale>16</muzzleFlashScale>
|
|
|
|
|
<targetParams>
|
|
|
|
|
<canTargetLocations>true</canTargetLocations>
|
|
|
|
|
</targetParams>
|
|
|
|
|
</li>
|
|
|
|
|
</verbs>
|
|
|
|
|
</ThingDef>
|
|
|
|
|
|
|
|
|
|
</Defs>
|