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

Disable "GoTo..." feature.

giuliootto

Freebooter
Storm Modder
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> Pirates,

Someone knows how to disable the "GoTo ..." hotkey at see and in the city.

I think that this can make the game more realistics.

Thanks a lot, bye,
Jack Aubrey
 
Yeah, that feature is the reason I bought the game! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/w00t.gif" style="vertical-align:middle" emoid=":woot" border="0" alt="w00t.gif" />
 
not too sure, but i think the code is in battleinterface.c in the programs folder in the battleinterface folder -i think
 
This came up in one of Mehrune`s recently linked posts. You can disable the SailTo option whenever the map screen is also disabled, during battle for instance.

Boocha is right. Open <b>PROGRAMBATTLE_INTERFACEBattleInterface.c</b> and add 'bDisableSailTo = !bMapEnter;' to the end of 'void BI_SetSeaState()' which starts around line 926 as follows -
------------------------------------------------------------------------------
void BI_SetSeaState()
{
bool bTmp;
bSailTo = GetEventData();
bTmp = GetEventData();
bMapEnter = GetEventData();
bAttack = GetEventData();
bDefend = GetEventData();
bReloadCanBe = GetEventData();
bi_nReloadTarget = GetEventData();
bEnableIslandSailTo = bMapEnter;
if(bDisableMapEnter) bMapEnter = false;
bDisableSailTo = !bMapEnter; // disables SailTo in battle
}
-------------------------------------------------------------------------------

You can also increase the `escape distance` so you need to be further away from enemy ships before you can use the Map & SailTo options. The default 500 yards is still within gun range so I set mine at 1000 yards, but then I like to make life difficult for myself <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> You can just edit the value at the end of the lines at the top of <b>PROGRAMSEA_AIAIShip.c</b>

#define MIN_ENEMY_DISTANCE_TO_DISABLE_MAP_ENTER 500.0
#define MIN_ENEMY_DISTANCE_TO_DISABLE_ENTER_2_LOCATION 500.0
 
some of the fastreload stuff is also in battle_interfacelandinterface.c. i suppose the easiest way to disable fasttravel woudl be to go into that file, find the line:

<b> objLandInterface.Commands.FastReload.enable = true;</b>

and change to false. also find:

<b> objLandInterface.Commands.FastReload.enable = bTmpBool;</b>

and change 'bTmpBool' to false. then the fasttravel icon should not appear. not tested that, mind you <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />
 
I should stress that any of these type of mods should be made switchable in BuildSettings.h - so you have the option of using them, or turning them off... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
well the thing with fasttravel is that you can always 'turn it off' just by not using it hehe <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
THANK YOU!!!!!!!!!

<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" /> Thank YOU Sea Dogs,

I've tried the modification to BattleInterface.c and it works and more, I don't need to restart a new game, It's simply GREAT.

However, for who ask why disable the "GoTo..."?, I would respond, if the "Acheron" in "Master and Commader" would had this functionality the movie would be finished in two minutes <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid=":keith" border="0" alt="keith.gif" /> .

PS.

I'm looking for objLandInterface.Commands.FastReload in the landinterface.c but I don't find it, however on land may be better have this feature may also for me too.


Bye, bye, Sea Dogs,
Jack Aubrey
 
Yes, you always have a choice of using it or not using it. I for one use it, but <i>sparingly,</i> as I DO enjoy the chase and the "ballet" of positioning so you have the advantage. But darnit, I do not enjoy watching someone "get away" from me, so if necessary I WILL GoTo in order to press the battle.

IMO, the positioning in GoTo does not favor the one using it as it usually plops you right in the middle of things with your quarry STILL headed away from you, or just ready to broadside you.

And it screws with your orders to your other ships too, you cannot simply GoTo - you take the rest of your ships too - and if you've told one to "sail away" or "heave to and drift", they will suddenly be dropped into the middle of a battle you do NOT want them to be in...

Something I also do not use is ANY of the Boarding skills. I usually do NOT load any points to the boarding skills as I hate the instant boarding and the `long-distance` boarding. Where's the fun in that? When you use that you rarely have to use grape or knippels... IMHO, it just takes all the strategy out of boarding.
 
and what about disableing all the GoTos?

is this also possible and how?

i really mean ALL (also the GoTo at `sailing-mode` (not comabt!), when sailing at the shore and try to get to for example oxbay port.
that happend at a mission, when i disabled the `combat-goto`-mode. but it was really funny. i never sailed around the island and looking at the shore. normally i finshed the game by use `go-to` all the time.

that makes the game quite fast - but u miss a lot.

would be happy if some knows, where i can disalbe ALL `go-tos`
 
ups... looks quite easy <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
but i ve to use the "bDisableSailTo = true;"-line instead of ? not aditionally?

and what about the goto at land?
let me guess:
its a line called
"bDisableGoTo = true;" ?
where can i find it?
 
First, follow <b>Taurondin</b>'s instructions, but replace the last line of the code given, bDisableSailTo = !bMapEnter; // disables SailTo in battle , with bDisableSailTo = true;
Then, follow <b>Kieron</b>'s instructions.
 
No worries. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
damn....
it works but i forgot, that now i ve a BIG problem to find the ships, a governor told me to sunk. :-(
so im not able to do any missions for a governor..... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
 
Nathan means the little map that's inside the compass rose when you're sailing. The letters "E" and "D" zoom out and in.

Typically they will be in a cove "just around the corner" from the harbor.
 
Back
Top