Jump to content

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


Munraito

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
×
×
  • Create New...