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

Soleil Royal 1670

files i have edited;
ships.h
#define SHIP_TYPES_QUANTITY 31
#define SHIP_TYPES_QUANTITY_WITH_FORT 32
#define SHIP_SOLEIL_ROYAL 31

ships_init
(i create a copy one from the existing soleyru)
///////////////////////////////////////////////////////////////////////////
/// SOLEILROYAL
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_SOLEIL_ROYAL]);
refShip.Name = "Soleilroyal";
refship.Soundtype = "manowar";
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_CANNON_LBS42;
refShip.MaxCaliber = 42;
refShip.Weight = Tonnes2CWT(4500);
refShip.Capacity = 7000;
refShip.CannonsQuantity = 112;
refShip.rcannon = 52;
refShip.lcannon = 52;
refShip.fcannon = 4;
refShip.bcannon = 4;

RPGUtilite.c
pchar.Ship.Type = GenerateShip(SHIP_SOLEIL_ROYAL , 0);

\Age of Pirates 2\RESOURCE\Textures\INTERFACES\SHIPS
I copied SoleyRu.tga.tx and renamed it Soleilroyal.tga.tx

I put 16 models files into \RESOURCE\MODELS\Ships\Soleilroyal1\

I put the 4 texture file(deck.tga,deco.tga.tgx,Soleilroyal1.tga.tx,unicorn1.tga.tx) into \RESOURCE\MODELS\Ships\Soleilroyal1\ hull1, hull2 and hull3 each.

I put sailorpoint file into \Age of Pirates 2\RESOURCE\MODELS\Ships\SAILORSPOINTS

I edit/add battleinterface.c
case "Soleilroyal":
BI_intNRetValue[0] = 4+4*8; <b>(correct)?</b>
BI_intNRetValue[1] = 4+4*8 + 1;
BI_intNRetValue[2] = BI_ICONS_TEXTURE_SHIP1;
break;

\Age of Pirates 2\RESOURCE\INI\interfaces\pictures
[SHIPS_Soleilroyal]
sTextureName = ships\manowar.tga
wTextureWidth = 128
wTextureHeight = 128
picture = ship,0,0,128,128

what else do i miss? i am still under the sea and there is no (fast travel icon/ship icon) on top left.
 
Fantastic work!!!

This ship is a true masterpiece and a splendid addition to the game, very much appreciated Red10October. <img src="style_emoticons/<#EMO_DIR#>/pirate_plain.gif" style="vertical-align:middle" emoid=":p3" border="0" alt="pirate_plain.gif" />

All the very best!!
 
Is it alright with you if we put her in the PotC Build Mod too?
<b>Edit:</b> Do you have a ships_init.c entry for her and what exactly would be the ship type? Battleship/Manowar, I suppose?
 
Added some lights/flares, so i updated the package on ftp.
 

Attachments

  • Corsairs3_0013.jpg
    Corsairs3_0013.jpg
    310 KB · Views: 419
<!--quoteo(post=335565:date=Jul 6 2009, 05:26 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Jul 6 2009, 05:26 PM) <a href="index.php?act=findpost&pid=335565"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Is it alright with you if we put her in the PotC Build Mod too?
<b>Edit:</b> Do you have a ships_init.c entry for her and what exactly would be the ship type? Battleship/Manowar, I suppose?<!--QuoteEnd--></div><!--QuoteEEnd-->

Yes,of course ! I installed Build since i came to this forum, i do like this MOD,so i'll add this ship to Build on my machine if you don't. <img src="style_emoticons/<#EMO_DIR#>/razz.gif" style="vertical-align:middle" emoid=":razz" border="0" alt="razz.gif" />

Note: i updated the files just now,so don't forget to download the new one.

<b>Edit: </b>
I haven't set the parameters for this ship.Personally advice ~ for Class,obviously she must be in first class(as same as manowar),at least because of her 112 guns.

other parameters you can make as you wish.

some of them you can consider this from COAS which is originally belonged to the Soleyru.(I copied it without changing from COAS)

makeref(refShip,ShipsTypes[SHIP_SOLEYRU]);
refShip.Name = "SoleyRu";
refship.Soundtype = "manowar";
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_CANNON_LBS42;
refShip.MaxCaliber = 42;
refShip.Weight = Tonnes2CWT(4500);
refShip.Capacity = 6800;
refShip.CannonsQuantity = 112;
refShip.rcannon = 48;
refShip.lcannon = 48;
refShip.fcannon = 6;
refShip.bcannon = 10;
refShip.MaxCrew = 900;
refShip.MinCrew = 160;
refShip.BoardingCrew = 500;
refShip.GunnerCrew = 80;
refShip.CannonerCrew = 204;
refShip.SailorCrew = 800;
refShip.SpeedRate = 10.6;
refShip.TurnRate = 29.0;
refShip.Price = 550000;
refShip.HP = 12000;
refShip.SP = 100;
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";
 
