This commit is contained in:
Tourswen
2025-10-29 12:50:26 +08:00
parent e8d96472ee
commit e503192955
4 changed files with 153 additions and 100 deletions

View File

@@ -131,7 +131,7 @@
</li>
<!-- 伴飞 -->
<li Class="ArachnaeSwarm.CompProperties_FlyOverEscort">
<escortFlyOverDef>ARA_HiveCorvette</escortFlyOverDef>
<escortFlyOverDef>ARA_HiveCorvette_Fake</escortFlyOverDef>
<!-- 生成配置 -->
<spawnIntervalTicks>250</spawnIntervalTicks> <!-- 5秒 -->
@@ -174,6 +174,48 @@
</li>
</comps>
</ThingDef>
<ThingDef Parent="EtherealThingBase">
<defName>ARA_HiveCorvette_Fake</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_HiveCorvette_Shadow</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>TransparentPostLight</shaderType>
<drawSize>(20,30)</drawSize>
<color>(195,195,195,45)</color>
</graphicData>
<castEdgeShadows>false</castEdgeShadows>
<staticSunShadowHeight>0</staticSunShadowHeight>
<skyfaller>
<shadow>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</shadow>
<shadowSize>(0, 0)</shadowSize>
<motesPerCell>0</motesPerCell>
<floatingSound>FlyOver/Flying</floatingSound>
<impactSound>FlyOver/Landing</impactSound>
</skyfaller>
<modExtensions>
<li Class="ArachnaeSwarm.FlyOverShadowExtension">
<customShadowPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</customShadowPath>
<useCustomShadow>true</useCustomShadow>
<shadowIntensity>0.8</shadowIntensity>
<minShadowAlpha>0</minShadowAlpha>
<maxShadowAlpha>0</maxShadowAlpha>
<minShadowScale>0</minShadowScale>
<maxShadowScale>0</maxShadowScale>
</li>
</modExtensions>
<seeThroughFog>true</seeThroughFog>
<useHitPoints>false</useHitPoints>
<selectable>false</selectable>
<alwaysHaulable>false</alwaysHaulable>
<altitudeLayer>MetaOverlays</altitudeLayer>
<comps>
</comps>
</ThingDef>
<ThingDef Parent="EtherealThingBase">
<defName>ARA_HiveCorvette</defName>
<label>天巫种兽虫(天灾炮)</label>
@@ -219,11 +261,12 @@
<range>50</range>
</li>
<li Class="ArachnaeSwarm.CompProperties_SectorSurveillance">
<projectileDef>ARA_Bullet_SniperCannon</projectileDef>
<sectorAngle>90</sectorAngle> <!-- 扇形角度 -->
<projectileDef>Bullet_ARA_HiveCorvette</projectileDef>
<sectorAngle>30</sectorAngle> <!-- 扇形角度 -->
<sectorRange>50</sectorRange> <!-- 射程 -->
<shotCount>3</shotCount> <!-- 发射次数 -->
<shotInterval>0.3</shotInterval> <!-- 发射间隔 -->
<maxProjectiles>24</maxProjectiles><!-- 最大射弹数量限制-->
</li>
</comps>
</ThingDef>
@@ -271,6 +314,14 @@
<projectileDef>Bullet_ARA_RW_Acid_Mortar</projectileDef>
<range>15</range>
</li>
<li Class="ArachnaeSwarm.CompProperties_SectorSurveillance">
<projectileDef>Bullet_ARA_HiveCorvette</projectileDef>
<sectorAngle>60</sectorAngle> <!-- 扇形角度 -->
<sectorRange>50</sectorRange> <!-- 射程 -->
<shotCount>1</shotCount> <!-- 发射次数 -->
<shotInterval>0.5</shotInterval> <!-- 发射间隔 -->
<maxProjectiles>-1</maxProjectiles><!-- 最大射弹数量限制-->
</li>
</comps>
</ThingDef>
@@ -332,4 +383,31 @@
<flyOverhead>true</flyOverhead>
</projectile>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_ARA_HiveCorvette</defName>
<label>天巫棘刺</label>
<thingClass>ArachnaeSwarm.Projectile_WulaLineAttack</thingClass>
<modExtensions>
<li Class="ArachnaeSwarm.Wula_PathPierce_Extension">
<maxHits>0</maxHits> <!-- 无限穿透 -->
<damageFalloff>0</damageFalloff> <!-- 无伤害衰减 -->
<preventFriendlyFire>true</preventFriendlyFire> <!-- 是否阻止友方火力 -->
<!-- 击中特效属性 -->
<impactEffecter>ARA_RW_Lighting_Cannon_Hit</impactEffecter>
</li>
</modExtensions>
<graphicData>
<texPath>ArachnaeSwarm/Mote/ARA_Spike_Shell</texPath>
<graphicClass>Graphic_Single_AgeSecs</graphicClass>
<shaderType>MoteGlow</shaderType>
<drawSize>(1,2)</drawSize>
<color>(0.9,0.9,0.9,1)</color>
</graphicData>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>55</damageAmountBase>
<speed>350</speed>
</projectile>
</ThingDef>
</Defs>