[XND] Targeting Modes

If you liked this item, please rate it up on Steam Workshop page.

Author: XeoNovaDan

Last revision: 17 Oct, 2018 at 17:39 UTC

File size: 467.97 KB

On Steam Workshop

Description:

Direct download from GitHub[github.com] (source[github.com])

Compatibility

Works with What The Hack by Roolo. Should also work with most alien races and animal mods. Can safely be added to ongoing savegames but there may be issues removing this from ongoing savegames.

There are no known incompatibilities.

If you find any bugs, please link me to a full output log and give some basic information on how you triggered the bug; this is vital information for me to be able to fix said bugs.

Overview

Showcase by BaRKy – thanks!

Targeting Modes sort of brings V.A.T.S from the Fallout universe to RimWorld, so you can now have your colonists and obedience-trained animals lay waste to those who dare oppose you by having them prioritize which body part groups they target, whether it be in ranged or melee combat. If you’re using What The Hack by Roolo, you can even have your mechanoids join in on the head-slicing/blasting fun when they’re being controlled!

There are five possible targeting modes:

  • General – This is the same as vanilla, and the default targeting mode for all pawns. There are no accuracy penalties.
  • Head – Pawns will prioritize getting hits off on the target’s head, with head hits being ~4x more likely (~8x against humans since their base chance is so low). There’s a significant accuracy penalty of 30% though.
  • Body – Pawns will prioritize outright mangling their target’s body, with body hits being ~2x more likely. There’s a minor accuracy penalty of 10%.
  • Arms – Pawns will prioritize hindering their target’s manipulation, with arm hits and so on being ~3x more likely. There’s a moderate accuracy penalty of 20%.
  • Legs – Pawns will prioritize inhibiting their target’s movement, with leg hits and so on being ~3x more likely. There’s a moderate accuracy penalty of 20%.

With the differing characteristics of each mode, an extra layer of strategy has been added to the game. To change a pawn’s targeting mode, click the ‘Targeting’ button at the bottom of the screen, and then select which targeting mode you want your pawn to use:

You can also change multiple pawns’ targeting modes simultaneously just by selecting them all at once, then change the mode just like you would with a single pawn. After a certain amount of time out of combat, targeting modes will automatically reset to the general mode to cover you if you forgot to reset everybody’s modes.

Beware though, because raiders can also use targeting modes! With smart raids, any raider with a skill level of 8 or above with the weapon they have equipped could also deviate from the general targeting mode. Some mechanoid raiders have also been programmed to favor a body part group over others, and some animals in manhunter packs may prefer tearing off certain body parts provided they’ve got at least intermediate trainable intelligence.

Don’t like some of the above? Fret not for you can configure this mod through mod settings! Changeable aspects of this mod include whether certain targeting modes even affect accuracy, how often the game will try to reset targeting modes (or if it even tries to), whether hostiles can use targeting modes and how likely they are to use targeting modes.

I’d also recommend using this with something like Custom Death Randomness to be able to eliminate the random death-on-downed chance when even incapacitating your foes.

Powered by the Harmony Patch Library.

Credits

Shotgunfrenzy – for his fantastic work with the preview image and the UI icons for each targeting mode!
Brrainz – for his fantastic work with the Harmony Patch Library. This wouldn’t have been possible without it!
Why_is_that – for their Settings Helper which allowed for labeled sliders.
AUTOMATIC – for helping get the raider target mode functionality working
Marnador – for their RimWorld-style font
Sentient_Worm – for their countless bug reports

License

As is standard with my mods: you may include this mod in a mod pack, and you may derive from this, but please inform me if you’re doing so through Ludeon Forums (preferably) or the Steam Comments Section, and give credit where credit’s due.