RimWorld

RimWorld

Ikke nok vurderinger
Fix Strong Melee Spear AP
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Mod, 1.5
Filstørrelse:
Offentliggjort:
Opdateret:
418.991 KB
6. okt. 2024 kl. 12:03
10. okt. 2024 kl. 21:03
4 ændringsbemærkninger ( vis )

Abonner for at downloade
Fix Strong Melee Spear AP

Beskrivelse
Background:
In vanilla, the AP of every verb on every melee weapon is 1.5 times the verb damage. Strong melee gene will increase verb damage by 1.5, which increases AP as well. Weak melee damage gene will do the opposite.

This is true for every melee weapon, except the stab attack of the spear, and both the stab and cut attacks of monosword. The AP of these three attacks is only affected by weapon quality. Also, some implants (the knee spike, hand talon, and flesh whip) have non-standard AP. This can be a problem.

https://rimworldwiki.com/wiki/Spear
In the analysis of the spear, it's apparent that with the strong melee damage gene, the spear becomes almost obsolete because it loses its AP advantage against the longsword, which was its only advantage it had, since spear only does stab damage, which is generally worse than longsword's cut.

Mod:
This mod changes the game to ensure Strong Melee gene does affect spear AP. This makes it viable in the mid-to-late game, and justifies using them for aesthetic variety by giving it better strategic value. Weak melee damage gene will also decrease spear stab AP.

I guess the spear x strong melee damage gene interaction is not intentional, but it likely is, since it's been this way for many updates, so this mod is probably not actually a "fix".

This mod will also do the same for monosword, the implants, any other similar weapons from mods.

More specifically, the reason the spear was unaffected by strong melee was because the xml for spear specified its own armorPenetration value (0.5; this can be observed in-game by looking at the AP of a normal quality steel spear). The only thing this mod does is make it so any melee weapon that specified its own armorPenetration value will be affected by damage genes, including monosword, and other modded weapons.

Applies to all enemies. Neanderthal (strong melee) and Impid (weak melee) raids in vanilla usually carry spears.

Tip:
You can see the melee verbs of pawns, but the command is a bit hidden. In the dev mode actions/tools, find "Show more actions", then "T: List Melee Verbs"
14 kommentarer
艾许 9. dec. 2024 kl. 10:21 
Humanoid Alien Races
Poob  [ophavsmand] 5. dec. 2024 kl. 16:25 
whats har
艾许 5. dec. 2024 kl. 6:29 
not working for har
Poob  [ophavsmand] 10. okt. 2024 kl. 21:06 
I've updated the mod, and have tested with the implants you were talking about.

Their AP will now increase from strong melee gene.
Poob  [ophavsmand] 10. okt. 2024 kl. 18:40 
I tested and their AP did not increase. I might try to update the mod so they do
stun 10. okt. 2024 kl. 17:12 
I am not talking about a mod wtf is your problem?
Hand talon, knee spike and flesh whip don't follow the AP from damage curve.
Poob  [ophavsmand] 10. okt. 2024 kl. 9:43 
don't think any vanilla implants are like that so you're probably talking about a modded implant. I don't know any so I can't test right now. If I could test, I think the mod won't change implant's AP.
stun 10. okt. 2024 kl. 5:07 
Does this change the melee verbs you get from implants that have fixed AP values that don't scale with MDF?
Poob  [ophavsmand] 7. okt. 2024 kl. 5:29 
I think you're right. If you have a gang of slave impids and you give them all spears to mob high armor enemies, it'd be better than giving them all longswords. And the impids carrying spears in raids against you would be even weaker with the mod.

But also, you've selected only longsword. Whats better than giving them spears is giving them guns. Comparing spear and longsword for a weak melee pawn is like two homeless guys competing who's richer when they both have cents. And the danger of impid spearmen even in vanilla are not really most dangerous for their spears but rather they position themselves to spit fire.
OfGreyHairWaifu 7. okt. 2024 kl. 5:03 
But a longsword will still half both the damage AND the AP.
Meaning that the spear will at least be able to somewhat reliably deliver the low damage it will have on a weak melee pawn.