边缘世界 RimWorld

边缘世界 RimWorld

2,441 个评价
PawnTargetFix
5
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
297.405 KB
2020 年 3 月 5 日 下午 6:04
8 月 16 日 上午 7:21
10 项改动说明 ( 查看 )

订阅以下载
PawnTargetFix

描述


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 条留言
Hibab10 11 月 26 日 上午 11:12 
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 9 月 2 日 上午 8:51 
Thank you. Can't wait to try it out.
lucky_one 🍀 8 月 16 日 下午 4: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 8 月 16 日 上午 8:16 
@Jellypowered
Thank you for quick fix work!
lucky_one 🍀 8 月 16 日 上午 8:06 
I will come back with some feedback if I have something worth commenting!
Jellypowered  [作者] 8 月 16 日 上午 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 🍀 8 月 16 日 上午 7:38 
Amazing update, thanks chief
Jellypowered  [作者] 8 月 16 日 上午 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 :)
无声飞雪 8 月 16 日 上午 6:30 
About文件夹下,2张gif图片,11.3M
Ishchyaboi 8 月 16 日 上午 5:57 
Is the *-first targetting a mod-wide setting or a colonist toggle?