Skip to content

Commit

Permalink
Merge pull request #3153 from SamaelGray/SamaelGray-SB7.62Soviet
Browse files Browse the repository at this point in the history
Short Barrel 7.62 Soviet ammoset
  • Loading branch information
N7Huntsman authored May 26, 2024
2 parents 55426b8 + 07a287e commit cf472ff
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions Defs/Ammo/Rifle/762x39mmSoviet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@
<similarTo>AmmoSet_RifleIntermediate</similarTo>
</CombatExtended.AmmoSetDef>

<CombatExtended.AmmoSetDef>
<defName>AmmoSet_762x39mmSoviet_SB</defName>
<label>7.62x39 Soviet</label>
<ammoTypes>
<Ammo_762x39mmSoviet_FMJ>Bullet_762x39mmSoviet_FMJ_SB</Ammo_762x39mmSoviet_FMJ>
<Ammo_762x39mmSoviet_AP>Bullet_762x39mmSoviet_AP_SB</Ammo_762x39mmSoviet_AP>
<Ammo_762x39mmSoviet_HP>Bullet_762x39mmSoviet_HP_SB</Ammo_762x39mmSoviet_HP>
<Ammo_762x39mmSoviet_Incendiary>Bullet_762x39mmSoviet_Incendiary_SB</Ammo_762x39mmSoviet_Incendiary>
<Ammo_762x39mmSoviet_HE>Bullet_762x39mmSoviet_HE_SB</Ammo_762x39mmSoviet_HE>
<Ammo_762x39mmSoviet_Sabot>Bullet_762x39mmSoviet_Sabot_SB</Ammo_762x39mmSoviet_Sabot>
</ammoTypes>
<similarTo>AmmoSet_RifleIntermediate</similarTo>
</CombatExtended.AmmoSetDef>

<!-- ==================== Ammo ========================== -->

<ThingDef Class="CombatExtended.AmmoDef" Name="762x39mmSovietBase" ParentName="SmallAmmoBase" Abstract="True">
Expand Down Expand Up @@ -215,6 +229,86 @@
</projectile>
</ThingDef>

<!-- Short barrel -->

<ThingDef ParentName="Base762x39mmSovietBullet">
<defName>Bullet_762x39mmSoviet_FMJ_SB</defName>
<label>7.62mm Soviet bullet (FMJ)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>15</damageAmountBase>
<armorPenetrationSharp>4.5</armorPenetrationSharp>
<armorPenetrationBlunt>29.56</armorPenetrationBlunt>
<speed>123</speed>
</projectile>
</ThingDef>

<ThingDef ParentName="Base762x39mmSovietBullet">
<defName>Bullet_762x39mmSoviet_AP_SB</defName>
<label>7.62mm Soviet bullet (AP)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>9</damageAmountBase>
<armorPenetrationSharp>9</armorPenetrationSharp>
<armorPenetrationBlunt>29.56</armorPenetrationBlunt>
<speed>123</speed>
</projectile>
</ThingDef>

<ThingDef ParentName="Base762x39mmSovietBullet">
<defName>Bullet_762x39mmSoviet_HP_SB</defName>
<label>7.62mm Soviet bullet (HP)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>19</damageAmountBase>
<armorPenetrationSharp>2.5</armorPenetrationSharp>
<armorPenetrationBlunt>29.56</armorPenetrationBlunt>
<speed>123</speed>
</projectile>
</ThingDef>

<ThingDef ParentName="Base762x39mmSovietBullet">
<defName>Bullet_762x39mmSoviet_Incendiary_SB</defName>
<label>7.62mm Soviet bullet (AP-I)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>9</damageAmountBase>
<armorPenetrationSharp>9</armorPenetrationSharp>
<armorPenetrationBlunt>29.56</armorPenetrationBlunt>
<speed>123</speed>
<secondaryDamage>
<li>
<def>Flame_Secondary</def>
<amount>6</amount>
</li>
</secondaryDamage>
</projectile>
</ThingDef>

<ThingDef ParentName="Base762x39mmSovietBullet">
<defName>Bullet_762x39mmSoviet_HE_SB</defName>
<label>7.62mm Soviet bullet (AP-HE)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>15</damageAmountBase>
<armorPenetrationSharp>4.5</armorPenetrationSharp>
<armorPenetrationBlunt>29.56</armorPenetrationBlunt>
<speed>123</speed>
<secondaryDamage>
<li>
<def>Bomb_Secondary</def>
<amount>9</amount>
</li>
</secondaryDamage>
</projectile>
</ThingDef>

<ThingDef ParentName="Base762x39mmSovietBullet">
<defName>Bullet_762x39mmSoviet_Sabot_SB</defName>
<label>7.62mm Soviet bullet (Sabot)</label>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>7</damageAmountBase>
<armorPenetrationSharp>15.75</armorPenetrationSharp>
<armorPenetrationBlunt>38.34</armorPenetrationBlunt>
<speed>167</speed>
</projectile>
</ThingDef>

<!-- ==================== Recipes ========================== -->

<RecipeDef ParentName="AmmoRecipeBase">
Expand Down

0 comments on commit cf472ff

Please sign in to comment.