Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
12 changes: 7 additions & 5 deletions Defs/Ammo/Modded/Warhammer 40k/Bolter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,19 @@

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

<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoBolter75Base" ParentName="SmallAmmoBase" Abstract="True">
<description>A .75 caliber, gryojet-stabilized projectile with an explosive charge and hardened tip, fired from most patterns of Astartes bolters.</description>
<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoBolter75Base" ParentName="SmallAmmoBase"
Abstract="True">
<description>A .75 caliber, gryojet-stabilized projectile with an explosive charge and
hardened tip, fired from most patterns of Astartes bolters.</description>
<statBases>
<Mass>0.1</Mass>
<Bulk>0.08</Bulk>
</statBases>
<tradeTags>
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting</li>
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_MediumAmmo</li>
<li MayRequire="gf40k.iom.weaponry">CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_MediumAmmo</li>
</tradeTags>
<thingCategories>
<li>AmmoBolter75</li>
Expand Down Expand Up @@ -572,4 +574,4 @@
<workAmount>15840</workAmount>
</RecipeDef>

</Defs>
</Defs>
12 changes: 7 additions & 5 deletions Defs/Ammo/Modded/Warhammer 40k/Bolter_Small.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@

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

<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoBolter50Base" ParentName="SmallAmmoBase" Abstract="True">
<description>A .50 caliber, gryojet-stabilized projectile with an explosive charge and hardened tip, fired from most patterns of Astartes bolters.</description>
<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoBolter50Base" ParentName="SmallAmmoBase"
Abstract="True">
<description>A .50 caliber, gryojet-stabilized projectile with an explosive charge and
hardened tip, fired from most patterns of Astartes bolters.</description>
<statBases>
<Mass>0.045</Mass>
<Bulk>0.03</Bulk>
</statBases>
<tradeTags>
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting</li>
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_MediumAmmo</li>
<li MayRequire="gf40k.iom.weaponry">CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_MediumAmmo</li>
</tradeTags>
<thingCategories>
<li>AmmoBolter50</li>
Expand Down Expand Up @@ -376,4 +378,4 @@
<workAmount>7920</workAmount>
</RecipeDef>

</Defs>
</Defs>
2 changes: 1 addition & 1 deletion Defs/Ammo/Modded/Warhammer 40k/HeavyBolter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<tradeTags>
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting</li>
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
<li MayRequire="gf40k.iom.weaponry">CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_HeavyAmmo</li>
</tradeTags>
<thingCategories>
Expand Down
2 changes: 1 addition & 1 deletion Defs/Ammo/Modded/Warhammer 40k/LasGun.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting_FabricationBench</li>
<li>CE_AutoEnableCrafting_TableMachining</li>
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
<li MayRequire="gf40k.iom.weaponry">CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_Ammo</li>
</tradeTags>
<thingCategories>
Expand Down
2 changes: 1 addition & 1 deletion Defs/Ammo/Modded/Warhammer 40k/MeltaGun.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tradeTags>
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting_FabricationBench</li>
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
<li MayRequire="gf40k.iom.weaponry">CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_MediumAmmo</li>
</tradeTags>
<ammoClass>Melta</ammoClass>
Expand Down
2 changes: 1 addition & 1 deletion Defs/Ammo/Modded/Warhammer 40k/PlasmaCannon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<tradeTags>
<li>CE_AutoEnableTrade</li>
<li>CE_AutoEnableCrafting</li>
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
<li MayRequire="gf40k.iom.weaponry">CE_AutoEnableCrafting_GWAmmoBench</li>
<li>CE_40K_MediumAmmo</li>
</tradeTags>
<thingCategories>
Expand Down
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@
<li IfModActive="Ryflamer.Rimcraft.Metals">ModPatches/Rimcraft Metals</li>
<li IfModActive="Ryflamer.Rimcraft.Scenarios">ModPatches/Rimcraft Scenario</li>
<li IfModActive="Ryflamer.Rimcraft.Weaponry">ModPatches/Rimcraft Weaponry</li>
<li IfModActive="phonicmas.rimdark.mankindsfinest">ModPatches/RimDark 40k - Mankinds Finest</li>
<li IfModActive="Ogam.Rimedieval.Royalty">ModPatches/Rimedieval - Medieval Royalty</li>
<li IfModActive="Dubwise.Rimefeller">ModPatches/Rimefeller</li>
<li IfModActive="CP.RimmuNation.Clothing">ModPatches/Rimmu-Nation - Clothing</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="BEWH_SteelRainDropPodBuilding"]/statBases</xpath>
<value>
<AimingAccuracy>1</AimingAccuracy>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>
Defs/ThingDef[defName="BEWH_SteelRainDropPodBuilding"]/statBases/ShootingAccuracyTurret</xpath>
<value>
<ShootingAccuracyTurret>1.5</ShootingAccuracyTurret>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>
Defs/ThingDef[defName="BEWH_SteelRainDropPodBuilding"]/comps/li[@Class="CompProperties_Explosive"]</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_SteelRainDropPodBuilding"]/fillPercent</xpath>
<value>
<fillPercent>0.85</fillPercent>
</value>
</Operation>


