RimWorld
2,441 lượt đánh giá
PawnTargetFix
5
2
2
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Mod, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
Kích cỡ file
Đã đăng
Đã cập nhật
297.405 KB
5 Thg03, 2020 @ 6:04pm
16 Thg08 @ 7:21am
10 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
PawnTargetFix

Mô tả


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.
107 bình luận
Hibab10 26 Thg11 @ 11:12am 
Your mod breaks the weapon mechanics of the Wraith mechanoid from the Reinforced Mechanoid 2 (Continued) mod; it does not fire its weapon (which is a mortar).
Gabe Knight 2 Thg09 @ 8:51am 
Thank you. Can't wait to try it out.
lucky_one 🍀 16 Thg08 @ 4:07pm 
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 Thg08 @ 8:16am 
@Jellypowered
Thank you for quick fix work!
lucky_one 🍀 16 Thg08 @ 8:06am 
I will come back with some feedback if I have something worth commenting!
Jellypowered  [tác giả] 16 Thg08 @ 7:45am 
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 Thg08 @ 7:38am 
Amazing update, thanks chief
Jellypowered  [tác giả] 16 Thg08 @ 7:19am 
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 Thg08 @ 6:30am 
About文件夹下,2张gif图片,11.3M
Ishchyaboi 16 Thg08 @ 5:57am 
Is the *-first targetting a mod-wide setting or a colonist toggle?