• 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!

edit ship at the start of the game

woopypooky

Master Mariner
I want to know how to edit the ship in ship.init file , to make it more special and i dun want to encounter the same ship at sea when i play the game; anyone can tell me how?

Next, which is the best ship in the game? The best looking?Any pictures?
 
Okay, now I can't claim to know everything about this stuff, but here is something you can do to edit the ships_init.c file for a special ship:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//-------------------------------------------------------------------------

// Frigate SATANIST

//-------------------------------------------------------------------------

    // PS -->

    makeref(refShip,ShipsTypes[n]);

    n++;

    // PS <-- makeref(refShip,ShipsTypes[SHIP_FRIGATE_SAT]);

    refShip.Name      = "Frigate_sat";

    refShip.Nation      = PIRATE; // NK

    refShip.unique      = true; // PRS3

    refShip.id    = refShip.Name; // PS

    ////curid = refShip.id; ShipLookupTable.id.(curid) = `n-1`; // PS

    refShip.Class     = 2;

    refShip.Cannon    = CANNON_TYPE_CANNON_LBS24;

    refShip.MaxCaliber   = 24;

    refShip.Weight      = Tonnes2CWT(1100);

    refShip.Capacity  = 2500;

    refShip.CannonsQuantity = 44;

    refShip.MaxCrew   = 400;

    refShip.MinCrew   = 95;

    refShip.SpeedRate    = 14.4;

    refShip.TurnRate  = 35;

    refShip.Price     = 180000;

    refShip.HP     = 6500;

    refShip.SP     = 100;

    refShip.AbordageLocation = "BOARDING_CORVETTE";



    refShip.Type.Trade = false;

    refShip.Type.War = true;



    // NK - refShip.EmblemedSails.normalTex = "shipssail_Pirates.tga";



    refShip.GeraldSails.rey_b2    = 1;

    refShip.GeraldSails.rey_b3    = 1;



    refShip.WaterLine = 0.2;

    refShip.SpeedDependWeight = 0.3;

    refShip.SubSeaDependWeight = 0.9;

    refShip.TurnDependWeight = 0.8;



    refShip.CanEncounter    = false;



    refShip.InertiaAccelerationX    = 0.2;    refShip.InertiaBrakingX  = 2.0;

    refShip.InertiaAccelerationY    = 10;    refShip.InertiaBrakingY  = 4;

    refShip.InertiaAccelerationZ    = 4.0;    refShip.InertiaBrakingZ  = 2.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;<!--c2--></div><!--ec2-->The ship referenced above is the Satanist ship used in the Animists quest. It looks pretty cool, and the Frigate is a nice ship -

`FS-1`.jpg
neat figurehead

`FS-2`.jpg


To edit this file, you should use a hex editor or a plain text editor (i.e., notepad but not wordpad). You WILL need a hex editor to edit the .gm files so it's best to start off with one. You can get UltraEdit as a free download (30 or 45 day trial) at <a href="http://www.ultraedit.com/" target="_blank">http://www.ultraedit.com/</a>

Anything with the "//" mark in front of it will not be read by the game - usually notes or designations that are not germaine to the script.

<span style='color:darkred'>refShip.Name = "Frigate_sat"; </span> Select the model directory in the top window and the texture (or skin) in the middle window - you will easily be able to look at all the ships.

Anyhoo... The rest of the code for any particular ship can be edited - if you rename the ship so it will be uniquely yours, you need to keep the .gm file name the same length in letters - and create a .gm file for your new ship.

Here is an excellent tutorial about making a new ship for PotC: <a href="http://robotsdontbleed.com/wacko/wakka.php?wakka=AddingShips&v=u0c" target="_blank">http://robotsdontbleed.com/wacko/wakka.php...dingShips&v=u0c</a> It will give you info on the settings that you will need to make good decisions on what to change.

This is an important part of the code: <span style='color:darkred'>refShip.CanEncounter = false; </span> This will make sure your personal ship is NOT encountered anywhere else in the game.

Once you've edited the ship stats to your liking and have made a new entry in ships_init.c you should also edit PROGRAMBuildSettings.h to make your new ship your starting ship for a new game.

Here's what you change:

<span style='color:darkred'>string START_SHIP() {return "LuggerCT"; } // Note, the ship will be customized based on the player's nation.</span>

The "LuggerCT" marks the spot where you need to place the name of your custom ship. Then when you start a new game, you will start with your customized ship. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />

If you want to make a custom skin for your custom ship, take a look at this tutorial to find out how - <a href="http://robotsdontbleed.com/wacko/wakka.php?wakka=RetexturingTutorial&v=7ws" target="_blank">http://robotsdontbleed.com/wacko/wakka.php...gTutorial&v=7ws</a>

