This commit is contained in:
Tourswen
2025-11-18 00:36:33 +08:00
parent 5a7e53fa4c
commit 710eca55d4
70 changed files with 437 additions and 198 deletions

View File

@@ -188,7 +188,35 @@
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>WULA_ClearFlightPath</defName>
<label>航道净空</label>
<description>使近地轨道上的舰队离开,以使得其他乌拉帝国舰队可以入场</description>
<iconPath>Wula/UI/Abilities/WULA_CallConstructionShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>true</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<nonInterruptingSelfCast>true</nonInterruptingSelfCast>
<warmupTime>2</warmupTime>
<range>-1</range>
<targetable>false</targetable>
<targetParams>
<canTargetLocations>false</canTargetLocations>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_DestroyFlyOverByFacilities" />
</comps>
</AbilityDef>
<!-- 飞行器 -->
<AbilityDef>
<defName>WULA_Spawn_Fighter_Drone_Laser</defName>

View File

@@ -337,4 +337,21 @@
</li>
</children>
</EffecterDef>
<DamageDef ParentName="Bullet">
<defName>Damage_WULA_RW_Unlimit_Penetrating_Beam_Cannon</defName>
<label>贯杀炮切割束</label>
<buildingDamageFactorPassable>0</buildingDamageFactorPassable>
<soundExplosion>Explosion_Vaporize</soundExplosion>
</DamageDef>
<DamageDef ParentName="Bomb">
<defName>WULA_GiantBomb</defName>
<label>大型爆炸</label>
<defaultDamage>150</defaultDamage>
<defaultStoppingPower>2.0</defaultStoppingPower>
<defaultArmorPenetration>1.30</defaultArmorPenetration>
<explosionCenterEffecter>GiantExplosion</explosionCenterEffecter>
</DamageDef>
</Defs>

View File

@@ -102,7 +102,9 @@
<abilityDefs>
<li>WULA_CallMotherShip</li>
<li>WULA_CallBattleShip</li>
<li>WULA_CallAircraftCarrier</li>
<li>WULA_CallConstructionShip</li>
<li>WULA_ClearFlightPath</li>
</abilityDefs>
</li>
</comps>

View File

@@ -1,10 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<IncidentDef ParentName="GiveQuestBase">
<IncidentDef>
<defName>WULA_GiveQuest_Intro_Spy</defName>
<category>GiveQuest</category>
<label>SPY</label>
<questScriptDef>WULA_Intro_Spy</questScriptDef> <!-- 通向具体的questScrip -->
<baseChance>0</baseChance> <!-- given by a special storyteller comp -->
<targetTags>
<li>Map_PlayerHome</li>
</targetTags>
<questScriptDef>WULA_Intro_Spy</questScriptDef>
<workerClass>IncidentWorker_GiveQuest</workerClass>
<baseChance>0</baseChance>
<requireColonistsPresent>True</requireColonistsPresent>
</IncidentDef>
<QuestScriptDef>

View File

@@ -181,15 +181,17 @@
<numIncidentsRange>1</numIncidentsRange>
</li>
<li Class="WulaFallenEmpire.StorytellerComp_SingleOnceFixed_FactionFilter">
<incident>WULA_GiveQuest_Intro_Spy</incident>
<fireAfterDaysPassed>6</fireAfterDaysPassed>
<excludedFactionTypes>
<li>WULA_Awakened_Synth</li>
</excludedFactionTypes>
<!-- <allowedFactionTypes>
<li>WULA_Awakened_Synth</li>
</allowedFactionTypes> -->
<!-- Odyssey grav engine quest -->
<li Class="StorytellerCompProperties_ImportantQuest">
<fireAfterDaysPassed>1</fireAfterDaysPassed>
<questIncident MayRequire="Ludeon.RimWorld.Odyssey">WULA_GiveQuest_Intro_Spy</questIncident>
<questDef MayRequire="Ludeon.RimWorld.Odyssey">WULA_Intro_Spy</questDef>
<allowedTargetTags>
<li>Map_PlayerHome</li>
</allowedTargetTags>
<enableIfAnyModActive>
<li>Ludeon.RimWorld.Odyssey</li>
</enableIfAnyModActive>
</li>
</comps>
</StorytellerDef>

View File

