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 -
void LooseLetterOfMarque(int iNation)
{
ref PChar = GetMainCharacter();
if (!IsInServiceOf(iNation)) return; // PB: Only do this if you HAVE something to lose
string sNation = ""+iNation;
if (iNation >= 0 && iNation < NATIONS_QUANTITY) // PB: Only do this if you HAVE something to lose
{
// TraceAndLog("Loose Letter of Marque from " + GetNationNameByType(iNation));
DeleteAttribute(PChar, "nations."+sNation+".LoM");
if (ProfessionalNavyNation() == iNation) DeleteAttribute(PChar, "professionalnavy"); // PB: No more navy
}
SetServedNation(PERSONAL_NATION); // PB: Cancel your original served nation
HoistFlag(GetServedNation()); // PB: Hoist a new appropriate flag
}
Do both. At the moment in your savegame, you don't have a "Pirate Letter of Marque", which is why you aren't getting points with them.@Pieter Boelen Well now I dont know if I should use the console command
and get my letter of Marque back or just go on with the trace and log on
as it was before?
I found the problem! This is the treasure quest pirate ships, they will be hostileDo keep an eye out for it stopping to work again.
Need to figure out how and when that happens....
if (i == PIRATE && !IsInServiceOf(i)) relChange = fPoints; // The pirates aren't too concerned with you attacking other pirates
Before +187 After -61.What were your relation points before and after sinking that ship?
Wow, all the way to hostile? I had expected only down to zero.Before +187 After -61.
Besides, making it a random enemy nation won't work if for any reason you have no enemy nations.Of course since Treasure Quests ALWAYS have a "pirate" as enemy ship (never another nation) and they're always hostile, that is a Catch 22.
And an unfair one at that.
There are several solutions I could think of:
1. Remove that "IsInServiceOf" check so that even you ARE in the Brotherhood, the pirates are STILL not so fussed about you attacking other pirates
2. Exempt the "Treasure Quest Pirate" from the "nation relations" system altogether, so you never get plus nor minus points for them at all
3. Replace the "Treasure Quest Pirate" with an enemy belonging to a random enemy nation
I'm not sure which of those three is the best solution though.
I kind-of like it always being a PIRATE involved in Treasure Quests, so that rules out #3.
ch = CharacterFromID("Treasure Pirate");
ch.skipRM = true; // PB: Skip Relations Mod
SetRank(PChar, PIRATE, GetOldRank(PChar, PIRATE));
Having no enemies at all does have a tendency to cause trouble.Besides, making it a random enemy nation won't work if for any reason you have no enemy nations.
I'm a bit torn between #1 and #2. #1 definitely has a much larger effect on the game, which could indeed be a good thing.I'd favour 1 for two reasons. One is that pirates aren't all one nation, friendly to each other. Normally the Brotherhood doesn't like its members fighting each other, but where treasure is concerned, it's every pirate for himself. The second reason is that the other pirate started the fight, so if anyone is a traitor to the Brotherhood, it's him, not you.
Well it set my rank to zero.@ANSEL: You can execute this through console: