2025-8-27
This commit is contained in:
@@ -6,9 +6,11 @@
|
|||||||
<description>乌拉帝国军械部在黄金时期所设计的暗物质武器,时至今日仍未被确认其实际代号。这种武器装填缓慢、体积巨大,只能由最庞大的机械体所配备,所发射的切割束几乎可以横跨战场,并抹除落点上所有的敌人。</description>
|
<description>乌拉帝国军械部在黄金时期所设计的暗物质武器,时至今日仍未被确认其实际代号。这种武器装填缓慢、体积巨大,只能由最庞大的机械体所配备,所发射的切割束几乎可以横跨战场,并抹除落点上所有的敌人。</description>
|
||||||
<techLevel>Archotech</techLevel>
|
<techLevel>Archotech</techLevel>
|
||||||
<graphicData>
|
<graphicData>
|
||||||
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
|
<texPath>Wula/Weapon/WULA_RW_Unlimit_Penetrating_Beam_Cannon</texPath>
|
||||||
<graphicClass>Graphic_Single</graphicClass>
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
<drawSize>1.5</drawSize>
|
||||||
</graphicData>
|
</graphicData>
|
||||||
|
<uiIconScale>0.75</uiIconScale>
|
||||||
<soundInteract>Interact_Rifle</soundInteract>
|
<soundInteract>Interact_Rifle</soundInteract>
|
||||||
<statBases>
|
<statBases>
|
||||||
<Mass>200</Mass>
|
<Mass>200</Mass>
|
||||||
@@ -27,63 +29,22 @@
|
|||||||
<Uranium>100</Uranium>
|
<Uranium>100</Uranium>
|
||||||
</costList>
|
</costList>
|
||||||
<verbs>
|
<verbs>
|
||||||
<li Class="WulaFallenEmpire.VerbPropertiesExplosiveBeam">
|
<li Class="WulaFallenEmpire.VerbProperties_Excalibur">
|
||||||
<verbClass>WulaFallenEmpire.Verb_ShootBeamExplosive</verbClass>
|
<verbClass>WulaFallenEmpire.Verb_Excalibur</verbClass>
|
||||||
|
|
||||||
<!-- 基础射线参数 -->
|
|
||||||
<hasStandardCommand>true</hasStandardCommand>
|
<hasStandardCommand>true</hasStandardCommand>
|
||||||
|
<range>30.9</range>
|
||||||
<warmupTime>6</warmupTime>
|
<warmupTime>6</warmupTime>
|
||||||
<range>500</range>
|
<burstShotCount>1</burstShotCount>
|
||||||
<minRange>21</minRange>
|
<ticksBetweenBurstShots>2</ticksBetweenBurstShots>
|
||||||
<burstShotCount>6</burstShotCount>
|
<soundCast>ChargeLance_Fire</soundCast>
|
||||||
<ticksBetweenBurstShots>3</ticksBetweenBurstShots>
|
<soundCastTail>GunTail_Heavy</soundCastTail>
|
||||||
<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>
|
|
||||||
|
|
||||||
<!-- 攻击目标设置 -->
|
|
||||||
<targetParams>
|
<targetParams>
|
||||||
<canTargetLocations>true</canTargetLocations>
|
<canTargetLocations>true</canTargetLocations>
|
||||||
</targetParams>
|
</targetParams>
|
||||||
|
<pathWidth>1</pathWidth>
|
||||||
<!-- 每发都爆炸 -->
|
<damageDef>Bomb</damageDef>
|
||||||
<enableExplosion>true</enableExplosion>
|
<damageAmount>450</damageAmount>
|
||||||
<explosionShotInterval>2</explosionShotInterval>
|
<armorPenetration>2</armorPenetration>
|
||||||
<explosionRadius>8</explosionRadius>
|
|
||||||
<explosionDamageDef>Wula_Dark_Matter_Flame</explosionDamageDef>
|
|
||||||
<explosionDamage>3500</explosionDamage>
|
|
||||||
<explosionSound>Explosion_Bomb</explosionSound>
|
|
||||||
<chanceToStartFire>1</chanceToStartFire>
|
|
||||||
</li>
|
</li>
|
||||||
</verbs>
|
</verbs>
|
||||||
<weaponTags>
|
<weaponTags>
|
||||||
@@ -189,7 +150,7 @@
|
|||||||
<defaultProjectile>Bullet_Wula_MR_Mobile_Factory_Turret</defaultProjectile>
|
<defaultProjectile>Bullet_Wula_MR_Mobile_Factory_Turret</defaultProjectile>
|
||||||
<range>36</range>
|
<range>36</range>
|
||||||
<minRange>8</minRange>
|
<minRange>8</minRange>
|
||||||
<defaultCooldownTime>5</defaultCooldownTime>
|
<defaultCooldownTime>1.5</defaultCooldownTime>
|
||||||
<burstShotCount>3</burstShotCount>
|
<burstShotCount>3</burstShotCount>
|
||||||
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
|
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
|
||||||
<soundCast>Shot_BeamRepeater</soundCast>
|
<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>
|
<graphicClass>Graphic_Multi</graphicClass>
|
||||||
<drawSize>6</drawSize>
|
<drawSize>6</drawSize>
|
||||||
<shadowData>
|
<shadowData>
|
||||||
<volume>(0.4, 0.8, 0.4)</volume>
|
<volume>(1.4, 1.8, 1.4)</volume>
|
||||||
</shadowData>
|
</shadowData>
|
||||||
</bodyGraphicData>
|
</bodyGraphicData>
|
||||||
</li>
|
</li>
|
||||||
@@ -505,6 +505,14 @@
|
|||||||
<weaponMoney>99999~99999</weaponMoney>
|
<weaponMoney>99999~99999</weaponMoney>
|
||||||
|
|
||||||
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
|
<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>
|
||||||
<PawnKindDef ParentName="Wula_Mech_Mobile_Factory">
|
<PawnKindDef ParentName="Wula_Mech_Mobile_Factory">
|
||||||
<defName>Wula_Mech_Mobile_Factory_1</defName> <!-- 修改了defName以避免冲突 -->
|
<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