CursorMods-WindAtYourBack icon

WindAtYourBack

Always have the wind behind your boat for easier sailing. Only activates when the player is actually in a boat.

Last updated 3 weeks ago
Total downloads 472
Total rating 1 
Categories Mods
Dependency string CursorMods-WindAtYourBack-1.1.0
Dependants 0 other packages depend on this package

README

Wind At Your Back - Aska Mod

A BepInEx mod for Aska that ensures the wind is always behind your boat, making sailing much easier!

Features

  • Wind always blows in the direction your boat is facing
  • Only activates when the player is actually in a boat - wind behaves normally when you're on land
  • No more struggling against headwinds
  • Makes long-distance sailing trips much more enjoyable
  • Updates wind direction in real-time as you turn your boat

Installation

Recommended: Thunderstore Mod Manager (Easiest)

  1. Download Thunderstore Mod Manager:

  2. Install the Mod:

    • Launch Thunderstore Mod Manager
    • Select "Aska" from the game list
    • Click the "Online" tab
    • Search for "WindAtYourBack"
    • Click "Download" to install
    • Dependencies (BepInEx) will be installed automatically
  3. Launch the Game:

    • Click "Start Modded" to launch Aska with mods enabled

Manual Installation

  1. Install BepInEx for Aska (if not already installed):

    • Download BepInEx from the Aska Nexus Mods page
    • Extract BepInEx to your Aska game directory (where Aska.exe is located)
    • Run the game once to generate the BepInEx folder structure
  2. Install this mod:

    • Copy the WindAtYourBack folder to [Aska Game Directory]/BepInEx/plugins/
    • The final path should be: [Aska Game Directory]/BepInEx/plugins/WindAtYourBack/WindAtYourBack.dll
  3. Build the mod (if you have the source):

    • Open the project in Visual Studio or your preferred C# IDE
    • Restore NuGet packages
    • Build the project
    • Copy the compiled DLL to the plugins folder

Building from Source

Requirements

  • Visual Studio 2019 or later (or Rider, VS Code with C# extension)
  • .NET Framework 4.7.2 or later
  • BepInEx 5.4.21 or later

Steps

  1. Clone or download this repository
  2. Open WindAtYourBack.csproj in Visual Studio
  3. Restore NuGet packages
  4. Build the solution (Release mode recommended)
  5. Copy the output DLL to your Aska BepInEx plugins folder

How It Works

The mod uses Harmony to patch the game's wind system. It continuously:

  1. Checks if the player is currently in/on a boat (via parent hierarchy, proximity, or component references)
  2. Only modifies wind when the player is actually in a boat
  3. Searches for wind/weather components
  4. Updates wind direction properties and fields to match your boat's forward direction

Every 0.1 seconds, if you're in a boat, it updates the wind direction to match your boat's forward direction, ensuring you always have favorable winds while sailing. When you're on land, the wind behaves normally.

Troubleshooting

  • Mod not loading: Check that BepInEx is properly installed and the DLL is in the correct location
  • Wind not changing: The mod may need adjustment based on Aska's specific wind system implementation. Check the BepInEx log file for errors
  • Performance issues: The mod updates every 0.1 seconds. If you experience lag, you can modify the update interval in the code

Compatibility

  • Requires BepInEx 5.4.21 or later
  • Compatible with Aska (tested version may vary)
  • Should work with other mods unless they also modify wind mechanics

License

This mod is provided as-is. Feel free to modify and distribute.

Credits

Created for the Aska community. Inspired by similar mods for other survival games.