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

Solved Fixing the Pirate Hunting Quests

Oh, and just to explain a bit of how the new code works:
1. A nation for the enemy captain is decided on
2. An enemy captain is generated
3. Rank calculation has remained unchanged
4. Enemy captain is given appropriate skills
5. Instead of his ship class being player-level and difficulty-dependent, it now depends PURELY on the captain's own Sailing and Leadership skill (same as the player)
6. Ship generation now uses GiveShip2Character, which will always give them a full cargo hold
7. Random damage and such generated last

Because the nation is now selected BEFORE the ship is generated, even Treasure Quest pirates will now get a ship appropriate to their nation.
Also because the ship level depends on the enemy captain skills, you should never find that he cannot command his own ship without penalties.

Does that make any sense so far?
 
There's supposed to be a fleet of three of them that chases you around the Caribbean if you fail to pay a loan in time.
On the worldmap, that is. I doubt it'd work in DirectSail. Haven't got a clue if they actually work on the worldmap either.
But there IS code for that.
 
Still looking forward to some comments on the new Governor Ship Hunting/Treasure Quest Pirates/Smuggling Coast Guard ships and captains.
The code for that has been completely rewritten and I want to know if the end results appears to make sense. :razz
 
Anyone been playing any of the quests that involve random quest ships?
Does their selection seem right? And what about their captains and skills? Anything seem out-of-place?
 
