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

YOUR CHARACTER AND SHIP

You probably CAN add them to the game if you really want to. Check PROGRAM\CANNONS\Cannons_init.c.
 
<!--quoteo(post=221586:date=Nov 15 2007, 05:48 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 15 2007, 05:48 AM) [snapback]221586[/snapback]</div><div class='quotemain'><!--quotec-->You probably CAN add them to the game if you really want to. Check PROGRAM\CANNONS\Cannons_init.c.<!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks again Pieter

It looks like they're there:
// Big, scary fort guns
makeref(rCannon,Cannon[CANNON_TYPE_LONG_LBS42]);
rCannon.type = CANNON_NAME_LONG;
rCannon.caliber = 42;
rCannon.ReloadTime = 150; // LDH was 240
rCannon.Cost = 5000;
rCannon.Weight = 67;
rCannon.sound = ("cannon_fire_LG42");//JRH
rCannon.gunpowder = 9;// added by MAXIMUS [gunpowder mod]
rCannon.FireAngMax = 1.0;
rCannon.FireAngMin = 1.0;
rCannon.DamageMultiply = 5.5;.
rCannon.TradeOff = true;
InitBaseCannons_CalcSpeedV0(&rCannon,1940.0*CANNON_RANGE_SCALAR);
n++;
I have USE_REAL_CANNONS on (the default setting) in BuildSetting.h, so these guns exist, they are just not for sale.

Do you know which file has the list of guns for sale?

Henry Avery
 
Who is Maximus? He probably knows this cannon code better than anyone. There's a cannons.c under PROGRAMS/INTERFACE but I can't tell if that's where they're loading from or just the GUI.

Henry Avery
 
Ah! They're the fort cannons! By the looks of it, you can just try to set rCannon.TradeOff = true; to "false" or just removing that line altogether. Reinit (F11) or new game would be required.

<a href="http://www.piratesahoy.com/forum/index.php?showuser=4604" target="_blank">Maximus</a> is one of the few active coders we have left. He hardly posts on the forum - he has a very crappy internet connection - but he still works on the game and occasionally puts up new stuff on the Build FTP.

<!--quoteo(post=221601:date=Nov 15 2007, 06:54 PM:name=Morgan Terror)--><div class='quotetop'>QUOTE(Morgan Terror @ Nov 15 2007, 06:54 PM) [snapback]221601[/snapback]</div><div class='quotemain'><!--quotec-->beware that your enemies might be using them too! or is there a check for that?<!--QuoteEnd--></div><!--QuoteEEnd-->Ships only use the cannon type that is assigned for them in ships_init.c.
 
are you sure? i've seen ships use different types and calibers of cannons. and there are of course several ships that can use 42-pounders.
 
No; I'm not sure. But that's how I think it works. Otherwise the ships_init.c entry for the cannon calibre would be pretty useless. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
<!--quoteo(post=221639:date=Nov 15 2007, 10:45 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE(Pieter Boelen @ Nov 15 2007, 10:45 AM) [snapback]221639[/snapback]</div><div class='quotemain'><!--quotec-->Ah! They're the fort cannons! By the looks of it, you can just try to set rCannon.TradeOff = true; to "false" or just removing that line altogether. Reinit (F11) or new game would be required.<!--QuoteEnd--></div><!--QuoteEEnd-->

I commented this line out and tried a new character, but 42 lb long guns did not appear at the Oxbay Shipyard. Any other suggestions?

I don't mind playtesting a build if you tell me how to install it - I am currently using Build 13 Final. Do I need to uninstall the whole game or is there a way to roll back or over-install?

Henry Avery
 
<!--quoteo(post=221664:date=Nov 15 2007, 02:09 PM:name=Henry Avery)--><div class='quotetop'>QUOTE(Henry Avery @ Nov 15 2007, 02:09 PM) [snapback]221664[/snapback]</div><div class='quotemain'><!--quotec-->I don't mind playtesting a build if you tell me how to install it - I am currently using Build 13 Final. Do I need to uninstall the whole game or is there a way to roll back or over-install?

Henry Avery<!--QuoteEnd--></div><!--QuoteEEnd-->

Nevermind. Your web site has better-than-average directions on how to proceed. Is Alpha 14.7 O.K.?

I tried several other (what I thought were logical) modifications to get the cannons to show up. None of which made sense after a short nap. I feel competent editing this stuff since I have a C++ compiler and I flunked a college-level programming class. <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" /> I still think there is some link between this file and the shipyard store.

Henry Avery
 
Alpha 6 seems to be the most playable Alpha version. You can also try Alpha 8 WIP 1, which is said to be at least better than Alpha 7, but is very much unfinished and is a rather complicated install. If you want to give it a try, have a look <a href="http://www.piratesahoy.com/forum/index.php?s=&showtopic=11101&view=findpost&p=219958" target="_blank">here</a>. If you want to rollback to Build 13 Full, you need to reinstall the entire game. Uninstalling just the modpack can't be done. Not the way it is handled right now, anyway.

It must be possible to get those cannons to show up somehow. I don't know how though. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
i'd check and double-check for anything that might have something to do with it. maybe some file concerning the shipyard itself? that's how i learnt myself how to mod music.
 
well i cant show you pics of my old account coz i don't have it but but i do happen to be lucky enough to still have one pic of my first Ship GOOD captured ship and another of my black pearl but other wise you will have to take my word for it <img src="style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />o)
i traded the black pearl for one of the ships with a flag on the back Ship of the line was it called? which i regreted trading becuase the black peorl was my lucky charm <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
2 battleships
1 man o war
i was using a will turner lvl 19 and i had 5 officers 2 in there level 30's
<img src="http://i212.photobucket.com/albums/cc87/feardana/NEWSIGPOTC.jpg" border="0" class="linked-image" />
<img src="http://i212.photobucket.com/albums/cc87/feardana/Untitled-2.png" border="0" class="linked-image" />

but i dont have any of my ships anymore i updated it to one of the more recent unstable builds


also i used photobucket to upload my pictures :p
 
Heh heh heh... whew! <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />

In build 13 my main character is Admiral Daala

Officers at the moment are:
Joh Blow (English soldier uniform)
Crack Monkey (A weird looking bloke)
Calista (A sexy woman)

Oh and then there is George, he's still alive somehow <img src="style_emoticons/<#EMO_DIR#>/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />
 
well, as for my character and ship, that's displayed in the logbook, of course. i might make the role of officers a bit bigger in my stories though.
 
<!--quoteo(post=272509:date=Aug 9 2008, 05:15 PM:name=Morgan Terror)--><div class='quotetop'>QUOTE (Morgan Terror @ Aug 9 2008, 05:15 PM) <a href="index.php?act=findpost&pid=272509"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->well, as for my character and ship, that's displayed in the logbook, of course. i might make the role of officers a bit bigger in my stories though.<!--QuoteEnd--></div><!--QuoteEEnd-->
Hey! It's all fun and games! A good character makes for an interesting story. For instance...

I've added "Dude of York" and "Stumpy McSwain" to my officers! <img src="style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />
Captain George of the frigate Georgia is STILL alive and kicking. I want to sell that ship since my flagship is the burnt charcoal looking lineship "Big Ugly". But he's doing a good job in sea battles, so I just can't bring myself to strip a good captain of his ship I guess <img src="style_emoticons/<#EMO_DIR#>/sailr.gif" style="vertical-align:middle" emoid=":sail" border="0" alt="sailr.gif" />
 
Back
Top