feat: 添加拦截空投舱功能并更新飞行器配置
将拦截空投舱能力从单位移至进化树 更新飞行器配置并添加新的假飞行器定义 修改拦截组件的默认飞行器类型
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1776,6 +1776,7 @@
|
||||
<li Class="HediffCompProperties_GiveAbility">
|
||||
<abilityDefs>
|
||||
<li>ARA_SpawnFlyOverTest</li>
|
||||
<li>ARA_ToggleDropPodIntercept</li>
|
||||
<li>ARA_Spawn_ARA_HiveCorvette_Rocket</li>
|
||||
<li>ARA_Spawn_ARA_HiveCorvette_Bombardment</li>
|
||||
<li>ARA_Spawn_ARA_HiveCorvette_Strike</li>
|
||||
|
||||
@@ -356,7 +356,6 @@
|
||||
</backstoryFiltersOverride>
|
||||
<abilities>
|
||||
<li>ARA_Skyraider_jump</li>
|
||||
<li>ARA_ToggleDropPodIntercept</li>
|
||||
</abilities>
|
||||
<startingHediffs>
|
||||
<li>
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
<ThingDef ParentName="SkyfallerBase">
|
||||
<defName>ARA_HiveCorvette_Leaving</defName>
|
||||
<label>天巫种兽虫 (起飞中)</label>
|
||||
<thingClass>FlyShipLeaving</thingClass>
|
||||
<thingClass>Skyfaller</thingClass>
|
||||
<skyfaller>
|
||||
<reversed>true</reversed>
|
||||
<anticipationSound>Shuttle_Leaving</anticipationSound>
|
||||
@@ -476,6 +476,48 @@
|
||||
<comps>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
<ThingDef Parent="EtherealThingBase">
|
||||
<defName>ARA_HiveCorvetteB_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_HiveCorvetteB_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>
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace ArachnaeSwarm
|
||||
public class GameComponent_DropPodInterceptor : GameComponent
|
||||
{
|
||||
private const string DefaultAircraftDefName = "ARA_HiveCorvette_Entity";
|
||||
private const string DefaultInterceptFlyOverDefName = "ARA_HiveCorvette_Fake";
|
||||
private const string DefaultInterceptFlyOverDefName = "ARA_HiveCorvetteB_Fake";
|
||||
|
||||
private bool interceptEnabled;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user