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 -
// PB: Black Pearl -->
if(sti(GetAttribute(rCharacter, "ship.type")) == SHIP_CURSED)
{
int puffs_per_second = 10;
if(SeaCameras.Camera == "SeaDeckCamera") puffs_per_second = 1;
for (i=0; i < puffs_per_second; i++)
{
PostEvent("CreateCursedPearlFog", delay, "i", rCharacter);
delay = delay + 1000/puffs_per_second;
}
}
// PB: Black Pearl <--
// PB: Black Pearl -->
if(sti(GetAttribute(rCharacter, "ship.type")) == SHIP_CURSED || sti(GetAttribute(rCharacter, "ship.type")) == "[INSERT YOUR SHIP TYPE]")
{
int puffs_per_second = 10;
if(SeaCameras.Camera == "SeaDeckCamera") puffs_per_second = 1;
for (i=0; i < puffs_per_second; i++)
{
PostEvent("CreateCursedPearlFog", delay, "i", rCharacter);
delay = delay + 1000/puffs_per_second;
}
}
// PB: Black Pearl <--
#define ENABLE_EXTRA_SOUNDS 1 // BOOL - Enable/Disable added sound effects.
if(sti(GetAttribute(rCharacter, "ship.type")) == SHIP_CURSED || sti(GetAttribute(rCharacter, "ship.type")) == "SoleilRoyal")
There are now two simpler solutions:PROGRAM\SEA_AI\AIShip.c:Replace with:Code:// PB: Black Pearl --> if(sti(GetAttribute(rCharacter, "ship.type")) == SHIP_CURSED) { int puffs_per_second = 10; if(SeaCameras.Camera == "SeaDeckCamera") puffs_per_second = 1; for (i=0; i < puffs_per_second; i++) { PostEvent("CreateCursedPearlFog", delay, "i", rCharacter); delay = delay + 1000/puffs_per_second; } } // PB: Black Pearl <--
That should work. No new game required.Code:// PB: Black Pearl --> if(sti(GetAttribute(rCharacter, "ship.type")) == SHIP_CURSED || sti(GetAttribute(rCharacter, "ship.type")) == "[INSERT YOUR SHIP TYPE]") { int puffs_per_second = 10; if(SeaCameras.Camera == "SeaDeckCamera") puffs_per_second = 1; for (i=0; i < puffs_per_second; i++) { PostEvent("CreateCursedPearlFog", delay, "i", rCharacter); delay = delay + 1000/puffs_per_second; } } // PB: Black Pearl <--
refShip.unique ONLY prevents the ship's stats from being randomized based on national modifiers and does NOT prevent the ship from showing up anywhere.
For that, you need to set CanEncounter and CanBuy to false as applicable in PROGRAM\Ships\ships_init.c .
Good luck.![]()