Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 108 additions & 1 deletion 1.6/Defs/ThingDefs/Weapons_CE_Guns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,113 @@
</modExtensions>
</ThingDef>


<!-- ==================== Sawed Off ==================== -->

<ThingDef ParentName="BaseHumanMakeableGun">
<defName>CE_Gun_SawedOff</defName>
<label>sawed-off shotgun</label>
<description>A double-barrel shotgun with a cut-off barrel for easier concealment and indoor deployment in urban areas.</description>
<graphicData>
<texPath>Things/Weapons/SawedOff</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(0.95,0.95)</drawSize>
</graphicData>
<possessionCount>1</possessionCount>
<soundInteract>Interact_Autopistol</soundInteract>
<weaponClasses>
<li>ShortShots</li>
</weaponClasses>
<statBases>
<WorkToMake>12500</WorkToMake>
<Mass>2.35</Mass>
<Bulk>5.84</Bulk>
<ShotSpread>0.17</ShotSpread>
<SwayFactor>0.81</SwayFactor>
<SightsEfficiency>1.00</SightsEfficiency>
<RangedWeapon_Cooldown>0.40</RangedWeapon_Cooldown>
</statBases>
<costList>
<Steel>30</Steel>
<WoodLog>5</WoodLog>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<recipeMaker>
<skillRequirements>
<Crafting>4</Crafting>
</skillRequirements>
</recipeMaker>
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<recoilAmount>3.58</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_12Gauge_Buck_SB</defaultProjectile>
<warmupTime>0.6</warmupTime>
<range>14</range>
<soundCast>Shot_Shotgun_NoRack</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</li>
</verbs>
<comps>
<li Class="CombatExtended.CompProperties_AmmoUser">
<magazineSize>2</magazineSize>
<AmmoGenPerMagOverride>4</AmmoGenPerMagOverride>
<reloadTime>0.85</reloadTime>
<reloadOneAtATime>true</reloadOneAtATime>
<ammoSet>AmmoSet_12Gauge_SB</ammoSet>
</li>
<li Class="CombatExtended.CompProperties_FireModes">
<aiAimMode>Snapshot</aiAimMode>
</li>
</comps>
<weaponTags>
<li>SimpleGun</li>
<li>ShortShots</li>
<li>CE_Sidearm</li>
<li>CE_AI_AssaultWeapon</li>
<li>CE_OneHandedWeapon</li>
<li>CE_AI_BROOM</li>
</weaponTags>
<tools>
<li Class="CombatExtended.ToolCE">
<label>grip</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>2</power>
<cooldownTime>1.54</cooldownTime>
<chanceFactor>1.5</chanceFactor>
<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
<linkedBodyPartsGroup>Grip</linkedBodyPartsGroup>
</li>
<li Class="CombatExtended.ToolCE">
<label>muzzle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>2</power>
<cooldownTime>1.54</cooldownTime>
<armorPenetrationBlunt>0.555</armorPenetrationBlunt>
<linkedBodyPartsGroup>Muzzle</linkedBodyPartsGroup>
</li>
</tools>
<modExtensions>
<li Class="CombatExtended.GunDrawExtension">
<DrawOffset>-0.05,-0.05</DrawOffset>
<DropCasingWhenReload>true</DropCasingWhenReload>
<AdvancedCasingVariables>true</AdvancedCasingVariables>
<CasingRotationRandomRange>20</CasingRotationRandomRange>
<CasingOffset>-0.1,0.05</CasingOffset>
<CasingSpeedOverrideRange>1.5~2</CasingSpeedOverrideRange>
<CasingAngleOffset>-135</CasingAngleOffset>
<CasingLifeTimeMultiplier>2</CasingLifeTimeMultiplier>
</li>
</modExtensions>
</ThingDef>


<!-- ==================== USAS-12 ==================== -->

<ThingDef ParentName="BaseHumanMakeableGun">
Expand Down Expand Up @@ -3099,4 +3206,4 @@
</tools>
</ThingDef>

</Defs>
</Defs>
Binary file modified About/Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This mod adds several new firearms designed to take advantage of new CE mechanic
### SMG's
- S-6 charge SMG
### Shotguns
- Sawed-off
- USAS-12
- S-12 charge shotgun
### Assault/battle rifles
Expand Down Expand Up @@ -44,4 +45,4 @@ This mod adds several new firearms designed to take advantage of new CE mechanic
- 105mm Howitzer

### License
This mod falls under the [Creative Commons 4.0 License](https://creativecommons.org/licenses/by-nc-sa/4.0/) and may only be shared or modified under the specified terms.
This mod falls under the [Creative Commons 4.0 License](https://creativecommons.org/licenses/by-nc-sa/4.0/) and may only be shared or modified under the specified terms.
Binary file added Textures/Things/Weapons/SawedOff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.