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
3 changes: 2 additions & 1 deletion LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<li IfModActive="SamBucher.ADogSaidAnimalProsthetics2">ModPatches/ADogSaid2</li>
<li IfModActive="Millap.AOC">ModPatches/AOC The Cleanup Devil</li>
<li IfModActive="Ravvy.AMW">ModPatches/Advanced Mechanoid Warfare</li>
<li IfModActive="Sobb.AdvancedMechanoids">ModPatches/Advanced Mechanoids</li>
<li IfModActive="Mlie.AdvancedMortar">ModPatches/Advanced Mortar</li>
<li IfModActive="EV.all.tech.melee">ModPatches/All-Tech Melee</li>
<li IfModActive="sarg.alphaanimals">ModPatches/Alpha Animals</li>
Expand Down Expand Up @@ -253,7 +254,7 @@
<li IfModActive="detvisor.glitterweaponry">ModPatches/Glitter Weaponry</li>
<li IfModActive="RooAndGloomy.DragonianRaceMod">ModPatches/Gloomy Dragonian Race</li>
<li IfModActive="spoonshortage.gourimet">ModPatches/GouRIMet</li>
<li IfModActive="pphhyy.Guldennew">ModPatches/Gulden Mod</li>
<li IfModActive="pphhyy.Gulden">ModPatches/Gulden Mod</li>
<li IfModActive="Monti.HalfDragons">ModPatches/Half Dragons</li>
<li IfModActive="HLX.RimworldUNSCArmoury">ModPatches/Halo - UNSC Armoury</li>
<li IfModActive="TheInfinityIQ.Halo.UNSC">ModPatches/Halo UNSC Weapon Pack</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ========== Advanced Mechanoid Gun ThingDef ========== -->

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="AdvancedMechanoidGun"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>barrel</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>10</power>
<cooldownTime>2.0</cooldownTime>
<armorPenetrationBlunt>5.0</armorPenetrationBlunt>
<linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
</li>
</tools>
</value>
</Operation>

<!-- ========== Mini Rifle for Advanced Militor ========== -->

<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
<defName>Gun_MiniRifle</defName>
<statBases>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
<SightsEfficiency>1</SightsEfficiency>
<ShotSpread>0.01</ShotSpread>
<SwayFactor>0.55</SwayFactor>
<Bulk>9.00</Bulk>
</statBases>
<Properties>
<recoilAmount>1.33</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_762x51mmNATO_FMJ</defaultProjectile>
<warmupTime>1.2</warmupTime>
<range>54</range>
<soundCast>Shot_SniperRifle</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</Properties>
<AmmoUser>
<magazineSize>15</magazineSize>
<reloadTime>3</reloadTime>
<ammoSet>AmmoSet_762x51mmNATO</ammoSet>
</AmmoUser>
<FireModes>
<aiAimMode>Snapshot</aiAimMode>
</FireModes>
<weaponTags>
<li>CE_AI_AR</li>
<li>NoSwitch</li>
<li>MechanoidGunMiniRifle</li>
</weaponTags>
</Operation>

</Patch>
Loading