RimWorld
2,383 beoordelingen
PawnTargetFix
5
2
2
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Mod, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
Bestandsgrootte
Geplaatst op
Bijgewerkt op
297.405 KB
5 mrt 2020 om 18:04
16 aug om 7:21
10 wijzigingsnotities (weergeven)

Abonneren om te downloaden
PawnTargetFix

Omschrijving


Proximity vs. Accuracy Targeting

Left: Proximity-first (vanilla style) — pawns shoot the nearest enemy, even if they’re in heavy cover.
Right: Accuracy-first (new option) — pawns prefer enemies they’re more likely to hit, even if they’re further away.

Switch instantly in Mod Settings to match your playstyle.


**Pawn Target Fix** improves how pawns automatically pick their shooting targets.
Instead of only preferring the *closest* target, you can configure them to prefer the *most accurate* shot — taking into account distance, cover, weapon, and shooter skill.

Performance improved with smarter caching.

Features
  • Toggle between accuracy-first or proximity-first targeting
  • Configurable weighting for accuracy vs. distance
  • Optional near-range nudge to focus on close threats
  • Settings for downed enemies: none, deprioritize, or ignore
  • Stickiness: keep current target if “close enough” to best, reducing twitchy swaps
  • Minimum retarget interval via recent-target bonus
  • Built-in friendly-fire awareness
  • Fully translatable (English, 简体中文, 日本語, Deutsch, Français, Русский)

Compatibility
- Only patches AttackTargetFinder.GetShootingTargetScore.
- Compatible with most combat mods.
- Manual targeting is always respected.
- Should work in existing saves.

Settings
All options are configurable in the Mod Settings menu. Tune accuracy weight, penalties, bonuses, and stickiness to match your playstyle.

Notes
• Ignore downed enemies for smoother performance in very large battles.
• Combine with RunAndGun or similar mods for more natural auto-fire behavior.
106 opmerkingen
Gabe Knight 2 sep om 8:51 
Thank you. Can't wait to try it out.
lucky_one 🍀 16 aug om 16:07 
So far I didnt notice any performance hit (I would even say it feels better), played a few hours and faced lots of raids (100-200+ pawns-mechs), so looks like the default settings work just fine.

Thanks for your time boss
Proxyer 16 aug om 8:16 
@Jellypowered
Thank you for quick fix work!
lucky_one 🍀 16 aug om 8:06 
I will come back with some feedback if I have something worth commenting!
Jellypowered  [auteur] 16 aug om 7:45 
We will give this update some time to cook, but I would be very interested in getting some feedback regarding the performance in larger raids.
Did it get better?

Also If you guys find the "sweet spot" for the customization settings, I will gladly set them as defaults. I just threw some random numbers as starting points, as the bulk of the functions are just math, I know there will be some room for improvement.
lucky_one 🍀 16 aug om 7:38 
Amazing update, thanks chief
Jellypowered  [auteur] 16 aug om 7:19 
Fixed:
- Forgot to remove the gif's in the About folder.
- Moved the Japanese translation to it's proper home after drinking some coffee.


@Ishchyaboi The settings are Mod Wide :)
无声飞雪 16 aug om 6:30 
About文件夹下,2张gif图片,11.3M
Ishchyaboi 16 aug om 5:57 
Is the *-first targetting a mod-wide setting or a colonist toggle?
Proxyer 16 aug om 5:24 
Thank you for update!
I have one issue to report. The Japanese translation PawnTargetFix.xml file does not exist in the Keyed folder, but appears to exist directly under the Japanese folder. Please check it. Thank you.