RimWorld

RimWorld

2,341 hodnocení
PawnTargetFix
5
2
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Mod, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
Velikost souboru
Přidáno
Aktualizováno
297.405 KB
5. bře. 2020 v 18.04
16. srp. v 7.21
Poznámky ke změnám (10) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
PawnTargetFix

Popis


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.
Počet komentářů: 105
lucky_one 🍀 před 8 hodinami 
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 před 16 hodinami 
@Jellypowered
Thank you for quick fix work!
lucky_one 🍀 před 16 hodinami 
I will come back with some feedback if I have something worth commenting!
Jellypowered  [autor] před 16 hodinami 
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 🍀 před 16 hodinami 
Amazing update, thanks chief
Jellypowered  [autor] před 17 hodinami 
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 :)
无声飞雪 před 17 hodinami 
About文件夹下,2张gif图片,11.3M
Ishchyaboi před 18 hodinami 
Is the *-first targetting a mod-wide setting or a colonist toggle?
Proxyer před 18 hodinami 
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.
Jellypowered  [autor] před 23 hodinami 
Hey everyone! 🎯

Big update just dropped for Pawn Target Fix:

• You can now toggle between accuracy-first or proximity-first targeting.
• New settings for handling downed enemies, target stickiness, and retarget timing.
• Fully translatable (English, Chinese, Japanese, German, French, Russian).
• Performance improved with smarter caching.

Thanks for all the feedback in the comments, this update is based directly on your requests.
As always, let me know how it plays and if you spot anything odd!