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

Solved More Like-An Observation/Question Really

lucianblack

Cursed Corsair
Okay so I was wondering about something in the Ships_init.c file. the lines:

refShip.Cannon = CANNON_TYPE_LONG_LBS6;
refShip.MaxCaliber = 6;

As you can see/ and-or already know, most of the coding matches this format. The maxcalibur matches the end number of the cannon. Is this how it's supposed to be? Or what is the exact (oh what's the word) formula? Of it? Such as having LONG_LBS4; and perhaps MaxCalibur=12 allows an upgrade of cannons on that ship? I'm just asking because on one ship the Privateer (brig1?) it has:

refShip.Cannon = CANNON_TYPE_CARRONADE_LBS24;
refShip.MaxCaliber = 9;

Which (in my head) means the cannon equipped outclasses the maximum calibur allowed? Would greatly appreciate a clerification.
 
I think you got that all right. Carronades count for half the max calibre, so this is OK:
Code:
  refShip.Cannon       = CANNON_TYPE_CARRONADE_LBS18;
   refShip.MaxCaliber     = 9;
However, that that Privateer cannon set-up DOES look very strange. Where'd that come from, I wonder?!? o_O
 
I seem to recall Captain Armstrong mentioning that some carronades could use calibres up to three times higher than an equivalent cannon, but I could be wrong. :read
 
Pieter> its B14_2.5 WIP17 ... so not sure :p I was looking for a Brigantine to use as a starter ship and found that near the brig sections.

Okay so I got it that different types of cannons can = to more/less the max calibur, but what section (or is it cannons.h and c?) that determine how much further a ship can upgrade? Say I want a ship to have a max of 12lbers and it starts with:
refShip.Cannon = CANNON_TYPE_LONG_LBS6;
refShip.MaxCaliber = 6;

Keeping the TYPE_LONG, can I safely upgrade MaxCaliber to 12? Is that the line that affects that? I'm sorry for sounding so confused, the style for the ships put here in PotC seems more...... complex.... than the ships in COAS :p or rather More Detailed I should say. Not really complex, just confusing at first.
 
The cannon files have nothing to do with it. That refShip.MaxCaliber defines exactly what you would think: the maximum calibre than can be installed.
If you set it to 12, you'll be able to mount 12 lbs Long Guns OR 24 lbs Carronades.
refShip.Cannon is what the ship is equipped with by default. Generally speaking, this should be at or below the MaxCaliber.

For some strange reason, those ships you found are set up wrong though. Not sure what would be the correct fix though.
The historically inclined people should pitch in on that one.
 
Yeah I mean I could go through them and put on semi-correct stats... I say semi-correct because I don't know the exact types and calibers that are supposed to be on them, I'd just go off off COAS stats the best I can and hope I'm close :p lol

EDIT: Oh and thanks for clearing that up for me. Okay it was as I thought, just having the cannons the same caliber as the Max messed me up
 
Don't use COAS stats as they are waaaay off. Methinks the brigs use 9 or 12 pound cannons except for the special ones that used 18 or 24 pound carronades.
 
Ooooooh this could be my first assignment!!! I'll do some historical research!!! Fear not lads and lasses for Captain Lucian Black is on the case! I'll get them the most accurate yet!!! (hopefully)

As for the um... 'fantasy' ones such as the Black Pearl and Flying Dutchman, if their stats are already close enough I'm not going to touch them :p Because... well... I guess I could compare them with their real counterparts? I don't know. I'll submit my findings in notepad.txt to you guys first in case you want to do the edits. Or if you give the thumbs up I'll make the edits and submit the new ships_init.c file ^_^
 
I think the only ones that really need editing are the ones where refShip.Cannon is heavier than refShip.MaxCaliber should allow.
In that case, either the one should be decreased or the other increased.

It is easiest if you just edit ships_init.c directly and post that. I can use WinMerge to see exactly all the changes you made. :doff
 
Please keep the special ships as they are, I recently edited them for my special-"movie"-cannons ;-)
 
You don't need to worry about that. Not editing them now. Pieter and Hylie helped explain it a bit better. I still had it in my head that it should be like COAS ships :p
 
Back
Top