-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-target does not auto-target through display racks #38285
Comments
Ranged auto-target or melee ranged auto-target? |
This is ranged, Melee is a different story for 2-tile reach, but I think it would still be nice to have melee auto-target through display rack and windows, etc |
I'm pretty sure I saw a recentish (last month or so) PR that went through that made it so that you can't auto-target through terrain marked impassable, so that more serious threats are targeted first in a swarm scenario. You should be able to still manually aim and fire, though. |
Yes that is correct, I added that check to prevent targeting through walls or glass. I'll take a look at this but finding the right logic for targeting though isn't easy, as in I'm not sure what flags or features differentiate a shelf you can stab through from a wall from a glass wall and it might not be doable at present without adding an additional flag. |
Now laser weapons can't auto-target when the enemy is behind a glass wall too. |
one other thing: auto-target still sometimes targets stuff on other z-levels, through the roof or floor. |
Do you have any special mutations or bionics related to sight? Really thought those were taken care of. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Describe the bug
As title, also noticed that it doesn't auto-target through unbroken windows
Steps To Reproduce
Expected behavior
Auto target through display rack
Versions and configuration
Dark Days Ahead [dda],
No Fungal Monsters [No_Fungi],
Disable Religious Texts [no_religious_Texts]
]
The text was updated successfully, but these errors were encountered: