• 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 Surrendering Captains have wrong or no dialog

Yes, that ought to solve all the reported problems related to this issue. I'd imagine that all existing storylines and sidequests were written under the assumption that surrendering captains always use "Cabinfight_dialog.c", as that has always been the case until now, so leaving it that way should not break anything.

Perhaps allow an attribute to be defined so that, if someone writing a quest really needs a custom surrender dialog, e.g.
Code:
ch.SurrenderDialog.Filename = "custom_surrender_dialog.c";
If that attribute is not defined then the character uses the default "Cabinfight_dialog.c". If you want a custom surrender dialog then add that attribute in the captain's character definition.
You can just use the dialog system already.
By defining a second dialog file you can just merge the files.
Or you can overwrite the file after the generation.
 
This file should fix it then ...
 

Attachments

  • LAi_CreateCaptain.c
    5.4 KB · Views: 106
@Pillat or anyone else can you confirm above file works?
 
Back
Top