feat(wula): 更新武装穿梭机并添加新武器

- 重新设计了武装穿梭机的外观和性能
- 添加了带有口袋空间功能的武装穿梭机
- 新增了 PMr-89 "四叶" 自动炮和 PMr-88 "三叶" 突击步枪
- 优化了子弹和武器的特效
This commit is contained in:
2025-08-25 20:29:51 +08:00
parent 5cfb439a31
commit 2388034c82
6 changed files with 372 additions and 599 deletions

View File

@@ -1712,6 +1712,100 @@
</comps>
</HediffDef>-->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_Plasma_Homing_AR</defName>
<label>PMr-88"三叶"</label>
<description>乌拉帝国的旧式多用途突击步枪,搭载了一套用于发射等离子体的谐振器,可以射出高精度的等离子体,这种改型可以发射制导等离子体。</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Plasma_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.4</drawSize>
</graphicData>
<generateCommonality>1</generateCommonality>
<soundInteract>Interact_Rifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_BIO</li>
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1500</WorkToMake>
<Mass>3.0</Mass>
<AccuracyTouch>0.6</AccuracyTouch>
<AccuracyShort>0.75</AccuracyShort>
<AccuracyMedium>0.85</AccuracyMedium>
<AccuracyLong>0.8</AccuracyLong>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>100</Steel>
<ComponentIndustrial>5</ComponentIndustrial>
<Plasteel>20</Plasteel>
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootShotgun</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Plasma_Homing_AR</defaultProjectile>
<warmupTime>2.0</warmupTime>
<range>28</range>
<burstShotCount>3</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
<soundCast>Shot_BeamRepeater</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<aimingChargeMote>Mote_BeamRepeater_Charge</aimingChargeMote>
<aimingChargeMoteOffset>1.07</aimingChargeMoteOffset>
</li>
</verbs>
<weaponTags>
<li>Wula_Weapon_Init</li>
<li>HomingWeapon</li>
</weaponTags>
<thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Plasma_Homing_AR</defName>
<label>磷叶等离子体射弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
<color>(61,199,157,202)</color>
<drawSize>(0.75,1)</drawSize>
</graphicData>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>16</damageAmountBase>
<armorPenetrationBase>0.75</armorPenetrationBase>
<speed>30</speed>
</projectile>
<thingClass>WulaFallenEmpire.Projectile_TrackingBullet</thingClass>
<modExtensions>
<li Class="WulaFallenEmpire.TrackingBulletDef">
<homingSpeed>0.1</homingSpeed>
<initRotateAngle>30</initRotateAngle>
<destroyTicksAfterLosingTrack>
<min>60</min>
<max>120</max>
</destroyTicksAfterLosingTrack>
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
</li>
<li Class="WulaFallenEmpire.ShotgunExtension">
<pelletCount>2</pelletCount>
</li>
</modExtensions>
</ThingDef>
<!-- 萨克森装备 -->
<ThingDef ParentName="BaseGun">
<defName>WULA_WM_Panzer_Turret</defName>

View File

