<img src="http://www.thelib.com/gallery/albums/userpics/12%20gun%20cutter.jpg" border="0" class="linked-image" />
As you can see, I've figured out a way to make a "`jury-rigged`" cutter. Its not perfect, sometimes the crew will climb invisible shrouds to then stand on the platform of a `non-existant` foremast, but for my purposes, its acceptable until new ship models come out.
Anyway, I'm having trouble getting it to work in the game. I can replace the lugger with this, but I can't get it to work as its own ship. Here is the code I've written... perhaps you could tell me what I'm doing wrong.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//-------------------------------------------------------------------------
// 12 Gun Cutter ENGLAND by JMV575 8/23/04
//-------------------------------------------------------------------------
makeref(refShip,ShipsTypes[n]);
n++;
refShip.id = "Cutter1";
curid = refShip.id; ShipLookupTable.id.(curid) = `n-1`; // PS
refShip.name = "Cutter1";
refShip.all = "Sloop1_0"
refShip.Class = 6;
refShip.nation = ENGLAND;
refShip.Cannon = CANNON_TYPE_CANNON_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(120);
refShip.Capacity = 325;
refShip.CannonsQuantity = 12;
refShip.MaxCrew = 36;
refShip.MinCrew = 8;
refShip.SpeedRate = 16.9;
refShip.TurnRate = 65;
refShip.Price = 20000;
refShip.HP = 400;
refShip.SP = 100;
refShip.AbordageLocation = "BOARDING_BARQUE";
refShip.No_NK_HFM_modstats = true;
refShip.WaterLine = 0.0;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.3;
refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 0.2; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 12; refShip.InertiaBrakingY = 8;
refShip.InertiaAccelerationZ = 6.0; refShip.InertiaBrakingZ = 2.0;
refShip.Height.Bombs.Y = 1.0; refShip.Height.Bombs.DY = 0.5;
refShip.Height.Grapes.Y = 2.0; refShip.Height.Grapes.DY = 1.0;
refShip.Height.Knippels.Y = 10.0; refShip.Height.Knippels.DY = 8.0;
refShip.Height.Balls.Y = 1.0; refShip.Height.Balls.DY = 0.5;
//---DO NOT ADD BELOW THIS LINE---<!--c2--></div><!--ec2-->
Any help you can give me would be great.
Best,
JMV
As you can see, I've figured out a way to make a "`jury-rigged`" cutter. Its not perfect, sometimes the crew will climb invisible shrouds to then stand on the platform of a `non-existant` foremast, but for my purposes, its acceptable until new ship models come out.
Anyway, I'm having trouble getting it to work in the game. I can replace the lugger with this, but I can't get it to work as its own ship. Here is the code I've written... perhaps you could tell me what I'm doing wrong.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//-------------------------------------------------------------------------
// 12 Gun Cutter ENGLAND by JMV575 8/23/04
//-------------------------------------------------------------------------
makeref(refShip,ShipsTypes[n]);
n++;
refShip.id = "Cutter1";
curid = refShip.id; ShipLookupTable.id.(curid) = `n-1`; // PS
refShip.name = "Cutter1";
refShip.all = "Sloop1_0"
refShip.Class = 6;
refShip.nation = ENGLAND;
refShip.Cannon = CANNON_TYPE_CANNON_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(120);
refShip.Capacity = 325;
refShip.CannonsQuantity = 12;
refShip.MaxCrew = 36;
refShip.MinCrew = 8;
refShip.SpeedRate = 16.9;
refShip.TurnRate = 65;
refShip.Price = 20000;
refShip.HP = 400;
refShip.SP = 100;
refShip.AbordageLocation = "BOARDING_BARQUE";
refShip.No_NK_HFM_modstats = true;
refShip.WaterLine = 0.0;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.3;
refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 0.2; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 12; refShip.InertiaBrakingY = 8;
refShip.InertiaAccelerationZ = 6.0; refShip.InertiaBrakingZ = 2.0;
refShip.Height.Bombs.Y = 1.0; refShip.Height.Bombs.DY = 0.5;
refShip.Height.Grapes.Y = 2.0; refShip.Height.Grapes.DY = 1.0;
refShip.Height.Knippels.Y = 10.0; refShip.Height.Knippels.DY = 8.0;
refShip.Height.Balls.Y = 1.0; refShip.Height.Balls.DY = 0.5;
//---DO NOT ADD BELOW THIS LINE---<!--c2--></div><!--ec2-->
Any help you can give me would be great.
Best,
JMV