<!-- Turret Gun
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_SteelRainDropPodBuilding"]/thingClass</xpath>
<value>
<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
</value>
</Operation>-->

<!-- Changing Projectile's thingClass to CE ones

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_BolterRound"]/thingClass</xpath>
<value>
<thingClass>CombatExtended.ProjectileCE</thingClass>
</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_BolterRound"]/projectile</xpath>
<value>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageAmountBase>49</damageAmountBase>
<damageDef>Bullet</damageDef>
<speed>135</speed>
<armorPenetrationSharp>30</armorPenetrationSharp>
<armorPenetrationBlunt>384.48</armorPenetrationBlunt>
<secondaryDamage>
<li>
<def>Bomb_Secondary</def>
<amount>30</amount>
</li>
</secondaryDamage>
</projectile>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_SteelRainDropPodTurret"]/statBases</xpath>
<value>
<statBases>
<ShootingAccuracyTurret>1.5</ShootingAccuracyTurret>
<AimingAccuracy>1</AimingAccuracy>
<RangedWeapon_Cooldown>1.20</RangedWeapon_Cooldown>
<Mass>5</Mass>
<Flammability>0</Flammability>
<DeteriorationRate>0</DeteriorationRate>
</statBases>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_SteelRainDropPodTurret"]/verbs</xpath>
<value>
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<recoilAmount>1.25</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>True</hasStandardCommand>
<defaultProjectile>Bullet_Bolter75_Standard</defaultProjectile>
<warmupTime>1.25</warmupTime>
<range>69</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
<soundCast>BEWH_SFX_BolterShot</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>12</muzzleFlashScale>
<recoilPattern>Mounted</recoilPattern>
</li>
</verbs>
</value>
</Operation>-->


<!-- Rogal Dorn Raise Bastion Turrets-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_RaisedTurret"]/thingClass</xpath>
<value>
<thingClass>CombatExtended.Building_TurretGunCE</thingClass>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="BEWH_RaisedTurretTopGun"]</xpath>
<value>
<fillPercent>0.85</fillPercent>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_RaisedTurret"]/fillPercent</xpath>
<value>
<fillPercent>0.85</fillPercent>
</value>
</Operation>