@@ -1,177 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_Plasma_Homing_AR</defName>
<label>PMr-88"三叶"</label>
<description>乌拉帝国的旧式多用途突击步枪,搭载了一套用于发射等离子体的谐振器,可以射出高精度的等离子体,这种改型可以发射制导等离子体。</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_Plasma_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.4</drawSize>
</graphicData>
<generateCommonality>1</generateCommonality>
<soundInteract>Interact_Rifle</soundInteract>
<weaponClasses>
<li>LongShots</li>
<li>RangedHeavy</li>
</weaponClasses>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_BIO</li>
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<statBases>
<WorkToMake>1500</WorkToMake>
<Mass>3.0</Mass>
<AccuracyTouch>0.6</AccuracyTouch>
<AccuracyShort>0.75</AccuracyShort>
<AccuracyMedium>0.85</AccuracyMedium>
<AccuracyLong>0.8</AccuracyLong>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>100</Steel>
<ComponentIndustrial>5</ComponentIndustrial>
<Plasteel>20</Plasteel>
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootShotgun</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Plasma_Homing_AR</defaultProjectile>
<warmupTime>2.0</warmupTime>
<range>28</range>
<burstShotCount>3</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
<soundCast>Shot_BeamRepeater</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<aimingChargeMote>Mote_BeamRepeater_Charge</aimingChargeMote>
<aimingChargeMoteOffset>1.07</aimingChargeMoteOffset>
</li>
</verbs>
<weaponTags>
<li>Wula_Weapon_Init</li>
<li>HomingWeapon</li>
</weaponTags>
<thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Plasma_Homing_AR</defName>
<label>磷叶等离子体射弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
<color>(61,199,157,202)</color>
<drawSize>(0.75,1)</drawSize>
</graphicData>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>16</damageAmountBase>
<armorPenetrationBase>0.75</armorPenetrationBase>
<speed>30</speed>
</projectile>
<thingClass>WulaFallenEmpire.Projectile_TrackingBullet</thingClass>
<modExtensions>
<li Class="WulaFallenEmpire.TrackingBulletDef">
<homingSpeed>0.1</homingSpeed>
<initRotateAngle>30</initRotateAngle>
<destroyTicksAfterLosingTrack>
<min>60</min>
<max>120</max>
</destroyTicksAfterLosingTrack>
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
</li>
<li Class="WulaFallenEmpire.ShotgunExtension">
<pelletCount>2</pelletCount>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_Plasma_HomingExplosive_Old</defName>
<label>PMe-92"磷灰"</label>
<description>搭载于SNm-6"狼蛛"机甲的高能等离子武器,会发射一连串密集且携带跟踪性能的等离子射弹,引起熔融爆炸并毁灭敌军。</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_WM_Alpha_Wolf_Plasma_Gun</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.4</drawSize>
</graphicData>
<generateCommonality>0.8</generateCommonality>
<soundInteract>Interact_ChargeRifle</soundInteract> <!-- Placeholder, needs a proper sound -->
<recipeMaker Inherit="False"/>
<statBases>
<WorkToMake>2000</WorkToMake>
<Mass>5.0</Mass>
<AccuracyTouch>0.4</AccuracyTouch>
<AccuracyShort>0.6</AccuracyShort>
<AccuracyMedium>0.7</AccuracyMedium>
<AccuracyLong>0.65</AccuracyLong>
<RangedWeapon_Cooldown>3.0</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>150</Steel>
<ComponentIndustrial>8</ComponentIndustrial>
<Plasteel>30</Plasteel>
<Uranium>10</Uranium>
</costList>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_RW_Plasma_HomingExplosive_Old</defaultProjectile>
<warmupTime>1.25</warmupTime>
<range>48</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>3</ticksBetweenBurstShots>
<soundCast>ChargeLance_Fire</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>7</muzzleFlashScale>
</li>
</verbs>
<weaponTags>
<!-- <li>WULA_WM_Alpha_Wolf_Plasma_Gun</li> -->
</weaponTags>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_RW_Plasma_HomingExplosive_Old</defName>
<label>磷灰等离子体爆弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<color>(61,199,157,202)</color>
<drawSize>(1.5,2)</drawSize>
</graphicData>
<thingClass>WulaFallenEmpire.Projectile_ExplosiveTrackingBullet</thingClass>
<projectile>
<speed>30</speed>
<damageDef>Damage_WULA_Plasma_Explosive</damageDef>
<damageAmountBase>10</damageAmountBase>
<armorPenetrationBase>0.7</armorPenetrationBase>
<stoppingPower>2.0</stoppingPower>
</projectile>
<modExtensions>
<li Class="WulaFallenEmpire.ExplosiveTrackingBulletDef">
<explosionRadius>2.5</explosionRadius>
<damageDef>Damage_WULA_Plasma_Explosive</damageDef>
</li>
<li Class="WulaFallenEmpire.TrackingBulletDef">
<homingSpeed>0.25</homingSpeed>
<initRotateAngle>90</initRotateAngle>
<destroyTicksAfterLosingTrack>
<min>60</min>
<max>120</max>
</destroyTicksAfterLosingTrack>
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
<impactThreshold>1</impactThreshold>
</li>
</modExtensions>
</ThingDef>
</Defs>