Skip to content

Commit

Permalink
Add new shell art
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Jan 19, 2024
1 parent 74c0869 commit 7cd36a0
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 32 deletions.
48 changes: 16 additions & 32 deletions Defs/Ammo/Shell/81mmMortar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<ammoTypes>
<!-- Overrides vanilla artillery shell -->
<Shell_HighExplosive>Bullet_81mmMortarShell_HE</Shell_HighExplosive>
<Shell_HighExplosive_HF>Bullet_81mmMortarShell_HE_HF</Shell_HighExplosive_HF>
<Shell_HighExplosive_HFuzed>Bullet_81mmMortarShell_HE_HFuzed</Shell_HighExplosive_HFuzed>
<Shell_Incendiary>Bullet_81mmMortarShell_Incendiary</Shell_Incendiary>
<Shell_EMP>Bullet_81mmMortarShell_EMP</Shell_EMP>
<Shell_Firefoam>Bullet_81mmMortarShell_Firefoam</Shell_Firefoam>
Expand Down Expand Up @@ -68,26 +68,10 @@
</ThingDef>

<ThingDef Class="CombatExtended.AmmoDef" ParentName="81mmMortarShellBaseCraftableBase">
<defName>Shell_HighExplosive_HF</defName>
<label>81mm mortar shell (HE-HF)</label>
<graphicData>
<texPath>Things/Ammo/Mortar/HE</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
<MarketValue>50.09</MarketValue>
<Mass>5.27</Mass>
<Bulk>8.17</Bulk>
</statBases>
<ammoClass>RocketFrag</ammoClass>
<detonateProjectile>Bullet_81mmMortarShell_HE</detonateProjectile>
</ThingDef>

<ThingDef Class="CombatExtended.AmmoDef" ParentName="81mmMortarShellBaseCraftableBase">
<defName>Shell_HighExplosive_HF</defName>
<defName>Shell_HighExplosive_HFuzed</defName>
<label>81mm mortar shell (Airburst)</label>
<graphicData>
<texPath>Things/Ammo/Mortar/HE</texPath>
<texPath>Things/Ammo/Mortar/Airburst</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
Expand Down Expand Up @@ -246,8 +230,8 @@
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Bomb</damageDef>
<damageAmountBase>156</damageAmountBase>
<damageDef>Smoke</damageDef>
<damageAmountBase>0</damageAmountBase>
<explosionRadius>2.5</explosionRadius>
<flyOverhead>true</flyOverhead>
<soundExplode>MortarBomb_Explode</soundExplode>
Expand All @@ -265,32 +249,32 @@
</ThingDef>

<ThingDef ParentName="Base81mmMortarShell">
<defName>Bullet_81mmMortarShell_HE_HF</defName>
<defName>Bullet_81mmMortarShell_HE_HFuzed</defName>
<label>81mm mortar shell (Airburst)</label>
<thingClass>CombatExtended.ProjectileCE_HeightFuse</thingClass>
<graphicData>
<texPath>Things/Projectile/Mortar/HE</texPath>
<texPath>Things/Projectile/Mortar/Airburst</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Smoke</damageDef>
<damageAmountBase>0</damageAmountBase>
<explosionRadius>0.5</explosionRadius>
<damageDef>Bomb</damageDef>
<damageAmountBase>156</damageAmountBase>
<explosionRadius>1</explosionRadius>
<flyOverhead>true</flyOverhead>
<soundExplode>MortarBomb_Explode</soundExplode>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
<ai_IsIncendiary>true</ai_IsIncendiary>
<aimHeightOffset>6</aimHeightOffset>
<detonateMoteDef>Mote_BigExplode</detonateMoteDef>
<detonateEffectsScaleOverride>5</detonateEffectsScaleOverride>
<aimHeightOffset>8</aimHeightOffset>
<!-- <detonateMoteDef>Mote_BigExplode</detonateMoteDef>
<detonateEffectsScaleOverride>5</detonateEffectsScaleOverride> -->
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_Fragments">
<fragments>
<Fragment_Large>16</Fragment_Large>
<Fragment_Small>25</Fragment_Small>
</fragments>
<fragAngleRange>-89~-60</fragAngleRange>
<fragAngleRange>-64~-45</fragAngleRange>
</li>
</comps>
</ThingDef>
Expand Down Expand Up @@ -473,7 +457,7 @@
</RecipeDef>

<RecipeDef ParentName="AmmoRecipeBase">
<defName>MakeShell_HighExplosive_HF</defName>
<defName>MakeShell_HighExplosive_HFuzed</defName>
<label>make 81mm airburst mortar shells x5</label>
<description>Craft 5 81mm airburst mortar shells.</description>
<jobString>Making 81mm airburst mortar shells.</jobString>
Expand Down Expand Up @@ -511,7 +495,7 @@
</thingDefs>
</fixedIngredientFilter>
<products>
<Shell_HighExplosive_HF>5</Shell_HighExplosive_HF>
<Shell_HighExplosive_HFuzed>5</Shell_HighExplosive_HFuzed>
</products>
<skillRequirements>
<Crafting>5</Crafting>
Expand Down
Binary file added Textures/Things/Ammo/Cannon/Howitzer/AB/AB_a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/Things/Ammo/Cannon/Howitzer/AB/AB_b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/Things/Ammo/Cannon/Howitzer/AB/AB_c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/Things/Projectile/Cannon/Howitzer/AB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Textures/Things/Projectile/Mortar/Airburst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7cd36a0

Please sign in to comment.