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

stuck in ships cabin, BUG?

Stowaway

Landlubber
I need some help tweaking either the BuildSettings.h or the InternalSettings.h

In some ship boardings the enemy captin tries to surrender but I am getting the ransom dialog instead. I've tried all the options in the dialog but no matter what I do I am left in the ships cabin and I cant get the door to open. I've tried just abot everything to get the cabin door to open but its locked and I cant get out. I have to quit my game and start over from my last save.

Questions:
Is there an in game command I can type in to get the cabin door to open?

How do I turn off captive surrender options completly?

Is there any thing I can change without having to start a new game?

What do I change?

BuildSettings.h
(under sea battles)
SURRENDER_MULT have at 0 still happens

InternalSettings.h
(under AI ship constants)
// surrender scalars _for in boarding process_, NOT for on sea.
#define SURRENDER_SCL_POW 0.4 // type=float,
#define SURRENDER_SCL_ADD -0.2 // type=float,
#define SURRENDER_SCL_COEFF 0.5 // type=float,
#define SURRENDER_SCL_MIN 0.9 // type=float,
#define SURRENDER_SCL_MAX 1.75 // type=float,
These are the current settings. I dont know what I should change to turn surrendering off completly.

Please Help
Stowaway
 
SHIVER ME TIMBERS!!!

The stuck in cabin bug was making my game unplayable so I thought that I would reinstall the game and the build. Now theres NO download link and I cant open my old update files from WINRAR. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />

I hope that the link will be fixed soon because there's no way I can play the stock game after trying out the post build.

I suppose that I'll just have to satisfy my pirates lust for treasure with my other pirate games. (LOL, I hope I remember how to DANCE) <img src="style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />

See you in the other forums,
STOWAWAY
 
<!--quoteo(post=156480:date=Aug 4 2006, 08:10 AM:name=Stowaway)--><div class='quotetop'>QUOTE(Stowaway @ Aug 4 2006, 08:10 AM) [snapback]156480[/snapback]</div><div class='quotemain'><!--quotec-->
SHIVER ME TIMBERS!!!

The stuck in cabin bug was making my game unplayable so I thought that I would reinstall the game and the build. Now theres NO download link and I cant open my old update files from WINRAR. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />

I hope that the link will be fixed soon because there's no way I can play the stock game after trying out the post build.

I suppose that I'll just have to satisfy my pirates lust for treasure with my other pirate games. (LOL, I hope I remember how to DANCE) <img src="style_emoticons/<#EMO_DIR#>/danse1.gif" style="vertical-align:middle" emoid=":dance" border="0" alt="danse1.gif" />

See you in the other forums,
STOWAWAY
<!--QuoteEnd--></div><!--QuoteEEnd-->

Try to add LAi_EnableReload(); (please, check for proper function name in PROGRAM\Loc_ai\LAi_boarding.c) into the PROGRAM\INTERFACE\items.c and open that interface, if You stuck in cabin.
 
Better yet, add the line

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->DeleteAttribute(mchr, "groupkill");    // LDH - Fixed in LAi_groups.c so LAi_EnableReload only gets called when all enemy dead<!--c2--></div><!--ec2-->

to LAi_boarding.c right after line 1056 that says

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ref mchr = GetMainCharacter();<!--c2--></div><!--ec2-->

Someone added some of my changes from the unpublished boarding code when they shouldn't have. This should fix the problem with being unable to proceed past one deck.

Hook
 
Back
Top