Jump to content

Ship Optimizer and Material-Limited Variant Generator


nbanyan

Recommended Posts

t8pFoA1.png

 

Since I found the in-game "Modify ship" feature so non-intelligent as to be useless, I've written a script to automate optimization of ships and material-limited generation of ships.

 

When run, the script will ask which function you want to perform. Optimization means choosing the "best" material for each component of the ship and saving the ship as a new file. Generate reduced versions means creating versions of the ship for capped at each material level below its current material level (a ship with Trinium as its highest tier material will yeald Naonite, Titanium and Iron capped variants). When choosing Optimization, it will also ask whether you prefer Trinium or Ogonite armor since Ogonite actually has a slightly better durability per mass than Trinium, but is extremely heavy.

It reads the XML ship file you give it (when it asks what ship you want to process). So if you want it to process a Steam Workshop ship you must load and save the ship in-game to create an XML version.

 

The bias tables used in the script are from data compiled in the following sources:

BLOCK MATERIAL ANALYSIS GUIDE by Shadowflare

Avorion Wiki page for Materials

 

Here's the bias tables as they are in the script (higher numbers are better):

      Ir     Ti     Na     Tr     Xa     Og     Av
Thrust (m per s2/Mass)     0.76     2.22     1.84     4.5     2.74     0.99     1.54
Generator (MW/Mass)     0     2.06     2.13     3.88     3.48     2.5     3.67
Energy Storage (GJ/Mass)     0     0.22     0.227     0.414     0.377     0.266     0.392
Durability (Durability/Mass)     0.078     0.2     0.273     0.643     1.82     0.675     1.265
Computer     1     1     1     2     1     1     1
Integrity     1     1     1     2     1     1     1
Gyro     1     1     1     2     1     1     1

Finally updated for 1.0! (It won't turn your twisted corners, transporters, etc. into hull anymore!)

The .au3 files are the original AutoIt scripts used to create the .exe files (SciTE/AutoIt required to run .au3 files)

Avorion block splitter.exe Avorion block splitter.au3 Avorion Optimizer.au3 Avorion Optimizer.exe

Edited by nbanyan
Download links broke, attached files instead. (no modifications)
Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...