• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need Help interesting zero max crew glitch

Jonesie85

Boarding Master
Storm Modder
Hello all, ive started a new game and have noticed that i start with a ship with zero max crew and 5 min. i have tried this with a few of the starting characters. I have made some modifications but not to aexisting ships. and all new shipare at the end of the lists (not interrupting ship order).What the hell is going on!?!? o_O
pic2.png
 
i can confirm that all ships at the shipyard at the start of the game have ZERO crew max. I must have doe something to cause this.
:facepalm
 
I seperate game using the same install does not show this proplem at all. Im asuming it must be something during character/game generation.
 
That is an odd one. With all of the changes you are making, are you doing lots of defragging?
 
defragging of the hdd? if so, then no. I copied a fresh full back of aop2 reinstalled gof 1.2 full, then the patch 1. I put each individual tweak back into the game on by one. starting a new game per tweak to check. they all worked. then i added the models and texture files of the ships ive added. then added the ship file back in one by one and started a new game each time (in order; pictures.ini, common.ini, shipsdescribe.txt, battleinterface.c, ships.h and ships_init.c... i chose not to put the ships in shipyards). It turns out that the Ships_init.c is causing this issue. with this file i have been placing all of my duplicated ships at the end of the list but before the fort. they all worked in an already started game.

I took a fresh gof 1.2 full patch 1 ships_init.c file and copied over my ships code (only) and whop... the glitch returned. I genuinly believe that i have entered the code in correctly see below. In the morning im going to try entering each code in one by one. My greatest concern is that one of the other files may by the 'broken' file caused by the code below. The post below is the readme for my pet project. It has a list of my alterations to the game. it refers to other poeples work. I have no intent to re-release there work so please dont be concerned.


