This commit is contained in:
Tourswen
2025-11-10 01:19:43 +08:00
parent 2f20af64f3
commit b1fea9a600
16 changed files with 715 additions and 123 deletions

View File

@@ -143,6 +143,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Light_Fighter_Drone_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Fighter_Drone_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
@@ -189,6 +192,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Light_Fighter_Drone_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Fighter_Drone_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
@@ -243,6 +249,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Striker_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Striker_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
@@ -277,7 +286,7 @@
<AbilityDef>
<defName>WULA_Spawn_Striker_RailGun</defName>
<label>攻击机扫射</label>
<description>指挥乌拉帝国的机,高速掠过战场,使用机腹的两台高射速机炮打击目标地点——因为速度原因,打击区会很狭长。</description>
<description>指挥乌拉帝国的攻击机,高速掠过战场,使用机腹的两台高射速机炮打击目标地点——因为速度原因,打击区会很狭长。</description>
<iconPath>Wula/UI/Abilities/WULA_Spawn_Striker_RailGun</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -295,6 +304,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Striker_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Striker_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
@@ -340,7 +352,7 @@
<AbilityDef>
<defName>WULA_Spawn_Striker_EMP</defName>
<label>攻击机电磁压制</label>
<description>指挥乌拉帝国的高速掠过战场快速丢下一组EMP炸弹——因为速度原因打击区会很狭长。</description>
<description>指挥乌拉帝国的攻击高速掠过战场快速丢下一组EMP炸弹——因为速度原因打击区会很狭长。</description>
<iconPath>Wula/UI/Abilities/WULA_Spawn_Striker_EMP</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -358,6 +370,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Striker_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Striker_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
@@ -421,6 +436,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Bomber_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Bomber_Entity</requiredAircraftType>
<aircraftCooldownTicks>10000</aircraftCooldownTicks>
@@ -484,6 +502,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Bomber_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Bomber_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
@@ -547,6 +568,9 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityResearchPrereq">
<requiredResearch>WULA_Bomber_Technology</requiredResearch>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_Bomber_Entity</requiredAircraftType>
<aircraftCooldownTicks>10000</aircraftCooldownTicks>
@@ -592,9 +616,9 @@
<!-- 炮击 -->
<AbilityDef>
<defName>WULA_Spawn_ShipChunkIncoming</defName>
<label>战舰轰炸</label>
<description>我炸死你</description>
<defName>WULA_Firepower_Minigun_Strafe</defName>
<label>链炮扫射</label>
<description>以战舰上的自动链炮对目标区域进行可选方向的扫射,射击速度和冷却都很快,但是威力欠佳。</description>
<!-- <iconPath>ArachnaeSwarm/UI/Abilities/ARA_Spawn_ARA_HiveCorvette_Rocket</iconPath> -->
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -612,6 +636,10 @@
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_GlobalFlyOverCooldown">
<globalCooldownTicks>1000</globalCooldownTicks>
<requiredFacility>BombardmentFacility</requiredFacility>
</li>
<li Class="WulaFallenEmpire.CompProperties_AbilityBombardment">
<bombardmentWidth>5</bombardmentWidth>
<bombardmentLength>35</bombardmentLength>
@@ -624,7 +652,7 @@
<showBombardmentArea>true</showBombardmentArea>
<effecterScale>1.5</effecterScale>
<areaPreviewColor>1.0,0.3,0.1,0.3</areaPreviewColor>
<skyfallerDef>ShipChunkIncoming</skyfallerDef>
<skyfallerDef>WULA_Firepower_Minigun_Strafe_Skyfaller</skyfallerDef>
</li>
<li Class="WulaFallenEmpire.CompProperties_RequireFlyOverFacility">
<!-- <flyOverDef></flyOverDef> -->

View File

@@ -73,7 +73,7 @@
<comps>
<li Class="HediffCompProperties_GiveAbility">
<abilityDefs>
<li>WULA_Spawn_ShipChunkIncoming</li>
<li>WULA_Firepower_Minigun_Strafe</li>
</abilityDefs>
</li>
</comps>

View File

