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

How do i add Endeavour to POTC!?

futura715

Landlubber
Hi, i am a big fan of both AOP and POTC, but i am a novice when it comes to modding! hehe..

so is there anyone hwo can tell me how to add Endeavour in to Pirates of the caribbean?

Best regards

Helge Meyer. <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
Welcome to the forum! <img src="style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />

I take it you did manage to download the file somewhere? If not, see <a href="http://hosted.filefront.com/000razor00/" target="_blank">here</a>. Get Endeavour_1.2.rar. Put the ship model folder in RESOURCE\MODELS\SHIPS and put the textures in RESOURCE\Textures\Ships.

You need to add a new entry to PROGRAM\SHIPS\ships_init.c. This is what I have in my Build 14 Alpha 8 WIP 2 game version:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//-------------------------------------------------------------------------
// Endeavour - Model from VCO, Modified by Razor
//-------------------------------------------------------------------------
    // PS -->
    makeref(refShip,ShipsTypes[n]);
    n++;
    refShip.Name            = "Endeavour";
    refShip.all                = "Manowar1";
    refShip.SName            = "Endeavour";
    refShip.unique            = true;
    refShip.id                = "Endeavour"; // PS
    refShip.Class            = 1;
    refShip.Walk            = "";
    refShip.Cannon            = CANNON_TYPE_LONG_LBS24;
    refShip.MaxCaliber        = 24;
    refShip.Weight            = Tonnes2CWT(3000);
    refShip.Capacity        = 6000;
    refShip.CannonsQuantity        = 102;
    refShip.Cannons.Borts.cannonf.qty = 2;
    refShip.Cannons.Borts.cannonb.qty = 2;
    refShip.MaxCrew            = 820;
    refShip.MinCrew            = 160;
    refShip.SpeedRate        = 11.0;
    refShip.TurnRate        = 24.8;
    refShip.Price            = 450000;
    refShip.HP                = 13000;
    refShip.SP                = 100;
// KK -->
    refShip.EmblemedSails.normalTex = "sail_purewhite_common.tga";
    refShip.EmblemedSails.nationFileName = "sail_purewhite_common.tga";
    refShip.Viper_SailsTypeType = 5;
    refShip.Viper_SailsTypeModel = 0;
    refShip.Viper_SailsTypeColour = 0;
    refShip.Viper_SailsTypeDesign = 0;

    refShip.QDeck                = "ShipDeck3";
    refShip.CannonsDeck            = 3; // KK
    refShip.CargoHold            = 2; // KK
    refShip.Cabin                = "Cabin1"; // KK
// <-- KK

    refShip.CanEncounter        = false;
    refShip.CanBuy                = false;
    refShip.Type.Trade             = false;
    refShip.Type.War             = true;

    refShip.WaterLine            = 0.0;
    refShip.SpeedDependWeight    = 0.3;
    refShip.SubSeaDependWeight    = 1.15;
    //refShip.TurnDependWeight    = 0.9;

    refship.InertiaAccelerationX    = 0.3;    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;<!--c2--></div><!--ec2-->Keep in mind that this code might not be 100% compatible with whatever game version you might have. It's best to make a copy of an existing entry and change all the values in there to the ones listed above.
You might want to set refShip.CanEncounter = true and refShip.CanBuy = true so that you can encounter and buy the ship.

You also need to add a line to RESOURCE\INI\TEXTS\ENGLISH\common.ini:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->string = Endeavour,"EITC Ship of the Line"    // Razor<!--c2--></div><!--ec2-->
 
You can set CanBuy = true and you'll be able to buy it in (pirate) shipyards. Reinit (F11) required. You can also set it as starting ship in PROGRAM\InternalSettings.h.
 
<!--quoteo(post=223667:date=Nov 28 2007, 12:51 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 28 2007, 12:51 PM) [snapback]223667[/snapback]</div><div class='quotemain'><!--quotec-->You can set CanBuy = true and you'll be able to buy it in (pirate) shipyards. Reinit (F11) required. You can also set it as starting ship in PROGRAM\InternalSettings.h.<!--QuoteEnd--></div><!--QuoteEEnd-->


Hi again, and thanks for the help Pieter!

but i think i have done something wrong!? i have done what you said but i think the "entry" is not compitable whit my version (build 13) so i did what you said and maked my own by the stock "entry" but none of them has refShip.CanEncounter = false;
refShip.CanBuy = false;

but i did it anyway... so to get it i tryed to make it my beginning ship and pasted Endeavour over sloop but when i start a new game its no ships in the "list" and ofcourse when i press start the game crash.

i tryed to load a game but i cant find it in any shipyards...... sorry for my bad english, ! <img src="style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" />

Best regards: Helge Meyer <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Hi again!.

one more question.

my version is the Build 13 and it works perfectly fine whit no crashes, unless i screw it up ofcourse..

but what is Build 14? is that something i can instal now when i have 13? ore must i reinstall my game and install build 14 when the i have POTC stock?

and dos Build 14 works just as good as Build 13?

And for you that makes those updates! Very god job! keep up the god work... i am a little ashamed that i dont know nothing about modding and uses what others have worked so much to create!



good work and my best regards: Helge Meyer. <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Build 14 is the next modpack version that we're working on. There's several test versions available, but they are all TEST versions. No final version has been released yet. No final version has been MADE yet either. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
That being said, Build 14 Alpha 6 is said to be pretty stable and playable. You can get it from <a href="http://www.s31clan.com/privateftps/pietersmods" target="_blank">my site</a>. Install it on top of Build 13.

There is NO ship in Build 13 at all that has refShip.CanEncounter = false? There must be. At the very least the Black Pearl. Make a copy of a Manowar ships_init.c entry and change all values listed there to the ones in my above post. Should work. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
<!--quoteo(post=223783:date=Nov 29 2007, 10:53 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 29 2007, 10:53 AM) [snapback]223783[/snapback]</div><div class='quotemain'><!--quotec-->Build 14 is the next modpack version that we're working on. There's several test versions available, but they are all TEST versions. No final version has been released yet. No final version has been MADE yet either. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
That being said, Build 14 Alpha 6 is said to be pretty stable and playable. You can get it from <a href="http://www.s31clan.com/privateftps/pietersmods" target="_blank">my site</a>. Install it on top of Build 13.

There is NO ship in Build 13 at all that has refShip.CanEncounter = false? There must be. At the very least the Black Pearl. Make a copy of a Manowar ships_init.c entry and change all values listed there to the ones in my above post. Should work. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->


i tryed but i dont know if it is in the game or not!? how can i find out?


Best regards. Helge meyer <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
There is a Black Pearl in EVERY game version. Just open ships_init.c with Notepad and press Ctrl+F to find the Pearl. Just type in "BlackPearl" as search query.
Could you send me your ships_init.c file? I can try and add the Endeavour myself, then send it back to you.
 
<!--quoteo(post=224040:date=Dec 1 2007, 03:07 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Dec 1 2007, 03:07 PM) [snapback]224040[/snapback]</div><div class='quotemain'><!--quotec-->There is a Black Pearl in EVERY game version. Just open ships_init.c with Notepad and press Ctrl+F to find the Pearl. Just type in "BlackPearl" as search query.
Could you send me your ships_init.c file? I can try and add the Endeavour myself, then send it back to you.<!--QuoteEnd--></div><!--QuoteEEnd-->



ok, but how do i send it to you?




<img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
Put attached file in your PROGRAM\SHIPS folder and tell me how it goes. I set her to CanBuy = true and CanEncounter = true, but you can change that if you want.
 
<!--quoteo(post=224614:date=Dec 6 2007, 04:24 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Dec 6 2007, 04:24 AM) [snapback]224614[/snapback]</div><div class='quotemain'><!--quotec-->Put attached file in your PROGRAM\SHIPS folder and tell me how it goes. I set her to CanBuy = true and CanEncounter = true, but you can change that if you want.<!--QuoteEnd--></div><!--QuoteEEnd-->


Hi. and thank you very mutch Pieter!

everything work now, but i have one little problem....

some objects at the ship is not in color.. looks like i am missing some textures.!?

Here is a picture.. <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
<!--quoteo(post=224617:date=Dec 6 2007, 04:45 AM:name=Cpt.Meyer)--><div class='quotetop'>QUOTE(Cpt.Meyer @ Dec 6 2007, 04:45 AM) [snapback]224617[/snapback]</div><div class='quotemain'><!--quotec--><!--quoteo(post=224614:date=Dec 6 2007, 04:24 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Dec 6 2007, 04:24 AM) [snapback]224614[/snapback]</div><div class='quotemain'><!--quotec-->Put attached file in your PROGRAM\SHIPS folder and tell me how it goes. I set her to CanBuy = true and CanEncounter = true, but you can change that if you want.<!--QuoteEnd--></div><!--QuoteEEnd-->


Hi. and thank you very mutch Pieter!

everything work now, but i have one little problem....

some objects at the ship is not in color.. looks like i am missing some textures.!?

Here is a picture.. <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->


Yes i am missing the sails to!...
 
Did you press reinit (F11) in your savegame? If not, do so. Also: I'd recommend re-extracting all your texture and model files to their appropriate folder; just to be sure.
BTW: When attaching pictures to your forum posts, I recommend doing it as JPG instead of BMP in a ZIP.
 
Ok. i`l do so now!

Thank you Pieter.


keep in toutch




Best Regards Helge Meyer <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" /> .
 
Hello again!

but what did you mean by press reinit (F11) in your savegame?

i am sorry for my nb questions!

and thank you very mutch for the help!




Helge.
 
F11 is a button on your keyboard. When you load a savegame and press F11, a so-called "reinitialization" is performed, which basically means a lot of stuff in the game is updated. This includes character skins and ships. This makes it so that if you add new ships into the game, you don't have to start a new game to be able to use them. You can just press F11 and they're enabled straight away.
 
<!--quoteo(post=224628:date=Dec 6 2007, 06:10 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Dec 6 2007, 06:10 AM) [snapback]224628[/snapback]</div><div class='quotemain'><!--quotec-->F11 is a button on your keyboard. When you load a savegame and press F11, a so-called "reinitialization" is performed, which basically means a lot of stuff in the game is updated. This includes character skins and ships. This makes it so that if you add new ships into the game, you don't have to start a new game to be able to use them. You can just press F11 and they're enabled straight away.<!--QuoteEnd--></div><!--QuoteEEnd-->


Hi. now that i used the "ship.init" file i got from you. i got the sails.. one problem less.
and i tryed to press F11, and re copied the texture files and make sure they are where they belong. but i still have no texture on the side, the rare lamp`s, the ankor and ankor chain... any idea??



Best regards Helge Meyer.
 
Back
Top