Alright, after numerous CTDs and lost profiles (couldn't reload it, because I only had that one) I give up; for now. Not fun when the game crashes a lot. :rumgone

Here are my results so far. There was not much difference to enemy ships at the shore (except for some Luggers, Hoys, Barque Longues or Spanish Galleons) or treasure quest enemies, so they're not included; same for most of the ship hunting enemies, otherwise the list would be a mile long.
Never seen Pirates at the shore in a ship greater than Tier 5. Most of them had a Sloop or a Jackass Bark, sometimes a Brigantine and one time I saw a 6th rate Frigate.

*********************
Governor Ship Hunting
*********************
Year: 1718

Enemy: Bermuda Sloop (7)
Nation: Pirate
My level: 2 | Client: Portugal
Enemy Captain's level: 8
- Leadership: 5 | Sailing: 8 | Repair: 2 | Luck: 3 | Rest: 1

---

Enemy: Sloop (7)
Nation: Pirate
My level: 3 | Client: England
Enemy Captain's level: 5
- Leadership: 2 | Accuracy: 2 | Repair: 2 | Defense: 4 | Commerce: 2 | Luck: 3 | Rest: 1

---

Enemy: Sloop (7)
Nation: France
My level: 4 | Client: Portugal
Enemy Captain's level: 8
- Leadership: 7 | Sailing: 4 | Grappling: 2 | Defense: 4 | Luck: 3 | Rest: 1

---

Enemy: Sloop (7)
Nation: Pirate
My level: 5 | Client: Portugal
Enemy Captain's level: 11
- Leadership: 9 | Sailing: 6 | Cannons: 2 | Grappling: 2 | Repair: 4 | Commerce: 2 | Luck: 2 | Rest: 1

---

Enemy: Naval Cutter (7)
Nation: Pirate
My level: 5 | Client: Portugal
Enemy Captain's level: 9
- Leadership: 2 | Sailing: 9 | Repair: 7 | Luck: 3 | Rest: 1

---

Enemy: English Bark (7)
Nation: Pirate
My level: 6 | Client: Portugal
Enemy Captain's level: 5
- Melee: 2 | Sailing: 2 | Grappling: 5 | Repair: 2 | Defense: 2 | Commerce: 2 | Rest: 1

---

Enemy: Jackass Bark (7)
Nation: France
My level: 8 | Client: Portugal
Enemy Captain's level: 11
- Leadership: 6 | Melee: 3 | Sailing: 8 | Repair: 5 | Commerce: 4 | Rest: 1

---

Enemy: Light Fluyt-of-War (5)
Nation: Pirate
My level: 13 | Client: Portugal
Enemy Captain's level: 7
- Leadership: 4 | Melee: 5 | Accuracy: 2 | Grappling: 3 | Commerce: 2 | Luck: 3 | Rest: 1

---

Enemy: Ketch (7)
Nation: France
My level: 14 | Client: Portugal
Enemy Captain's level: 11
- Leadership: 7 | Sailing: 6 | Grappling: 2 | Defense: 6 | Commerce: 2 | Luck: 4

---

Enemy: Snow Brig (6)
Nation: Pirate
My level: 14 | Client: Portugal
Enemy Captain's level: 12
- Leadership: 7 | Melee: 4 | Sailing: 7 | Grappling: 2 | Repair: 2 | Defense: 5 | Luck: 3 | Rest: 1

---

Enemy: Snow Brig (6)
Nation: Pirate
My level: 14 | Client: France
Enemy Captain's level: 11
- Accuracy: 9 | Cannons: 7 | Commerce: 3 | Luck: 5 | Rest: 1

---

Enemy: Spanish Gunship (6)
Nation: Spain
My level: 16 | Client: England
Enemy Captain's level: 8
- Melee: 4 | Sailing: 4 | Repair: 6 | Commerce: 4 | Luck: 2 | Rest: 1

---

Enemy: Heavy Brig (5)
Nation: Pirate
My level: 16 | Client: England
Enemy Captain's level: 10
- Melee: 8 | Accuracy: 2 | Grappling: 6 | Repair: 6 | Rest: 1

---

Enemy: Sloop (7)
Nation: Pirate
My level: 16 | Client: England
Enemy Captain's level: 12
- Leadership: 9 | Melee: 7 | Sailing: 3 | Accuracy: 4 | Cannons: 3 | Defense: 4 | Luck: 8 | Rest: 2

---

Enemy: Heavy Brig (5)
Nation: Pirate
My level: 20 | Client: England
Enemy Captain's level: 9
- Leadership: 3 | Melee: 3 | Accuracy: 3 | Grappling: 5 | Defense: 5 | Commerce: 2 | Luck: 3 | Rest: 1

---

Enemy: Sloop-of-War (5)
Nation: Pirate
My level: 28 | Client: England
Enemy Captain's level: 26
- Leadership: 9 | Cannons: 7 | Grappling: 1 | Repair: 6 | Defense: 5 | Commerce: 7 | Luck: 10 | Rest: 5

---

Enemy: Sloop (7)
Nation: France
My level: 28 | Client: England
Enemy Captain's level: 27
- Sailing: 8 | Accuracy: 1 | Cannons: 4 | Grappling: 3 | Repair: 10 | Commerce: 7 | Luck: 4 | Rest: 2

---

Enemy: Jackass Bark (7)
Nation: Spain
My level: 28 | Client: England
Enemy Captain's level: 23
- Leadership: 4 | Sailing: 3 | Accuracy: 10 | Cannons: 10 | Grappling: 2 | Repair: 3 | Defense: 7 | Rest: 5

---

Enemy: Light Fluyt-of-war (5)
Nation: Pirate
My level: 28 | Client: England
Enemy Captain's level: 27
- Leadership: 9 | Melee: 6 | Sailing: 10 | Accuracy: 5 | Cannons: 10 | Repair: 10 | Defense: 9 | Rest: 7

---

Enemy: Naval Cutter (7)
Nation: Spain
My level: 28 | Client: England
Enemy Captain's level: 26
- Melee: 6 | Accuracy: 3 | Cannons: 6 | Repair: 10 | Defense: 8 | Commerce: 10 | Rest: 5

---

Enemy: English Bark (7)
Nation: Spain
My level: 28 | Client: England
Enemy Captain's level: 28
- Leadership: 1 | Melee: 4 | Sailing: 10 | Accuracy: 4 | Cannons: 6 | Grappling: 9 | Repair: 10
- Defense: 5 | Commerce: 6 | Luck: 9

---

Enemy: Brigantine (5)
Nation: Pirate
My level: 30 | Client: Spain
Enemy Captain's level: 30
- Leadership: 3 | Melee: 10 | Sailing: 7 | Accuracy: 10 | Cannons: 8 | Grappling: 4 | Repair: 8
- Defense: 6 | Commerce: 7 | Luck: 5

---

Enemy: Heavy Brig (5)
Nation: Pirate
My level: 30 | Client: Spain
Enemy Captain's level: 14
- Melee: 4 | Sailing: 2 | Cannons: 3 | Repair: 9 | Defense: 3 | Commerce: 10 | Luck: 2 | Rest: 1

---

Enemy: Sloop (7)
Nation: Portugal
My level: 30 | Client: Spain
Enemy Captain's level: 23
- Leadership: 9 | Melee: 4 | Sailing: 9 | Accuracy: 4 | Cannons: 8 | Grappling: 2 | Repair: 10
- Defense: 2 | Commerce: 7 | Luck: 5
Not that much, but I hope it's enough...
I also lent me huge amounts of money from several Loansharks and never paid it back, but I've never encountered their Avengers. Maybe I did something wrong...
I'll try again later.
 
I just remember you posted the above, so I figured I'd move it here and actually look at it. Had been a bit swamped in stuff before. :facepalm

Anyway, that seems pretty weird. Pretty consistently low-level ships.
And the GOOD captains with relatively high Leadership and Sailing skills still get Tier 7 ships.
And the larger ships are captained by characters with LESS skills. That doesn't make much sense.
Apparently this requires looking at. Again. :facepalm
 
Yesterday I updated the rank coding for this so that now the captain skills and ships generated should match up better with what they should be.
I do believe that closes this issue. :doff
 
Back
Top