2025-8-27
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
<description>乌拉帝国军械部在黄金时期所设计的暗物质武器,时至今日仍未被确认其实际代号。这种武器装填缓慢、体积巨大,只能由最庞大的机械体所配备,所发射的切割束几乎可以横跨战场,并抹除落点上所有的敌人。</description>
|
||||
<techLevel>Archotech</techLevel>
|
||||
<graphicData>
|
||||
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
|
||||
<texPath>Wula/Weapon/WULA_RW_Unlimit_Penetrating_Beam_Cannon</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.5</drawSize>
|
||||
</graphicData>
|
||||
<uiIconScale>0.75</uiIconScale>
|
||||
<soundInteract>Interact_Rifle</soundInteract>
|
||||
<statBases>
|
||||
<Mass>200</Mass>
|
||||
@@ -27,63 +29,22 @@
|
||||
<Uranium>100</Uranium>
|
||||
</costList>
|
||||
<verbs>
|
||||
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
|
||||
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
|
||||
|
||||
<!-- 基础射线参数 -->
|
||||
<li Class="WulaFallenEmpire.VerbProperties_Excalibur">
|
||||
<verbClass>WulaFallenEmpire.Verb_Excalibur</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<range>30.9</range>
|
||||
<warmupTime>6</warmupTime>
|
||||
<range>500</range>
|
||||
<minRange>21</minRange>
|
||||
<burstShotCount>6</burstShotCount>
|
||||
<ticksBetweenBurstShots>3</ticksBetweenBurstShots>
|
||||
<beamDamageDef>Wula_Dark_Matter_Beam_Huge</beamDamageDef>
|
||||
|
||||
<!-- 消除射线偏移的参数 -->
|
||||
<beamFullWidthRange>1000</beamFullWidthRange>
|
||||
<beamWidth>-1</beamWidth>
|
||||
<beamMaxDeviation>0</beamMaxDeviation>
|
||||
<beamCurvature>0</beamCurvature>
|
||||
<beamStartOffset>0</beamStartOffset>
|
||||
|
||||
<!-- 视觉和音效 -->
|
||||
<muzzleFlashScale>0</muzzleFlashScale>
|
||||
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
|
||||
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
|
||||
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
|
||||
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
|
||||
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
|
||||
|
||||
<screenShakeFactor>0.85</screenShakeFactor>
|
||||
|
||||
<!-- 火焰效果 -->
|
||||
<beamChanceToStartFire>0.6</beamChanceToStartFire>
|
||||
<beamChanceToAttachFire>0.6</beamChanceToAttachFire>
|
||||
<beamFireSizeRange>0.25</beamFireSizeRange>
|
||||
|
||||
<!-- 其他射线属性 -->
|
||||
<beamHitsNeighborCells>true</beamHitsNeighborCells>
|
||||
<beamLineFleckChanceCurve>
|
||||
<points>
|
||||
<li>(0, 0)</li>
|
||||
<li>(0.65, 0.4)</li>
|
||||
<li>(1, 0.75)</li>
|
||||
</points>
|
||||
</beamLineFleckChanceCurve>
|
||||
|
||||
<!-- 攻击目标设置 -->
|
||||
<burstShotCount>1</burstShotCount>
|
||||
<ticksBetweenBurstShots>2</ticksBetweenBurstShots>
|
||||
<soundCast>ChargeLance_Fire</soundCast>
|
||||
<soundCastTail>GunTail_Heavy</soundCastTail>
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
|
||||
<!-- 每发都爆炸 -->
|
||||
<enableExplosion>true</enableExplosion>
|
||||
<explosionShotInterval>2</explosionShotInterval>
|
||||
<explosionRadius>8</explosionRadius>
|
||||
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
|
||||
<explosionDamage>3500</explosionDamage>
|
||||
<explosionSound>Explosion_Bomb</explosionSound>
|
||||
<chanceToStartFire>1</chanceToStartFire>
|
||||
<pathWidth>1</pathWidth>
|
||||
<damageDef>Bomb</damageDef>
|
||||
<damageAmount>450</damageAmount>
|
||||
<armorPenetration>2</armorPenetration>
|
||||
</li>
|
||||
</verbs>
|
||||
<weaponTags>
|
||||
@@ -189,7 +150,7 @@
|
||||
<defaultProjectile>Bullet_Wula_MR_Mobile_Factory_Turret</defaultProjectile>
|
||||
<range>36</range>
|
||||
<minRange>8</minRange>
|
||||
<defaultCooldownTime>5</defaultCooldownTime>
|
||||
<defaultCooldownTime>1.5</defaultCooldownTime>
|
||||
<burstShotCount>3</burstShotCount>
|
||||
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
|
||||
<soundCast>Shot_BeamRepeater</soundCast>
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<!--
|
||||
=====================================================================
|
||||
离子武器最终正确架构配置示例 (V17.0)
|
||||
=====================================================================
|
||||
说明:
|
||||
- 核心架构: 自定义 VerbProperties (VerbProperties_Excalibur)
|
||||
- 伤害逻辑: 完全在C#中自定义,包括路径伤害和能量消耗。
|
||||
- 特效逻辑: 主要由我们自己在VerbProperties中定义的参数手动控制。
|
||||
-->
|
||||
|
||||
<ThingDef Name="Wula_BaseIonicGun" Abstract="True" ParentName="BaseHumanMakeableGun">
|
||||
<techLevel>Ultra</techLevel>
|
||||
<graphicData>
|
||||
<texPath>Wula/Weapon/WULA_RW_DM_AR</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.2</drawSize>
|
||||
</graphicData>
|
||||
<soundInteract>Interact_ChargeRifle</soundInteract>
|
||||
<statBases>
|
||||
<WorkToMake>40000</WorkToMake>
|
||||
<Mass>4.5</Mass>
|
||||
<AccuracyTouch>1</AccuracyTouch>
|
||||
<AccuracyShort>1</AccuracyShort>
|
||||
<AccuracyMedium>1</AccuracyMedium>
|
||||
<AccuracyLong>1</AccuracyLong>
|
||||
<RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown>
|
||||
</statBases>
|
||||
<weaponTags>
|
||||
<li>WulaExcalibur</li>
|
||||
</weaponTags>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="Wula_BaseIonicGun">
|
||||
<defName>WULA_Weapon_Excalibur</defName>
|
||||
<label>王者之剑</label>
|
||||
<description>一把传奇的剑,能够释放出沿路径爆炸的能量。</description>
|
||||
<graphicData>
|
||||
<texPath>Wula/Weapon/WULA_RW_DM_AR</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
</graphicData>
|
||||
<uiIconScale>1.5</uiIconScale>
|
||||
<equippedAngleOffset>45</equippedAngleOffset>
|
||||
<tools>
|
||||
<li>
|
||||
<label>剑刃</label>
|
||||
<capacities>
|
||||
<li>Cut</li>
|
||||
</capacities>
|
||||
<power>15</power>
|
||||
<cooldownTime>2</cooldownTime>
|
||||
</li>
|
||||
</tools>
|
||||
<verbs>
|
||||
<li Class="WulaFallenEmpire.VerbProperties_Excalibur">
|
||||
<verbClass>WulaFallenEmpire.Verb_Excalibur</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<range>25.9</range>
|
||||
<warmupTime>1.5</warmupTime>
|
||||
<burstShotCount>3</burstShotCount>
|
||||
<ticksBetweenBurstShots>50</ticksBetweenBurstShots>
|
||||
<soundCast>ChargeLance_Fire</soundCast>
|
||||
<soundCastTail>GunTail_Heavy</soundCastTail>
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
<pathWidth>1.5</pathWidth>
|
||||
<damageDef>Vaporize</damageDef>
|
||||
<damageAmount>50</damageAmount>
|
||||
<armorPenetration>0.3</armorPenetration>
|
||||
</li>
|
||||
</verbs>
|
||||
</ThingDef>
|
||||
|
||||
</Defs>
|
||||
@@ -497,7 +497,7 @@
|
||||
<graphicClass>Graphic_Multi</graphicClass>
|
||||
<drawSize>6</drawSize>
|
||||
<shadowData>
|
||||
<volume>(0.4, 0.8, 0.4)</volume>
|
||||
<volume>(1.4, 1.8, 1.4)</volume>
|
||||
</shadowData>
|
||||
</bodyGraphicData>
|
||||
</li>
|
||||
@@ -505,6 +505,14 @@
|
||||
<weaponMoney>99999~99999</weaponMoney>
|
||||
|
||||
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
|
||||
<weaponTags>
|
||||
<li>Wula_Mech_Mobile_Factory_Main_Weapon</li>
|
||||
</weaponTags>
|
||||
|
||||
<abilities>
|
||||
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
|
||||
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
|
||||
</abilities>
|
||||
</PawnKindDef>
|
||||
<PawnKindDef ParentName="Wula_Mech_Mobile_Factory">
|
||||
<defName>Wula_Mech_Mobile_Factory_1</defName> <!-- 修改了defName以避免冲突 -->
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user