@@ -56,7 +56,7 @@
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Striker_Technology</defName>
<label>攻击机调配许可</label>
<description>允许殖民地建立信标增加攻击机配额,并使得机械乌拉可以调频天线以申请航空器空中打击。\n\n乌拉帝国的攻击机是强大的对地支援火力挂载了大量导弹和强大的机炮对敌方目标实施精准收割。\n\n空中打击依赖于战舰的&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>,只有携带此类设施的战舰出现在地图中时,才能呼叫航空器支援。</description>
<description>允许殖民地建立信标增加攻击机配额,并使得机械乌拉可以调频天线以申请航空器空中打击。\n\n乌拉帝国的攻击机是强大的对地支援火力挂载了大量导弹、EMP炸弹和强大的机炮,对敌方目标实施精准收割。\n\n空中打击依赖于战舰的&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>,只有携带此类设施的战舰出现在地图中时,才能呼叫航空器支援。</description>
<baseCost>600</baseCost>
<researchViewX>5.00</researchViewX>
<researchViewY>4.40</researchViewY>
@@ -81,7 +81,7 @@
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Bomber_Technology</defName>
<label>轰炸机调配许可</label>
<description>允许殖民地建立信标增加轰炸机配额,并使得机械乌拉可以调频天线以申请航空器空中打击。\n\n乌拉帝国的轰炸机是可以进入大气层的最大的飞行载具除了可以使用机炮监视航路外,能投下大量炸弹夷平帝国之敌。\n\n空中打击依赖于战舰的&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>,只有携带此类设施的战舰出现在地图中时,才能呼叫航空器支援。</description>
<description>允许殖民地建立信标增加轰炸机配额,并使得机械乌拉可以调频天线以申请航空器空中打击。\n\n乌拉帝国的轰炸机是可以进入大气层的最大的飞行载具除了投掷功能性的烟雾弹外,能投下大量炸弹或是发射一枚暗物质导弹夷平帝国之敌。\n\n空中打击依赖于战舰的&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>,只有携带此类设施的战舰出现在地图中时,才能呼叫航空器支援。</description>
<baseCost>600</baseCost>
<researchViewX>9.00</researchViewX>
<researchViewY>4.40</researchViewY>

View File

@@ -71,7 +71,7 @@
<ThingDef ParentName="BuildingBase">
<defName>WULA_Fake_Fighter_Drone_Building</defName>
<label>乌拉帝国蜂群无人机</label>
<description>111</description>
<description>一台小型无人机,装备了激光炮和汽油弹,可以为殖民地提供廉价但有效的空中支援。和那些大家伙不同,蜂群无人机不需要机库,并且可以通过舰队的电磁网补充能量,实现永久滞空作战。</description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
@@ -182,7 +182,7 @@
<ThingDef ParentName="BuildingBase">
<defName>WULA_Fake_Striker_Beacon_Building</defName>
<label>乌拉帝国攻击机信标</label>
<description>111</description>
<description>用于向乌拉帝国舰队提交资源的信标,可以换取一台乌拉帝国攻击机的支援。若想调动大型战机入场,需要轨道上有携带&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>的战舰。\n\n乌拉帝国的攻击机是强大的对地支援火力挂载了大量导弹、EMP炸弹和强大的机炮对敌方目标实施精准收割。</description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
@@ -252,7 +252,7 @@
<ThingDef ParentName="BuildingBase">
<defName>WULA_Fake_Bomber_Beacon_Building</defName>
<label>乌拉帝国轰炸机信标</label>
<description>111</description>
<description>用于向乌拉帝国舰队提交资源的信标,可以换取一台乌拉帝国轰炸机的支援。若想调动大型战机入场,需要轨道上有携带&lt;color=#BD952F>&lt;i>机库&lt;/i>&lt;/color>的战舰。\n\n乌拉帝国的轰炸机是可以进入大气层的最大的飞行载具除了投掷功能性的烟雾弹外也能投下大量炸弹或是发射一枚暗物质导弹夷平帝国之敌。</description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>

View File

