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

Get the log messages out of the way

CouchcaptainCharles

COO (Chief Oddity Officer)
Storm Modder
Pirate Legend
Does it annoy you too if the log messages clog your screen sometimes? Sure, you can toggle the logs, but that lets you miss some interesting information.

Is it already known that you can relocate and resize those logs in Battle_interfaceLogInterface.c, e.g. like this:

void CreateLogEnvironment()
{
ILogAndActions.Log.width = sti(showWindow.sw)/2;
ILogAndActions.Log.height = sti(showWindow.sh)-80;
ILogAndActions.Log.left = sti(showWindow.left)+1; // ccc maptweak original value +88
ILogAndActions.Log.up = sti(showWindow.top)+1; //+16
ILogAndActions.Log.font = "interface_small"; // interface_normal
ILogAndActions.Log.color = argb(0,255,255,255);
ILogAndActions.Log.offsetString = 14; //24
ILogAndActions.Log.speed = 0.1; //0.05
ILogAndActions.Log.color_speed = 0.04; //0.02
}

That way the main portion of the screen stays clear of textmessages <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Thanks CCC, I'd be give'n it a whirl. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" /> <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" />
 
cool, wtg ccc <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />
 
Oh that's great, CCC, thank you! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" /> May we drop that (`toggle-able`) into Build 12? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />
 
No I did not, to answer your question. Nice! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
<!--`QuoteBegin-CatalinaThePirate`+--><div class='quotetop'>QUOTE(CatalinaThePirate)</div><div class='quotemain'><!--QuoteEBegin-->Oh that's great, CCC, thank you! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />  May we drop that (`toggle-able`) into Build 12?   <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/william.gif" style="vertical-align:middle" emoid=":will" border="0" alt="william.gif" />[/quote]

Great that this little hint was a help <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> It is common knowledge now, so you can drop it whereever it is of use to anyone (and where it doesn't cause a blot <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bounce.gif" style="vertical-align:middle" emoid=":b:" border="0" alt="bounce.gif" /> )

BTW, the last two lines determine how fast the message disappears and scrolls. If you want to change that: INCREASING the values makes it vanish FASTER
 
<!--`QuoteBegin-CouchcaptainCharles`+--><div class='quotetop'>QUOTE(CouchcaptainCharles)</div><div class='quotemain'><!--QuoteEBegin-->you can drop it whereever it is of use to anyone (and where it doesn't cause a blot <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bounce.gif" style="vertical-align:middle" emoid=":b:" border="0" alt="bounce.gif" /> )[/quote]Heh, no blots, just a GLOOP! (check out this link for the silly story behind my comment) <a href="http://forum.piratesahoy.net/sutra65857.php#65857" target="_blank">http://forum.piratesahoy.net/sutra65857.php#65857</a> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
Not sure how to do the whole quote thing but this is a quote from CouchCaptainCharles:

Is it already known that you can relocate and resize those logs in Battle_interfaceLogInterface.c, e.g. like this:

void CreateLogEnvironment()
{
ILogAndActions.Log.width = sti(showWindow.sw)/2;
ILogAndActions.Log.height = sti(showWindow.sh)-80;
ILogAndActions.Log.left = sti(showWindow.left)+1; // ccc maptweak original value +88
ILogAndActions.Log.up = sti(showWindow.top)+1; //+16
ILogAndActions.Log.font = "interface_small"; // interface_normal
ILogAndActions.Log.color = argb(0,255,255,255);
ILogAndActions.Log.offsetString = 14; //24
ILogAndActions.Log.speed = 0.1; //0.05
ILogAndActions.Log.color_speed = 0.04; //0.02
}


Do this mean i could edit the length of log messages displayed at sea? I find that the amount of experience points gained by sinking an enemy vessel disapears behind the compass so i cant see it. If so erm what would part would i need to change?
 
Oh, sorry for not making the details clear:

Those tweaks will not change the content of the messages but reduce the fontsize, move them a little to the left and upwards and scroll them up faster (for quickreaders only <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bookish.gif" style="vertical-align:middle" emoid=":mm" border="0" alt="bookish.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" /> )
 
Okay, I've added this to Build 12, `toggle-able` in BuildSettings.h - the default is OFF - so normal large type is there unless you want it smaller, then you can change it in BuildSettings.h <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" />

Thanks, CCC!!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Always a pleasure <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="bow.gif" /> I'm glad if somone picks up all the loose threads that I am scattering here (I'm already totally entangled in them <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" /> )
Good job to make that optional <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
<!--QuoteBegin-CouchcaptainCharles+--><div class='quotetop'>QUOTE(CouchcaptainCharles)</div><div class='quotemain'><!--QuoteEBegin-->Good job to make that optional <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" /><!--QuoteEnd--></div><!--QuoteEEnd--><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" /> Thanks. I was pretty darned pleased with myself when I figured it out, 'cause I sure didn't know where to begin... But it works! <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" />
 
I'd only like read' n de text logs when it be say'n good things,maybe a toggle fer dat. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> <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" />
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> You mean you don't want to know when you're sinking??? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
Arghhh! 'at be trivial catalina,it be de text log 'at says yer outa rum! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" /> <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" />
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> I've never seen that one. Out of food, yes, but out of RUM??? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
Would be worse than sinking... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/urgh.gif" style="vertical-align:middle" emoid=":urgh" border="0" alt="urgh.gif" />
 
<!--`QuoteBegin-CatalinaThePirate`+--><div class='quotetop'>QUOTE(CatalinaThePirate)</div><div class='quotemain'><!--QuoteEBegin--><img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> I've never seen that one.  Out of food, yes, but out of RUM???  :shock:  xD:[/quote]

'at probably cause O de battleship ye tote aroun' wid ye Catalina,I'd be bett'n yer cargo hold's full O' rum an contraband <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

sorry CCC not be mean'n tew Hijack yer thread mate, jest can't seem tew help meselfe <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/dev.gif" style="vertical-align:middle" emoid=":d:" border="0" alt="dev.gif" /> <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" />
 
Back
Top