@@ -46,7 +46,7 @@
<canTargetLocations>true</canTargetLocations>
</targetParams>
<pathWidth>2</pathWidth>
<damageDef>BombSuper</damageDef>
<damageDef>Damage_WULA_RW_Unlimit_Penetrating_Beam_Cannon</damageDef>
<damageAmount>450</damageAmount>
<armorPenetration>2</armorPenetration>
<beamDefName>WULA_ExcaliburBeam</beamDefName>
@@ -224,7 +224,7 @@
<defaultCooldownTime>16</defaultCooldownTime>
<isMortar>true</isMortar>
<requireLineOfSight>false</requireLineOfSight>
<minRange>4</minRange>
<minRange>12</minRange>
<range>120</range>
<burstShotCount>3</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
@@ -247,7 +247,7 @@
</graphicData>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
<projectile>
<damageDef>Bomb</damageDef>
<damageDef>WULA_GiantBomb</damageDef>
<damageAmountBase>45</damageAmountBase>
<speed>60</speed>
<explosionRadius>6</explosionRadius>
@@ -373,27 +373,55 @@
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_WM_Panzer_Turret</defaultProjectile>
<defaultProjectile>Bullet_Wula_AI_Heavy_Panzer_Turret_Weapon</defaultProjectile>
<warmupTime>0</warmupTime>
<defaultCooldownTime>4</defaultCooldownTime>
<minRange>5.9</minRange>
<range>60</range>
<defaultCooldownTime>3</defaultCooldownTime>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<requireLineOfSight>true</requireLineOfSight>
<burstShotCount>1</burstShotCount>
<forcedMissRadius>0.1</forcedMissRadius>
<soundCast>WULA_MW_Mass_Drivers_Shootingsound</soundCast>
<soundCast>Shot_ChargeRifle</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>18</muzzleFlashScale>
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_Wula_AI_Heavy_Panzer_Turret_Weapon</defName>
<label>青金石自动炮炮弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<drawSize>2.5</drawSize>
</graphicData>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>12</damageAmountBase>
<speed>90</speed>
<explosionRadius>2.1</explosionRadius>
<arcHeightFactor>0</arcHeightFactor>
<soundExplode>Explosion_Rocket</soundExplode>
<armorPenetrationBase>1.5</armorPenetrationBase>
<screenShakeFactor>0.1</screenShakeFactor>
</projectile>
<modExtensions>
<li Class="WulaFallenEmpire.TrackingBulletDef">
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef>
<fleckMakeFleckTickMax>1</fleckMakeFleckTickMax>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="WULA_ExperienceCore_Weapon_Ranged">
<defName>Wula_AI_Heavy_Panzer_Missile_Weapon</defName>
<label>WLl-2"月长石"</label>
<description>HAp-6"战车"在侧面挂载的导弹系统,需要瞄准较长的时间,但是可以一次性发射大量的导弹</description>
<defName>Wula_AI_Heavy_Panzer_Main_Weapon</defName>
<label>SDm-2"月长石"</label>
<description>HAp-6"战车"车体正面的突击炮,射程很短并且只能在静止状态开火,但是威力巨大,专门用于对付坚固的工事和成片的人群</description>
<tickerType>Normal</tickerType>
<techLevel>Spacer</techLevel>
<uiIconPath>Wula/Projectile/WULA_Loitering_Munition</uiIconPath>
<uiIconPath>Wula/Projectile/WULA_Shrapnel</uiIconPath>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
@@ -415,18 +443,15 @@
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<!-- <defaultProjectile>Bullet_AssaultRifle</defaultProjectile> -->
<defaultProjectile>Bullet_WULA_RW_Base_Loitering_Munition</defaultProjectile>
<warmupTime>5</warmupTime>
<range>40</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>16</ticksBetweenBurstShots>
<defaultProjectile>Bullet_Wula_AI_Heavy_Panzer_Main_Weapon</defaultProjectile>
<warmupTime>2</warmupTime>
<range>21</range>
<burstShotCount>1</burstShotCount>
<forcedMissRadius>1</forcedMissRadius>
<soundCast>RocketswarmLauncher_Fire</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<targetParams>
<canTargetPawns>true</canTargetPawns>
<canTargetLocations>true</canTargetLocations>
<canTargetBuildings>true</canTargetBuildings>
</targetParams>
</li>
</verbs>
@@ -438,4 +463,33 @@
<li>Wula_AI_Heavy_Panzer_Weapon</li>
</weaponTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_Wula_AI_Heavy_Panzer_Main_Weapon</defName>
<label>月长石炮弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Shrapnel</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(2,2)</drawSize>
</graphicData>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveWithTrail</thingClass>
<projectile>
<damageDef>WULA_GiantBomb</damageDef>
<damageAmountBase>65</damageAmountBase>
<speed>25</speed>
<explosionRadius>6</explosionRadius>
<armorPenetrationBase>1.5</armorPenetrationBase>
<flyOverhead>true</flyOverhead>
<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_Smoke_Tail</tailFleckDef>
<fleckMakeFleckTickMax>1</fleckMakeFleckTickMax>
</li>
</modExtensions>
</ThingDef>
</Defs>

