regarding power.
the set value for the power determines recharge.
The parameter (power*number) is a multiplier that will set the amount of capacity the unit has.
So a 600 power, power*30 module will have a capacity of... 18,000?
As for booster speed, it's a % I think, not a direct value... hence why a star base only gets to .14c or so.
As for accel, it might be something like pixels/s/s divided by 10
Cant explain at the moment (busy right now)
I believe it depends on mass for acceleration and inital speed for extra speed gained towards max speed bonus.
I know this may be garble to you but
void ModuleClass::Thrust() {
static CoordinateClass ovel;
host.designed->CheckTransition(nullVector, 1);
if (!host.designed->IsTransitioning()) {
/* set the throttle flag */
if ( IsLocalPlayer(host.ship) ) /* dlh */
host.designed->throttle = 1;
/* apply thrust to designed object [host] */
long thr;
long af = host.designed->mass*100/frameRate/frameRate;
if (host.designed->bus.boostMod && host.designed->bus.boostMod->active)
thr = (10000 + host.designed->bus.boostMod->cPar(2, host.designed->bus.CalculateSurplusPower())) *
host.designed->bus.impulseMod->afMaxPar(af,0) / 10000;
else
thr = aPar(0);
/******************************************************************/
/* do not allow the acceleration to exceed the game state maximum */
/* and */
/* do not allow acceleration to fall below the prescribed minimum */
/******************************************************************/
if (host.designed->bus.boostMod)
thr = max(min(thr, (game->maxAcc + host.designed->bus.boostMod->par[2]) * af/100), 0);
else
thr = max(min(thr, game->maxAcc * af/100), 0);
ovel = host.generic->vel;
host.generic->
ApplyThrust(host.generic->bitmap.Dir(host.designed->heading+
host.designed->thrustOffset) *
thr, host.designed->maxSpeed);
long pct = (host.generic->vel-ovel).Mag() * 100 /
max(thr*sub_scale / max(host.generic->mass, 1) * dt,1);
SetStat(store,max(store + power * pct / 100, 0L));
//store = max(store + power * pct / 100, 0L);
//store = 0;
}
}
I will explain later. I believe thats most of it anyways, aka the general rules.
Also while I was looking about I see that two powers might combine into one (aka you can use more then 1 power on a ship correctly. Someone should tryt hat out.