This commit is contained in:
Tourswen
2025-11-20 22:57:25 +08:00
parent 6dc949158a
commit 22f03e2e05
19 changed files with 491 additions and 158 deletions

View File

@@ -55,8 +55,6 @@
<writeCombatLog>True</writeCombatLog>
<showPsycastEffects>False</showPsycastEffects>
<aiCanUse>true</aiCanUse>
<ai_SearchAOEForTargets>true</ai_SearchAOEForTargets>
<ai_IsIncendiary>true</ai_IsIncendiary>
<cooldownTicksRange>600</cooldownTicksRange>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
@@ -64,7 +62,7 @@
<warmupTime>1</warmupTime>
<soundCast>WarqueenWarUrchinsSpawned</soundCast>
<ai_IsWeapon>true</ai_IsWeapon>
<ai_IsWeapon>false</ai_IsWeapon>
<ai_ProjectileLaunchingIgnoresMeleeThreats>true</ai_ProjectileLaunchingIgnoresMeleeThreats>
<requireLineOfSight>false</requireLineOfSight>
@@ -86,15 +84,112 @@
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityAreaDestruction">
<range>18</range>
<lineWidthEnd>12</lineWidthEnd>
<lineWidthEnd>18</lineWidthEnd>
<canHitFilledCells>true</canHitFilledCells>
<affectAllies>false</affectAllies>
<affectCaster>false</affectCaster>
<castEffecter>Fire_SpewShort</castEffecter>
<castEffecterMaintainTicks>60</castEffecterMaintainTicks>
<hitEffecter>Fire_Spew</hitEffecter>
<hitEffecterMaintainTicks>30</hitEffecterMaintainTicks>
<castEffecter>WULA_AreaDestruction_Shockwave</castEffecter>
<hitEffecter>WULA_AreaDestruction_Hit</hitEffecter>
</li>
</comps>
</AbilityDef>
<EffecterDef>
<defName>WULA_AreaDestruction_Hit</defName>
<children>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_Mote_ChargeLanceShot</moteDef>
<burstCount>1~4</burstCount>
<scale>0.4~0.8</scale>
<speed>20~40</speed>
<angle>135~225</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_Mote_ChargeLanceShot</moteDef>
<burstCount>2~3</burstCount>
<scale>0.4~0.8</scale>
<speed>10~20</speed>
<angle>135~225</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
</children>
<offsetTowardsTarget>0.25~0.25</offsetTowardsTarget>
<positionRadius>0.1</positionRadius>
</EffecterDef>
<EffecterDef>
<defName>WULA_AreaDestruction_Shockwave</defName>
<children>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>Fleck_BlastMechBandShockwave</fleckDef>
<burstCount>1</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>true</absoluteAngle>
<rotation>0~0</rotation>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>WULA_AreaDestruction_Mainwave</moteDef>
<burstCount>1</burstCount>
<scale>1</scale>
<speed>20</speed>
<angle>0</angle>
<positionRadius>0.01</positionRadius>
<spawnLocType>OnSource</spawnLocType>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>FlashMechBand</fleckDef>
<burstCount>1</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>true</absoluteAngle>
<rotation>0~0</rotation>
</li>
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<moteDef>Mote_RedFlashStrong</moteDef>
<burstCount>1</burstCount>
<spawnLocType>OnSource</spawnLocType>
<scale>24</scale>
</li>
</children>
</EffecterDef>
<ThingDef ParentName="MoteBase">
<defName>WULA_Mote_ChargeLanceShot</defName>
<graphicData>
<texPath>Things/Projectile/ChargeLanceShot</texPath>
<drawSize>(0.75,1.5)</drawSize>
<shaderType>MoteGlow</shaderType>
<color>(0.6,0.1,0.6,1)</color>
</graphicData>
<altitudeLayer>Projectile</altitudeLayer>
<mote>
<fadeInTime>0.2</fadeInTime>
<solidTime>0.4</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<growthRate>-0.8</growthRate>
<rotateTowardsMoveDirection>true</rotateTowardsMoveDirection>
</mote>
</ThingDef>
<ThingDef ParentName="MoteBase">
<defName>WULA_AreaDestruction_Mainwave</defName>
<graphicData>
<texPath>Wula/Mote/WULA_AreaDestruction_Mainwave</texPath>
<drawSize>(15,15)</drawSize>
<shaderType>MoteGlow</shaderType>
<color>(0.6,0.1,0.6,0.5)</color>
</graphicData>
<altitudeLayer>Floor</altitudeLayer>
<mote>
<fadeInTime>0.2</fadeInTime>
<solidTime>0.4</solidTime>
<fadeOutTime>0.2</fadeOutTime>
<growthRate>0.25</growthRate>
<rotateTowardsMoveDirection>true</rotateTowardsMoveDirection>
</mote>
</ThingDef>
</Defs>