@@ -63,6 +63,10 @@
<li>BuildingdropperFacility</li>
</availableFacilities>
</li>
<!-- 新增冷却组件 -->
<li Class="WulaFallenEmpire.CompProperties_FlyOverCooldown">
<baseCooldownTicks>60000</baseCooldownTicks> <!-- 1天 -->
</li>
</comps>
</ThingDef>
<ThingDef ParentName="EtherealThingBase">
@@ -125,6 +129,10 @@
<li>BombardmentFacility</li>
</availableFacilities>
</li>
<!-- 新增冷却组件 -->
<li Class="WulaFallenEmpire.CompProperties_FlyOverCooldown">
<baseCooldownTicks>60000</baseCooldownTicks> <!-- 1天 -->
</li>
</comps>
</ThingDef>
<ThingDef ParentName="EtherealThingBase">
@@ -191,6 +199,7 @@
</comps>
</ThingDef>
<!-- 战机 -->
<ThingDef Name="WULA_Fighter_Drone_Base" ParentName="EtherealThingBase" Abstract="True">
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
<tickerType>Normal</tickerType>
@@ -695,4 +704,49 @@
</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,180)</li>
<li>(1, 181)</li>
</points>
</rotationCurve>
<angleCurve>
<points>
<li>(0,0)</li>
<li>(1, 1)</li>
</points>
</angleCurve>
<explosionRadius>4</explosionRadius>
<explosionDamage>WULA_Firepower_Minigun_Strafe_Damage</explosionDamage>
<explosionDamageFactor>1</explosionDamageFactor>
</skyfaller>
</ThingDef>
<DamageDef ParentName="Bullet">
<defName>WULA_Firepower_Minigun_Strafe_Damage</defName>
<label>子弹</label>
<defaultDamage>25</defaultDamage>
<soundExplosion>Explosion_Bomb</soundExplosion>
</DamageDef>
</Defs>

View File

@@ -1,5 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<LanguageData>
<!-- 自动发射相关 -->
<LaunchAircraft>获得航空器</LaunchAircraft>
<LaunchAircraftDesc>获得对应的航空器</LaunchAircraftDesc>
<ToggleAutoLaunch>启用自动发射</ToggleAutoLaunch>
<ToggleAutoLaunchDesc>启用战机自动发射功能</ToggleAutoLaunchDesc>
<CancelAutoLaunch>取消自动发射</CancelAutoLaunch>
<CancelAutoLaunchDesc>取消预定的自动发射</CancelAutoLaunchDesc>
<!-- 状态消息 -->
<AircraftStatusLaunched>状态:已发射</AircraftStatusLaunched>
<AutoLaunchScheduled>自动发射:{0}秒后</AutoLaunchScheduled>
<AutoLaunchReady>自动发射:就绪</AutoLaunchReady>
<!-- 事件消息 -->
<AircraftAutoLaunchScheduled>战机自动发射预定:{0} 将在 {1} 秒后发射</AircraftAutoLaunchScheduled>
<AircraftAutoLaunchThreatDetected>检测到威胁 {0},预定战机自动发射</AircraftAutoLaunchThreatDetected>
<AircraftAutoLaunchManhunterDetected>检测到狂躁动物 {0},预定战机自动发射</AircraftAutoLaunchManhunterDetected>
<AutoLaunchCancelled>自动发射已取消</AutoLaunchCancelled>
<!-- 原有翻译保持不变 -->
<AircraftLaunched>已获得 {0} {1}</AircraftLaunched>
<HangarDamaged>机库已损坏</HangarDamaged>
<!-- Aircraft Strike Messages -->
<AircraftManagerNotFound>战机管理器未找到!</AircraftManagerNotFound>
<AircraftStrikeInitiated>空中打击已启动:{0}</AircraftStrikeInitiated>

View File

