Skip to content
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

Airlock De Densification[WIP] #2373

Conversation

InsightfulParasite
Copy link
Collaborator

@InsightfulParasite InsightfulParasite commented Aug 7, 2024

About The Pull Request

Replaces the density variable in doors into closed_door variable. This seems to block all things including projectiles.
Go_to proc paths around structures that are dense. If a door is defined as not dense then AI will attempt to enter through the door rather than bang on the window.

TESTING CHECKLIST

  • Projectiles are blocked by closed doors and pass through open doors.
  • Monsters actually path around obstacles through doors.
  • Bolted Doors cannot be opened.
  • Welded doors cant be opened
  • People standing on doors are not immune to effects.

Why It's Good For The Game

AI can path through doors if the doors are not defined as dense.

Changelog

🆑
tweak: Door density is replaced with closed_door variable
/:cl:

@InsightfulParasite InsightfulParasite added the Refactor Changes how code is written without changing how it functions. label Aug 7, 2024
@InsightfulParasite InsightfulParasite force-pushed the the-de-densification-of-doors branch from d0315a5 to 713b72c Compare August 7, 2024 06:09
@InsightfulParasite InsightfulParasite force-pushed the the-de-densification-of-doors branch from 713b72c to af8aeff Compare August 7, 2024 21:51
@InsightfulParasite
Copy link
Collaborator Author

This has might more consequences than i expected. Removing dense from doors will result in some dashing effects going right through them. Ill have to figure out some other way to make monsters smarter.

@InsightfulParasite InsightfulParasite deleted the the-de-densification-of-doors branch August 7, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Changes how code is written without changing how it functions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant