That's a good idea ...
I have no idea yet. Search for a solution
I have no idea yet. Search for a solution

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!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
Indeed in PotC it shouldn't be too difficult, like @Jack Rackham says.I think. How can you bring many small ship to the pier? I have no idea Pieter.
I found the picture in a forum.
In the PotC: New Horizons mod, we added some code to distinguish between "jetty ships" and "bay ships".Have you ever tried to dock with such a ship at a pier. Very unlikely, that it works.
Where is the boolean function 'jettyship' used? That's also in "locations_loader.c", right?"jetty" is a ship attribute set in "ships_init.c" and presumably determines whether the ship will appear moored at the dock or sitting out in the open sea. Boolean function "jettyship" is defined in "CharacterUtilite.c" and checks the "jetty" ship attribute.
There were also a whole bunch of other additions that had to be made somewhere for this to work without errors, but I can't remember where."sailaway" is a character attribute and can be set pretty well anywhere, e.g. in a character definition or in quest code.
Absolutely true! Usually it works fine. Except when it doesn't. That's when it becomes hilarious.A ship whose captain has the "sailaway" attribute moves but there's no check on where the ship goes. I have watched a ship sail straight out of the port and into the island, where it didn't stop due to the collision, it just kept going further inland.![]()
Yes, in function "LocLoadShips".Where is the boolean function 'jettyship' used? That's also in "locations_loader.c", right?
Look at the "locations_loader.c" file from PotC: New Horizons.I think. How can you bring many small ship to the pier? I have no idea Pieter.
refShip.Jetty = false;
bool JettyShip(ref chr)
{
int nShipType = GetCharacterShipType(chr);
if (nShipType <0 || nShipType >= SHIP_TYPES_QUANTITY) { return false; } // PB: Prevent CTDs
aref ship; makearef(ship, chr.ship);
if (CheckShipAttribute(ship, &ShipsTypes[nShipType], "Jetty"))
return sti(GetLocalShipAttrib(ship, &ShipsTypes[nShipType], "Jetty"));
else
return GetMaxCrewQuantity(chr) < 400; // Armada
}