View File

@@ -1053,8 +1053,8 @@
</li>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>4.2</minDrawSize>
<maxDrawSize>4.4</maxDrawSize>
<minDrawSize>5.2</minDrawSize>
<maxDrawSize>5.4</maxDrawSize>
<energyLossPerDamage>0.02</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>

View File

@@ -20,14 +20,6 @@
<AircraftLaunched>已获得 {0} {1}</AircraftLaunched>
<HangarDamaged>机库已损坏</HangarDamaged>
<!-- Aircraft Strike Messages -->
<AircraftManagerNotFound>战机管理器未找到!</AircraftManagerNotFound>
<AircraftStrikeInitiated>空中打击已启动:{0}</AircraftStrikeInitiated>
<AircraftStrikeSuccess>空中打击:成功使用 {0} 只 {1}</AircraftStrikeSuccess>
<NoAvailableAircraft>没有可用的战机:{0}</NoAvailableAircraft>
<AircraftStrikeFailed>空中打击:{1} 没有可用的 {0}</AircraftStrikeFailed>
<NoAircraftForStrike>没有可用的 {0}</NoAircraftForStrike>
<!-- Mouse Overlay Text -->
<AvailableAircraft>{0}{1}</AvailableAircraft>
<CooldownAircraft>冷却中:{0}</CooldownAircraft>
@@ -70,4 +62,28 @@
<AircraftCooldownEnded>{0} 准备好再次进行打击</AircraftCooldownEnded>
<NoAircraftStatus>没有可用的战机</NoAircraftStatus>
<AircraftStatusLine>{0}{1}/{2}(冷却中:{3}</AircraftStatusLine>
<WULA_DestroyFlyOver>已净空航道,航道上的舰队正在回到高空轨道</WULA_DestroyFlyOver>
<!-- Aircraft Strike Ability -->
<WULA_AircraftManagerNotFound>战机管理器未找到</WULA_AircraftManagerNotFound>
<WULA_AircraftStrikeInitiated>{0}空袭已启动</WULA_AircraftStrikeInitiated>
<WULA_AircraftStrikeSuccess>使用了{0}架{1}执行空袭</WULA_AircraftStrikeSuccess>
<WULA_NoAvailableAircraft>没有可用的{0}</WULA_NoAvailableAircraft>
<WULA_AircraftStrikeFailed>无法为派系{1}使用{0}</WULA_AircraftStrikeFailed>
<WULA_UnknownFaction>未知派系</WULA_UnknownFaction>
<WULA_AircraftSystemNotReady>战机系统未就绪</WULA_AircraftSystemNotReady>
<WULA_NoAvailableAircraftType>没有可用的{0}</WULA_NoAvailableAircraftType>
<WULA_AircraftInsufficient>{0}数量不足 ({1}/{2})</WULA_AircraftInsufficient>
<WULA_AircraftOnCooldown>{0}正在冷却中</WULA_AircraftOnCooldown>
<WULA_AvailableAircraft>可用战机: {0}</WULA_AvailableAircraft>
<WULA_CooldownAircraft>冷却中: {0}</WULA_CooldownAircraft>
<WULA_CostPerUse>每次消耗: {0}</WULA_CostPerUse>
<WULA_NoAircraftForStrike>没有可用的战机执行空袭</WULA_NoAircraftForStrike>
<WULA_AircraftStatus>战机状态:</WULA_AircraftStatus>
<WULA_TotalAircraft>• 总数: {0}</WULA_TotalAircraft>
<WULA_ReadyAircraft>• 可用: {0}</WULA_ReadyAircraft>
<WULA_CooldownAircraftCount>• 冷却中: {0}</WULA_CooldownAircraftCount>
<WULA_AircraftRequirement>需要 {0} x{1}</WULA_AircraftRequirement>
<WULA_CooldownTime>冷却时间: {0} 小时</WULA_CooldownTime>
</LanguageData>