Stuck again! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid="
" border="0" alt="modding.gif" />
Well this time the game will start up and all, but if I select the LuggerCT2 or 3 to be my starting ship it'll crash while starting up. So I just selected my good old Lugger2 for starters, it all went great. I went to the shipyard, bought myself a nice Catalina-made Lugger, it was all going smooth, I was filled with joy, but as soon as I went to the port where I could get a visual on my new vessel...CTD!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid="
" border="0" alt="modding.gif" />
So I went digging inside Ships.init (the only thing I kinda understand of the build) <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bookish.gif" style="vertical-align:middle" emoid=":mm" border="0" alt="bookish.gif" />
This is what I found:
// Lugger CT3, By CatalinaThePirate, 01/03/2004
//-------------------------------------------------------------------------
makeref(refShip,ShipsTypes[n]);
n++;
refShip.Name = "LuggrCT3";
// PS -->
refShip.all = "Lugger1";
refShip.sname = "LuggerCT3";
refShip.No_NK_HFM_modstats = true;
refShip.noNatStatMod = true; // PRS3 04-09-10
// PS <--
refShip.id = refShip.Name; // PSX
////curid = refShip.id; ShipLookupTable.id.(curid) = n-1; // PS
refShip.Class = 6;
refShip.Cannon = CANNON_TYPE_CANNON_LBS12;
refShip.MaxCaliber = 12;
refShip.Weight = Tonnes2CWT(126);
refShip.Capacity = 500;
refShip.CannonsQuantity = 12;
refShip.MaxCrew = 18;
refShip.MinCrew = 6;
refShip.SpeedRate = 18;
refShip.TurnRate = 65;
refShip.Price = 20000;
refShip.HP = 475;
refShip.SP = 100;
refShip.AbordageLocation = "BOARDING_LUGGER";
refShip.Type.Trade = true;
refShip.Type.War = 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;
Didn't see what I mean? Here it is again...It's this line that bothers me:
refShip.all = "Lugger1";
This means the ship/skin is using the model of the Lugger1 (the Lugger without the cabin!!) And you made a skin for the Lugger2 (the Lugger with the cabin!!)
Could this be it?? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/huhh.gif" style="vertical-align:middle" emoid="
k" border="0" alt="huhh.gif" />
-Sh!fty