@@ -187,25 +187,6 @@
<WULA_NoFactoryFlyOver>需要拥有-生产设施-的战舰部署在殖民地轨道上才能空投</WULA_NoFactoryFlyOver>
<WULA_NoFactoryFlyOverDesc>当前地图上没有拥有-生产设施-的战舰部署在殖民地轨道上,无法进行空投</WULA_NoFactoryFlyOverDesc>
<!-- 自动发射相关 -->
<LaunchAircraft>发射战机</LaunchAircraft>
<LaunchAircraftDesc>手动发射战机到战机库</LaunchAircraftDesc>
<ToggleAutoLaunch>启用自动发射</ToggleAutoLaunch>
<ToggleAutoLaunchDesc>启用战机自动发射功能</ToggleAutoLaunchDesc>
<CancelAutoLaunch>取消自动发射</CancelAutoLaunch>
<CancelAutoLaunchDesc>取消预定的自动发射</CancelAutoLaunchDesc>
<!-- 状态消息 -->
<AircraftStatusLaunched>状态:已发射</AircraftStatusLaunched>
<AutoLaunchScheduled>自动发射:{0}秒后</AutoLaunchScheduled>
<AutoLaunchReady>自动发射:就绪</AutoLaunchReady>
<!-- 事件消息 -->
<AircraftAutoLaunchScheduled>战机自动发射预定:{0} 将在 {1} 秒后发射</AircraftAutoLaunchScheduled>
<AircraftAutoLaunchThreatDetected>检测到威胁 {0},预定战机自动发射</AircraftAutoLaunchThreatDetected>
<AircraftAutoLaunchManhunterDetected>检测到狂躁动物 {0},预定战机自动发射</AircraftAutoLaunchManhunterDetected>
<AutoLaunchCancelled>自动发射已取消</AutoLaunchCancelled>
<!-- 原有翻译保持不变 -->
<AircraftLaunched>已发射 {0} 架 {1}</AircraftLaunched>
<HangarDamaged>机库已损坏</HangarDamaged>
<WULA_LaunchToGlobalStorage>发射到乌拉帝国舰队</WULA_LaunchToGlobalStorage>
<WULA_LaunchToGlobalStorageDesc>将物品发送到乌拉帝国舰队,以便其使用这些材料进行加工。\n\n如果装备、武器和尸体被送到乌拉帝国舰队则它们会在下一次成品空投被扔回来其他的物资若被乌拉帝国舰队接收则一概不退。</WULA_LaunchToGlobalStorageDesc>
@@ -331,4 +312,27 @@
<WULA_OverflowStored>超出经验已存储</WULA_OverflowStored>
<WULA_DataPackPartiallyAbsorbed>吸收了 {0} 经验,{1} 转换为溢出数据包</WULA_DataPackPartiallyAbsorbed>
<WULA_DataPackOverflowOnly>所有 {0} 经验转换为溢出数据包(已达到最大品质)</WULA_DataPackOverflowOnly>
<WULA_ResearchRequired>使用该技能需要研究科技 {0}</WULA_ResearchRequired>
<!-- 轰炸能力相关翻译 -->
<SelectBombardmentStart>选择轰炸起点</SelectBombardmentStart>
<SelectBombardmentDirection>选择轰炸方向</SelectBombardmentDirection>
<CannotBombardInvalidLocation>无法在此位置进行轰炸</CannotBombardInvalidLocation>
<BombardmentInProgress>轰炸进行中</BombardmentInProgress>
<BombardmentCompleted>轰炸完成</BombardmentCompleted>
<WULA_GlobalFlyOverCooldown.CannotUseOutsideMap>无法在地图外使用</WULA_GlobalFlyOverCooldown.CannotUseOutsideMap>
<WULA_GlobalFlyOverCooldown.NoAvailableFacilities>轨道上的战舰没有可用的武器阵列(共{0}个,全部冷却中)</WULA_GlobalFlyOverCooldown.NoAvailableFacilities>
<WULA_GlobalFlyOverCooldown.FacilityStatus>武器阵列:{0}个就绪,{1}个冷却中</WULA_GlobalFlyOverCooldown.FacilityStatus>
<WULA_GlobalFlyOverCooldown.FacilityStatusError>设施状态错误</WULA_GlobalFlyOverCooldown.FacilityStatusError>
<WULA_GlobalFlyOverCooldown.FacilityStatusDetailed>武器阵列:{0}个就绪,{1}个冷却中</WULA_GlobalFlyOverCooldown.FacilityStatusDetailed>
<WULA_GlobalFlyOverCooldown.CooldownTime>冷却时间:{0}</WULA_GlobalFlyOverCooldown.CooldownTime>
<WULA_GlobalFlyOverCooldown.NoAvailableFacilitiesSimple>没有可用的武器阵列</WULA_GlobalFlyOverCooldown.NoAvailableFacilitiesSimple>
<!-- FlyOverCooldown 翻译 -->
<WULA_FlyOverCooldown.Ready>就绪</WULA_FlyOverCooldown.Ready>
<WULA_FlyOverCooldown.CooldownRemaining>冷却:{0}</WULA_FlyOverCooldown.CooldownRemaining>
<WULA_FlyOverCooldown.BombardmentFacilityStatus>武器阵列:{0}</WULA_FlyOverCooldown.BombardmentFacilityStatus>
<WULA_FlyOverCooldown.BombardmentFacilityReady>武器阵列:就绪</WULA_FlyOverCooldown.BombardmentFacilityReady>
</LanguageData>