<!--quoteo(post=246806:date=Mar 24 2008, 01:33 PM:name=Thomas the Terror)--><div class='quotetop'>QUOTE (Thomas the Terror @ Mar 24 2008, 01:33 PM) <a href="index.php?act=findpost&pid=246806"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->one note on them! you need to add // before the ships name, and before the word Period. I forgot this, and if you don't do so, it will see those things as code, but it isn't which can crash the game.
Example, not Amsterdam, but //Amsterdam....//Periods<!--QuoteEnd--></div><!--QuoteEEnd-->
is this what you guys are looking for? Pieter also posted a section of code does that go in each ship entry as well? If so where? beginning end or does it matter?
also should the word nation be commented as well? ie:
....
refShip.period4 = 1.0; //
refShip.period5 = 0.9; //
//Nation
refShip.england = 0.0; //
refShip.france = 0.0; //
....
//-------------------------------------------------------------------------
// Amsterdam by Doober and Kazeite
//-------------------------------------------------------------------------
//Period
refShip.period0 = 0.0; //
refShip.period1 = 0.4; //
refShip.period2 = 0.6; //
refShip.period3 = 0.8; //
refShip.period4 = 1.0; //
refShip.period5 = 0.9; //
Nation
refShip.england = 0.0; //
refShip.france = 0.0; //
refShip.holland = 1.0; //
refShip.portugal = 0.0; //
refShip.pirate = 0.0; //
refShip.spain = 0.0; //
// PS -->
makeref(refShip,ShipsTypes[n]);
n++;
// PS <-- makeref(refShip,ShipsTypes[SHIP_CORVETTE_FRANCE]);
refShip.Name = "Amsterdam";
refShip.id = refShip.Name;
refShip.SName = "Amsterdam";
refShip.all = "corvette1";
refShip.Nation = HOLLAND; // PB
refShip.Class = 3; // PB
refShip.Cannon = CANNON_TYPE_LONG_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(1000);
refShip.Capacity = 3500;
refShip.CannonsQuantity = 46;
// NK cannon qtys 05-04-18 -->
refShip.Cannons.Borts.cannonf.qty = 2;
refShip.Cannons.Borts.cannonb.qty = 4;
// NK <--
refShip.Walk = "Amsterdam"; // SeaNorris
refShip.MaxCrew = 400;
refShip.MinCrew = 100;
refShip.SpeedRate = 13;
refShip.TurnRate = 35;
refShip.Price = 220000;
refShip.HP = 5000;
refShip.SP = 100;
// KK refShip.AbordageLocation = "BOARDING_CORVETTE";
refShip.QDeck = "ShipDeck6"; // KK
refShip.CannonsDeck = 2; // KK
refShip.CargoHold = 2; // KK
refShip.Cabin = "Cabin2"; // KK
refShip.Type.Trade = true;
refShip.Type.War = false;
refShip.CanBuy = true;
refShip.CanEncounter = true;
refShip.Rigtype = "Corvette1";
refShip.WaterLine = -0.3;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.6;
//refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 0.2; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 10; refShip.InertiaBrakingY = 6;
refShip.InertiaAccelerationZ = 4.0; refShip.InertiaBrakingZ = 1.0;
refShip.GeraldSails.rey_b2 = 1;
refShip.GeraldSails.rey_b3 = 1;
Example, not Amsterdam, but //Amsterdam....//Periods<!--QuoteEnd--></div><!--QuoteEEnd-->
is this what you guys are looking for? Pieter also posted a section of code does that go in each ship entry as well? If so where? beginning end or does it matter?
also should the word nation be commented as well? ie:
....
refShip.period4 = 1.0; //
refShip.period5 = 0.9; //
//Nation
refShip.england = 0.0; //
refShip.france = 0.0; //
....
//-------------------------------------------------------------------------
// Amsterdam by Doober and Kazeite
//-------------------------------------------------------------------------
//Period
refShip.period0 = 0.0; //
refShip.period1 = 0.4; //
refShip.period2 = 0.6; //
refShip.period3 = 0.8; //
refShip.period4 = 1.0; //
refShip.period5 = 0.9; //
Nation
refShip.england = 0.0; //
refShip.france = 0.0; //
refShip.holland = 1.0; //
refShip.portugal = 0.0; //
refShip.pirate = 0.0; //
refShip.spain = 0.0; //
// PS -->
makeref(refShip,ShipsTypes[n]);
n++;
// PS <-- makeref(refShip,ShipsTypes[SHIP_CORVETTE_FRANCE]);
refShip.Name = "Amsterdam";
refShip.id = refShip.Name;
refShip.SName = "Amsterdam";
refShip.all = "corvette1";
refShip.Nation = HOLLAND; // PB
refShip.Class = 3; // PB
refShip.Cannon = CANNON_TYPE_LONG_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(1000);
refShip.Capacity = 3500;
refShip.CannonsQuantity = 46;
// NK cannon qtys 05-04-18 -->
refShip.Cannons.Borts.cannonf.qty = 2;
refShip.Cannons.Borts.cannonb.qty = 4;
// NK <--
refShip.Walk = "Amsterdam"; // SeaNorris
refShip.MaxCrew = 400;
refShip.MinCrew = 100;
refShip.SpeedRate = 13;
refShip.TurnRate = 35;
refShip.Price = 220000;
refShip.HP = 5000;
refShip.SP = 100;
// KK refShip.AbordageLocation = "BOARDING_CORVETTE";
refShip.QDeck = "ShipDeck6"; // KK
refShip.CannonsDeck = 2; // KK
refShip.CargoHold = 2; // KK
refShip.Cabin = "Cabin2"; // KK
refShip.Type.Trade = true;
refShip.Type.War = false;
refShip.CanBuy = true;
refShip.CanEncounter = true;
refShip.Rigtype = "Corvette1";
refShip.WaterLine = -0.3;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.6;
//refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 0.2; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 10; refShip.InertiaBrakingY = 6;
refShip.InertiaAccelerationZ = 4.0; refShip.InertiaBrakingZ = 1.0;
refShip.GeraldSails.rey_b2 = 1;
refShip.GeraldSails.rey_b3 = 1;