Movecraft icon indicating copy to clipboard operation
Movecraft copied to clipboard

Sailing crafts and Dynamic Wind

Open PinkiBaron opened this issue 3 years ago • 1 comments

Something I've noticed with many move craft servers is a big divide between servers using sailing style boats, and fuel powered boats. This mostly comes down to how sailing crafts are often not worth it on servers that offer fuel based crafts. I feel as if there's no reason both can't coexist, so I suggest this: Implement a system for dynamic "wind".

When a ship is sailing in the direction of the wind, the ship will cruise by a factor of the strength of the wind, and the angle it cruises at. Say the wind is +5 North. Anything traveling north would travel with a speed 5 m/s faster than if it was going south, and if the ship was cruising 45° NW, then the ship would cruise at +5cos(45) which is 3.53. If the wind was to be moving +5 North, and +5 West, moving at 45° North would yield a 7.06 m/s boost to the ship, while moving straight north would provide only the 5 m/s boost.

As for the dynamic part of wind, every T minutes (configurable) the server would +1 or -1 randomly to both N and E directions. This creates a global wind that changes over time randomly, but doesn't just switch on a dime. Another thing that can be configured is having a maximum wind speed so that wind won't overwhelmingly shift into one direction.

Ideally, this system would allow for non-fuel based ships to be somewhat viable, by letting them be faster, but also require more skill from pilots (as a sailing ship would IRL).

Feedback is appreciated :) <3

PinkiBaron avatar Mar 02 '22 20:03 PinkiBaron

This would be a good candidate for an addon! That is as long as the API supports it. I'll try to keep this in mind when developing the API.

TylerS1066 avatar Mar 08 '22 02:03 TylerS1066