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

Tutorial Officer reputation

Skay24

Landlubber
To change reputation of the officers:
Open debuger.c file and past it in 1 of the commands, in game open the consol with F11
Any officer in navigator place will have max reputation.
I hade free space in F26 you can place it where you want.
I hope it will help.


string descF26 = "Officer-skipper Reputaton";
void CalculateInfoDataF26()
{
totalInfo = descF26;
// -->
if (sti(pchar.Fellows.Passengers.navigator) != -1)
{
ref chr = GetCharacter(sti(pchar.Fellows.Passengers.navigator));

chr.Reputation = sti(chr.Reputation) + 200;
}
else
{
totalInfo = "No officer";
}
// <--
totalInfo = totalInfo + NewStr() + NewStr() +
"The command is executed successfully!";
SetFormatedText("INFO_TEXT",totalInfo);
}
 
Change:

chr.Reputation = sti(chr.Reputation) + 200;

to:

chr.Reputation = sti(chr.Reputation) - 200;


And you will get a Bloody Assassin
 
Tip interesting.
But...where is the file debuger.c?
I see the file Debuger (Age of Pirates 2\Program\Debuger), but is very different.
Where to copy the corrections?
 
Yes there are 2 files, the file that you have to change is in
Age of Pirates 2\Program\Interface\Debuger.c

You have to open console in game.
 
This didn't work, at least for what I wanted =(.
That just changed the display of reputation of my officer (like bloddy assassin, shark, neutral, trusted sailor, hero), but didn't changed the reaction towards my actions. Like, if the officer was originally a shark, even if I used the cheat to turn him into a hero, he keeps reacting like a shark (loosing loyalty when I do good actions). This happens for any alignment.
 
Back
Top