2091 lines
81 KiB
XML
2091 lines
81 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Defs>
|
|
<!-- 母舰 -->
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_MotherShip</defName>
|
|
<label>乌拉帝国母舰</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_MotherShip_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(100,250)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<!-- 入场信封信息 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_SendLetterAfterTicks">
|
|
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
|
|
<letterLabel>帝国母舰已抵达</letterLabel>
|
|
<letterText>一艘帝国母舰响应请求抵达殖民地上空!</letterText>
|
|
<letterDef>PositiveEvent</letterDef>
|
|
<onlySendOnce>true</onlySendOnce>
|
|
<requireOnMap>true</requireOnMap>
|
|
<destroyAfterSending>false</destroyAfterSending> <!-- 发送后销毁flyover -->
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverFacilities">
|
|
<availableFacilities>
|
|
<li>BombardmentFacility</li>
|
|
<li>HarborFacility</li>
|
|
<li>FactoryFacility</li>
|
|
<li>BuildingdropperFacility</li>
|
|
</availableFacilities>
|
|
</li>
|
|
<!-- 新增冷却组件 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverCooldown">
|
|
<baseCooldownTicks>60000</baseCooldownTicks> <!-- 1天 -->
|
|
</li>
|
|
<!-- 伴飞 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_Striker_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1000</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>20</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>100</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>25</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_Bomber_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1350</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>10</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>130</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>15</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_BattleShip_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1350</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>4</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>120</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>30</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>80</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>7</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<!-- 航空舰 -->
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_AircraftCarrier</defName>
|
|
<label>乌拉帝国航空舰</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_AircraftCarrier_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(70,200)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<!-- 入场信封信息 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_SendLetterAfterTicks">
|
|
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
|
|
<letterLabel>帝国航空舰已抵达</letterLabel>
|
|
<letterText>一艘帝国航空舰响应请求抵达殖民地上空!</letterText>
|
|
<letterDef>PositiveEvent</letterDef>
|
|
<onlySendOnce>true</onlySendOnce>
|
|
<requireOnMap>true</requireOnMap>
|
|
<destroyAfterSending>false</destroyAfterSending> <!-- 发送后销毁flyover -->
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverFacilities">
|
|
<availableFacilities>
|
|
<li>HarborFacility</li>
|
|
</availableFacilities>
|
|
</li>
|
|
<!-- 伴飞 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_Striker_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1000</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>20</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>100</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>25</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_Bomber_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1350</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>10</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>130</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>15</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_BattleShip_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1350</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>4</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>120</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>20</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>80</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>10</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>7</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<!-- 巡洋舰 -->
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_BattleShip</defName>
|
|
<label>乌拉帝国巡洋舰</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_BattleShip_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(70,100)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<!-- 入场信封信息 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_SendLetterAfterTicks">
|
|
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
|
|
<letterLabel>帝国巡洋舰已抵达</letterLabel>
|
|
<letterText>一艘帝国巡洋舰响应请求抵达殖民地上空!</letterText>
|
|
<letterDef>PositiveEvent</letterDef>
|
|
<onlySendOnce>true</onlySendOnce>
|
|
<requireOnMap>true</requireOnMap>
|
|
<destroyAfterSending>false</destroyAfterSending> <!-- 发送后销毁flyover -->
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverFacilities">
|
|
<availableFacilities>
|
|
<li>BombardmentFacility</li>
|
|
</availableFacilities>
|
|
</li>
|
|
<!-- 新增冷却组件 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverCooldown">
|
|
<baseCooldownTicks>60000</baseCooldownTicks> <!-- 1天 -->
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_BattleShip_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>3000</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>2</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>70</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>1</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.5</min>
|
|
<max>0.8</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<!-- 工程舰(弃用) -->
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_ConstructionShip</defName>
|
|
<label>乌拉帝国工程舰</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_ConstructionShip_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(70,200)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<!-- 入场信封信息 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_SendLetterAfterTicks">
|
|
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
|
|
<letterLabel>帝国工程舰已抵达</letterLabel>
|
|
<letterText>一艘帝国工程舰响应请求抵达殖民地上空!</letterText>
|
|
<letterDef>PositiveEvent</letterDef>
|
|
<onlySendOnce>true</onlySendOnce>
|
|
<requireOnMap>true</requireOnMap>
|
|
<destroyAfterSending>false</destroyAfterSending> <!-- 发送后销毁flyover -->
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverFacilities">
|
|
<availableFacilities>
|
|
<li>FactoryFacility</li>
|
|
<li>BuildingdropperFacility</li>
|
|
</availableFacilities>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<!-- 伴飞类 -->
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_Striker_Escort</defName>
|
|
<label>乌拉帝国攻击机(伴飞)</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<!-- <texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath> -->
|
|
<texPath>Wula/FlyoverThing/WULA_Striker_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(30,15)</drawSize>
|
|
<color>(255,255,255,45)</color>
|
|
</graphicData>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<staticSunShadowHeight>0</staticSunShadowHeight>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>20</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
</ThingDef>
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_Bomber_Escort</defName>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<label>乌拉帝国轰炸机</label>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<!-- <texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath> -->
|
|
<texPath>Wula/FlyoverThing/WULA_Bomber_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(50,35)</drawSize>
|
|
<color>(255,255,255,45)</color>
|
|
</graphicData>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<staticSunShadowHeight>0</staticSunShadowHeight>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>20</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
</ThingDef>
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_BattleShip_Escort</defName>
|
|
<label>乌拉帝国巡洋舰(伴飞)</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_BattleShip_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(70,100)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverFacilities">
|
|
<availableFacilities>
|
|
<li>BombardmentFacility</li>
|
|
</availableFacilities>
|
|
</li>
|
|
<!-- 新增冷却组件 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverCooldown">
|
|
<baseCooldownTicks>60000</baseCooldownTicks> <!-- 1天 -->
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<!-- 全域封锁舰队 -->
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_MotherShip_Planet_Interdiction</defName>
|
|
<label>乌拉帝国母舰(炮击)</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_MotherShip_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(100,250)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<!-- 入场信封信息 -->
|
|
<li Class="WulaFallenEmpire.CompProperties_PlaySoundOnSpawn">
|
|
<sound>WULA_MotherShip_Planet_Interdiction_IncomingSound</sound>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_BattleShip_Planet_Interdiction</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1350</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>4</maxEscorts>
|
|
<spawnCount>1</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>70</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>30</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>80</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>10</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_ShipArtillery">
|
|
<ticksBetweenAttacks>300</ticksBetweenAttacks>
|
|
<attackDurationTicks>300</attackDurationTicks>
|
|
<attackRadius>65</attackRadius>
|
|
<skyfallerDef>WULA_Firepower_Cannon_Salvo_Skyfaller</skyfallerDef>
|
|
<shellsPerVolley>12</shellsPerVolley>
|
|
|
|
<!-- 新增派系甄别配置 -->
|
|
<useFactionDiscrimination>true</useFactionDiscrimination>
|
|
<useMicroTracking>true</useMicroTracking>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_BattleShip_Planet_Interdiction</defName>
|
|
<label>乌拉帝国巡洋舰(炮击)</label>
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<texPath>Wula/FlyoverThing/WULA_BattleShip_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(70,100)</drawSize>
|
|
<color>(195,195,195,45)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<!-- 淡入淡出开关 -->
|
|
<useFadeEffects>false</useFadeEffects> <!-- 完全禁用淡入淡出 -->
|
|
<useFadeIn>false</useFadeIn> <!-- 仅禁用淡入 -->
|
|
<useFadeOut>false</useFadeOut> <!-- 仅禁用淡出 -->
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>50</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
|
|
<escortFlyOverDef>WULA_Striker_Escort</escortFlyOverDef>
|
|
|
|
<!-- 生成配置 -->
|
|
<spawnIntervalTicks>1000</spawnIntervalTicks> <!-- 5秒 -->
|
|
<maxEscorts>30</maxEscorts>
|
|
<spawnCount>2</spawnCount>
|
|
|
|
<!-- 位置配置 -->
|
|
<spawnDistance>0</spawnDistance>
|
|
<lateralOffset>100</lateralOffset>
|
|
<verticalOffset>5</verticalOffset>
|
|
<useRandomOffset>true</useRandomOffset>
|
|
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
|
|
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
|
|
|
|
<!-- 飞行配置 -->
|
|
<escortSpeedMultiplier>10</escortSpeedMultiplier> <!-- 比主舰稍快 -->
|
|
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
|
|
<mirrorMovement>false</mirrorMovement>
|
|
|
|
<!-- 行为配置 -->
|
|
<spawnOnStart>true</spawnOnStart>
|
|
<destroyWithParent>false</destroyWithParent>
|
|
<continuousSpawning>true</continuousSpawning>
|
|
|
|
<!-- 外观配置 -->
|
|
<useParentRotation>true</useParentRotation>
|
|
|
|
<!-- 缩放区间配置 -->
|
|
<escortScaleRange>
|
|
<min>0.3</min>
|
|
<max>0.6</max>
|
|
</escortScaleRange>
|
|
|
|
<!-- 高度遮罩配置 -->
|
|
<useHeightMask>true</useHeightMask>
|
|
<heightMaskAlphaRange>
|
|
<min>0.6</min>
|
|
<max>0.8</max>
|
|
</heightMaskAlphaRange>
|
|
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
|
|
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_ShipArtillery">
|
|
<ticksBetweenAttacks>300</ticksBetweenAttacks>
|
|
<attackDurationTicks>300</attackDurationTicks>
|
|
<attackRadius>65</attackRadius>
|
|
<skyfallerDef>WULA_Firepower_Cannon_Salvo_Skyfaller</skyfallerDef>
|
|
<shellsPerVolley>12</shellsPerVolley>
|
|
|
|
<!-- 新增派系甄别配置 -->
|
|
<useFactionDiscrimination>true</useFactionDiscrimination>
|
|
<useMicroTracking>true</useMicroTracking>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<!-- 战机 -->
|
|
<ThingDef Name="WULA_Fighter_Drone_Base" ParentName="EtherealThingBase" Abstract="True">
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<label>乌拉帝国蜂群无人机</label>
|
|
<graphicData>
|
|
<!-- <texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath> -->
|
|
<texPath>Wula/FlyoverThing/WULA_Fighter_Drone_Shadow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(3,3)</drawSize>
|
|
</graphicData>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<staticSunShadowHeight>0</staticSunShadowHeight>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>20</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Fighter_Drone_Base">
|
|
<defName>WULA_Fighter_Drone_A</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_SectorSurveillance">
|
|
<projectileDef>Bullet_Beam_Fighter_Drone</projectileDef>
|
|
<sectorAngle>20</sectorAngle> <!-- 扇形角度 -->
|
|
<sectorRange>50</sectorRange> <!-- 射程 -->
|
|
<shotCount>6</shotCount> <!-- 发射次数 -->
|
|
<shotInterval>0.1</shotInterval> <!-- 发射间隔 -->
|
|
<maxProjectiles>18</maxProjectiles><!-- 最大射弹数量限制-->
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>2</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>0</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>0</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>0</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Bullet_Beam_Fighter_Drone</defName>
|
|
<label>蜂群光束</label>
|
|
<thingClass>Beam</thingClass>
|
|
<graphicData>
|
|
<texPath>Things/Projectile/Bullet_Small</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
</graphicData>
|
|
<projectile>
|
|
<damageDef>Beam</damageDef>
|
|
<damageAmountBase>5</damageAmountBase>
|
|
<beamMoteDef>Mote_Beam_Fighter_Drone</beamMoteDef>
|
|
<beamStartOffset>0.5</beamStartOffset>
|
|
<armorPenetrationBase>0.5</armorPenetrationBase>
|
|
</projectile>
|
|
</ThingDef>
|
|
<ThingDef ParentName="MoteBase">
|
|
<defName>Mote_Beam_Fighter_Drone</defName>
|
|
<thingClass>MoteDualAttached</thingClass>
|
|
<altitudeLayer>MoteOverhead</altitudeLayer>
|
|
<mote>
|
|
<fadeInTime>0.1</fadeInTime>
|
|
<fadeOutTime>0.1</fadeOutTime>
|
|
<solidTime>0.1</solidTime>
|
|
<rotateTowardsTarget>True</rotateTowardsTarget>
|
|
<scaleToConnectTargets>True</scaleToConnectTargets>
|
|
</mote>
|
|
<drawOffscreen>true</drawOffscreen>
|
|
<graphicData>
|
|
<texPath>Things/Mote/GraserBeam</texPath>
|
|
<graphicClass>Graphic_MoteWithAgeSecs</graphicClass>
|
|
<shaderType>MoteBeam</shaderType>
|
|
<shaderParameters>
|
|
<_ExtraTexA>/Things/Mote/BeamSecondaryNoise_A</_ExtraTexA>
|
|
<_ExtraTexB>/Things/Mote/BeamSecondaryNoise_B</_ExtraTexB>
|
|
<_ScrollSpeedA>0</_ScrollSpeedA>
|
|
<_ScrollSpeedB>0</_ScrollSpeedB>
|
|
<_Intensity>2</_Intensity>
|
|
</shaderParameters>
|
|
</graphicData>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Fighter_Drone_Base">
|
|
<defName>WULA_Fighter_Drone_B</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_GroundStrafing">
|
|
<projectileDef>Bullet_Shell_Incendiary</projectileDef>
|
|
<range>50</range>
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>2</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>0</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>0</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>0</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<ThingDef Name="WULA_Striker_Base" ParentName="EtherealThingBase" Abstract="True">
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<label>乌拉帝国攻击机</label>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<!-- <texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath> -->
|
|
<texPath>Wula/FlyoverThing/WULA_Striker</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(30,15)</drawSize>
|
|
<color>(255,255,255,170)</color>
|
|
</graphicData>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<staticSunShadowHeight>0</staticSunShadowHeight>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>20</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Striker_Base">
|
|
<defName>WULA_Striker_A</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_SectorSurveillance">
|
|
<projectileDef>Bullet_WULA_Striker_A_Missile</projectileDef>
|
|
<sectorAngle>60</sectorAngle> <!-- 扇形角度 -->
|
|
<sectorRange>85</sectorRange> <!-- 射程 -->
|
|
<shotCount>2</shotCount> <!-- 发射次数 -->
|
|
<shotInterval>0.3</shotInterval> <!-- 发射间隔 -->
|
|
<maxProjectiles>24</maxProjectiles><!-- 最大射弹数量限制-->
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>13</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>13</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>13</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>13</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Bullet_WULA_Striker_A_Missile</defName>
|
|
<label>攻击机对地导弹</label>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Striker_Missile</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<drawSize>(1.25,2.5)</drawSize>
|
|
</graphicData>
|
|
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
|
|
<projectile>
|
|
<damageDef>Bomb</damageDef>
|
|
<speed>180</speed>
|
|
<damageAmountBase>30</damageAmountBase>
|
|
<armorPenetrationBase>1</armorPenetrationBase>
|
|
<stoppingPower>2.0</stoppingPower>
|
|
<explosionRadius>3</explosionRadius>
|
|
<soundExplode>MortarBomb_Explode</soundExplode>
|
|
<screenShakeFactor>0.5</screenShakeFactor>
|
|
<flyOverhead>true</flyOverhead>
|
|
</projectile>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.TrackingBulletDef">
|
|
<tailFleckDef>WULA_Smoke_Tail</tailFleckDef>
|
|
<fleckMakeFleckTickMax>1</fleckMakeFleckTickMax>
|
|
</li>
|
|
</modExtensions>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Striker_Base">
|
|
<defName>WULA_Striker_B</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_GroundStrafing">
|
|
<projectileDef>Bullet_WULA_Striker_B</projectileDef>
|
|
<range>85</range>
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>11</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>2</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>2</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>2</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Bullet_WULA_Striker_B</defName>
|
|
<label>攻击机机炮子弹</label>
|
|
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<neverMultiSelect>True</neverMultiSelect>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>5</drawSize>
|
|
</graphicData>
|
|
<projectile>
|
|
</projectile>
|
|
<projectile>
|
|
<damageDef>Bullet</damageDef>
|
|
<damageAmountBase>65</damageAmountBase>
|
|
<speed>220</speed>
|
|
<armorPenetrationBase>1</armorPenetrationBase>
|
|
<explosionRadius>2.5</explosionRadius>
|
|
<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
|
|
<soundExplode>MortarBomb_Explode</soundExplode>
|
|
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
|
|
<soundAmbient>MortarRound_Ambient</soundAmbient>
|
|
<stoppingPower>10</stoppingPower>
|
|
</projectile>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.TrackingBulletDef">
|
|
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef>
|
|
<fleckMakeFleckTickMax>5</fleckMakeFleckTickMax>
|
|
</li>
|
|
</modExtensions>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Striker_Base">
|
|
<defName>WULA_Striker_C</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_GroundStrafing">
|
|
<projectileDef>Bullet_Shell_EMP</projectileDef>
|
|
<range>20</range>
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>11</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>2</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>2</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>2</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
|
|
<ThingDef Name="WULA_Bomber_Base" ParentName="EtherealThingBase" Abstract="True">
|
|
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
|
|
<label>乌拉帝国轰炸机</label>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<graphicData>
|
|
<!-- <texPath>ArachnaeSwarm/Weapon/ARA_Weapon_Empty</texPath> -->
|
|
<texPath>Wula/FlyoverThing/WULA_Bomber</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(50,35)</drawSize>
|
|
<color>(255,255,255,120)</color>
|
|
</graphicData>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<staticSunShadowHeight>0</staticSunShadowHeight>
|
|
<skyfaller>
|
|
<shadow>Wula/Weapon/WULA_Weapon_Empty</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<motesPerCell>0</motesPerCell>
|
|
<floatingSound>FlyOver/Flying</floatingSound>
|
|
<!-- <impactSound>FlyOver/Landing</impactSound> -->
|
|
</skyfaller>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.FlyOverShadowExtension">
|
|
<customShadowPath>Wula/Weapon/WULA_Weapon_Empty</customShadowPath>
|
|
<useCustomShadow>true</useCustomShadow>
|
|
<shadowIntensity>0.8</shadowIntensity>
|
|
<minShadowAlpha>0</minShadowAlpha>
|
|
<maxShadowAlpha>0</maxShadowAlpha>
|
|
<minShadowScale>0</minShadowScale>
|
|
<maxShadowScale>0</maxShadowScale>
|
|
|
|
<useApproachAnimation>true</useApproachAnimation>
|
|
<approachDuration>1</approachDuration>
|
|
<approachOffsetDistance>20</approachOffsetDistance>
|
|
</li>
|
|
</modExtensions>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
<useHitPoints>false</useHitPoints>
|
|
<selectable>false</selectable>
|
|
<alwaysHaulable>false</alwaysHaulable>
|
|
<altitudeLayer>MetaOverlays</altitudeLayer>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Bomber_Base">
|
|
<defName>WULA_Bomber_A</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_GroundStrafing">
|
|
<projectileDef>Bullet_WULA_Bomber_A_Bomb</projectileDef>
|
|
<range>35</range>
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>11</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>2</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>2</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>2</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Bullet_WULA_Bomber_A_Bomb</defName>
|
|
<label>轰炸机炸弹</label>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Shrapnel</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<drawSize>(2,2.5)</drawSize>
|
|
</graphicData>
|
|
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
|
|
<projectile>
|
|
<damageDef>Bomb</damageDef>
|
|
<speed>25</speed>
|
|
<damageAmountBase>180</damageAmountBase>
|
|
<armorPenetrationBase>2</armorPenetrationBase>
|
|
<stoppingPower>2.0</stoppingPower>
|
|
<explosionRadius>8</explosionRadius>
|
|
<soundExplode>MortarBomb_Explode</soundExplode>
|
|
<screenShakeFactor>0.5</screenShakeFactor>
|
|
<flyOverhead>true</flyOverhead>
|
|
</projectile>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.TrackingBulletDef">
|
|
<tailFleckDef>WULA_Smoke_Tail</tailFleckDef>
|
|
<fleckMakeFleckTickMax>1</fleckMakeFleckTickMax>
|
|
</li>
|
|
</modExtensions>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Bomber_Base">
|
|
<defName>WULA_Bomber_B</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_GroundStrafing">
|
|
<projectileDef>Bullet_Shell_Smoke</projectileDef>
|
|
<range>35</range>
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>11</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>2</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>2</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>2</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="WULA_Bomber_Base">
|
|
<defName>WULA_Bomber_C</defName>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_GroundStrafing">
|
|
<projectileDef>Bullet_WULA_Bomber_C_DrakMatterBomb</projectileDef>
|
|
<range>35</range>
|
|
|
|
<!-- 横向偏移配置(左右) -->
|
|
<lateralOffsetDistance>11</lateralOffsetDistance>
|
|
<lateralInitialOffsetAngle>0</lateralInitialOffsetAngle>
|
|
<lateralMaxOffsetAngle>0</lateralMaxOffsetAngle>
|
|
<lateralAngleIncrement>0</lateralAngleIncrement>
|
|
<lateralOffsetMode>Alternating</lateralOffsetMode>
|
|
|
|
<!-- 纵向偏移配置(前后) -->
|
|
<longitudinalInitialOffset>2</longitudinalInitialOffset>
|
|
<longitudinalMinOffset>2</longitudinalMinOffset>
|
|
<longitudinalMaxOffset>2</longitudinalMaxOffset>
|
|
<longitudinalOffsetMode>Fixed</longitudinalOffsetMode>
|
|
|
|
<!-- 视觉效果 -->
|
|
<spawnOffsetEffect>true</spawnOffsetEffect>
|
|
<offsetEffectDef>Mote_SparkSimple</offsetEffectDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>Bullet_WULA_Bomber_C_DrakMatterBomb</defName>
|
|
<label>暗物质导弹</label>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Striker_Missile</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<drawSize>(3,5)</drawSize>
|
|
</graphicData>
|
|
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
|
|
<projectile>
|
|
<damageDef>BombSuper</damageDef>
|
|
<speed>15</speed>
|
|
<damageAmountBase>1200</damageAmountBase>
|
|
<armorPenetrationBase>2</armorPenetrationBase>
|
|
<stoppingPower>2.0</stoppingPower>
|
|
<explosionRadius>32</explosionRadius>
|
|
<soundExplode>Explosion_GiantBomb</soundExplode>
|
|
<explosionDamageFalloff>false</explosionDamageFalloff>
|
|
<screenShakeFactor>0.5</screenShakeFactor>
|
|
<flyOverhead>true</flyOverhead>
|
|
<explosionEffect>GiantExplosion</explosionEffect>
|
|
<preExplosionSpawnSingleThingDef>CraterLarge</preExplosionSpawnSingleThingDef>
|
|
</projectile>
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.TrackingBulletDef">
|
|
<tailFleckDef>WULA_Smoke_Tail</tailFleckDef>
|
|
<fleckMakeFleckTickMax>1</fleckMakeFleckTickMax>
|
|
</li>
|
|
</modExtensions>
|
|
</ThingDef>
|
|
|
|
<!-- 炮击 -->
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_Minigun_Strafe_Skyfaller</defName>
|
|
<label>链炮子弹</label>
|
|
<size>(1, 1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<drawSize>5</drawSize>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Accelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(1, 1)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<impactSound>Explosion_Bomb</impactSound>
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>1</motesPerCell>
|
|
<cameraShake>1</cameraShake>
|
|
<rotationCurve>
|
|
<points>
|
|
<li>(0,150)</li>
|
|
<li>(1, 151)</li>
|
|
</points>
|
|
</rotationCurve>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,-30)</li>
|
|
<li>(1, -31)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<explosionRadius>4</explosionRadius>
|
|
<explosionDamage>WULA_Firepower_Minigun_Strafe_Damage</explosionDamage>
|
|
<explosionDamageFactor>1</explosionDamageFactor>
|
|
</skyfaller>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_PlaySoundOnSpawn">
|
|
<sound>WULA_Firepower_Minigun_Fire_sound</sound>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_Cannon_Salvo_Skyfaller</defName>
|
|
<label>轻型副炮炮弹</label>
|
|
<size>(1, 1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Energy_Shell</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<drawSize>8</drawSize>
|
|
<color>(86,66,157,255)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Accelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(1, 1)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<impactSound>Explosion_Bomb</impactSound>
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>1</motesPerCell>
|
|
<cameraShake>1</cameraShake>
|
|
<rotationCurve>
|
|
<points>
|
|
<li>(0,150)</li>
|
|
<li>(1, 151)</li>
|
|
</points>
|
|
</rotationCurve>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,-30)</li>
|
|
<li>(1, -31)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<explosionRadius>6</explosionRadius>
|
|
<explosionDamage>WULA_GiantBomb</explosionDamage>
|
|
<explosionDamageFactor>0.28</explosionDamageFactor>
|
|
</skyfaller>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_PlaySoundOnSpawn">
|
|
<sound>WULA_Firepower_Cannon_Fire_sound</sound>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_Cannon_Surveillance_Skyfaller</defName>
|
|
<label>舰炮监视信标</label>
|
|
<size>(1,1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Building/WULA_Surveillance_Building</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(24,24)</drawSize>
|
|
<color>(255,255,255,150)</color>
|
|
<damageData>
|
|
<enabled>false</enabled>
|
|
</damageData>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Decelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<!-- <impactSound>Explosion_Vaporize</impactSound> -->
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>0</motesPerCell>
|
|
<cameraShake>0</cameraShake>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,0)</li>
|
|
<li>(1, 1)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<spawnThing>WULA_Firepower_Cannon_Surveillance_Beacon</spawnThing>
|
|
</skyfaller>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BuildingBase">
|
|
<defName>WULA_Firepower_Cannon_Surveillance_Beacon</defName>
|
|
<label>舰炮监视信标</label>
|
|
<description>一枚标定监视区的轰炸信标,进入此处的敌对势力都会被乌拉帝国舰队的舰炮狠狠打击。</description>
|
|
<!-- <uiIconPath>Wula/Building/WULA_WeaponArmor_Productor</uiIconPath> -->
|
|
<tickerType>Normal</tickerType>
|
|
<selectable>false</selectable>
|
|
<useHitPoints>false</useHitPoints>
|
|
<size>(1,1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Building/WULA_Surveillance_Building</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(24,24)</drawSize>
|
|
<color>(255,255,255,150)</color>
|
|
<damageData>
|
|
<enabled>false</enabled>
|
|
</damageData>
|
|
</graphicData>
|
|
<altitudeLayer>Building</altitudeLayer>
|
|
<passability>Standable</passability>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<fillPercent>0.5</fillPercent>
|
|
<canOverlapZones>false</canOverlapZones>
|
|
<pathCost>0</pathCost>
|
|
<hasInteractionCell>false</hasInteractionCell>
|
|
<rotatable>false</rotatable>
|
|
<statBases>
|
|
<WorkToBuild>1</WorkToBuild>
|
|
<Mass>0</Mass>
|
|
<Flammability>0</Flammability>
|
|
</statBases>
|
|
<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
|
|
<building>
|
|
<expandHomeArea>false</expandHomeArea>
|
|
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
|
|
</building>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_BuildingBombardment">
|
|
<radius>12</radius>
|
|
<targetEnemies>true</targetEnemies>
|
|
<targetNeutrals>false</targetNeutrals>
|
|
<targetAnimals>false</targetAnimals>
|
|
<burstCount>3</burstCount>
|
|
<innerBurstIntervalTicks>15</innerBurstIntervalTicks>
|
|
<burstIntervalTicks>120</burstIntervalTicks>
|
|
<randomOffset>3</randomOffset>
|
|
<skyfallerDef>WULA_Firepower_Cannon_Salvo_Skyfaller</skyfallerDef>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
|
|
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
|
|
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
|
|
<overrideExistingFaction>false</overrideExistingFaction>
|
|
</li>
|
|
<li Class="CompProperties_Lifespan">
|
|
<lifespanTicks>1200</lifespanTicks>
|
|
</li>
|
|
<li Class="CompProperties_Glower">
|
|
<glowRadius>6</glowRadius>
|
|
<glowColor>(0.85,0.85,0.3,0.5)</glowColor>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_EnergyLance_Base</defName>
|
|
<label>乌拉帝国光矛</label>
|
|
<description>一束从乌拉帝国战舰上发射的纯净能量光束,将点燃路径上的一切活物。</description>
|
|
<thingClass>WulaFallenEmpire.EnergyLance</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<drawOffscreen>true</drawOffscreen>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.EnergyLanceExtension">
|
|
<moteSpawnInterval>9999</moteSpawnInterval>
|
|
|
|
<firesPerTick>2</firesPerTick>
|
|
<effectRadius>15</effectRadius>
|
|
|
|
<flightSpeed>3</flightSpeed>
|
|
<acceleration>2</acceleration>
|
|
<maxSpeed>5</maxSpeed>
|
|
<turnSpeed>90</turnSpeed>
|
|
|
|
<useDynamicMovement>true</useDynamicMovement>
|
|
<snapToTarget>false</snapToTarget>
|
|
<snapDistance>0</snapDistance>
|
|
|
|
<hoverOverTarget>true</hoverOverTarget>
|
|
<attackRange>15</attackRange>
|
|
<hoverAltitude>20</hoverAltitude>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.AbilityWeaponDefExtension">
|
|
<weaponDef>WULA_RW_Base_AR</weaponDef>
|
|
</li>
|
|
</modExtensions>
|
|
|
|
<comps>
|
|
<!-- 光束视觉效果 -->
|
|
<li Class="CompProperties_OrbitalBeam">
|
|
<width>6</width>
|
|
<color>(147, 116, 201, 212)</color>
|
|
<!-- <sound>OrbitalBeam</sound> -->
|
|
</li>
|
|
|
|
<!-- 相机震动 -->
|
|
<li Class="CompProperties_CameraShaker">
|
|
<mag>0.02</mag>
|
|
</li>
|
|
|
|
<!-- 天空效果 -->
|
|
<li Class="CompProperties_AffectsSky">
|
|
<skyColors>
|
|
<sky>(147, 116, 201)</sky>
|
|
<shadow>(147, 116, 185)</shadow>
|
|
<overlay>(147, 116, 150)</overlay>
|
|
<saturation>1.5</saturation>
|
|
</skyColors>
|
|
</li>
|
|
|
|
<li Class="CompProperties_Effecter">
|
|
<effecterDef>WULA_EnergyLance_Effecter</effecterDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<EffecterDef>
|
|
<defName>WULA_EnergyLance_Effecter</defName>
|
|
<maintainTicks>300</maintainTicks>
|
|
<children>
|
|
<li>
|
|
<subEffecterClass>SubEffecter_Sustainer</subEffecterClass>
|
|
<soundDef>OrbitalBeam</soundDef>
|
|
</li>
|
|
<li>
|
|
<subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
|
|
<fleckDef>WULA_EnergyLance_Fleck</fleckDef>
|
|
<chancePerTick>1</chancePerTick>
|
|
<lifespanMaxTicks>999</lifespanMaxTicks>
|
|
<chancePeriodTicks>40</chancePeriodTicks>
|
|
<burstCount>1~1</burstCount>
|
|
<scale>15</scale>
|
|
<spawnLocType>OnSource</spawnLocType>
|
|
</li>
|
|
<li>
|
|
<subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
|
|
<fleckDef>WULA_EnergyLance_Fleck</fleckDef>
|
|
<chancePerTick>1</chancePerTick>
|
|
<lifespanMaxTicks>999</lifespanMaxTicks>
|
|
<chancePeriodTicks>40</chancePeriodTicks>
|
|
<burstCount>1~1</burstCount>
|
|
<scale>2</scale>
|
|
<spawnLocType>OnSource</spawnLocType>
|
|
</li>
|
|
</children>
|
|
</EffecterDef>
|
|
<FleckDef ParentName="FleckBase">
|
|
<defName>WULA_EnergyLance_Fleck</defName>
|
|
<altitudeLayer>MoteOverhead</altitudeLayer>
|
|
<fadeInTime>1</fadeInTime>
|
|
<solidTime>0</solidTime>
|
|
<fadeOutTime>1</fadeOutTime>
|
|
<growthRate>5</growthRate>
|
|
<graphicData>
|
|
<graphicClass>Graphic_FleckPulse</graphicClass>
|
|
<texPath>Things/Mote/PowerBeam</texPath>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<color>(147, 116, 201, 255)</color>
|
|
<shaderParameters>
|
|
<_NoiseTex>/Things/Mote/PsycastNoise</_NoiseTex>
|
|
<_NoiseIntensity>100</_NoiseIntensity>
|
|
<_Color2>(1, 1, 1, 0.85)</_Color2>
|
|
</shaderParameters>
|
|
<drawSize>10.0</drawSize>
|
|
</graphicData>
|
|
</FleckDef>
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_EnergyLance_Surveillance_Skyfaller</defName>
|
|
<label>光矛监视信标</label>
|
|
<size>(1,1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Building/WULA_Surveillance_Building</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(72,72)</drawSize>
|
|
<color>(255,255,255,150)</color>
|
|
<damageData>
|
|
<enabled>false</enabled>
|
|
</damageData>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Decelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<!-- <impactSound>Explosion_Vaporize</impactSound> -->
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>0</motesPerCell>
|
|
<cameraShake>0</cameraShake>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,0)</li>
|
|
<li>(1, 1)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<spawnThing>WULA_Firepower_EnergyLance_Surveillance_Beacon</spawnThing>
|
|
</skyfaller>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BuildingBase">
|
|
<defName>WULA_Firepower_EnergyLance_Surveillance_Beacon</defName>
|
|
<label>光矛监视信标</label>
|
|
<description>一枚标定监视区的轰炸信标,进入此处的敌对势力都会被乌拉帝国舰队的舰炮狠狠打击。</description>
|
|
<uiIconPath>Wula/Building/WULA_WeaponArmor_Productor</uiIconPath>
|
|
<tickerType>Normal</tickerType>
|
|
<selectable>false</selectable>
|
|
<useHitPoints>false</useHitPoints>
|
|
<size>(1,1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Building/WULA_Surveillance_Building</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(72,72)</drawSize>
|
|
<color>(255,255,255,150)</color>
|
|
<damageData>
|
|
<enabled>false</enabled>
|
|
</damageData>
|
|
</graphicData>
|
|
<altitudeLayer>Building</altitudeLayer>
|
|
<passability>Standable</passability>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<fillPercent>0.5</fillPercent>
|
|
<canOverlapZones>false</canOverlapZones>
|
|
<pathCost>0</pathCost>
|
|
<hasInteractionCell>false</hasInteractionCell>
|
|
<rotatable>false</rotatable>
|
|
<statBases>
|
|
<WorkToBuild>1</WorkToBuild>
|
|
<Mass>0</Mass>
|
|
<Flammability>0</Flammability>
|
|
</statBases>
|
|
<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
|
|
<building>
|
|
<expandHomeArea>false</expandHomeArea>
|
|
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
|
|
</building>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_EnergyLanceTurret">
|
|
<energyLanceDef>WULA_EnergyLance_Surveillance</energyLanceDef>
|
|
<energyLanceDuration>600</energyLanceDuration>
|
|
<energyLanceMoveDistance>25</energyLanceMoveDistance>
|
|
<detectionRange>36</detectionRange>
|
|
<targetUpdateInterval>30</targetUpdateInterval>
|
|
<targetSwitchRange>20</targetSwitchRange>
|
|
<warmupTicks>45</warmupTicks>
|
|
<cooldownTicks>180</cooldownTicks>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
|
|
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
|
|
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
|
|
<overrideExistingFaction>false</overrideExistingFaction>
|
|
</li>
|
|
<li Class="CompProperties_Lifespan">
|
|
<lifespanTicks>4000</lifespanTicks>
|
|
</li>
|
|
<li Class="CompProperties_Glower">
|
|
<glowRadius>6</glowRadius>
|
|
<glowColor>(0.85,0.85,0.3,0.5)</glowColor>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="EtherealThingBase">
|
|
<defName>WULA_EnergyLance_Surveillance</defName>
|
|
<label>乌拉帝国光矛</label>
|
|
<description>一束从乌拉帝国战舰上发射的纯净能量光束,将点燃路径上的一切活物。</description>
|
|
<thingClass>WulaFallenEmpire.EnergyLance</thingClass>
|
|
<tickerType>Normal</tickerType>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<drawOffscreen>true</drawOffscreen>
|
|
<seeThroughFog>true</seeThroughFog>
|
|
|
|
<!-- 比扫射用的光束结算更密集范围更小 -->
|
|
<modExtensions>
|
|
<li Class="WulaFallenEmpire.EnergyLanceExtension">
|
|
<moteSpawnInterval>9999</moteSpawnInterval>
|
|
|
|
<firesPerTick>1</firesPerTick>
|
|
<effectRadius>10</effectRadius>
|
|
|
|
<flightSpeed>3</flightSpeed>
|
|
<acceleration>2</acceleration>
|
|
<maxSpeed>5</maxSpeed>
|
|
<turnSpeed>90</turnSpeed>
|
|
|
|
<useDynamicMovement>true</useDynamicMovement>
|
|
<snapToTarget>false</snapToTarget>
|
|
<snapDistance>0</snapDistance>
|
|
|
|
<hoverOverTarget>true</hoverOverTarget>
|
|
<attackRange>15</attackRange>
|
|
<hoverAltitude>20</hoverAltitude>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.AbilityWeaponDefExtension">
|
|
<weaponDef>WULA_RW_Base_AR</weaponDef>
|
|
</li>
|
|
</modExtensions>
|
|
|
|
<comps>
|
|
<!-- 光束视觉效果 -->
|
|
<li Class="CompProperties_OrbitalBeam">
|
|
<width>6</width>
|
|
<color>(147, 116, 201, 212)</color>
|
|
<!-- <sound>OrbitalBeam</sound> -->
|
|
</li>
|
|
|
|
<!-- 相机震动 -->
|
|
<li Class="CompProperties_CameraShaker">
|
|
<mag>0.02</mag>
|
|
</li>
|
|
|
|
<!-- 天空效果 -->
|
|
<li Class="CompProperties_AffectsSky">
|
|
<skyColors>
|
|
<sky>(147, 116, 201)</sky>
|
|
<shadow>(147, 116, 185)</shadow>
|
|
<overlay>(147, 116, 150)</overlay>
|
|
<saturation>1.5</saturation>
|
|
</skyColors>
|
|
</li>
|
|
|
|
<li Class="CompProperties_Effecter">
|
|
<effecterDef>WULA_EnergyLance_Effecter</effecterDef>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_Primary_Cannon_Strafe_Skyfaller</defName>
|
|
<label>主炮炮弹</label>
|
|
<size>(1, 1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Bullet_Plasma_Yellow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<drawSize>15</drawSize>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Accelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(5, 5)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<impactSound>Explosion_Bomb</impactSound>
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>1</motesPerCell>
|
|
<cameraShake>1</cameraShake>
|
|
<rotationCurve>
|
|
<points>
|
|
<li>(0,150)</li>
|
|
<li>(1, 151)</li>
|
|
</points>
|
|
</rotationCurve>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,-30)</li>
|
|
<li>(1, -31)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<explosionRadius>35</explosionRadius>
|
|
<explosionDamage>WULA_DarkMatterBomb</explosionDamage>
|
|
<explosionDamageFactor>1</explosionDamageFactor>
|
|
<spawnThing>CraterLarge</spawnThing>
|
|
</skyfaller>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_PlaySoundOnSpawn">
|
|
<sound>WULA_Firepower_Primary_Cannon_Fire_sound</sound>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="MoteBase">
|
|
<defName>WULA_DarkMatterBomb_FlashStrong</defName>
|
|
<thingClass>MoteAttached</thingClass>
|
|
<altitudeLayer>MoteOverhead</altitudeLayer>
|
|
<mote>
|
|
<fadeInTime>0.1</fadeInTime>
|
|
<fadeOutTime>0.13</fadeOutTime>
|
|
<solidTime>0.1</solidTime>
|
|
</mote>
|
|
<graphicData>
|
|
<texPath>Things/Mote/BrightFlash</texPath>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<color>(78,0,106,215)</color>
|
|
</graphicData>
|
|
</ThingDef>
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_Primary_Cannon_EMP_Surveillance_Skyfaller</defName>
|
|
<label>主炮EMP监视信标</label>
|
|
<size>(1,1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Building/WULA_Surveillance_Building</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(200,200)</drawSize>
|
|
<color>(255,255,255,150)</color>
|
|
<damageData>
|
|
<enabled>false</enabled>
|
|
</damageData>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Decelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(0, 0)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<!-- <impactSound>Explosion_Vaporize</impactSound> -->
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>0</motesPerCell>
|
|
<cameraShake>0</cameraShake>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,0)</li>
|
|
<li>(1, 1)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<spawnThing>WULA_Firepower_Primary_Cannon_EMP_Surveillance_Beacon</spawnThing>
|
|
</skyfaller>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BuildingBase">
|
|
<defName>WULA_Firepower_Primary_Cannon_EMP_Surveillance_Beacon</defName>
|
|
<label>主炮EMP监视信标</label>
|
|
<description>一枚标定监视区的轰炸信标,进入此处的敌对势力都会被乌拉帝国舰队的舰炮狠狠打击。</description>
|
|
<uiIconPath>Wula/Building/WULA_WeaponArmor_Productor</uiIconPath>
|
|
<tickerType>Normal</tickerType>
|
|
<selectable>false</selectable>
|
|
<useHitPoints>false</useHitPoints>
|
|
<size>(1,1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Building/WULA_Surveillance_Building</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>TransparentPostLight</shaderType>
|
|
<drawSize>(170,170)</drawSize>
|
|
<color>(255,255,255,150)</color>
|
|
<damageData>
|
|
<enabled>false</enabled>
|
|
</damageData>
|
|
</graphicData>
|
|
<altitudeLayer>Building</altitudeLayer>
|
|
<passability>Standable</passability>
|
|
<castEdgeShadows>false</castEdgeShadows>
|
|
<fillPercent>0.5</fillPercent>
|
|
<canOverlapZones>false</canOverlapZones>
|
|
<pathCost>0</pathCost>
|
|
<hasInteractionCell>false</hasInteractionCell>
|
|
<rotatable>false</rotatable>
|
|
<statBases>
|
|
<WorkToBuild>1</WorkToBuild>
|
|
<Mass>0</Mass>
|
|
<Flammability>0</Flammability>
|
|
</statBases>
|
|
<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
|
|
<building>
|
|
<expandHomeArea>false</expandHomeArea>
|
|
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
|
|
</building>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_BuildingBombardment">
|
|
<radius>100</radius>
|
|
<targetEnemies>true</targetEnemies>
|
|
<targetNeutrals>false</targetNeutrals>
|
|
<targetAnimals>false</targetAnimals>
|
|
<burstCount>1</burstCount>
|
|
<innerBurstIntervalTicks>15</innerBurstIntervalTicks>
|
|
<burstIntervalTicks>240</burstIntervalTicks>
|
|
<randomOffset>6</randomOffset>
|
|
<skyfallerDef>WULA_Firepower_Primary_Cannon_EMP_Skyfaller</skyfallerDef>
|
|
</li>
|
|
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
|
|
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
|
|
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
|
|
<overrideExistingFaction>false</overrideExistingFaction>
|
|
</li>
|
|
<li Class="CompProperties_Lifespan">
|
|
<lifespanTicks>12000</lifespanTicks>
|
|
</li>
|
|
<li Class="CompProperties_Glower">
|
|
<glowRadius>6</glowRadius>
|
|
<glowColor>(0.85,0.85,0.3,0.5)</glowColor>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<ThingDef ParentName="SkyfallerBase">
|
|
<defName>WULA_Firepower_Primary_Cannon_EMP_Skyfaller</defName>
|
|
<label>主炮炮弹</label>
|
|
<size>(1, 1)</size>
|
|
<graphicData>
|
|
<texPath>Wula/Projectile/WULA_Bullet_Plasma_Yellow</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<drawSize>15</drawSize>
|
|
<color>(13,88,195,255)</color>
|
|
</graphicData>
|
|
<skyfaller>
|
|
<movementType>Accelerate</movementType>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
|
<shadowSize>(5, 5)</shadowSize>
|
|
<anticipationSound>DropPod_Fall</anticipationSound>
|
|
<anticipationSoundTicks>100</anticipationSoundTicks>
|
|
<impactSound>Explosion_EMP</impactSound>
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<motesPerCell>1</motesPerCell>
|
|
<cameraShake>1</cameraShake>
|
|
<rotationCurve>
|
|
<points>
|
|
<li>(0,150)</li>
|
|
<li>(1, 151)</li>
|
|
</points>
|
|
</rotationCurve>
|
|
<angleCurve>
|
|
<points>
|
|
<li>(0,-30)</li>
|
|
<li>(1, -31)</li>
|
|
</points>
|
|
</angleCurve>
|
|
<explosionRadius>35</explosionRadius>
|
|
<explosionDamage>EMP</explosionDamage>
|
|
<explosionDamageFactor>10</explosionDamageFactor>
|
|
</skyfaller>
|
|
<comps>
|
|
<li Class="WulaFallenEmpire.CompProperties_PlaySoundOnSpawn">
|
|
<sound>WULA_Firepower_Primary_Cannon_Fire_sound</sound>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
</Defs> |