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

Add: post about the new ship pathfinder #296

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

Kuhnovic
Copy link
Contributor

@Kuhnovic Kuhnovic commented Feb 6, 2024

My post about the new ship pathfinder for OpenTTD 14.0. I tried to explain everything without going too much into detail, I want to keep it fun to read.

I'm not a native English speaker so suggestions are much appreciated!

_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
Copy link
Contributor

@James103 James103 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few commas missing where they are needed.

_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
@zephyris
Copy link
Contributor

zephyris commented Feb 6, 2024

Looks good to me. Nice tone, good level of detail.

Do you want to mention added support for faster ships and ship acceleration too?

_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
_posts/2024-02-06-new-ship-pathfinder.md Outdated Show resolved Hide resolved
Within each region, we identify separate patches of water.
Each tile gets a label, and all tiles with the same label belong to the same patch, i.e. they are interconnected.
We also identify whether a ship can travel across a region edge into any adjacent regions.
Aqueducts crossing into other regions are also taken into account.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this include aqueducts that start in one region, completely skip multiple regions before ending in another, non-adjacent region?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it can either be to adjacent regions or with regions in between, there is no limit. I chose not to go too much into detail about aqueducts, just that "they work". Getting the pathfinder to work with aqueducts was a nightmare, but I don't think I'll do anyone a favor by ranting about it in this blog post ;)

@Kuhnovic
Copy link
Contributor Author

image

social-steam.zip

@TrueBrain TrueBrain merged commit 90c1893 into OpenTTD:main Feb 24, 2024
7 checks passed
TrueBrain pushed a commit to TrueBrain/OpenTTD-website that referenced this pull request Mar 1, 2024
@Kuhnovic Kuhnovic deleted the ship_pathfinder_post branch March 9, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants