This commit is contained in:
Tourswen
2025-11-21 00:52:08 +08:00
parent 22f03e2e05
commit 4a44ad5005
8 changed files with 254 additions and 7 deletions

View File

@@ -49,18 +49,19 @@
<AbilityDef>
<defName>WULA_PsiCrusher</defName>
<label>灵能粉碎</label>
<description>释放纯净的灵能能量,直接摧毁面前扇形区域内的所有目标。</description>
<label>乌拉帝国术式:灵能粉碎</label>
<description>释放纯净的灵能能量,直接解构面前扇形区域内的所有目标,无论是建筑物还是活物都难逃毁灭。这种术式需要的灵能难以估量,只有搭载大量封闭灵能回路的灵能泰坦可以连续使用</description>
<iconPath>UI/Abilities/FireSpew</iconPath>
<writeCombatLog>True</writeCombatLog>
<showPsycastEffects>False</showPsycastEffects>
<aiCanUse>true</aiCanUse>
<cooldownTicksRange>600</cooldownTicksRange>
<warmupEffecter>HoraxianSpellLight_Warmup</warmupEffecter>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>18</range>
<warmupTime>1</warmupTime>
<soundCast>WarqueenWarUrchinsSpawned</soundCast>
<soundCast>WULA_PsiCrusher_Sound</soundCast>
<ai_IsWeapon>false</ai_IsWeapon>
<ai_ProjectileLaunchingIgnoresMeleeThreats>true</ai_ProjectileLaunchingIgnoresMeleeThreats>
@@ -126,7 +127,7 @@
<li>
<subEffecterClass>SubEffecter_SprayerTriggered</subEffecterClass>
<fleckDef>Fleck_BlastMechBandShockwave</fleckDef>
<burstCount>1</burstCount>
<burstCount>3~5</burstCount>
<spawnLocType>OnSource</spawnLocType>
<absoluteAngle>true</absoluteAngle>
<rotation>0~0</rotation>
@@ -192,4 +193,114 @@
<rotateTowardsMoveDirection>true</rotateTowardsMoveDirection>
</mote>
</ThingDef>
<AbilityDef>
<defName>Wula_Psi_Explosive_Shock</defName>
<label>乌拉帝国术式:灵能尖啸</label>
<description>以灵能能量发出非人尖啸,使得周围的人员感觉到撕心裂肺的痛苦。这不会造成永久的伤害,但是很可能放倒那些无法承受此番痛苦的生灵。</description>
<iconPath>UI/Abilities/FireSpew</iconPath>
<writeCombatLog>True</writeCombatLog>
<showPsycastEffects>True</showPsycastEffects>
<cooldownTicksRange>1200</cooldownTicksRange>
<targetRequired>False</targetRequired>
<aiCanUse>true</aiCanUse>
<statBases>
<Ability_EffectRadius>12</Ability_EffectRadius>
</statBases>
<warmupEffecter>HoraxianSpellLight_Warmup</warmupEffecter>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<defaultProjectile>Bullet_FleshmelterBolt</defaultProjectile>
<range>12</range>
<drawAimPie>true</drawAimPie>
<warmupTime>1</warmupTime>
<soundCast>WULA_Psi_Explosive_Shock_Sound</soundCast>
<ai_IsWeapon>false</ai_IsWeapon>
<ai_ProjectileLaunchingIgnoresMeleeThreats>true</ai_ProjectileLaunchingIgnoresMeleeThreats>
<!-- <targetable>false</targetable> -->
<targetParams>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityGiveHediffPsychic">
<compClass>CompAbilityEffect_GiveHediffPsychic</compClass>
<durationSecondsOverride>2000~4000</durationSecondsOverride> <!-- 2 to 4 days -->
<replaceExisting>true</replaceExisting>
<hediffDef>Wula_Psi_Explosive_Shock_Hediff</hediffDef>
<onlyBrain>true</onlyBrain>
<ignoreSelf>true</ignoreSelf>
<severity>0</severity>
</li>
<li Class="CompProperties_AbilityFleckOnTarget">
<fleckDef>PsycastPsychicEffect</fleckDef>
</li>
<li Class="CompProperties_AbilityEffecterOnTarget">
<effecterDef>AgonyPulseExplosion</effecterDef>
</li>
</comps>
</AbilityDef>
<HediffDef>
<hediffClass>HediffWithComps</hediffClass>
<defName>Wula_Psi_Explosive_Shock_Hediff</defName>
<label>灵能尖啸</label>
<description>震耳欲聋、撕心裂肺的灵能尖啸所带来的极度痛苦,不会造成永久的伤害,但是需要时间缓解</description>
<initialSeverity>0.001</initialSeverity>
<maxSeverity>1</maxSeverity>
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>true</showRemainingTime>
</li>
<li Class="HediffCompProperties_SeverityPerSecond">
<severityPerSecondRange>0.01</severityPerSecondRange> <!-- 10 to 15 seconds -->
</li>
</comps>
<stages>
<li>
<minSeverity>0</minSeverity>
<painOffset>2</painOffset>
<label>撕裂</label>
</li>
<li>
<minSeverity>0.5</minSeverity>
<painOffset>0.5</painOffset>
<label>恢复</label>
</li>
</stages>
</HediffDef>
<AbilityDef>
<defName>Wula_Psi_LightningBombardment</defName>
<label>乌拉帝国术式:化三风暴</label>
<description>以庞大的灵能能量形成一场非自然风暴,持续轰击目标区域,风暴的轰击会产生范围性灵能爆燃,对建筑物有额外的伤害。</description>
<iconPath>Wula/UI/Abilities/WULA_MW_Scepter_Of_Explosive_Ability</iconPath>
<cooldownTicksRange>900</cooldownTicksRange>
<sendMessageOnCooldownComplete>false</sendMessageOnCooldownComplete>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<charges>3</charges>
<cooldownPerCharge>true</cooldownPerCharge>
<aiCanUse>true</aiCanUse>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<label>释放化三风暴</label>
<drawAimPie>true</drawAimPie>
<warmupTime>0.25</warmupTime>
<range>35.9</range>
<minRange>4</minRange>
<targetParams>
<canTargetPawns>True</canTargetPawns>
<canTargetLocations>True</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilityDRM_LightningBombardment">
<impactAreaRadius>9</impactAreaRadius>
<explosionRadiusRange>3~4</explosionRadiusRange>
<bombIntervalTicks>25</bombIntervalTicks>
<explosionCount>20</explosionCount>
<damageDef>Wula_Psi_Bomb</damageDef>
<damageAmount>30</damageAmount>
<armorPenetration>3</armorPenetration>
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -376,6 +376,7 @@
<kindDef>Combat</kindDef>
<commonality>100</commonality>
<options>
<Wula_Psi_Titan>1000</Wula_Psi_Titan>
<Wula_PIA_Heavy_Unit>1</Wula_PIA_Heavy_Unit>
</options>
</li>

View File

@@ -233,13 +233,13 @@
</PawnKindDef>
<PawnKindDef ParentName="HeavyMechanoidKind">
<defName>Wula_Psi_Titan</defName>
<label>PAt-52"灵能泰坦"</label>
<label>PAt-6"灵能泰坦"</label>
<race>Wula_Psi_Titan</race>
<defaultFactionType>PlayerColony</defaultFactionType>
<allowInMechClusters>false</allowInMechClusters>
<canMeleeAttack>false</canMeleeAttack>
<isGoodBreacher>true</isGoodBreacher>
<combatPower>1000</combatPower>
<combatPower>500</combatPower>
<isBoss>true</isBoss>
<maxPerGroup>1</maxPerGroup>
@@ -261,12 +261,17 @@
</bodyGraphicData>
</li>
</lifeStages>
<weaponMoney>0</weaponMoney>
<weaponMoney>99999~99999</weaponMoney>
<weaponTags>
<li>Wula_Psi_Titan_Main_Weapon</li>
</weaponTags>
<controlGroupPortraitZoom>0.4</controlGroupPortraitZoom>
<abilities>
<li>WULA_PsiCrusher</li>
<li>Wula_Psi_Explosive_Shock</li>
<li>Wula_Psi_LightningBombardment</li>
</abilities>
</PawnKindDef>

View File

