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

Fixed Governor Ship Hunting: Target Ships Too Small

Actually, this:
Code:
      //Pick Perks
       if(LAi_IsBoardingProcess())
       {
         SelectPerksForCharacter(chref, 1); //This is because we need to know which perks a character has for the weapon locker
       }
       else
       {
         PostEvent("procSelectPerksForCharacter",1,"lls",sti(chref.index),1,chref.location);
       }
Should probably also be this:
Code:
      //Pick Perks
       if(LAi_IsBoardingProcess() || CheckAttribute(chref, "skipPostInit")) // PB: Allow overriding the PostInit process if necessary
       {
         SelectPerksForCharacter(chref, 1); //This is because we need to know which perks a character has for the weapon locker
       }
       else
       {
         PostEvent("procSelectPerksForCharacter",1,"lls",sti(chref.index),1,chref.location);
       }

Also, I think @ANSEL plays with Auto Skill System OFF and I have no clue how that would go.
The change I made today affects only the situation when Auto Skill System is ON.
 
Yes I like to have Auto skill Off. Now I will set Auto skill to on (for testing purpose).
I think with Auto Skill System OFF, this should work exactly the same as it did yesterday.
Were you not saying that occasionally you DID get bigger ships even before this change?
Maybe it actually worked with that mod off, but not with it on?

If it doesn't seem right to you at the moment, please try the things described in post #11.
I've had a quick look through the relevant code, but it is stupidly complicated
and I cannot easily tell how it is supposed to work with Auto Skill System off....
 
Yeap seems it worked Pieter :) Got to hunt down a heavy Brig now (same class as my own ship)
Thanks for confirming! :cheers

That does sound like it works properly again. You are indeed supposed to be quite evenly matched in those quests.

Worth mentioning that this same fix also affects Treasure Quest Pirates, Escort Quest Enemies and Smuggling Coastguard ships.
 
I'm marking down the class of the ships I face now to give a bigger sample (seems mostly tier 6 atm, so it's an improvement). Will post when I think I got enough.
 
Seems all is working fine indeed. Did the quest 10x, started at lvl 25 (now 27 or so) got 3x class 7, 3x class 6, 2x class 5 and 2x class 4
 
That indeed sounds about right. Much more reasonable variety!

It used to work in the past as well, but apparently got broken by recent modding work.
My changes restored it to its former intended functionality.
 
Back
Top