Code:
    ///////////////////////////////////////////////////////////////////////////
    /// JONESIES' Boarding Corvette
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_BOARDINGCORVETTE]);
    refShip.Name                        = "BoardingCorvette";
    refship.Soundtype            = "corvette";
    refShip.Class            = 5; // 5
    refShip.Cannon                      = CANNON_TYPE_CULVERINE_LBS16; //CANNON_TYPE_CANNON_LBS12;
    refShip.MaxCaliber                  = 16; //16
    refShip.Weight            = Tonnes2CWT(600);
    refShip.Capacity                    = 3000; //2250
    refShip.CannonsQuantity        = 32; //32
    refShip.rcannon                            = 12; //13
    refShip.lcannon                            = 12; //13
    refShip.fcannon                            = 4; //2
    refShip.bcannon                            = 4; //4
    refShip.MaxCrew                = 280; // 230
    refShip.MinCrew                    = 16; //16
    refShip.BoardingCrew                        = 118; //118
    refShip.GunnerCrew                            = 34; //34
    refShip.CannonerCrew                = 68; //68
    refShip.SailorCrew                    = 280; //230
    refShip.SpeedRate                    = 17.5; //16.7
    refShip.TurnRate                    = 51.0; //55.0
    refShip.Price                      = 92000; // 89000
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 7000; //7750
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 6000; //6750
}
    refShip.SP                          = 350; //300
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 3.2;
    refShip.sea_enchantment                    = 1.5;
    refShip.lowpolycrew = 20;
    refShip.buildtime = 80;
 
    refship.Rocking.y = 0.8;
    refship.Rocking.az = 0.025;
   
    refship.WaterLine                            = 0.08;
    refship.SpeedDependWeight            = 0.3;
    refship.SubSeaDependWeight            = 0.38;
    refship.TurnDependWeight            = 0.35;
    refship.WindAgainstSpeed  = 4.8;//boal
    refship.CabinType          = "Cabin_Medium"; // boal 28.03.05
   
    refship.InertiaAccelerationX    = 8.0;    refship.InertiaBrakingX        = 8.0;
    refship.InertiaAccelerationY    = 6;    refship.InertiaBrakingY        = 6;
    refship.InertiaAccelerationZ    = 6.0;    refship.InertiaBrakingZ        = 6.0;
   
    refShip.GeraldSails.rey_b2        = 1;
    refShip.GeraldSails.rey_b3        = 1;
    refShip.GeraldSails.rey_b2.vscale        = 0.7;
    refShip.GeraldSails.rey_b3.vscale        = 0.7;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.17;
    refship.Track1.LifeTime = 12.5;
    refship.Track1.Width    = "4.0, 5.0";
    refship.Track1.Speed    = "6.0, 8.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 6.5;
    refship.Track2.Width    = "5.0, 7.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = 1.0; // 0.0
        refShip.france = 0.0; // 1.0
        refShip.holland = 0.0; // 0.0
        refShip.pirate = 1.0; // 1.0
        refShip.spain = 1.0; // 0.0
 
    ///////////////////////////////////////////////////////////////////////////
    /// JONESIES' Boarding Masters Corvette (GOD-SHIP)
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_BOARDINGMASTERSCORVETTE]);
    refShip.Name                        = "BoardingMastersCorvette";
    refship.Soundtype            = "corvette";
    refShip.Class            = 5; // 5
    refShip.Cannon                      = CANNON_TYPE_CULVERINE_LBS24; //CANNON_TYPE_CANNON_LBS12;
    refShip.MaxCaliber                  = 24; //16
    refShip.Weight            = Tonnes2CWT(600);
    refShip.Capacity                    = 5500; //2250
    refShip.CannonsQuantity        = 36; //32
    refShip.rcannon                            = 13; //13
    refShip.lcannon                            = 13; //13
    refShip.fcannon                            = 6; //2
    refShip.bcannon                            = 4; //4
    refShip.MaxCrew                = 380; // 230
    refShip.MinCrew                    = 10; //16
    refShip.BoardingCrew                        = 118; //118
    refShip.GunnerCrew                            = 34; //34
    refShip.CannonerCrew                = 68; //68
    refShip.SailorCrew                    = 380; //230
    refShip.SpeedRate                    = 19.0; //16.7
    refShip.TurnRate                    = 65.0; //55.0
    refShip.Price                      = 102000; //80000
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 9900; //7750
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 8900; //6750
}
    refShip.SP                          = 450; //300
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.CanEncounter                    = false; //<--- JONESIE, Stops the god-ship from generating in-game
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 3.2;
    refShip.sea_enchantment                    = 1.5;
    refShip.lowpolycrew = 20;
    refShip.buildtime = 80;
 
    refship.Rocking.y = 0.8;
    refship.Rocking.az = 0.025;
   
    refship.WaterLine                            = 0.08;
    refship.SpeedDependWeight            = 0.3;
    refship.SubSeaDependWeight            = 0.38;
    refship.TurnDependWeight            = 0.35;
    refship.WindAgainstSpeed  = 4.8;//boal
    refship.CabinType          = "Cabin_Medium"; // boal 28.03.05
   
    refship.InertiaAccelerationX    = 8.0;    refship.InertiaBrakingX        = 8.0;
    refship.InertiaAccelerationY    = 6;    refship.InertiaBrakingY        = 6;
    refship.InertiaAccelerationZ    = 6.0;    refship.InertiaBrakingZ        = 6.0;
   
    refShip.GeraldSails.rey_b2        = 1;
    refShip.GeraldSails.rey_b3        = 1;
    refShip.GeraldSails.rey_b2.vscale        = 0.7;
    refShip.GeraldSails.rey_b3.vscale        = 0.7;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.17;
    refship.Track1.LifeTime = 12.5;
    refship.Track1.Width    = "4.0, 5.0";
    refship.Track1.Speed    = "6.0, 8.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 6.5;
    refship.Track2.Width    = "5.0, 7.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = 0.0; //
        refShip.france = 0.0; // 1.0
        refShip.holland = 0.0; //
        refShip.pirate = 0.0; // 1.0
        refShip.spain = 0.0; //
 
    ///////////////////////////////////////////////////////////////////////////
    // JONESIES' Boarding Frigate
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_BOARDINGFRIGATE]);
    refShip.Name                        = "BoardingFrigate";
    refship.Soundtype            = "frigate";
    refShip.Class            = 4; //4
    refShip.Cannon                      = CANNON_TYPE_CULVERINE_LBS20; //CANNON_TYPE_CANNON_LBS8;
    refShip.MaxCaliber                  = 20; //20
    refShip.Weight            = Tonnes2CWT(1000);
    refShip.Capacity                    = 3500; //2800
    refShip.CannonsQuantity                = 42; //42
    refShip.rcannon                            = 18; //19
    refShip.lcannon                            = 18; //19
    refShip.fcannon                            = 4; //2
    refShip.bcannon                            = 2; //2
    refShip.MaxCrew                    = 400; //300
    refShip.MinCrew                    = 17; //17
    refShip.BoardingCrew                        = 157;
    refShip.GunnerCrew                            = 42;
    refShip.CannonerCrew                = 84;
    refShip.SailorCrew                    = 380; //290
    refShip.SpeedRate                    = 14.8; //13.8
    refShip.TurnRate                    = 32.0; //36.0
    refShip.Price                      = 130000; //110000
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 6500; //7500
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 5500; //6500
}
    refShip.SP                          = 400; //350
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 3.0;
    refShip.sea_enchantment                    = 1.2;
    refShip.lowpolycrew = 20;
    refShip.buildtime = 100;
   
    refship.Rocking.y = 0.4;
    refship.Rocking.az = 0.035;
   
    refship.WaterLine                            = 0.3;
    refship.SpeedDependWeight            = 0.3;
    refship.SubSeaDependWeight            = 1.0;
    refship.TurnDependWeight            = 0.8;
    refship.WindAgainstSpeed  = 4.5;//boal
    refship.CabinType          = "Cabin"; // boal 28.03.05
    refship.DeckType          = "Big";
   
    refship.InertiaAccelerationX    = 5.0;    refship.InertiaBrakingX        = 5.0;
    refship.InertiaAccelerationY    = 4;    refship.InertiaBrakingY        = 4;
    refship.InertiaAccelerationZ    = 5.0;    refship.InertiaBrakingZ        = 5.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;
 
    refShip.GeraldSails.rey_b1 = 1;
    refShip.GeraldSails.rey_b2 = 1;
    refShip.GeraldSails.rey_b3 = 1;
    refShip.GeraldSails.rey_b1.vscale = 0.9;
    refShip.GeraldSails.rey_b2.vscale = 0.7;
    refShip.GeraldSails.rey_b3.vscale = 0.7;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.20;
    refship.Track1.LifeTime = 14.5;
    refship.Track1.Width    = "3.7, 3.9";
    refship.Track1.Speed    = "7.0, 8.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 8.5;
    refship.Track2.Width    = "8.0, 9.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = 1.0; // 1.0
        refShip.france = 1.0; // 1.0
        refShip.holland = 0.0; // 0.0
        refShip.pirate = 0.0; // 0.0
        refShip.spain = 1.0; // 0.0
 
    ///////////////////////////////////////////////////////////////////////////
    // JONESIES' Boarding Masters Frigate (GOD-SHIP)
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_BOARDINGMASTERSFRIGATE]);
    refShip.Name                        = "BoardingMastersFrigate";
    refship.Soundtype            = "frigate";
    refShip.Class            = 4; //4
    refShip.Cannon                      = CANNON_TYPE_CULVERINE_LBS28; //CANNON_TYPE_CANNON_LBS8;
    refShip.MaxCaliber                  = 28; //20
    refShip.Weight            = Tonnes2CWT(1000);
    refShip.Capacity                    = 6400; // 2800
    refShip.CannonsQuantity                = 52; //42
    refShip.rcannon                            = 22; //19
    refShip.lcannon                            = 22; //19
    refShip.fcannon                            = 4; //2
    refShip.bcannon                            = 4; //2
    refShip.MaxCrew                    = 540; //300
    refShip.MinCrew                    = 10; //17
    refShip.BoardingCrew                        = 157;
    refShip.GunnerCrew                            = 42;
    refShip.CannonerCrew                = 84;
    refShip.SailorCrew                    = 500; //290
    refShip.SpeedRate                    = 16.2; //13.8
    refShip.TurnRate                    = 46.0; //36.0
    refShip.Price                      = 150000; //110000
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 10900; //7500
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 9900; //6500
}
    refShip.SP                          = 500; //350
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.CanEncounter                    = false; //<--- JONESIE, Stops the god-ship from generating in-game
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 3.0;
    refShip.sea_enchantment                    = 1.2;
    refShip.lowpolycrew = 20;
    refShip.buildtime = 100;
   
    refship.Rocking.y = 0.4;
    refship.Rocking.az = 0.035;
   
    refship.WaterLine                            = 0.3;
    refship.SpeedDependWeight            = 0.3;
    refship.SubSeaDependWeight            = 1.0;
    refship.TurnDependWeight            = 0.8;
    refship.WindAgainstSpeed  = 4.5;//boal
    refship.CabinType          = "Cabin"; // boal 28.03.05
    refship.DeckType          = "Big";
   
    refship.InertiaAccelerationX    = 5.0;    refship.InertiaBrakingX        = 5.0;
    refship.InertiaAccelerationY    = 4;    refship.InertiaBrakingY        = 4;
    refship.InertiaAccelerationZ    = 5.0;    refship.InertiaBrakingZ        = 5.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;
 
    refShip.GeraldSails.rey_b1 = 1;
    refShip.GeraldSails.rey_b2 = 1;
    refShip.GeraldSails.rey_b3 = 1;
    refShip.GeraldSails.rey_b1.vscale = 0.9;
    refShip.GeraldSails.rey_b2.vscale = 0.7;
    refShip.GeraldSails.rey_b3.vscale = 0.7;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.20;
    refship.Track1.LifeTime = 14.5;
    refship.Track1.Width    = "3.7, 3.9";
    refship.Track1.Speed    = "7.0, 8.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 8.5;
    refship.Track2.Width    = "8.0, 9.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = 0.0; // 1.0
        refShip.france = 0.0; // 1.0
        refShip.holland = 0.0; // 0.0
        refShip.pirate = 0.0; // 0.0
        refShip.spain = 0.0; // 0.0
       
    ///////////////////////////////////////////////////////////////////////////
    /// JONESIES, ENGLISH FLAGSHIP
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_ENGLISHFLAGSHIP]);
    refShip.Name                        = "EnglishFlagship";
    refship.Soundtype            = "manowar";
    refShip.Class            = 1;
    refShip.Cannon                      = CANNON_TYPE_CANNON_LBS42;
    refShip.MaxCaliber                  = 48;
    refShip.Weight            = Tonnes2CWT(4000);
    refShip.Capacity                    = 8500;
    refShip.CannonsQuantity                = 106;
    refShip.rcannon                            = 51;
    refShip.lcannon                            = 51;
    refShip.fcannon                            = 2;
    refShip.bcannon                            = 2;
    refShip.MaxCrew                    = 880;
    refShip.MinCrew                    = 30;
    refShip.BoardingCrew                        = 532;
    refShip.GunnerCrew                            = 106;
    refShip.CannonerCrew                = 216;
    refShip.SailorCrew                    = 870;
    refShip.SpeedRate                    = 10.8;
    refShip.TurnRate                    = 25.0;
    refShip.Price                      = 570000;
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 19500;
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 18500;
}
    refShip.SP                          = 500;
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 1.0;
    refShip.sea_enchantment                    = 1.0;
    refShip.lowpolycrew = 28;
    refShip.buildtime = 140;
 
    refship.Rocking.y = 0.3;
    refship.Rocking.az = 0.02;
 
    refship.WaterLine                            = 0.5;
    refship.SpeedDependWeight            = 0.45;
    refship.SubSeaDependWeight            = 1.8;
    refship.TurnDependWeight            = 0.45;
    refship.WindAgainstSpeed  = 0.7;//boal
    refship.CabinType          = "Cabin_Victory"; // boal 28.03.05
    refship.DeckType          = "Big";
   
    refship.InertiaAccelerationX    = 1.5;    refship.InertiaBrakingX        = 1.5;
    refship.InertiaAccelerationY    = 1.5;    refship.InertiaBrakingY        = 1.5;
    refship.InertiaAccelerationZ    = 1.5;    refship.InertiaBrakingZ        = 1.5;
   
    refShip.GeraldSails.rey_b2            = 1;
    refShip.GeraldSails.rey_b3            = 1;
    refShip.GeraldSails.rey_c1            = 1;
    refShip.GeraldSails.rey_c1.vscale        = 0.98;
    refShip.GeraldSails.rey_b2.vscale        = 0.98;
    refShip.GeraldSails.rey_b3.vscale        = 0.98;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.30;
    refship.Track1.LifeTime = 18.5;
    refship.Track1.Width    = "6.5, 7.5";
    refship.Track1.Speed    = "8.0, 9.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 10.5;
    refship.Track2.Width    = "16.0, 18.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = 1.0; //
        refShip.france = 0.0; //
        refShip.holland = 0.0; //
        refShip.pirate = 0.0; //
        refShip.spain = 0.0; //
 
    ///////////////////////////////////////////////////////////////////////////
    /// JONESIES' FRENCH FLAGSHIP
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_FRENCHFLAGSHIP]);
    refShip.Name                = "FrenchFlagship";
    refship.Soundtype                = "manowar";
    refShip.Class            = 1;
    refShip.Cannon                      = CANNON_TYPE_CANNON_LBS42;
    refShip.MaxCaliber                  = 48;
    refShip.Weight            = Tonnes2CWT(4500);
    refShip.Capacity                    = 9000;
    refShip.CannonsQuantity                = 112;
    refShip.rcannon                            = 52;
    refShip.lcannon                            = 52;
    refShip.fcannon                            = 4;
    refShip.bcannon                            = 4;
    refShip.MaxCrew                    = 900;
    refShip.MinCrew                    = 36;
    refShip.BoardingCrew                        = 528;
    refShip.GunnerCrew                            = 112;
    refShip.CannonerCrew                = 224;
    refShip.SailorCrew                    = 890;
    refShip.SpeedRate                    = 10.6;
    refShip.TurnRate                    = 29.0;
    refShip.Price                      = 600000;
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 20000;
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 19000;
}
    refShip.SP                          = 500;
    refShip.AbordageLocation = "Boarding Deck_01";
    refship.Type.Merchant = false;
    refship.Type.War = true;
    refShip.fWindAgainstSpeed = 1.0;
    refShip.sea_enchantment = 1.0;
    refShip.lowpolycrew = 28;
    refShip.buildtime = 140;
 
    refship.Rocking.y = 0.3;
    refship.Rocking.az = 0.02 ;
 
    refship.WaterLine = 0.5;
    refship.SpeedDependWeight = 0.45;
    refship.SubSeaDependWeight = 1.8;
    refship.TurnDependWeight = 0.45;
    refship.WindAgainstSpeed = 1.3;//boal
    refship.CabinType          = "Cabin_Huge"; // boal 28.03.05
    refship.DeckType          = "Big";
   
    refship.InertiaAccelerationX = 2.0; refship.InertiaBrakingX = 2.0;
    refship.InertiaAccelerationY = 2; refship.InertiaBrakingY = 2;
    refship.InertiaAccelerationZ = 2.0; refship.InertiaBrakingZ = 2.0;
 
    refShip.GeraldSails.rey_b2 = 1;
    refShip.GeraldSails.rey_b3 = 1;
    refShip.GeraldSails.rey_c1 = 1;
    refShip.GeraldSails.rey_c1.vscale = 0.98;
    refShip.GeraldSails.rey_b2.vscale = 0.98;
    refShip.GeraldSails.rey_b3.vscale = 0.98;
 
    refship.Track.Enable = true;
    refship.Track1.ZStart = 0.30;
    refship.Track1.LifeTime = 18.5;
    refship.Track1.Width = "6.5, 7.5";
    refship.Track1.Speed = "8.0, 9.0";
 
    refship.Track2.ZStart = -0.15;
    refship.Track2.LifeTime = 10.5;
    refship.Track2.Width = "16.0, 18.0";
 
    ///////////////////////////////////////////////////////////////////////////
    /// JONESIES, SPANISH FLAGSHIP
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_SPANISHFLAGSHIP]);
    refShip.Name                        = "SpanishFlagship";
    refship.Soundtype            = "manowar";
    refShip.Class            = 1;
    refShip.Cannon                      = CANNON_TYPE_CANNON_LBS42;
    refShip.MaxCaliber                  = 48;
    refShip.Weight            = Tonnes2CWT(4000);
    refShip.Capacity                    = 8500;
    refShip.CannonsQuantity                = 106;
    refShip.rcannon                            = 51;
    refShip.lcannon                            = 51;
    refShip.fcannon                            = 2;
    refShip.bcannon                            = 2;
    refShip.MaxCrew                    = 880;
    refShip.MinCrew                    = 30;
    refShip.BoardingCrew                        = 532;
    refShip.GunnerCrew                            = 106;
    refShip.CannonerCrew                = 216;
    refShip.SailorCrew                    = 870;
    refShip.SpeedRate                    = 10.8;
    refShip.TurnRate                    = 25.0;
    refShip.Price                      = 570000;
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 19500;
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 18500;
}
    refShip.SP                          = 500;
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 1.0;
    refShip.sea_enchantment                    = 1.0;
    refShip.lowpolycrew = 28;
    refShip.buildtime = 140;
 
    refship.Rocking.y = 0.3;
    refship.Rocking.az = 0.02;
 
    refship.WaterLine                            = 0.5;
    refship.SpeedDependWeight            = 0.45;
    refship.SubSeaDependWeight            = 1.8;
    refship.TurnDependWeight            = 0.45;
    refship.WindAgainstSpeed  = 0.7;//boal
    refship.CabinType          = "Cabin_Victory"; // boal 28.03.05
    refship.DeckType          = "Big";
   
    refship.InertiaAccelerationX    = 1.5;    refship.InertiaBrakingX        = 1.5;
    refship.InertiaAccelerationY    = 1.5;    refship.InertiaBrakingY        = 1.5;
    refship.InertiaAccelerationZ    = 1.5;    refship.InertiaBrakingZ        = 1.5;
   
    refShip.GeraldSails.rey_b2            = 1;
    refShip.GeraldSails.rey_b3            = 1;
    refShip.GeraldSails.rey_c1            = 1;
    refShip.GeraldSails.rey_c1.vscale        = 0.98;
    refShip.GeraldSails.rey_b2.vscale        = 0.98;
    refShip.GeraldSails.rey_b3.vscale        = 0.98;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.30;
    refship.Track1.LifeTime = 18.5;
    refship.Track1.Width    = "6.5, 7.5";
    refship.Track1.Speed    = "8.0, 9.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 10.5;
    refship.Track2.Width    = "16.0, 18.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = .0; //
        refShip.france = 0.0; //
        refShip.holland = 0.0; //
        refShip.pirate = 0.0; //
        refShip.spain = 1.0; //
 
    ///////////////////////////////////////////////////////////////////////////
    /// JONESIES, DUTCH FLAGSHIP
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_DUTCHFLAGSHIP]);
    refShip.Name                        = "DutchFlagship";
    refship.Soundtype            = "manowar";
    refShip.Class            = 1;
    refShip.Cannon                      = CANNON_TYPE_CANNON_LBS42;
    refShip.MaxCaliber                  = 48;
    refShip.Weight            = Tonnes2CWT(4000);
    refShip.Capacity                    = 8500;
    refShip.CannonsQuantity                = 106;
    refShip.rcannon                            = 51;
    refShip.lcannon                            = 51;
    refShip.fcannon                            = 2;
    refShip.bcannon                            = 2;
    refShip.MaxCrew                    = 880;
    refShip.MinCrew                    = 30;
    refShip.BoardingCrew                        = 532;
    refShip.GunnerCrew                            = 106;
    refShip.CannonerCrew                = 216;
    refShip.SailorCrew                    = 870;
    refShip.SpeedRate                    = 10.8;
    refShip.TurnRate                    = 25.0;
    refShip.Price                      = 570000;
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 19500;
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 18500;
}
    refShip.SP                          = 500;
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 1.0;
    refShip.sea_enchantment                    = 1.0;
    refShip.lowpolycrew = 28;
    refShip.buildtime = 140;
 
    refship.Rocking.y = 0.3;
    refship.Rocking.az = 0.02;
 
    refship.WaterLine                            = 0.5;
    refship.SpeedDependWeight            = 0.45;
    refship.SubSeaDependWeight            = 1.8;
    refship.TurnDependWeight            = 0.45;
    refship.WindAgainstSpeed  = 0.7;//boal
    refship.CabinType          = "Cabin_Victory"; // boal 28.03.05
    refship.DeckType          = "Big";
   
    refship.InertiaAccelerationX    = 1.5;    refship.InertiaBrakingX        = 1.5;
    refship.InertiaAccelerationY    = 1.5;    refship.InertiaBrakingY        = 1.5;
    refship.InertiaAccelerationZ    = 1.5;    refship.InertiaBrakingZ        = 1.5;
   
    refShip.GeraldSails.rey_b2            = 1;
    refShip.GeraldSails.rey_b3            = 1;
    refShip.GeraldSails.rey_c1            = 1;
    refShip.GeraldSails.rey_c1.vscale        = 0.98;
    refShip.GeraldSails.rey_b2.vscale        = 0.98;
    refShip.GeraldSails.rey_b3.vscale        = 0.98;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.30;
    refship.Track1.LifeTime = 18.5;
    refship.Track1.Width    = "6.5, 7.5";
    refship.Track1.Speed    = "8.0, 9.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 10.5;
    refship.Track2.Width    = "16.0, 18.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = .0; //
        refShip.france = 0.0; //
        refShip.holland = 1.0; //
        refShip.pirate = 0.0; //
        refShip.spain = 0.0; //
 
    ///////////////////////////////////////////////////////////////////////////
    // JONESIES' PIRATE FLAGSHIP
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_PIRATEFLAGSHIP]);
    refShip.Name                        = "PirateFlagship";
    refship.Soundtype            = "linship";
    refShip.Class            = 3;
    refShip.Cannon                      = CANNON_TYPE_CANNON_LBS4;
    refShip.MaxCaliber                  = 20;
    refShip.Weight            = Tonnes2CWT(550);
    refShip.Capacity                    = 3900;
    refShip.CannonsQuantity        = 54;
    refShip.rcannon                            = 23;
    refShip.lcannon                            = 23;
    refShip.fcannon                            = 2;
    refShip.bcannon                            = 6;
    refShip.MaxCrew                    = 378;
    refShip.MinCrew                    = 20;
    refShip.BoardingCrew                        = 196;
    refShip.GunnerCrew                = 54;
    refShip.CannonerCrew                        = 108;
    refShip.SailorCrew                = 260;
    refShip.SpeedRate                      = 14.3;
    refShip.TurnRate                    = 45.0;
    refShip.Price                      = 120000;
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 8550;
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 7550;
}
    refShip.SP                          = 400;
    refShip.AbordageLocation            = "Boarding Deck_02";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 2.5;
    refShip.sea_enchantment                    = 1.2;
    refShip.lowpolycrew = 20;
    refShip.buildtime = 100;
   
    refship.Rocking.y = 0.4;
    refship.Rocking.az = 0.035;
 
    refship.WaterLine = 1.2;
    refship.SpeedDependWeight = 0.3;
    refship.SubSeaDependWeight = 1.1;
    refship.TurnDependWeight = 0.8;
    refship.WindAgainstSpeed  = 3.6;//boal
    refship.CabinType          = "Cabin"; // boal 28.03.05
    refship.DeckType          = "Big";
 
    refship.InertiaAccelerationX    = 3.0;    refship.InertiaBrakingX        = 2.0;
    refship.InertiaAccelerationY    = 14;    refship.InertiaBrakingY        = 5;
    refship.InertiaAccelerationZ    = 5.0;    refship.InertiaBrakingZ        = 3.0;
 
    refShip.Height.Bombs.Y                = 3.0;    refShip.Height.Bombs.DY        = 1.5;
    refShip.Height.Grapes.Y                = 4.5;    refShip.Height.Grapes.DY    = 1.0;
    refShip.Height.Knippels.Y            = 24.0;    refShip.Height.Knippels.DY    = 17.0;
    refShip.Height.Balls.Y                = 3.0;    refShip.Height.Balls.DY        = 1.5;
   
    refShip.GeraldSails.rey_b3        = 1;
    refShip.GeraldSails.rey_b2        = 1;
    refShip.GeraldSails.rey_b3.vscale        = 0.9;
    refShip.GeraldSails.rey_b2.vscale        = 0.7;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.20;
    refship.Track1.LifeTime = 14.5;
    refship.Track1.Width    = "3.7, 3.9";
    refship.Track1.Speed    = "7.0, 8.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 8.5;
    refship.Track2.Width    = "8.0, 9.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = 0.0; //
        refShip.france = 0.0; //
        refShip.holland = 1.0; //
        refShip.pirate = 0.0; //
        refShip.spain = 0.0; //
 
