This commit is contained in:
2025-10-28 12:01:36 +08:00
parent 25531d663d
commit f55c0df25a
16 changed files with 799 additions and 164 deletions

Binary file not shown.

View File

@@ -62,7 +62,7 @@
</verbProperties>
<comps>
<li Class="ArachnaeSwarm.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>ARA_FlyOverShip</flyOverDef>
<flyOverDef>ARA_HiveShip</flyOverDef>
<flyOverType>Standard</flyOverType>
<flightSpeed>0.01</flightSpeed>
<altitude>20</altitude>

View File

@@ -635,6 +635,7 @@
<li>ARA_Surgery_Install_Slide_Patagium</li>
<li>ARA_Surgery_Install_Acidling_Pouch</li>
<li>ARA_Surgery_Install_Tumor_Pouch</li>
<li>ARA_Surgery_Install_Internal_Circulation_Lung</li>
</recipes>
<comps>

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef Parent="EtherealThingBase">
<defName>ARA_FlyOverShip</defName>
<label>飞越飞船</label>
<defName>ARA_HiveShip</defName>
<label>虫巢母舰</label>
<thingClass>ArachnaeSwarm.FlyOver</thingClass>
<tickerType>Normal</tickerType>
<drawerType>RealtimeOnly</drawerType>
@@ -11,7 +11,7 @@
<texPath>ArachnaeSwarm/FlyOverThing/ARA_HiveShip_Shadow</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(75,170)</drawSize>
<drawSize>(100,250)</drawSize>
<color>(195,195,195,45)</color>
</graphicData>
<skyfaller>
@@ -23,32 +23,42 @@
<modExtensions>
<li Class="ArachnaeSwarm.FlyOverShadowExtension">
<customShadowPath>ArachnaeSwarm/FlyOverThing/ARA_HiveShip_Shadow</customShadowPath>
<shadowIntensity>0.8</shadowIntensity>
<useCustomShadow>false</useCustomShadow>
<!-- <shadowIntensity>0.8</shadowIntensity>
<minShadowAlpha>0</minShadowAlpha>
<maxShadowAlpha>0</maxShadowAlpha>
<minShadowScale>15</minShadowScale>
<maxShadowScale>15</maxShadowScale>
<maxShadowScale>15</maxShadowScale> -->
</li>
</modExtensions>
<useHitPoints>false</useHitPoints>
<selectable>false</selectable>
<alwaysHaulable>false</alwaysHaulable>
<altitudeLayer>Projectile</altitudeLayer>
<altitudeLayer>LightingOverlay</altitudeLayer>
<comps>
<li Class="ArachnaeSwarm.CompProperties_SendLetterAfterTicks">
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
<letterLabel>虫巢母舰</letterLabel>
<letterText>苍穹之上传来嘶鸣,无数的虫群掠过殖民地,一只庞然大物投下的阴影遮天蔽日——\n\n虫巢母舰阿拉克涅虫群中最大的节点生物也是虫群永恒远征的支柱。现在正有这样的一只骇人之物盘踞在殖民地的上空。它会使用一切手段摧毁你的防御并投放无穷无尽的虫海淹没你的殖民者直到其离开殖民地上方轨道。准备好迎接冲击</letterText>
<letterDef>ThreatBig</letterDef>
<onlySendOnce>true</onlySendOnce>
<requireOnMap>true</requireOnMap>
<destroyAfterSending>false</destroyAfterSending> <!-- 发送后销毁flyover -->
</li>
<li Class="ArachnaeSwarm.CompProperties_FlyOverDropPods">
<!-- <dropProgress>0.5</dropProgress> -->
<useCyclicDrops>true</useCyclicDrops>
<cyclicDropIntervalHours>1</cyclicDropIntervalHours>
<dropCount>10</dropCount>
<scatterRadius>15</scatterRadius>
<scatterRadius>25</scatterRadius>
<useTradeDropSpot>false</useTradeDropSpot>
<allowFogged>false</allowFogged>
<dropAllInSamePod>false</dropAllInSamePod>
<leaveSlag>false</leaveSlag>
<sendStandardLetter>true</sendStandardLetter>
<customLetterLabel>虫群空调</customLetterLabel>
<customLetterText>虫巢舰正在空投一支虫族部队!</customLetterText>
<sendStandardLetter>false</sendStandardLetter>
<customLetterDef>NegativeEvent</customLetterDef>
<customLetterLabel>虫群空投袭击</customLetterLabel>
<customLetterText>虫巢母舰正在空投一支虫族部队!这支部队会被空投到虫巢母舰附近,在地面战场上为虫巢母舰提供掩护。</customLetterText>
<!-- 投掷物品 -->
<thingDefs>
@@ -92,6 +102,44 @@
<joinPlayer>false</joinPlayer>
<makePrisoners>false</makePrisoners>
</li>
<li Class="ArachnaeSwarm.CompProperties_ShipArtillery">
<ticksBetweenAttacks>600</ticksBetweenAttacks>
<attackDurationTicks>600</attackDurationTicks>
<warmupTicks>60</warmupTicks>
<attackRadius>60</attackRadius>
<shellsPerVolley>3</shellsPerVolley>
<scatterRadius>60</scatterRadius>
<ignoreProtectionChance>0.1</ignoreProtectionChance>
<skyfallerDef>ARA_HiveShip_Fire_Incoming</skyfallerDef>
<attackSound>Skyfaller_Crashing</attackSound>
<impactSound>Explosion_Bomb</impactSound>
<useRandomTargets>true</useRandomTargets>
<avoidPlayerAssets>true</avoidPlayerAssets>
<playerAssetAvoidanceRadius>10</playerAssetAvoidanceRadius>
<sendAttackLetter>true</sendAttackLetter>
<customLetterLabel>战舰炮击警告</customLetterLabel>
<customLetterText>一艘敌方战舰正在对殖民地进行炮击!立即寻找掩护!</customLetterText>
<letterDef>ThreatBig</letterDef>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="SkyfallerBase">
<defName>ARA_HiveShip_Fire_Incoming</defName>
<label>天灾酸烧炮炮弹(虫巢母舰)</label>
<size>(2, 2)</size>
<skyfaller>
<movementType>Decelerate</movementType>
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
<shadowSize>(2.5, 2.5)</shadowSize>
<explosionRadius>10</explosionRadius>
<explosionDamage>ARA_AcidBurn</explosionDamage>
<explosionDamageFactor>0.5</explosionDamageFactor>
<cameraShake>1</cameraShake>
</skyfaller>
</ThingDef>
</Defs>