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

Just a thought...

High Sea Lass

Hopelessly lost
Storm Modder
I sometimes think to myself "It would be nice if I did not have to see that flashing red portrait or hear that music until combat actually starts... Now, I have sort of a Spider Sense that warns me long before anything happen, usually..."


Anyone else ever felt like this? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Could it be made not to start until they actually are within arm's reach, so to speak? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Could it be made toggleable? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />


And if there is no real interest, could anyone please tell me how I could completely disable this? Thank you kindly! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/flower.gif" style="vertical-align:middle" emoid=":ty" border="0" alt="flower.gif" />
 
You could try opening LAi_Groups.c
Find at end:
LAi_group_UpdateAlarm()
Change to:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->void LAi_group_UpdateAlarm()
{
    LAi_grp_playeralarm = false; //GetEventData();
    LAi_grp_alarmactive = false; //GetEventData();
    Sound_OnAlarm(false); //Sound_OnAlarm(LAi_grp_alarmactive);
}<!--c2--></div><!--ec2-->
Dunno if that'll mess up the AI though.
 
Hmm, seems to work... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Thanks. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />


Only wish I could make it work the way I mentioned above, heheh! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />
 
You could try hooking it to a check (in player's characterupdate) if there are any enemies within a specified radius, and only then setting a bool bAllowAlarm, and check for that = true in the above function.
 
You think <i>I</i> could do that? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

I would not know where to start... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />
 
Ah, checking that function (charupdate) I see turning off alarm like the above will break the functionality where you automatically put away your sword if there are no enemies. It will probably also break any other call that checks if there are enemies nearby because the shortcut to check if there are enemies nearby is to just check alarm state.
So I'm sorry to say fixing this will be rather complex... :\
 
Oh, all right... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Thank you so much for trying! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/flower.gif" style="vertical-align:middle" emoid=":ty" border="0" alt="flower.gif" />

Well, I will run with it permanently off and listen for the "sing" of the swords being drawn! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile2.gif" style="vertical-align:middle" emoid=":))" border="0" alt="smile2.gif" />

But now, kind sir, I bid thee good night!
 
I agree, sometimes it is kind of spoiling if sound and icon warn you that an assassin is hiding somewhere.
Thanks for raising this, HSL, and thanks for the hint, Nathan
 
Does alarm go on if there's a hostile group, or just if the group has drawn steel?
Because if it's the latter (though I fear it's not), if we give everyone appropriate LOOK and HEAR radii it'll no longer be a problem.
 
Afraid it does not seem to matter if steel has drawn or not. I suspect the enemy group is simply set to "hostile" somewhere, and, well, the icon flashes and the music plays. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />


CCC: You are quite welcome, and yes, I do like "surprises", at least say, in the town, or when I can not even <i>see</i> anyone... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />


But for now I am quite happy with Nathan's complete nuking of that alarm (even if I miss the music, heheh - maybe I can set it to play when <i>I</i> drawn my sword, eh? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
Back
Top