Skip to content

RimDark 40K - Mankind's Finest: Armory Patch#4612

Open
Jawnner wants to merge 9 commits into
CombatExtended-Continued:Developmentfrom
Jawnner:RimDark-40K-Armory
Open

RimDark 40K - Mankind's Finest: Armory Patch#4612
Jawnner wants to merge 9 commits into
CombatExtended-Continued:Developmentfrom
Jawnner:RimDark-40K-Armory

Conversation

@Jawnner

@Jawnner Jawnner commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Additions

  • Patched weapons added by Mankind's Finest: Armory.
  • Primarily used a pre-existing patch and the already made patches for the Grimworld series of mods to balance initially.
  • Removed native ammo switch found in base mod and will instead use the different ammunition provided by Combat Extended.

Changes

  • None, first pass of this patch.

References

Reasoning

  • 40K weaponry is very advanced, specifically those used by the Space Marines.

Alternatives

  • Wanted to patch the guns to be able to use melee, but ran into multiple failures. Pretty sure something is funky with the xpath, as the patch method has been used before with no issues in various other patches.
Details of Patch Method Attempted

<Operation Class="PatchOperationReplace">
	<xpath>
		Defs/ThingDef[
		defName="BEWH_AstartesBoltPistol" or
		defName="BEWH_AstartesBoltPistol_Heavy" or
		defName="BEWH_AstartesPlasmaPistol"
		]/tools
	</xpath>
	<value>
		<tools>
			<li Class="CombatExtended.ToolCE">
				<label>grip</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>4</power>
				<cooldownTime>1.55</cooldownTime>
				<chanceFactor>1.5</chanceFactor>
				<armorPenetrationBlunt>2.755</armorPenetrationBlunt>
				<linkedBodyPartsGroup>Stock</linkedBodyPartsGroup>
			</li>
		</tools>
	</value>
</Operation>


<Operation Class="PatchOperationReplace">
    <xpath>
        Defs/ThingDef[
        defName="BEWH_AstartesBoltCarbine" or
        defName="BEWH_AstartesBoltCarbine_Oculus" or
        defName="BEWH_AstartesBoltRifle_Stalker" or
        defName="BEWH_AstartesBoltRifle_Heavy" or
        defName="BEWH_AstartesBoltRifle_Sniper" or
        defName="BEWH_AstartesPlasmaIncinerator"
        ]/tools
    </xpath>
    <value>
        <tools>
            <li Class="CombatExtended.ToolCE">
                <label>stock</label>
                <capacities>
                    <li>Blunt</li>
                </capacities>
                <power>8</power>
                <cooldownTime>1.55</cooldownTime>
                <chanceFactor>1.5</chanceFactor>
                <armorPenetrationBlunt>2.755</armorPenetrationBlunt>
            </li>
            <li Class="CombatExtended.ToolCE">
                <label>barrel</label>
                <capacities>
                    <li>Blunt</li>
                </capacities>
                <power>5</power>
                <cooldownTime>2.02</cooldownTime>
                <armorPenetrationBlunt>1.630</armorPenetrationBlunt>
            </li>
            <li Class="CombatExtended.ToolCE">
                <label>muzzle</label>
                <capacities>
                    <li>Poke</li>
                </capacities>
                <power>8</power>
                <cooldownTime>1.55</cooldownTime>
                <armorPenetrationBlunt>2.755</armorPenetrationBlunt>
            </li>
        </tools>
    </value>
</Operation>

Pictures of Errors

RimWorldWin64_OI2nk4oL27 RimWorldWin64_3eJo6AHYDq

Would welcome any input to get this working.

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • (For compatibility patches) ...with and without patched mod loaded
  • Playtested a colony (1 Year)

Jawnner added 6 commits June 6, 2026 18:52
Initial patch.
Patches refused to operate in any sort of capacity, tried multiple avenues and still wasn't able to get it to load sadly.
@Jawnner Jawnner requested review from a team as code owners June 7, 2026 23:50
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-27108538350.zip

@github-actions github-actions Bot added the Download in Comments This PR has a zipfile download available. label Jun 7, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-27182530007.zip

Fixed some of the paths to make sure they use the CE ammo properly.

Also brought mass/bulk in-line with the values from Grimworld, along with recoil amounts.
@github-actions

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-27245482542.zip

fixed pathing of the power fist to show properly (my local copy was good, this one wasn't), did some changes to weapon bulks, nerfed power fist a tad bit
@github-actions

Copy link
Copy Markdown

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-27474232135.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Download in Comments This PR has a zipfile download available.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant