exsample here.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> // PS -->
makeref(refShip,ShipsTypes[n]);
n++;
// PS <-- makeref(refShip,ShipsTypes[SHIP_YACHT_HOLLAND]);
refShip.Name = "Yacht1";
refShip.Nation = HOLLAND;
refShip.id = refShip.Name + "_" + refShip.Nation; // PS
curid = refShip.id; ShipLookupTable.id.(curid) = `n-1`; // PS
refShip.Class = 6;
refShip.Cannon = CANNON_TYPE_CANNON_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(190);
refShip.Capacity = 800;
refShip.CannonsQuantity = 16;
refShip.MaxCrew = 57;
refShip.MinCrew = 12;
refShip.SpeedRate = 9.45;
refShip.TurnRate = 30;
refShip.Price = 19000;
refShip.HP = 665;
refShip.SP = 100;
refShip.AbordageLocation = "BOARDING_BARQUE";
refShip.WaterLine = 0.03;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.3;
refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 2.0; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 8; refShip.InertiaBrakingY = 4.0;
refShip.InertiaAccelerationZ = 4.0; refShip.InertiaBrakingZ = 2.0;
refShip.Height.Bombs.Y = 1.0; refShip.Height.Bombs.DY = 1.0;
refShip.Height.Grapes.Y = 2.0; refShip.Height.Grapes.DY = 1.0;
refShip.Height.Knippels.Y = 15.0; refShip.Height.Knippels.DY = 10.0;
refShip.Height.Balls.Y = 1.0; refShip.Height.Balls.DY = 1.0;<!--c2--></div><!--ec2-->
quite a few of these tell what they are on their own, but what is "refShip.SP" ?
it seems to be at 100 for all vessels.. Sail hit points herhaps ?
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> // PS -->
makeref(refShip,ShipsTypes[n]);
n++;
// PS <-- makeref(refShip,ShipsTypes[SHIP_YACHT_HOLLAND]);
refShip.Name = "Yacht1";
refShip.Nation = HOLLAND;
refShip.id = refShip.Name + "_" + refShip.Nation; // PS
curid = refShip.id; ShipLookupTable.id.(curid) = `n-1`; // PS
refShip.Class = 6;
refShip.Cannon = CANNON_TYPE_CANNON_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(190);
refShip.Capacity = 800;
refShip.CannonsQuantity = 16;
refShip.MaxCrew = 57;
refShip.MinCrew = 12;
refShip.SpeedRate = 9.45;
refShip.TurnRate = 30;
refShip.Price = 19000;
refShip.HP = 665;
refShip.SP = 100;
refShip.AbordageLocation = "BOARDING_BARQUE";
refShip.WaterLine = 0.03;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.3;
refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 2.0; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 8; refShip.InertiaBrakingY = 4.0;
refShip.InertiaAccelerationZ = 4.0; refShip.InertiaBrakingZ = 2.0;
refShip.Height.Bombs.Y = 1.0; refShip.Height.Bombs.DY = 1.0;
refShip.Height.Grapes.Y = 2.0; refShip.Height.Grapes.DY = 1.0;
refShip.Height.Knippels.Y = 15.0; refShip.Height.Knippels.DY = 10.0;
refShip.Height.Balls.Y = 1.0; refShip.Height.Balls.DY = 1.0;<!--c2--></div><!--ec2-->
quite a few of these tell what they are on their own, but what is "refShip.SP" ?
it seems to be at 100 for all vessels.. Sail hit points herhaps ?