hahahahaha lol :rofl. I figured it out. I forgot to put a zero in there( refShip.england = .0; // ) For some reason that means no ships can have a crew!! o_O

I probably should have checked that right away.:modding

Code:
///////////////////////////////////////////////////////////////////////////
    /// JONESIES, DUTCH FLAGSHIP
    ///////////////////////////////////////////////////////////////////////////
    makeref(refShip,ShipsTypes[SHIP_DUTCHFLAGSHIP]);
    refShip.Name                        = "DutchFlagship";
    refship.Soundtype            = "manowar";
    refShip.Class            = 1;
    refShip.Cannon                      = CANNON_TYPE_CANNON_LBS42;
    refShip.MaxCaliber                  = 48;
    refShip.Weight            = Tonnes2CWT(4000);
    refShip.Capacity                    = 8500;
    refShip.CannonsQuantity                = 106;
    refShip.rcannon                            = 51;
    refShip.lcannon                            = 51;
    refShip.fcannon                            = 2;
    refShip.bcannon                            = 2;
    refShip.MaxCrew                    = 880;
    refShip.MinCrew                    = 30;
    refShip.BoardingCrew                        = 532;
    refShip.GunnerCrew                            = 106;
    refShip.CannonerCrew                = 216;
    refShip.SailorCrew                    = 870;
    refShip.SpeedRate                    = 10.8;
    refShip.TurnRate                    = 25.0;
    refShip.Price                      = 570000;
        if(!RTBL) // = If RTBL is NOT enabled
{
    refShip.HP                          = 19500;
        }
    else // = If RTBL IS enabled
    {
    refShip.HP                = 18500;
}
    refShip.SP                          = 500;
    refShip.AbordageLocation            = "Boarding Deck_01";
    refship.Type.Merchant                    = false;
    refship.Type.War                        = true;
    refShip.fWindAgainstSpeed                = 1.0;
    refShip.sea_enchantment                    = 1.0;
    refShip.lowpolycrew = 28;
    refShip.buildtime = 140;
 
    refship.Rocking.y = 0.3;
    refship.Rocking.az = 0.02;
 
    refship.WaterLine                            = 0.5;
    refship.SpeedDependWeight            = 0.45;
    refship.SubSeaDependWeight            = 1.8;
    refship.TurnDependWeight            = 0.45;
    refship.WindAgainstSpeed  = 0.7;//boal
    refship.CabinType          = "Cabin_Victory"; // boal 28.03.05
    refship.DeckType          = "Big";
 
    refship.InertiaAccelerationX    = 1.5;    refship.InertiaBrakingX        = 1.5;
    refship.InertiaAccelerationY    = 1.5;    refship.InertiaBrakingY        = 1.5;
    refship.InertiaAccelerationZ    = 1.5;    refship.InertiaBrakingZ        = 1.5;
 
    refShip.GeraldSails.rey_b2            = 1;
    refShip.GeraldSails.rey_b3            = 1;
    refShip.GeraldSails.rey_c1            = 1;
    refShip.GeraldSails.rey_c1.vscale        = 0.98;
    refShip.GeraldSails.rey_b2.vscale        = 0.98;
    refShip.GeraldSails.rey_b3.vscale        = 0.98;
 
    refship.Track.Enable    = true;
    refship.Track1.ZStart    = 0.30;
    refship.Track1.LifeTime = 18.5;
    refship.Track1.Width    = "6.5, 7.5";
    refship.Track1.Speed    = "8.0, 9.0";
 
    refship.Track2.ZStart    = -0.15;
    refship.Track2.LifeTime = 10.5;
    refship.Track2.Width    = "16.0, 18.0";
    refship.Track2.Speed    = "0.15, 0.25";
 
    //Nation
        refShip.england = .0; //  <----------------------------------------- I forgot a 0
        refShip.france = 0.0; //
        refShip.holland = 1.0; //
        refShip.pirate = 0.0; //
        refShip.spain = 0.0; //
 
Back
Top