View File

@@ -231,6 +231,44 @@
<techHediffsChance>1</techHediffsChance>
<techHediffsMoney>9999~9999</techHediffsMoney>
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_Psi_Titan</defName>
<label>PAt-52"灵能泰坦"</label>
<race>Wula_Psi_Titan</race>
<defaultFactionType>PlayerColony</defaultFactionType>
<allowInMechClusters>false</allowInMechClusters>
<canMeleeAttack>false</canMeleeAttack>
<isGoodBreacher>true</isGoodBreacher>
<combatPower>1000</combatPower>
<isBoss>true</isBoss>
<maxPerGroup>1</maxPerGroup>
<flyingAnimationFramePathPrefix>Wula/Things/Wula_Mech_Mobile_Factory/Flying/Wula_Mech_Mobile_Factory_Flying_</flyingAnimationFramePathPrefix>
<flyingAnimationDrawSize>1</flyingAnimationDrawSize>
<flyingAnimationFrameCount>1</flyingAnimationFrameCount>
<flyingAnimationTicksPerFrame>2</flyingAnimationTicksPerFrame>
<flyingAnimationInheritColors>false</flyingAnimationInheritColors>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Wula/Things/Wula_Psi_Titan/Bodies/Naked_Thin</texPath>
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
<!-- <shaderType>TransparentPostLight</shaderType> -->
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>10</drawSize>
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>0</weaponMoney>
<controlGroupPortraitZoom>0.4</controlGroupPortraitZoom>
<abilities>
<li>WULA_PsiCrusher</li>
</abilities>
</PawnKindDef>
<!-- 战斗类乌拉 -->
<PawnKindDef>

View File

@@ -598,8 +598,8 @@
</apparel>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AreaShield">
<radius>3</radius>
<baseHitPoints>50</baseHitPoints>
<radius>5</radius>
<baseHitPoints>100</baseHitPoints>
<rechargeDelay>2400</rechargeDelay>
<rechargeHitPointsIntervalTicks>30</rechargeHitPointsIntervalTicks>
@@ -609,7 +609,7 @@
<breakEffecter>Shield_Break</breakEffecter>
<reactivateEffecter>BulletShieldGenerator_Reactivate</reactivateEffecter>
<color>(0.9, 0.2, 0.2, 0.2)</color> <!-- 护盾气泡的颜色 (RGBA) -->
<color>(0.9, 0.2, 0.2, 0.5)</color> <!-- 护盾气泡的颜色 (RGBA) -->
<!-- 拦截设置 -->
<interceptGroundProjectiles>true</interceptGroundProjectiles>

View File

@@ -48,7 +48,7 @@
<graphicData>
<texPath>Wula/Projectile/WULA_Shrapnel</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1,2)</drawSize>
<drawSize>(1.5,2)</drawSize>
</graphicData>
<modExtensions>
<li Class="WulaFallenEmpire.TrackingBulletDef">

View File