<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
<defName>BEWH_RaisedTurretTopGun</defName>
<statBases>
<SwayFactor>1.2</SwayFactor>
<ShotSpread>0.08</ShotSpread>
<SightsEfficiency>1.2</SightsEfficiency>
<RangedWeapon_Cooldown>0.45</RangedWeapon_Cooldown>
<Flammability>0</Flammability>
<DeteriorationRate>0</DeteriorationRate>
</statBases>
<AmmoUser>
<magazineSize>60</magazineSize>
<reloadTime>4</reloadTime>
<ammoSet>AmmoSet_Bolter75</ammoSet>
</AmmoUser>
<weaponTags
Inherit="False">
<li>TurretGun</li>
</weaponTags>
<FireModes>
<aiAimMode>AimedShot</aiAimMode>
<aiUseBurstMode>True</aiUseBurstMode>
<aimedBurstShotCount>6</aimedBurstShotCount>
</FireModes>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_RaisedTurretTopGun"]/verbs</xpath>
<value>
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
<recoilAmount>1.25</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>True</hasStandardCommand>
<defaultProjectile>Bullet_Bolter75_Standard</defaultProjectile>
<warmupTime>0.85</warmupTime>
<range>69</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<soundCast>BEWH_SFX_BolterShot</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>12</muzzleFlashScale>
</li>
</verbs>
</value>
</Operation>


<!-- ============== Betcher's Spit ================ -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="BEWH_BetchersSpit"]/verbProperties/range</xpath>
<value>
<range>32</range>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_SpitProjectile"]/projectile</xpath>
<value>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>AcidBurn</damageDef>
<speed>48</speed>
<damageAmountBase>18</damageAmountBase>
<armorPenetrationBlunt>8</armorPenetrationBlunt>
<shadowSize>0</shadowSize>
<filth>Filth_SpentAcid</filth>
<filthCount>1</filthCount>
<arcHeightFactor>0.4</arcHeightFactor>
</projectile>
</value>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<!-- Remove Head Armor Statbases-->
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="BEWH_MkVIIPowerArmorHelmet" or
defName="BEWH_MkXPowerArmorHelmet" or
defName="BEWH_MkXPowerArmorChaplainHelmet" or defName="BEWH_LivingSaintArmorHelmet" or
defName="BEWH_MkIPowerArmorHelmet"]/statBases/ArmorRating_Sharp</xpath>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="BEWH_MkVIIPowerArmorHelmet" or
defName="BEWH_MkXPowerArmorHelmet" or
defName="BEWH_MkXPowerArmorChaplainHelmet" or defName="BEWH_LivingSaintArmorHelmet" or
defName="BEWH_MkIPowerArmorHelmet"]/statBases/ArmorRating_Blunt</xpath>
</Operation>


<!-- Remove Body Armor Statbases-->
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="BEWH_MkVIIPowerArmor" or defName="BEWH_MkXPowerArmor" or
defName="BEWH_MkXPowerArmorChaplain" or defName="BEWH_LivingSaintArmor" or
defName="BEWH_MkIPowerArmor"]/statBases/ArmorRating_Sharp</xpath>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="BEWH_MkVIIPowerArmor" or defName="BEWH_MkXPowerArmor" or
defName="BEWH_MkXPowerArmorChaplain" or defName="BEWH_LivingSaintArmor" or
defName="BEWH_MkIPowerArmor"]/statBases/ArmorRating_Blunt</xpath>
</Operation>


<!-- ===== Power Armor Helmet Base ====== -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="BEWH_PowerArmorHelmetBase"]/statBases</xpath>
<value>
<Bulk>9</Bulk>
<WornBulk>2</WornBulk>
<ArmorRating_Sharp>25</ArmorRating_Sharp>
<ArmorRating_Blunt>57</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="BEWH_PowerArmorHelmetBase"]/statBases/Mass</xpath>
<value>
<Mass>9</Mass>
</value>
</Operation>


<!-- ===== Power Armor Base ====== -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="BEWH_PowerArmorBase"]/statBases/Mass</xpath>
<value>
<Mass>44</Mass>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="BEWH_PowerArmorBase"]/statBases</xpath>
<value>
<Bulk>55</Bulk>
<WornBulk>9</WornBulk>
<ArmorRating_Sharp>35</ArmorRating_Sharp>
<ArmorRating_Blunt>65</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="BEWH_PowerArmorBase"]/equippedStatOffsets</xpath>
<value>
<CarryWeight>100</CarryWeight>
<CarryBulk>50</CarryBulk>
</value>
</Operation>
</Patch>
Loading