I think that should do it for ya - hope it's not too confusing! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
HUH?? I am too afraid to even ask!!

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />
 
wah.....thanks a lot,
u are an angel !!!
I luv u !!!
but for a person like me who havent won a single naval battle in the game yet(i uses the default ship) and had little knowledge of C++, tis sure gonna be confusing.
But i will surely try it now, hope u wont mind if i come back to ask some more
 
Here's a couple o' tip te help ye plunder ships mate,
Get yer Fight'n an fenc'n skills up as quick as possible
get yerself an excellent sword with good stats
Always attack yer enemy from their stern at an angle wid de wind at yer back,pepper thar sails wid chain shot te slow em down
Smaller ships are best fer board'n as they are fast an can turn quicker
like an American Fast schooner,ur a sloop,upgrade yer cannons te maximum size culverines.
Hire Fred Bob on Falais DeFleur,he's an excellent boatswain wid remarkable fight'n skills, he's great fer watch'n yer back on de board'n raids.Good luck mate an good hunt'n <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Well, at least in build 11 I´ve got the feeling that chain shot doesn´t work quite as good as it should. My gunner always seems to hit the hull of the enemy when using chains (and he has 10 in gunnery and accuracy!), doing hardly any sail damage at all.
I prefer using one or two grapeshot salvoes just before boarding.
 
I've seen some chainshot hit de hull,most O it punches holes in de sails like it should in build 11 an 12,at least fer me it does,maybe ye should <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/whippa.gif" style="vertical-align:middle" emoid=":whipa" border="0" alt="whippa.gif" /> 'at gunner O' yourn mate <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Ya just have to aim a little higher than the RED aiming reticle when in 1st person - I do that, and fire and hit the sails and masts a LOT! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />

<b>Woopy,</b> do this too - after you get Fred Bob and a couple of other officers, ask one of them "About me" - and say "I don't feel right in this world". The officer will give you an option to change the rules about sightings of enemy ships - you want him to tell you about ALL ships - so you will know about those larger ships you would like to take... And don't be afraid to try boarding them!!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/duel_pa.gif" style="vertical-align:middle" emoid=":ixi" border="0" alt="duel_pa.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />

If you hone up your melee skills and have some good officers, you should do okay in a boarding. Make sure to give all your officers good swords (Fred Bob comes with a good one already), and also give them health potions - keep a good supply of them yourself - that will keep both them AND YOU alive.

The "C" key during a fight will keep your health up because it's a hotkey to consume a potion. Just be sure to keep an eye on your health bar and don't let it go past half or you could die pretty quickly with one blow or if someone shoots you (or a chest explodes in your face, LOL!).

Hope this helps!!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
one question here plz....i have downloaded the build 12 and installed it, will editing the ship still be the same way?
because i can't /dunno modify my character in character.init file anymore.

p/s I juz want to add a freepoint of 10 pts and 10,000 gold only.
 
i take a look at the GM viewer.there was 3 blackpearl ships, blackpearl, blackpearl 1 and blackpearl 2. i would love to have the blackpearl 2 as my starting ship. what i have to edit?
or will i have any chance of encountering it in the game?maybe i can try boarding it.
 
You will eventually encounter this ship in the game, tho it may be rare.

To change your starting ship you need to edit the file <span style='color:darkred'>PROGRAMBuildSettings.h</span> -

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//**********PLAYER CHARACTER & SHIP**************************************************

#define FIRSTNAME "Nathaniel"

#define LASTNAME "Hawk"

//then press N during the game to set your character's name to this.



#define START_LEVEL      4

#define START_MONEY 1000

#define START_WEALTH      500  // your *personal* money

#define START_NATION      0  //must be the nation number, not name. See globals.c for the list of nation numbers.



string START_SHIP() {return "LuggerCT"; } // Note, the ship will be customized based on the player's nation.

         // check ships_init.c for all ships' IDs.

#define START_SHIP_NATION  0  // must be the nation number, not name. See globals.c for the list of nation numbers.<!--c2--></div><!--ec2-->See mine is edited so I start at level 4, with the LuggerCT. I edited it like this because I got tired of practicing with Malcolm to get up to level four before I left the ship at each new game... And I like my little LuggerCT (which I painted myself). <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />

Anyways, to edit so you get the Blackpearl2, edit this line:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string START_SHIP() {return "BlackPearl2"; }<!--c2--></div><!--ec2-->That should do it! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Back
Top