Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Octol1ttle committed Jul 17, 2024
1 parent 261aa6c commit c652469
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 23 deletions.
71 changes: 53 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,62 @@
This is a Alpha 2 of a minor release to FlightAssistant. Please note that there may be critical issues and features may
not work as intended. Please use [Discord](https://discord.gg/5kcBCvnbTp)
or [GitHub](https://github.com/Octol1ttle/FlightAssistant) to discuss this alpha or report any bugs.
This is a minor (not really) update release to FlightAssistant. Please use [Discord](https://discord.gg/5kcBCvnbTp)
or [GitHub](https://github.com/Octol1ttle/FlightAssistant) to discuss this release or report any bugs.

## Additions

* Added a time-to-waypoint approximation to the Status Display
### Thrust Management

This update includes a new thrust management system which tries to simulate how thrust is handled on real aircraft. You
can control your virtual thrust levers by using your keyboard arrows (check keybinds settings)

#### External Thrust Support

This update includes a thrust management system, which is capable of integrating with mods that provide external thrust,
like Do a Barrel Roll (thrusting must be enabled in DaBR settings),
however they are not a requirement.

### Autopilot v4

The autopilot has been completely rewritten... for the fourth time!

#### Automatic Roll Control ft. Do a Barrel Roll

Autopilot v4 is capable of maintaining level roll when using DaBR, meaning it is now capable of maintaining its course
without player intervention

#### Improved Autothrust

Autopilot v4 features an improved autothrust system that makes use of the precise control offered by the new Thrust
Management.

#### Smoother vertical guidance

Do I need to explain much?

### Configurable Elytra health display units

You can now configure how Elytra health is displayed in the config screen. In addition to the percentage, you can switch
to using raw durability units instead.

### Time-to-waypoint approximation
![The approximation, shown as WP/TIME: MM:SS on the Status Display](https://cdn.modrinth.com/data/cached_images/b15e143ecf08592592d7c1e9cd69ac8c9ef91a79.png)

### Config option: disable warnings and protections when in Creative Mode
By default, warnings and protections will now be hidden when in Creative Mode or when under some other kind of invulnerability. If this is not the desired behavior, it can be changed in the config screen

## Changes

* Removed variable thrust response
* Reverse activation is now instant
* Manual thrust changes will result in an immediate response
* Changes by Autothrust will be interpolated similar to pitch, yaw and roll
* The "Show Engine Power" setting was replaced with "Show Thrust setting"
* The thrust setting will no longer appear on the Flight Mode Display
* Added a new condition to activating the GO AROUND phase
* Now, the player must be no farther than 100 blocks near the destination
* If the player is farther than 100 blocks and the GO AROUND phase is active, the APPROACH phase will activate
* Reduced the landing thrust to 15% REV, down from 20% REV
* The autothrust will no longer command TOGA thrust on takeoff or go around
* The Elytra durability will now also display while holding, but not wearing an Elytra in either hands. In case the
player is both holding and wearing an Elytra, the shown health will be for the worn Elytra.
* If the Elytra is unbreakable, its health display will be replaced with "INF"
* Flight directors will now be hidden at extreme bank angles as they become inaccurate with roll
* The flight path vector icon will now be hidden at extreme bank angles as it becomes inaccurate with roll
* Warnings and protections will now be suppressed if the player is invulnerable
* Elytra will no longer open automatically when the player is in Creative Mode
* The "Not flying (has elytra)" will no longer activate when the player is using Creative flight

## Fixes

* Fixed an issue that would cause approach thrust to be applied during landing
* Fixed an issue that would cause highlighting of empty text on the Flight Mode Display
* Fixed an issue that allowed thrust setting to be changed when automations are paused
* Fixed an issue that would cause autoland deactivation shortly before touchdown
* Fixed an issue that would cause the Ground Proximity Warning System to block manual pitch UP inputs when the player is
stalling, making manual recovery impossible
* Fixed an issue that allowed faulted computers to issue pitch and yaw inputs
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'me.modmuss50.mod-publish-plugin' version '0.5.1'
}

version = "${project.mod_version}-alpha.2+mc${project.minecraft_version}"
version = "${project.mod_version}+mc${project.minecraft_version}"
group = project.maven_group

base {
Expand Down Expand Up @@ -105,14 +105,14 @@ publishMods {
file = remapJar.archiveFile
version = project.version
changelog = getRootProject().file("CHANGELOG.md").text
type = ALPHA
type = STABLE
modLoaders.add("fabric")

def min = property('publish_target_min')
def max = property('publish_target_max')

def minecraftVersion = min == max ? min : "${min}-${max}"
displayName = "FlightAssistant ${property('mod_version')} [ALPHA 2] (MC ${minecraftVersion})"
displayName = "FlightAssistant ${property('mod_version')} (MC ${minecraftVersion})"

if (providers.gradleProperty('modrinthToken').present) {
modrinth {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ public void tick() {
}

try {
if (!(computer instanceof AlertController) && random.nextInt(10_000_000) == 0) {
// TODO: random failures config setting
/*if (!(computer instanceof AlertController) && random.nextInt(10_000_000) == 0) {
throw new RuntimeException();
}
}*/
tickable.tick();
} catch (IllegalStateException e) {
ComputerRegistry.markFaulted(computer, e, "Invalid data encountered by computer");
Expand Down

0 comments on commit c652469

Please sign in to comment.