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

Have All Nations At War With Me At Beginning

longplaynoob

Landlubber
Hi all, I recently had an idea to try and beat the game while having all the nations at war with me. I know I could attack ships and forts but I wonder if there's a way to modify the game files so they're hostile when I start a new game. If anyone could let me know I'd appreciate it thanks
 
Just to be sure, this is the unmodded "Pirates of the Caribbean" which you are playing, yes?
 
First, make a copy of "PROGRAM\QUESTS\quests_reaction.c" in case this goes horribly wrong. Then edit the file. Find case "begining", specifically these lines:
Code:
            SetNationRelation2MainCharacter(PIRATE, RELATION_ENEMY);
            SetNationRelation2MainCharacter(FRANCE, RELATION_ENEMY);
Add similar lines for all other nations:
Code:
            SetNationRelation2MainCharacter(ENGLAND, RELATION_ENEMY);
            SetNationRelation2MainCharacter(SPAIN, RELATION_ENEMY);
            SetNationRelation2MainCharacter(PORTUGAL, RELATION_ENEMY);
            SetNationRelation2MainCharacter(HOLLAND, RELATION_ENEMY);

The story makes other nations neutral or friendly later on. If you want to continue to be hostile to everyone:
Find case "France_becomes_neutral" and comment out this line:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Find case "Story_Sink_Oiseau" and comment out this line:
Code:
SetNationRelation2MainCharacter(ENGLAND, RELATION_FRIEND);
Find case "blaze_from_prison_to_residence_complete" and comment out this line:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Find case "Lucas_end" and comment out this line:
Code:
SetNationRelation2MainCharacter(SPAIN, RELATION_FRIEND);
Find case "portugal_becomes_neutral" and comment out this line:
Code:
SetNationRelation2MainCharacter(PORTUGAL, RELATION_NEUTRAL);
 
First, make a copy of "PROGRAM\QUESTS\quests_reaction.c" in case this goes horribly wrong. Then edit the file. Find case "begining", specifically these lines:
Code:
            SetNationRelation2MainCharacter(PIRATE, RELATION_ENEMY);
            SetNationRelation2MainCharacter(FRANCE, RELATION_ENEMY);
Add similar lines for all other nations:
Code:
            SetNationRelation2MainCharacter(ENGLAND, RELATION_ENEMY);
            SetNationRelation2MainCharacter(SPAIN, RELATION_ENEMY);
            SetNationRelation2MainCharacter(PORTUGAL, RELATION_ENEMY);
            SetNationRelation2MainCharacter(HOLLAND, RELATION_ENEMY);

The story makes other nations neutral or friendly later on. If you want to continue to be hostile to everyone:
Find case "France_becomes_neutral" and comment out this line:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Find case "Story_Sink_Oiseau" and comment out this line:
Code:
SetNationRelation2MainCharacter(ENGLAND, RELATION_FRIEND);
Find case "blaze_from_prison_to_residence_complete" and comment out this line:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Find case "Lucas_end" and comment out this line:
Code:
SetNationRelation2MainCharacter(SPAIN, RELATION_FRIEND);
Find case "portugal_becomes_neutral" and comment out this line:
Code:
SetNationRelation2MainCharacter(PORTUGAL, RELATION_NEUTRAL);
Thank you so much! I'll try this out later
 
First, make a copy of "PROGRAM\QUESTS\quests_reaction.c" in case this goes horribly wrong. Then edit the file. Find case "begining", specifically these lines:
Code:
            SetNationRelation2MainCharacter(PIRATE, RELATION_ENEMY);
            SetNationRelation2MainCharacter(FRANCE, RELATION_ENEMY);
Add similar lines for all other nations:
Code:
            SetNationRelation2MainCharacter(ENGLAND, RELATION_ENEMY);
            SetNationRelation2MainCharacter(SPAIN, RELATION_ENEMY);
            SetNationRelation2MainCharacter(PORTUGAL, RELATION_ENEMY);
            SetNationRelation2MainCharacter(HOLLAND, RELATION_ENEMY);

The story makes other nations neutral or friendly later on. If you want to continue to be hostile to everyone:
Find case "France_becomes_neutral" and comment out this line:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Find case "Story_Sink_Oiseau" and comment out this line:
Code:
SetNationRelation2MainCharacter(ENGLAND, RELATION_FRIEND);
Find case "blaze_from_prison_to_residence_complete" and comment out this line:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Find case "Lucas_end" and comment out this line:
Code:
SetNationRelation2MainCharacter(SPAIN, RELATION_FRIEND);
Find case "portugal_becomes_neutral" and comment out this line:
Code:
SetNationRelation2MainCharacter(PORTUGAL, RELATION_NEUTRAL);
When you say "comment out this line" does that mean to change it to enemy?
 
No, it means change this:
Code:
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
... to this:
Code:
// SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
Putting // in front of a line turns it into a comment. The game then ignores it. But leaving France hostile when the story wants to change it neutral might do silly things, in which case you can just delete the // and put the line back the way it was.

The same applies to the others.
 
Back
Top