@@ -1445,6 +1445,70 @@
</li>
</comps>
</ThingDef>
<ThingDef ParentName="WULA_BaseMechanoid">
<defName>Wula_Psi_Titan</defName>
<label>PAt-6"灵能泰坦"</label>
<description>由乌拉帝国大教堂所开发的重型灵能机械体,以短距离折跃优雅地穿梭于炮火间,并用灵能盾抵挡敌方射弹侵袭。该机体不仅镌刻了破坏力强大的星光追猎术式用以发起远距离跟踪打击,还拥有一系列改变战局的灵能能力。\n\n但是在近身搏斗中灵能泰坦是一个可笑的对手并且它的秘文纹路很容易遭到外力破坏它的本体无法吸收太多伤害</description>
<uiIconPath>Wula/Things/Wula_Psi_Titan/Wula_Psi_Titan_Icon</uiIconPath>
<statBases>
<BandwidthCost>1</BandwidthCost>
<MoveSpeed>1</MoveSpeed>
<EnergyShieldEnergyMax>5</EnergyShieldEnergyMax>
<MaxFlightTime>9999</MaxFlightTime>
<FlightCooldown>0</FlightCooldown>
</statBases>
<race>
<body>Mech_Warqueen</body>
<baseBodySize>30</baseBodySize>
<lifeStageAges>
<li>
<def>MechanoidFullyFormed</def>
<minAge>0</minAge>
<soundWounded>Pawn_Mech_Warqueen_Wounded</soundWounded>
<soundDeath>Pawn_Mech_Warqueen_Death</soundDeath>
<soundCall>Pawn_Mech_Warqueen_Call</soundCall>
</li>
</lifeStageAges>
<baseHealthScale>25</baseHealthScale>
<flightStartChanceOnJobStart>1</flightStartChanceOnJobStart>
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
</race>
<tools>
<li>
<label>碾压</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>360</power>
<cooldownTime>8</cooldownTime>
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
</li>
</tools>
<comps>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>8.2</minDrawSize>
<maxDrawSize>8.4</maxDrawSize>
<energyLossPerDamage>0.01</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>
</li>
<!-- 飞行组件 -->
<li Class="WulaFallenEmpire.CompProperties_PawnFlight">
<!-- 飞行触发条件:仅在征召时飞行 -->
<flightCondition>Drafted</flightCondition>
<!-- 链接到我们刚刚创建的 AnimationDef -->
<flyingAnimationNorth>WULA_Hover_FlyNorth</flyingAnimationNorth>
<flyingAnimationEast>WULA_Hover_FlyEast</flyingAnimationEast>
<flyingAnimationSouth>WULA_Hover_FlySouth</flyingAnimationSouth>
</li>
</comps>
</ThingDef>
<!-- 特殊单位 -->
<ThingDef ParentName="BaseMechanoidWalker">

View File

@@ -346,15 +346,5 @@
<WULA_TaxCollection.Status.Failed>- 逾期</WULA_TaxCollection.Status.Failed>
<!-- 区域护盾Gizmo文本 -->
<AreaShield_Cooldown>冷却中</AreaShield_Cooldown>
<AreaShield_Inactive>未激活</AreaShield_Inactive>
<AreaShield_Yes></AreaShield_Yes>
<AreaShield_No></AreaShield_No>
<AreaShield_Tooltip_Basic>区域护盾状态:\n最大生命值{0}\n保护半径{1}格\n破碎冷却{3}秒</AreaShield_Tooltip_Basic>
<AreaShield_Tooltip_Intercept>拦截设置:\n- 地面投射物:{0}\n- 空中投射物:{1}\n- 非敌对投射物:{2}</AreaShield_Tooltip_Intercept>
<AreaShield_CooldownRemaining>冷却剩余时间:{0}秒</AreaShield_CooldownRemaining>
<AreaShield_InactiveReason>护盾未激活:\n- 装备未被穿戴\n- 穿戴者死亡或倒下\n- 护盾已破碎</AreaShield_InactiveReason>
<ShieldOfflineByMoving>未激活-移动中</ShieldOfflineByMoving>
</LanguageData>