Peregrine
Landlubber
First of all, thanks to all who have contributed to all the mods. I'm currently using GoF 1.2. and I appreciate all the hard work. I didn't have a chance to compare, because with AoP2 I loaded GoF 1.2 right from the start. Years ago I played PoC and AoP1. GoF is great, but I'm missing some things, like the ability to take over the colony after winning over the fort. I tried this once now, and all I could do is get ransom from the governor, but there was no way to kill him to assign my own governor.
Another thing that was really bugging me now was the limit of only 5 ships. With the ship selections now, it's kind of hard to part with my favorites. I did some research and found the solution. I found most of this on some foreign website (can't remember where anymore) so I'm not taking the credit for it, though it was up to 7 ships, and I increased it to 8 for now. I've played with 8 ships extensively now and found no problems at all (engine is crashing occasionally, but it was crashing just the same before I modified anything).
The directions are below. The only caveat is, when you try to leave your ships with port control, you can leave the first 4. Choosing anything after that makes the speak selection non-responsive. Even escape doesn't work. At that point you can only use F9 to load the previous quick save. Even after leaving and going to another port control, it only works for the 1st 4 ships. So I'm kind of stuck now when I wanted to use just the lugger to get Edward Law. Unless I sell few of my ships. I tried finding code responsible for that, with no luck. If anyone could figure it out, I'd really appreciate it.
Modifications to increase fleet to 8 ships:
Replace / add:
- Age of Pirates 2\Program\characters\characters.h :
#define COMPANION_MAX 5
with
#define COMPANION_MAX 8
- Age of Pirates 2\Program\battle_interfac\BattleInterface.c :
BattleInterface.ShipIcon.iconoffset6 = "70,710";
BattleInterface.ShipIcon.iconoffset7 = "70,838";
BattleInterface.ShipIcon.iconoffset8 = "70,966";
after
BattleInterface.ShipIcon.iconoffset5 = "70,582";
- Age of Pirates 2\Program\battle_interfac\WmInterface.c :
BattleInterface.wm_sign.iconoffset6 = "70,710";
BattleInterface.wm_sign.iconoffset7 = "70,838";
BattleInterface.wm_sign.iconoffset8 = "70,966";
after
BattleInterface.wm_sign.iconoffset5 = "70,582";
- Age of Pirates 2\Program\INTERFACE\ship.c :
replace the line containing
GameInterface.SHIPS_SCROLL.NotUsed
with
GameInterface.SHIPS_SCROLL.NotUsed = COMPANION_MAX - m + 1;
or if GameInterface.SHIPS_SCROLL.NotUsed doesn’t exist
simply add it after
GameInterface.SHIPS_SCROLL.ListSize = m;
- Age of Pirates 2\Program\INTERFACE\store.c :
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
- Age of Pirates 2\Program\INTERFACE\hirecrew.c
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
- Age of Pirates 2\Program\INTERFACE\ColonyCapture.c
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
- Age of Pirates 2\Program\INTERFACE\cannons.c
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
Image below shows only 7 ships because I was currently making modifications in my fleet and got rid of one.
Another thing that was really bugging me now was the limit of only 5 ships. With the ship selections now, it's kind of hard to part with my favorites. I did some research and found the solution. I found most of this on some foreign website (can't remember where anymore) so I'm not taking the credit for it, though it was up to 7 ships, and I increased it to 8 for now. I've played with 8 ships extensively now and found no problems at all (engine is crashing occasionally, but it was crashing just the same before I modified anything).
The directions are below. The only caveat is, when you try to leave your ships with port control, you can leave the first 4. Choosing anything after that makes the speak selection non-responsive. Even escape doesn't work. At that point you can only use F9 to load the previous quick save. Even after leaving and going to another port control, it only works for the 1st 4 ships. So I'm kind of stuck now when I wanted to use just the lugger to get Edward Law. Unless I sell few of my ships. I tried finding code responsible for that, with no luck. If anyone could figure it out, I'd really appreciate it.
Modifications to increase fleet to 8 ships:
Replace / add:
- Age of Pirates 2\Program\characters\characters.h :
#define COMPANION_MAX 5
with
#define COMPANION_MAX 8
- Age of Pirates 2\Program\battle_interfac\BattleInterface.c :
BattleInterface.ShipIcon.iconoffset6 = "70,710";
BattleInterface.ShipIcon.iconoffset7 = "70,838";
BattleInterface.ShipIcon.iconoffset8 = "70,966";
after
BattleInterface.ShipIcon.iconoffset5 = "70,582";
- Age of Pirates 2\Program\battle_interfac\WmInterface.c :
BattleInterface.wm_sign.iconoffset6 = "70,710";
BattleInterface.wm_sign.iconoffset7 = "70,838";
BattleInterface.wm_sign.iconoffset8 = "70,966";
after
BattleInterface.wm_sign.iconoffset5 = "70,582";
- Age of Pirates 2\Program\INTERFACE\ship.c :
replace the line containing
GameInterface.SHIPS_SCROLL.NotUsed
with
GameInterface.SHIPS_SCROLL.NotUsed = COMPANION_MAX - m + 1;
or if GameInterface.SHIPS_SCROLL.NotUsed doesn’t exist
simply add it after
GameInterface.SHIPS_SCROLL.ListSize = m;
- Age of Pirates 2\Program\INTERFACE\store.c :
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
- Age of Pirates 2\Program\INTERFACE\hirecrew.c
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
- Age of Pirates 2\Program\INTERFACE\ColonyCapture.c
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
- Age of Pirates 2\Program\INTERFACE\cannons.c
FillScrollImageWithCompanionShips("SHIPS_SCROLL", 5);
with
FillScrollImageWithCompanionShips("SHIPS_SCROLL", COMPANION_MAX);
Image below shows only 7 ships because I was currently making modifications in my fleet and got rid of one.