Files
ArachnaeSwarm/1.6/1.6/Defs/Thing_Misc/ARA_Flyover_Item.xml
2025-10-28 12:01:36 +08:00

145 lines
6.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef Parent="EtherealThingBase">
<defName>ARA_HiveShip</defName>
<label>虫巢母舰</label>
<thingClass>ArachnaeSwarm.FlyOver</thingClass>
<tickerType>Normal</tickerType>
<drawerType>RealtimeOnly</drawerType>
<graphicData>
<!-- <texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath> -->
<texPath>ArachnaeSwarm/FlyOverThing/ARA_HiveShip_Shadow</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(100,250)</drawSize>
<color>(195,195,195,45)</color>
</graphicData>
<skyfaller>
<shadowSize>(0, 0)</shadowSize>
<motesPerCell>0</motesPerCell>
<floatingSound>FlyOver/Flying</floatingSound>
<impactSound>FlyOver/Landing</impactSound>
</skyfaller>
<modExtensions>
<li Class="ArachnaeSwarm.FlyOverShadowExtension">
<customShadowPath>ArachnaeSwarm/FlyOverThing/ARA_HiveShip_Shadow</customShadowPath>
<useCustomShadow>false</useCustomShadow>
<!-- <shadowIntensity>0.8</shadowIntensity>
<minShadowAlpha>0</minShadowAlpha>
<maxShadowAlpha>0</maxShadowAlpha>
<minShadowScale>15</minShadowScale>
<maxShadowScale>15</maxShadowScale> -->
</li>
</modExtensions>
<useHitPoints>false</useHitPoints>
<selectable>false</selectable>
<alwaysHaulable>false</alwaysHaulable>
<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>25</scatterRadius>
<useTradeDropSpot>false</useTradeDropSpot>
<allowFogged>false</allowFogged>
<dropAllInSamePod>false</dropAllInSamePod>
<leaveSlag>false</leaveSlag>
<sendStandardLetter>false</sendStandardLetter>
<customLetterDef>NegativeEvent</customLetterDef>
<customLetterLabel>虫群空投袭击</customLetterLabel>
<customLetterText>虫巢母舰正在空投一支虫族部队!这支部队会被空投到虫巢母舰附近,在地面战场上为虫巢母舰提供掩护。</customLetterText>
<!-- 投掷物品 -->
<thingDefs>
<!-- <li>
<thingDef>MealPackaged</thingDef>
<count>20</count>
</li>
<li>
<thingDef>MedicineIndustrial</thingDef>
<count>10</count>
</li> -->
</thingDefs>
<!-- 特定 PawnKind 生成配置 -->
<pawnKinds>
<li>
<pawnKindDef>ArachnaeNode_Race_Fighter_Enermy</pawnKindDef>
<count>5</count>
</li>
<li>
<pawnKindDef>ArachnaeNode_Race_ShieldHead_Enermy</pawnKindDef>
<count>5</count>
</li>
</pawnKinds>
<!-- Pawn 派系配置 -->
<pawnFactionDef>ARA_Hostile_Hive</pawnFactionDef>
<generatePawnsOnDrop>true</generatePawnsOnDrop>
<!-- LordJob 配置 -->
<assignAssaultLordJob>true</assignAssaultLordJob>
<canKidnap>true</canKidnap>
<canTimeoutOrFlee>false</canTimeoutOrFlee>
<useSappers>false</useSappers>
<useAvoidGridSmart>false</useAvoidGridSmart>
<canSteal>false</canSteal>
<useBreachers>false</useBreachers>
<canPickUpOpportunisticWeapons>true</canPickUpOpportunisticWeapons>
<!-- 乘客行为 -->
<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>