Add pulse weapon defs and update plasma machine gun

Introduces YK32 Pulse Pistol and YK42B Pulse Rifle in WeaponDefs_Pulse.xml, both with recipes, stats, and effects. Updates Plasma Machine Gun in WeaponDefs_Plasma.xml to be craftable, adjusts parent class, adds crafting requirements, changes rarity, and modifies mod extensions for consistency.
This commit is contained in:
Ranger Rick
2025-12-23 12:44:14 -06:00
parent ce9f25f69c
commit 3e71b7e76b
2 changed files with 205 additions and 8 deletions
+19 -8
View File
@@ -807,9 +807,9 @@
</modExtensions> </modExtensions>
</ThingDef> </ThingDef>
<!-- PMG - Plasma Machine Gun (Unique) --> <!-- PMG - Plasma Machine Gun -->
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseHumanMakeableGun">
<defName>FCP_Gun_Plasma_Machine_Gun</defName> <defName>FCP_Gun_Plasma_Machine_Gun</defName>
<label>Plasma Machine Gun</label> <label>Plasma Machine Gun</label>
<description>The Plasma Machine Gun (PMG) is an experimental automatic plasma weapon that combines the rapid-fire capability of conventional machine guns with the devastating power of plasma technology. Using a revolutionary multi-cathode cyclic firing system, it can sustain fully automatic plasma fire at the cost of significant weight and power consumption. This unique heavy weapon was abandoned before mass production due to its extreme complexity.</description> <description>The Plasma Machine Gun (PMG) is an experimental automatic plasma weapon that combines the rapid-fire capability of conventional machine guns with the devastating power of plasma technology. Using a revolutionary multi-cathode cyclic firing system, it can sustain fully automatic plasma fire at the cost of significant weight and power consumption. This unique heavy weapon was abandoned before mass production due to its extreme complexity.</description>
@@ -821,6 +821,7 @@
<equippedAngleOffset>45</equippedAngleOffset> <equippedAngleOffset>45</equippedAngleOffset>
<soundInteract>FCP_Sound_Interact_Plasma_Rifle</soundInteract> <soundInteract>FCP_Sound_Interact_Plasma_Rifle</soundInteract>
<statBases> <statBases>
<WorkToMake>120000</WorkToMake>
<Mass>6.5</Mass> <Mass>6.5</Mass>
<AccuracyTouch>0.75</AccuracyTouch> <AccuracyTouch>0.75</AccuracyTouch>
<AccuracyShort>0.70</AccuracyShort> <AccuracyShort>0.70</AccuracyShort>
@@ -828,17 +829,15 @@
<AccuracyLong>0.40</AccuracyLong> <AccuracyLong>0.40</AccuracyLong>
<RangedWeapon_Cooldown>2.2</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>2.2</RangedWeapon_Cooldown>
</statBases> </statBases>
<smeltable>false</smeltable> <recipeMaker>
<thingSetMakerTags> <researchPrerequisite>FCP_Research_Plasma_Weapons_Manufacturing</researchPrerequisite>
<li>RewardStandardLowFreq</li> <skillRequirements>
<li>RewardStandardQualitySuper</li> <Crafting>11</Crafting>
</thingSetMakerTags>
<weaponTags> <weaponTags>
<li>FCP_Heavy_Energy_Weapon</li> <li>FCP_Heavy_Energy_Weapon</li>
<li>FCP_Energy_Weapon</li> <li>FCP_Energy_Weapon</li>
<li>FCP_Heavy_Plasma_Weapon</li> <li>FCP_Heavy_Plasma_Weapon</li>
<li>FCP_Plasma_Weapon</li> <li>FCP_Plasma_Weapon</li>
<li>FCP_Unique_Weapon</li>
</weaponTags> </weaponTags>
<weaponClasses> <weaponClasses>
<li>RangedHeavy</li> <li>RangedHeavy</li>
@@ -877,6 +876,18 @@
</li> </li>
</tools> </tools>
<comps> <comps>
<li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Rare</rarity>
</li>
</comps>
<modExtensions>
<li Class="FalloutCore.DeathEffectModExtension">
<effectChance>0.70</effectChance>
</li>
</modExtensions>
</ThingDef>
</Defs> <comps>
<li Class="FCP.Core.CompProperties_LabelColored"> <li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Unique</rarity> <rarity>Unique</rarity>
</li> </li>
+186
View File
@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!--__________ Energy Weapons __________-->
<!--_____ FCP Pulse Weapons _____-->
<!-- YK32 Pulse Pistol -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>FCP_Gun_YK32_Pulse_Pistol</defName>
<label>YK32 Pulse Pistol</label>
<description>The YK32 is a compact electromagnetic pulse weapon designed for close-quarters anti-mechanoid combat. It fires concentrated electromagnetic pulses that disrupt electronic systems and neural implants while dealing moderate kinetic damage. Particularly effective against mechanoids and shielded targets, though less lethal against unarmored organic targets than conventional weapons.</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Things/Weapons/Pulse/FCP_YK32_Pulse_Pistol</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Autopistol</soundInteract>
<statBases>
<WorkToMake>75000</WorkToMake>
<Mass>2.8</Mass>
<AccuracyTouch>0.88</AccuracyTouch>
<AccuracyShort>0.82</AccuracyShort>
<AccuracyMedium>0.68</AccuracyMedium>
<AccuracyLong>0.52</AccuracyLong>
<RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown>
</statBases>
<recipeMaker>
<researchPrerequisite>FCP_Research_Energy_Based_Weaponry</researchPrerequisite>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
<recipeUsers Inherit="False">
<li>FCP_Production_Fabrication_Workbench</li>
</recipeUsers>
</recipeMaker>
<costList>
<Plasteel>40</Plasteel>
<ComponentSpacer>5</ComponentSpacer>
</costList>
<thingSetMakerTags>
<li>RewardStandardLowFreq</li>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
<weaponTags>
<li>FCP_Energy_Weapon</li>
<li>FCP_Pulse_Weapon</li>
</weaponTags>
<weaponClasses>
<li>RangedLight</li>
</weaponClasses>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_EMPLauncher</defaultProjectile>
<warmupTime>1.0</warmupTime>
<range>22.9</range>
<soundCast>Shot_ChargeBlaster</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</li>
</verbs>
<tools>
<li>
<label>grip</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
<li>
<label>barrel</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
</tools>
<comps>
<li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Rare</rarity>
</li>
</comps>
<modExtensions>
<li Class="FalloutCore.DeathEffectModExtension">
<effectChance>0.25</effectChance>
</li>
</modExtensions>
</ThingDef>
<!-- YK42B Pulse Rifle -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>FCP_Gun_YK42B_Pulse_Rifle</defName>
<label>YK42B Pulse Rifle</label>
<description>The YK42B represents the pinnacle of pre-War electromagnetic pulse weaponry. This military-grade pulse rifle fires high-intensity electromagnetic bursts capable of catastrophically disrupting mechanoid systems and neural networks at medium range. Its advanced capacitor array allows for sustained anti-mechanoid operations, making it invaluable in conflicts against automated forces. The weapon is particularly devastating against shielded and electronic targets, though its reduced lethality against unarmored organics limits its versatility.</description>
<techLevel>Spacer</techLevel>
<graphicData>
<texPath>Things/Weapons/Pulse/FCP_YK42_Pulse_Rifle</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_ChargeRifle</soundInteract>
<statBases>
<WorkToMake>95000</WorkToMake>
<Mass>4.5</Mass>
<AccuracyTouch>0.85</AccuracyTouch>
<AccuracyShort>0.88</AccuracyShort>
<AccuracyMedium>0.82</AccuracyMedium>
<AccuracyLong>0.72</AccuracyLong>
<RangedWeapon_Cooldown>1.8</RangedWeapon_Cooldown>
</statBases>
<recipeMaker>
<researchPrerequisite>FCP_Research_Energy_Based_Weaponry</researchPrerequisite>
<skillRequirements>
<Crafting>11</Crafting>
</skillRequirements>
<recipeUsers Inherit="False">
<li>FCP_Production_Fabrication_Workbench</li>
</recipeUsers>
</recipeMaker>
<costList>
<Plasteel>60</Plasteel>
<ComponentSpacer>8</ComponentSpacer>
</costList>
<thingSetMakerTags>
<li>RewardStandardLowFreq</li>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
<weaponTags>
<li>FCP_Energy_Weapon</li>
<li>FCP_Pulse_Weapon</li>
</weaponTags>
<weaponClasses>
<li>RangedLight</li>
</weaponClasses>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_EMPLauncher</defaultProjectile>
<warmupTime>1.2</warmupTime>
<range>30.9</range>
<burstShotCount>3</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
<soundCast>Shot_ChargeBlaster</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</li>
</verbs>
<tools>
<li>
<label>stock</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
<li>
<label>barrel</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
</tools>
<comps>
<li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Rare</rarity>
</li>
</comps>
<modExtensions>
<li Class="FalloutCore.DeathEffectModExtension">
<effectChance>0.30</effectChance>
</li>
</modExtensions>
</ThingDef>
</Defs>