<!--quoteo(post=335574:date=Jul 6 2009, 07:54 PM:name=marbatico)--><div class='quotetop'>QUOTE (marbatico @ Jul 6 2009, 07:54 PM) <a href="index.php?act=findpost&pid=335574"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->shame we dont have that kind of lighting in PotC...<!--QuoteEnd--></div><!--QuoteEEnd-->Shame indeed. But it still beats me what those lanterns are doing in the masts.
I just cannot possibly believe they actually DID have lights in the masts in real life. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
<!--quoteo(post=335575:date=Jul 6 2009, 07:56 PM:name=red10october)--><div class='quotetop'>QUOTE (red10october @ Jul 6 2009, 07:56 PM) <a href="index.php?act=findpost&pid=335575"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yes,of course ! I installed Build since i came to this forum, i do like this MOD,so i'll add this ship to Build on my machine if you don't. <img src="style_emoticons/<#EMO_DIR#>/razz.gif" style="vertical-align:middle" emoid=":razz" border="0" alt="razz.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->Brilliant; thanks a lot! Are you planning on converting the sailorspoints file to a PotC walk file too?
Otherwise she'll end up as an empty-deck ship, just like so many of the other new ones. <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
I'm wondering if there's any quest ship we can replace with her. Maybe Silehard's manowar at the end of the standard storyline?

<!--quoteo(post=335575:date=Jul 6 2009, 07:56 PM:name=red10october)--><div class='quotetop'>QUOTE (red10october @ Jul 6 2009, 07:56 PM) <a href="index.php?act=findpost&pid=335575"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Note: i updated the files just now,so don't forget to download the new one.<!--QuoteEnd--></div><!--QuoteEEnd-->What did you update? I already downloaded the previous one and if it's indeed just the lights, PotC doesn't show those anyway. <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
 
Ofcourse they had, remember Horatio Hornblower and the Hotspur? In one of the passages Horatio fools the French by signal lanterns hanging from a yardarm/mast.
 
<!--quoteo(post=335574:date=Jul 6 2009, 05:54 PM:name=marbatico)--><div class='quotetop'>QUOTE (marbatico @ Jul 6 2009, 05:54 PM) <a href="index.php?act=findpost&pid=335574"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->shame we dont have that kind of lighting in PotC...<!--QuoteEnd--></div><!--QuoteEEnd-->

yep,but the model should still work properly in the POTC,doesn't it?

If not,i'm glad to uninstall them <img src="style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> in order to make a POTC edition.
 
True; but there it was as a signal. I can't imagine it just for the show at night.
There's nobody there at night, so you don't need light there either. <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
 
<!--quoteo(post=335577:date=Jul 6 2009, 06:00 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Jul 6 2009, 06:00 PM) <a href="index.php?act=findpost&pid=335577"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><!--quoteo(post=335575:date=Jul 6 2009, 07:56 PM:name=red10october)--><div class='quotetop'>QUOTE (red10october @ Jul 6 2009, 07:56 PM) <a href="index.php?act=findpost&pid=335575"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yes,of course ! I installed Build since i came to this forum, i do like this MOD,so i'll add this ship to Build on my machine if you don't. <img src="style_emoticons/<#EMO_DIR#>/razz.gif" style="vertical-align:middle" emoid=":razz" border="0" alt="razz.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->Brilliant; thanks a lot! Are you planning on converting the sailorspoints file to a PotC walk file too?
Otherwise she'll end up as an empty-deck ship, just like so many of the other new ones. <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
I'm wondering if there's any quest ship we can replace with her. Maybe Silehard's manowar at the end of the standard storyline?

<!--quoteo(post=335575:date=Jul 6 2009, 07:56 PM:name=red10october)--><div class='quotetop'>QUOTE (red10october @ Jul 6 2009, 07:56 PM) <a href="index.php?act=findpost&pid=335575"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Note: i updated the files just now,so don't forget to download the new one.<!--QuoteEnd--></div><!--QuoteEEnd-->What did you update? I already downloaded the previous one and if it's indeed just the lights, PotC doesn't show those anyway. <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->

there is a tut for converting sailor points file to Potc,isn't it? i'll try and upload once finished.

for build i think this ship can be added as a "shipyard avaliable ship",which means you can buy it if you like.this is my original purpose for this ship adding to both Potc and Coas,just simply because a lacking of big weapon for battles.
it's best if you can assign a branch quest for her,make her the award of the quest.Perhaps you can think a quest about "Hunting Royal Treasures" and so on.

