• 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 Surrendered Quest Captain Refuses to Fight

Hylie Pistof

Curmudgeon
QA Tester
Storm Modder
Pirate Legend
Someone else has mentioned this before but I could not find that thread.

A pirate ship chased me into range of a fort and then surrendered. All I want is the treasure they hid. Dunno why they got so upset. :treasure:

Anyhoo, I visited the ship and the Captain wanted to fight but then did not draw his sword. Rather than going back to last save I just killed him and got big penalties for striking an unarmed man. So now I have 2 ships and am a rascal. Kinda wish he had fought or just surrendered.
POTC4 2015-10-17 12-25-11-73.jpg
 

Attachments

  • -=Player=- Open Sea April 29th, 1690.7z
    516 KB · Views: 94
After you killed that captain, do you know if you looted any weapons from him?
I wonder if he didn't have any weapons at all or if he just didn't equip them.
 
That is really quite odd; according to a DumpAttribute, he DOES have a Cutlass and should have it equipped too:
Code:
items =
  blade4 = 1
equip =
  blade = blade4

Also, he's got the "isMerchant" attribute, which is probably the cause of this.
But WHY DOES HE HAVE THAT???
 
@Hylie Pistof: Execute this through console, then try again from your save:
Code:
   ch = CharacterFromID("Treasure Pirate");
   DeleteAttribute(ch, "isMerchant");
   LAi_SetGuardianType(ch);
For some reason, random quest enemies were being set to MerchantType.
I've now made this change in quests_common.c to hopefully prevent this:
Code:
  LAi_SetGuardianType(ch);   // PB: Matches with Coast Raider initialization
//   LAi_SetMerchantType(ch);   // makes captain cower in hold if you threaten him with a sword
 
Since I applied the same fix directly in quests_common.c as well, this should no longer happen. :doff
 
Back
Top