@@ -117,4 +117,38 @@
</li>
</subSounds>
</SoundDef>
<SoundDef>
<defName>WULA_PsiCrusher_Sound</defName>
<context>MapOnly</context>
<subSounds>
<li>
<grains>
<li Class="AudioGrain_Folder">
<clipFolderPath>Pawn/Revenant/Death</clipFolderPath>
</li>
</grains>
<volumeRange>70~85</volumeRange>
<pitchRange>0.9311764~1.068824</pitchRange>
<!-- <distRange>0~70</distRange> -->
<sustainLoop>False</sustainLoop>
</li>
</subSounds>
</SoundDef>
<SoundDef>
<defName>WULA_Psi_Explosive_Shock_Sound</defName>
<context>MapOnly</context>
<subSounds>
<li>
<grains>
<li Class="AudioGrain_Folder">
<clipFolderPath>Pawn/Ghoul/Death</clipFolderPath>
</li>
</grains>
<volumeRange>70~85</volumeRange>
<pitchRange>0.9311764~1.068824</pitchRange>
<!-- <distRange>0~70</distRange> -->
<sustainLoop>False</sustainLoop>
</li>
</subSounds>
</SoundDef>
</Defs>

View File

@@ -492,4 +492,100 @@
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>Wula_Psi_Titan_Beam</defName>
<label>KLb-15 "方解石"</label>
<description>灵能战争机械PAt-6"灵能泰坦"上装备的特殊熔融光束,威力不算特别大,但是不至于让其在失去所有武装后无计可施。</description>
<techLevel>Archotech</techLevel>
<tradeability>None</tradeability>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>3</drawSize>
</graphicData>
<uiIconScale>0.5</uiIconScale>
<soundInteract>Interact_Rifle</soundInteract>
<statBases>
<Mass>200</Mass>
<AccuracyTouch>1</AccuracyTouch>
<AccuracyShort>1</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>0</RangedWeapon_Cooldown>
</statBases>
<smeltable>false</smeltable>
<recipeMaker Inherit="False" IsNull="True" />
<costList Inherit="False">
<Steel>3000</Steel>
<ComponentIndustrial>600</ComponentIndustrial>
<Plasteel>300</Plasteel>
<Uranium>100</Uranium>
</costList>
<verbs>
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0</warmupTime>
<range>17</range>
<burstShotCount>32</burstShotCount>
<ticksBetweenBurstShots>1</ticksBetweenBurstShots>
<beamDamageDef>WULA_RW_Handle_Cannon_Burn</beamDamageDef>
<beamTotalDamage>1</beamTotalDamage>
<!-- 消除射线偏移的参数 -->
<beamFullWidthRange>1000</beamFullWidthRange>
<beamWidth>-1</beamWidth>
<beamMaxDeviation>0</beamMaxDeviation>
<beamCurvature>0</beamCurvature>
<beamStartOffset>0</beamStartOffset>
<!-- 视觉和音效 -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>WULA_RW_Beam_Shootingsound</soundCastBeam>
<beamMoteDef>Mote_WULA_RW_Handle_Cannon_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<screenShakeFactor>0</screenShakeFactor>
<!-- 火焰效果 -->
<beamChanceToStartFire>1</beamChanceToStartFire>
<beamChanceToAttachFire>0</beamChanceToAttachFire>
<beamFireSizeRange>0</beamFireSizeRange>
<!-- 其他射线属性 -->
<beamStartOffset>0.8</beamStartOffset>
<beamHitsNeighborCells>true</beamHitsNeighborCells>
<beamLineFleckChanceCurve>
<points>
<li>(0, 0)</li>
<li>(0.65, 0.4)</li>
<li>(1, 0.75)</li>
</points>
</beamLineFleckChanceCurve>
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>false</canTargetLocations>
</targetParams>
<!-- 每发都爆炸 -->
<enableExplosion>false</enableExplosion>
<explosionShotInterval>1</explosionShotInterval>
<explosionRadius>0</explosionRadius>
<explosionDamageDef>Burn</explosionDamageDef>
<explosionDamage>1</explosionDamage>
<!-- <explosionSound>Explosion_Stun</explosionSound> -->
<chanceToStartFire>1</chanceToStartFire>
<aimingChargeMote>Mote_WULA_Beam_Charge</aimingChargeMote>
<aimingChargeMoteOffset>1.07</aimingChargeMoteOffset>
</li>
</verbs>
<weaponTags>
<li>Wula_Psi_Titan_Main_Weapon</li>
</weaponTags>
</ThingDef>
</Defs>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 211 KiB