i updated some lights/flares/fireplace for the ship,and fixed a possible wrong label(just possible,because she is always working properly in my tests,i haven't realized this may be a problem. ),so if she is abnormal you should download the new one.
 
<!--quoteo(post=335581:date=Jul 6 2009, 06:15 PM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Jul 6 2009, 06:15 PM) <a href="index.php?act=findpost&pid=335581"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->True; but there it was as a signal. I can't imagine it just for the show at night.
There's nobody there at night, so you don't need light there either. <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
ye,i agree.because there is more fire there is more danger for a wooden sailing ship.Many of them were burnt by accident in history including some first-rate.
 
I'll just redownload then. Can't hurt. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
This the the walk file tutorial: <a href="http://forum.piratesahoy.net//index.php?showtopic=11880&st=0&p=257769&#entry257769" target="_blank">http://forum.piratesahoy.net//index.php?sh...mp;#entry257769</a>
 
Sorry I hadn't gotten around to adding red to the Modders group yet. I'd been PM'ing Pieter about how to add the CoAS modders to the community. I'm assuming I should just start adding them to the general modding group then.

Cap'n Drow
 
Very nice ship, i really want to see her in action but for the life of me i can't find the FTP anywhere but then it is 2:39am and i'm half a sleep its only seeing this ship thats woke me up lol.
 
<!--quoteo(post=335482:date=Jul 6 2009, 02:47 PM:name=rpg)--><div class='quotetop'>QUOTE (rpg @ Jul 6 2009, 02:47 PM) <a href="index.php?act=findpost&pid=335482"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->files i have edited;
ships.h
#define SHIP_TYPES_QUANTITY 31
#define SHIP_TYPES_QUANTITY_WITH_FORT 32
#define SHIP_SOLEIL_ROYAL 31

ships_init
(i create a copy one from the existing soleyru)
///////////////////////////////////////////////////////////////////////////
/// SOLEILROYAL
///////////////////////////////////////////////////////////////////////////
makeref(refShip,ShipsTypes[SHIP_SOLEIL_ROYAL]);
refShip.Name = "Soleilroyal";
refship.Soundtype = "manowar";
refShip.Class = 1;
refShip.Cannon = CANNON_TYPE_CANNON_LBS42;
refShip.MaxCaliber = 42;
refShip.Weight = Tonnes2CWT(4500);
refShip.Capacity = 7000;
refShip.CannonsQuantity = 112;
refShip.rcannon = 52;
refShip.lcannon = 52;
refShip.fcannon = 4;
refShip.bcannon = 4;

RPGUtilite.c
pchar.Ship.Type = GenerateShip(SHIP_SOLEIL_ROYAL , 0);

\Age of Pirates 2\RESOURCE\Textures\INTERFACES\SHIPS
I copied SoleyRu.tga.tx and renamed it Soleilroyal.tga.tx

I put 16 models files into \RESOURCE\MODELS\Ships\Soleilroyal1\

I put the 4 texture file(deck.tga,deco.tga.tgx,Soleilroyal1.tga.tx,unicorn1.tga.tx) into \RESOURCE\MODELS\Ships\Soleilroyal1\ hull1, hull2 and hull3 each.

I put sailorpoint file into \Age of Pirates 2\RESOURCE\MODELS\Ships\SAILORSPOINTS

I edit/add battleinterface.c
case "Soleilroyal":
BI_intNRetValue[0] = 4+4*8; <b>(correct)?</b>
BI_intNRetValue[1] = 4+4*8 + 1;
BI_intNRetValue[2] = BI_ICONS_TEXTURE_SHIP1;
break;

\Age of Pirates 2\RESOURCE\INI\interfaces\pictures
[SHIPS_Soleilroyal]
sTextureName = ships\manowar.tga
wTextureWidth = 128
wTextureHeight = 128
picture = ship,0,0,128,128

\Age of Pirates 2\RESOURCE\INI\texts\russian\common
string = Soleilroyal,"King's Man-of-war"
string = SoleilroyalGen,"King's Man-of-war"
string = SoleilroyalAcc,"King's Man-of-war"
string = SoleilroyalDat,"King's Man-of-war"

what else do i miss? i am still under the sea and there is no (fast travel icon/ship icon) on top left.<!--QuoteEnd--></div><!--QuoteEEnd-->
Can someone please teach me how to put the ship in COAS
 
<!--quoteo(post=335671:date=Jul 7 2009, 03:02 AM:name=rpg)--><div class='quotetop'>QUOTE (rpg @ Jul 7 2009, 03:02 AM) <a href="index.php?act=findpost&pid=335671"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Can someone please teach me how to put the ship in COAS<!--QuoteEnd--></div><!--QuoteEEnd-->

you'd better re-download the package cause i updated it yesterday,and just follow the instuctions about porting ship to Coas which you can find in this forum,the sticky one.

if you still have problem,would you mind if you can go to the COAS mod subforum to ask for helps?

this post is about the ship model itsself.

thank you. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
WOW!!! <img src="style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" /> You are a true artist Red!!! I just took her for a spin and man is she beautiful and detailed. Can't wait to see what you do next. A frigate maybe? Constitution?

Thank you for making a all ready awesome game even more awesome!
 
Back
Top