Fractal Softworks Forum

Starsector => Mods => Topic started by: NightKev on January 06, 2018, 04:18:01 AM

Title: [0.8.1a] Autonomous Ships 0.6.1
Post by: NightKev on January 06, 2018, 04:18:01 AM
Autonomous Ships
Downloads (https://github.com/NightKev/autonomous-ships/releases/)

Description

This mod adds new hullmods that allow the player to set predefined battle commands for AI-piloted ships in their fleet.
e.g. The Auto retreat command hullmod will force the ship to retreat when below a certain hull integrity level.

The command hullmods cost 0 ordnance points.

Current features



Installation

Just download the mod and unpack the ZIP file into your mods folder.

Extra information


Future plans


Credits


Version history

Spoiler

0.6.1 (https://github.com/NightKev/autonomous-ships/releases/tag/v0.6.1)
  • Added the "Direct Retreat" hullmod which changes the automatic retreat type (for ships with one of the retreat hullmods) from a standard defensive retreat to the "get the hell out of here" direct retreat.

0.6.0 (https://github.com/NightKev/autonomous-ships/releases/tag/v0.6.0)
  • Added hullmods to change the personality of a ship (ships default to Steady in vanilla). Doesn't work on ships with officers or the flagship.

0.5.1 (https://github.com/NightKev/autonomous-ships/releases/tag/v0.5.1)
  • Updated Version Checker support
  • Fixed the bug where removing non-AS hullmods would cause the hull- and cr-related AS hullmods to also be removed.

0.5.0 (https://github.com/NightKev/autonomous-ships/releases/tag/v0.5.0)
  • Updated for Starsector 0.8.1a
  • "Attack Fighters" command removed due to vanilla fighter changes.
  • Removed LazyLib requirement for now (it was required by the now-removed fighter command).

0.4.1 (http://download.trancecode.org.s3.amazonaws.com/starsector/autonomous-ships/autonomous-ships-0.4.1.zip)
  • Fixed a crash with the "attack fighter" command.

0.4.0 (http://download.trancecode.org.s3.amazonaws.com/starsector/autonomous-ships/autonomous-ships-0.4.0.zip)
  • New command: retreat when the ship has no order to follow.
  • New command: attack the nearest fighter wing when the ship has no other order to follow.
  • Changed the icons for the hullmods, using a new set of icons from HELMUT.

0.3.1 (http://download.trancecode.org.s3.amazonaws.com/starsector/autonomous-ships/autonomous-ships-0.3.1.zip)
  • Added support for Version Checker.

0.3.0 (http://download.trancecode.org.s3.amazonaws.com/starsector/autonomous-ships/autonomous-ships-0.3.0.zip)
  • New command: retreat when exceeded peak performance time.
  • New commands: retreat when below 40% or 60% CR.
  • Changed the icons for the hullmods again, this time using the ones made by HELMUT.

0.2.0 (http://download.trancecode.org.s3.amazonaws.com/starsector/autonomous-ships/autonomous-ships-0.2.0.zip)
  • New command: retreat when no missiles left.
  • Changed the icons for the hullmods.

0.1.0 (http://download.trancecode.org.s3.amazonaws.com/starsector/autonomous-ships/autonomous-ships-0.1.0.zip)
  • Initial release.
  • New commands: auto retreat below hull integrity level. (3 levels)

[close]

License

Note that the mod is licensed under the Apache License v2.0 (https://www.apache.org/licenses/LICENSE-2.0).
Title: Re: [0.8.1a] Autonomous Ships 0.5.1
Post by: Sy on January 06, 2018, 01:45:44 PM
oooh, neat! thanks for taking the time to update this! :]
Title: Re: [0.8.1a] Autonomous Ships 0.5.1
Post by: zaimoni on January 07, 2018, 12:54:06 PM
The commands won't work in the simulator nor if the flagship is on autopilot.
May I assume the commands won't work if the flagship isn't even deployed?  (Yes, this does work for newbies -- just need hordes of command points and a frame rate multiplier of 0.5 to compensate).
Title: Re: [0.8.1a] Autonomous Ships 0.5.1
Post by: NightKev on January 07, 2018, 03:01:42 PM
Oh I should edit that, it means the hullmods won't affect the ship you're piloting even if it's on autopilot.
Title: Re: [0.8.1a] Autonomous Ships 0.6.0
Post by: NightKev on January 10, 2018, 04:42:09 AM
Update to version 0.6.0 (download (https://github.com/NightKev/autonomous-ships/releases/tag/v0.6.0)):
- Added hullmods to change the personality of a ship (ships default to Steady in vanilla). Doesn't work on ships with officers or the flagship.

The icons for the personality hullmods are temporary, I'll see about getting proper icons in a future release.
Title: Re: [0.8.1a] Autonomous Ships 0.6.0
Post by: Arkar1234 on January 13, 2018, 10:01:24 PM
Loving the personality modules.  : D

Makes managing the fleep much easier... no more suicidal light carriers!
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: NightKev on January 17, 2018, 01:22:26 PM
Update to version 0.6.1 (download (https://github.com/NightKev/autonomous-ships/releases/tag/v0.6.1)):
- Added the "Direct Retreat" hullmod which changes the automatic retreat type (for ships with one of the retreat hullmods) from a standard defensive retreat to the "get the hell out of here" direct retreat.
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: PHANTA5M on January 19, 2018, 09:48:06 PM
Version Checker points to the old thread. Just FYI. Cool mod!
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: NightKev on January 20, 2018, 05:39:45 PM
Whoops, thanks for telling me; it'll be fixed in the next version.
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: Takion Kasukedo on January 21, 2018, 11:40:05 AM
Something consistent I have noticed with Autonomous Ship hullmods is often the mods highlighted in brackets don't work right away, often leaving it until way too late to do so.

[Retreat on severe hull damage] -
Spoiler
A pretty big example, eg; When a rare ship or ship you want to keep alive doesn't retreat until 2% hull remaining, while Harpoons or whatever missile is incoming, THEN they decide to retreat. By that time it's too late for them to retreat and they promptly suffer the consequences.
[close]
[Retreat on possible malfunction] -
Spoiler
Also another example, in a different instance, with ships that are prone to failures. EG; Afflictors, Shades, GMDA ships refuse to retreat until their engines die at 0% CR, in which then their defences are down or the abilities won't work
[close]

Just notifying for future notice. Although at the same time it may be on Alex's side as well. May be addressed in future patches.
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: NightKev on January 21, 2018, 03:39:39 PM
For the hull damage one, it's possible it got burst down that low all at once, but that wouldn't explain the other one (might be a strange interaction with phase cloak?); I'll do some testing and see what I can find out.
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: Takion Kasukedo on January 24, 2018, 07:27:42 PM
I believe your mod is crashing my game sometimes when I go to refit one of my ships, because the line before it is to do with Autonomous Ships.

Spoiler
266785 [Thread-4] INFO  org.tc.autonomous.AutonomousBasePlugin  - Applying personality [reckless] to ship [Adramelech]
613518 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Can't create nested lists using GLListManager
java.lang.RuntimeException: Can't create nested lists using GLListManager
   at com.fs.graphics.util.GLListManager.beginList(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.render(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.render(Unknown Source)
   at com.fs.starfarer.title.ooOO.OO0O.super(Unknown Source)
   at com.fs.starfarer.coreui.Oooo.super(Unknown Source)
   at com.fs.starfarer.ui.j.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.e$Oo.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.e.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.coreui.refit.oOoO.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.String.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Oo0O.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.if.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Oo0O.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.K.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.newui.newsuper.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.ui.OO00.renderImpl(Unknown Source)
   at com.fs.starfarer.ui.Q.render(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.render(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: NightKev on January 24, 2018, 07:35:29 PM
I don't think so, that looks like some sort of GL render error and there's no rendering from this mod; does it always happen on the same ship(s)?
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: Takion Kasukedo on January 24, 2018, 08:10:31 PM
Different ships at times, the most recent one was the Harbinger-Class (the Mod-Medusa)

Last time was the Crusader from KT
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: NightKev on January 25, 2018, 06:19:52 PM
Try posting in the Bugs/Support forum, there's not much I can do right now.
Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: Takion Kasukedo on November 10, 2018, 03:20:29 PM
Currently on the latest edition, I've been finding an error. This happens on the Legion-Class Capital ship.

Spoiler
475328 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.combat.entities.ship.A.if.o00000(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.A.if.fireProjectile(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.OoOO.String.super(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.OoOO.super(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.D.super(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.D.super(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.trackers.OoOO.String(Unknown Source)
   at com.fs.starfarer.combat.entities.ship.A.if.advance(Unknown Source)
   at com.fs.starfarer.combat.systems.oOoO.advanceLinked(Unknown Source)
   at com.fs.starfarer.combat.systems.oOoO.advance(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.fire(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]


I am aware this mod hasn't ben updated in a long time or any new posts have been made, but i'm unsure of any other ways to contact aside from privately, and don't deem private messages neccesary unless actually neccesary.

Title: Re: [0.8.1a] Autonomous Ships 0.6.1
Post by: SCC on November 24, 2018, 02:33:32 PM
I hope this mod will get updated, it is a huge QoL feature.