TheUndreaming
Landlubber
Sorry my first question is a newb one. I understand all the scripting stuff (did a lot of scripting in Neverwinter Nights... this style is a lot like that :\) but anyways, the part I don't understand is how to add new ships.
What I want to do:
1.) Copy the Black Pearl model already with the GoF
2.) Copy one of the Man-o-war ship codes (below all this) and rename it to something else.
Basically a new ship that looks like the black pearl *shrugs*. I know not original, but I don't wanna edit the pre-existing ships, but instead add a new one under a 1st rate Manowar ghost-ship type o deal.
--The Ship:--
///////////////////////////////////////////////////////////////////////////
/// ム裨 ミ・
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_SOLEYRU]);
refShip.Name = "SoleyRu";
refship.Soundtype= "manowar";
refShip.Class= 1;
refShip.Cannon= CANNON_TYPE_CANNON_LBS48;
refShip.MaxCaliber= 48;
refShip.Weight= Tonnes2CWT(4500);
refShip.Capacity= 10000;
refShip.CannonsQuantity= 112;
refShip.rcannon= 48;
refShip.lcannon= 48;
refShip.fcannon= 6;
refShip.bcannon= 10;
refShip.MaxCrew= 1200;
refShip.MinCrew= 36;
refShip.BoardingCrew= 828;
refShip.GunnerCrew= 112;
refShip.CannonerCrew= 224;
refShip.SailorCrew= 1190;
refShip.SpeedRate= 10.6;
refShip.TurnRate= 32.0;
refShip.Price= 650000;
if(!RTBL) // = If RTBL is NOT enabled
{
refShip.HP= 20700;
}
else // = If RTBL IS enabled
{
refShip.HP= 19700;
}
refShip.SP= 500;
refship.EmblemedSails.normalTex = "ships\parus_SoleyRu.tga";
refShip.AbordageLocation= "Boarding Deck_01";
refship.CanEncounter = false;
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";
//Nation
refShip.england = 0.0; //
refShip.france = 1.0; //
refShip.holland = 0.0; //
refShip.pirate = 0.0; //
refShip.spain = 1.0; //
((literally how it looks in Notepad++ for me
)) maybe name was in russian?
EDIT: Forgot to add, I renamed it to SHIP_WhisperingDeath, and in the ship name "WhisperingDeath". Wasn't sure if that would mess up the "reading" of the file or not, like if I have to copy the black pearl foldiers and rename to new ship name? and any other changes?
What I want to do:
1.) Copy the Black Pearl model already with the GoF
2.) Copy one of the Man-o-war ship codes (below all this) and rename it to something else.
Basically a new ship that looks like the black pearl *shrugs*. I know not original, but I don't wanna edit the pre-existing ships, but instead add a new one under a 1st rate Manowar ghost-ship type o deal.
--The Ship:--
///////////////////////////////////////////////////////////////////////////
/// ム裨 ミ・
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_SOLEYRU]);
refShip.Name = "SoleyRu";
refship.Soundtype= "manowar";
refShip.Class= 1;
refShip.Cannon= CANNON_TYPE_CANNON_LBS48;
refShip.MaxCaliber= 48;
refShip.Weight= Tonnes2CWT(4500);
refShip.Capacity= 10000;
refShip.CannonsQuantity= 112;
refShip.rcannon= 48;
refShip.lcannon= 48;
refShip.fcannon= 6;
refShip.bcannon= 10;
refShip.MaxCrew= 1200;
refShip.MinCrew= 36;
refShip.BoardingCrew= 828;
refShip.GunnerCrew= 112;
refShip.CannonerCrew= 224;
refShip.SailorCrew= 1190;
refShip.SpeedRate= 10.6;
refShip.TurnRate= 32.0;
refShip.Price= 650000;
if(!RTBL) // = If RTBL is NOT enabled
{
refShip.HP= 20700;
}
else // = If RTBL IS enabled
{
refShip.HP= 19700;
}
refShip.SP= 500;
refship.EmblemedSails.normalTex = "ships\parus_SoleyRu.tga";
refShip.AbordageLocation= "Boarding Deck_01";
refship.CanEncounter = false;
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";
//Nation
refShip.england = 0.0; //
refShip.france = 1.0; //
refShip.holland = 0.0; //
refShip.pirate = 0.0; //
refShip.spain = 1.0; //
((literally how it looks in Notepad++ for me

EDIT: Forgot to add, I renamed it to SHIP_WhisperingDeath, and in the ship name "WhisperingDeath". Wasn't sure if that would mess up the "reading" of the file or not, like if I have to copy the black pearl foldiers and rename to new ship name? and any other changes?