Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

trying to mod XNTS-VI to make your Ship not require any crew


Munraito
 Share

Recommended Posts

(I'm brazillian, and my english is self-taught so bear with me XD)

 

So, I ave been thinking, since the  base game has a variable to make your Ship not require Pilots, Gunners or Miners, Maybe you it also has a variable to not require any crew, i tried to add these lines :

 

addAbsoluteBias(StatsBonuses.Mechanics, -100000)

 

and

 

addAbsoluteBias(StatsBonuses.MechanicsPerShip, -100000)

 

both didn't work, i'm not very good with modding or scripts at all, so any help is welcome

 

OBS: Trying to mod this for my AI controlled ships, hiring crew for all of them is not a easy task, while the game does not have a Auto-hire function

 

OBS2: maybe someone can make a mod for this

Link to comment
Share on other sites

If you look at the documentation, you'll see that StatsBonuses enum has only these entries at this moment. There is no "mechanicsPerShip":

 

RadarReach

HiddenSectorRadarReach

ScannerReach

ScannerMaterialReach

HyperspaceReach

HyperspaceCooldown

HyperspaceRechargeEnergy

ShieldDurability

ShieldRecharge

ShieldTimeUntilRechargeAfterHit

ShieldTimeUntilRechargeAfterDepletion

ShieldImpenetrable

Velocity

Acceleration

GeneratedEnergy

EnergyCapacity

BatteryRecharge

ArbitraryTurrets

UnarmedTurrets

ArmedTurrets

CargoHold

LootCollectionRange

TransporterRange

FighterCargoPickup

PilotsPerFighter

MinersPerTurret

GunnersPerTurret

MechanicsPerTurret

Engineers

Mechanics

Gunners

Miners

Security

Attackers

Sergeants

Lieutenants

Commanders

Generals

Captains

 

 

However, there was an old mod which added system that allowed to use "Robotic Crew". You could try to use some code from it to achieve what you want.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...