<img src="style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> Everyone,
So I'm working on adding Seb's battleship skin in as a separate model and this is the text I plan to add to the ship_int.c file,
does it look right to you all?
//-------------------------------------------------------------------------
// Black and Yellow Battleshp skin Seb Text Jackamo
//-------------------------------------------------------------------------
// PS -->
makeref(refShip,ShipsTypes[n]);
n++;
// PS <-- makeref(refShip,ShipsTypes[SHIP_BLKANDYELLBATTLESHP_ENGLAND]);
refShip.Name = "BlkandYellBattleshp";
refShip.id = refShip.Name; // PS
refShip.Nation = ENGLAND;
////curid = refShip.id; ShipLookupTable.id.(curid) = n-1; // PS
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_LONG_LBS32;
refShip.MaxCaliber = 32;
refShip.Weight = Tonnes2CWT(2500);
refShip.Capacity = 5000;
refShip.CannonsQuantity = 70;
// NK cannon qtys 05-04-18 -->
refShip.Cannons.Borts.cannonf.qty = 2;
refShip.Cannons.Borts.cannonb.qty = 4;
// NK <--
refShip.MaxCrew = 650;
refShip.MinCrew = 130;
refShip.SpeedRate = 11.5;
refShip.TurnRate = 25;
refShip.Price = 275000; // NK - 200000
refShip.HP = 10000;
refShip.SP = 100;
refShip.AbordageLocation = "BOARDING_BATTLESHIP";
refShip.Type.Trade = false;
refShip.Type.War = true;
refShip.WaterLine = 0.0;
refShip.SpeedDependWeight = 0.3;
refShip.SubSeaDependWeight = 0.55;
//refShip.TurnDependWeight = 0.8;
refShip.InertiaAccelerationX = 0.2; refShip.InertiaBrakingX = 2.0;
refShip.InertiaAccelerationY = 7; refShip.InertiaBrakingY = 6;
refShip.InertiaAccelerationZ = 4.0; refShip.InertiaBrakingZ = 1.0;
refShip.GeraldSails.rey_b2 = 1;
refShip.GeraldSails.rey_b3 = 1;
I'm adding this to the INI file:
string = BlkandYellBattleshp,"English Battleship" // Skinned Seb / Compiled Jackamo
Can you spot any errors before I go ahead? Once I get this one sorted the other's should be straight forward.
<img src="style_emoticons/<#EMO_DIR#>/cheers.gif" style="vertical-align:middle" emoid="

" border="0" alt="cheers.gif" /> Jackamo