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

COMPLETELY NEW INTERFACE FOR BUILD12

For Nathan Kell:
All code-files already translated and checking language with
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    if(LanguageGetLanguage()=="Russian")
    {
    }
    else
    {
    }<!--c2--></div><!--ec2-->
Now my work is dialog-files translation and quests. We can done translation mode without changing something in blablabla_dialog.c because we must change string
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->#include "DIALOGS\blablabla_dialog.h"<!--c2--></div><!--ec2-->
to
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->
#include "DIALOGS\Russian\blablabla_dialog.h"<!--c2--></div><!--ec2-->
so we need new blablabla_dialog.c in "Russian" directory.
all log() calls translated, but for future easy translating and easy work you can change it to ConvertingString. Or, if you not ready for that BIG WORK, you can add to ConvertingString only new code.

Another question: I created a new decks (as a locations) with passages and cabins, different for a different ships. But now I have a problem. Reload to another location not working, because
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Locations[locIndex].boarding = "true";<!--c2--></div><!--ec2-->

When I trying to change it to

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Locations[locIndex].boarding = "false";<!--c2--></div><!--ec2-->

all working fine, but when I return to Sea - game exits with error. So, a problem is deeper. If you can help me with that and ready to check code, I can send you files

<img src="http://foto.spbland.ru/data/media/11/lrg_30564_seadogs20000.gif" border="0" class="linked-image" />

<img src="http://foto.spbland.ru/data/media/11/lrg_30565_seadogs20001.gif" border="0" class="linked-image" />

<img src="http://foto.spbland.ru/data/media/11/lrg_30566_seadogs20002.gif" border="0" class="linked-image" />
 
Wow <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" /> , nice job! <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" />
 
As Thomas say, that's some massively cool stuff!
-
For dialogs, you can use the Euro version of Dialog.c which inserts string "CurrentLanguage\" between DIALOGS\ and FILENAME.h automatically (and thus loads the H in Dialog.c via LoadSegment, rather than it being #included in the C).
Then you need only 1 C file.

If you've added code to all logs, then it'll be simple to change to convertstring because then all the log calls will be marked in the code--the problem isn't so much the changing, but knowing where to look...
------
Regarding boarding param. That's an interesting problem, and one I don't at the moment have an answer to. I'll check it out.

Hmm, you could just make a second attribute, isdeck.
Then in the various CheckAttribute(loc, "boarding") && sti(loc.boarding) checks, also add a check for isdeck.
Then go through and remove the isdeck check from each in turn to see which crashes.

At the top of locations_loader where it checks for boarding, that code I think you need in order to pause sea layers rather than create new ones.

A similar check at the end of the file, in UnloadLocation(), you will also need to pass that to not delete the sea environment.

Then you need to make sure that you're only checking .boarding wherever the reload code is that prevents you from reloading.

Well, a simpler solution would be instead of adding a full parallel attribute isdeck, add an attribute to location "allowreload" and leave boarding = true.

Then wherever the prevent-reload-when-boarding-true check is, override it if sti(loc.allowreload). That'll be easier than finding all instances of boarding.
--------
Sure, send the code; working or not I'd love to see it. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
(And if not working, maybe I can figure it out, if the above didn't help)
 
To Nathan Kell: check your private message <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
I`ve just downloaded the new extras. Very impressive. I`ve got to admit that I quite like the darker interface. What I`d like to know is, is it possible to put 12.2 on top of it. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
 
There is no Build 12.2 yet. No official one anyway. If you mean any of the Pre Build 13 files or PotCMods or anything, I doubt that will work. It might work partly or something, but it would mess things up.
 
Those are the files I meant. I`ll not try that then. Thanks for the info. I`m going to go back to using the other mods.
B. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
BTW: It CAN be done though, but it would require some additional complicated coding. Using the program WinMerge might enable you to get it to work, but it's quite hard.

BTW 2: I am going to try and copy the new functionality of this mod into the Post Build 12 mods. And maybe, once, I'll try and get the new interface to work there as well.
 
Question to Maximus (or anyone else who can help): How can I move the new functionality in this new interface (like new officer types, being able to change your and your officer's names in the interface and the officer type being stated in the character screen) into the old interface? Especially the name changing feature and the officer type being stated are things I really want into my game. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
I'll give that code to you by private message. Wait some days. I'm without internet for a moment.
 
Thanks in advance. I'll be looking forward to that then. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Pieter Boelen: Check your PM <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

Nathan Kell: send me please Euroversion of POTC. If you have an answer about Deck mod - i'm waiting. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Maximus: Sorry about the delay on the deck mod--but I'm not sure what question you want me to answer in regards to it... <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" />

Also, YGPM with the UK version.
 
Wow, that's very nice! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
Idea of this new interface was taken from MY new interface for russian addon A&M ALexusB edition.
Screens:
<a href="http://alf-korsar.narod.ru/image001.jpg" target="_blank">http://alf-korsar.narod.ru/image001.jpg</a>
<a href="http://alf-korsar.narod.ru/image009.jpg" target="_blank">http://alf-korsar.narod.ru/image009.jpg</a>
<a href="http://alf-korsar.narod.ru/image010.jpg" target="_blank">http://alf-korsar.narod.ru/image010.jpg</a>
<a href="http://alf-korsar.narod.ru/image011.jpg" target="_blank">http://alf-korsar.narod.ru/image011.jpg</a>
<a href="http://alf-korsar.narod.ru/image012.jpg" target="_blank">http://alf-korsar.narod.ru/image012.jpg</a>
<a href="http://alf-korsar.narod.ru/image013.jpg" target="_blank">http://alf-korsar.narod.ru/image013.jpg</a>
<a href="http://alf-korsar.narod.ru/image014.jpg" target="_blank">http://alf-korsar.narod.ru/image014.jpg</a>
<a href="http://alf-korsar.narod.ru/image015.jpg" target="_blank">http://alf-korsar.narod.ru/image015.jpg</a>
<a href="http://alf-korsar.narod.ru/image016.jpg" target="_blank">http://alf-korsar.narod.ru/image016.jpg</a>
<a href="http://alf-korsar.narod.ru/image019.jpg" target="_blank">http://alf-korsar.narod.ru/image019.jpg</a>
<a href="http://alf-korsar.narod.ru/image021.jpg" target="_blank">http://alf-korsar.narod.ru/image021.jpg</a>
<a href="http://alf-korsar.narod.ru/image024.jpg" target="_blank">http://alf-korsar.narod.ru/image024.jpg</a>
<a href="http://alf-korsar.narod.ru/image025.jpg" target="_blank">http://alf-korsar.narod.ru/image025.jpg</a>
<a href="http://alf-korsar.narod.ru/image026.jpg" target="_blank">http://alf-korsar.narod.ru/image026.jpg</a>
<a href="http://alf-korsar.narod.ru/image027.jpg" target="_blank">http://alf-korsar.narod.ru/image027.jpg</a>
<a href="http://alf-korsar.narod.ru/image028.jpg" target="_blank">http://alf-korsar.narod.ru/image028.jpg</a>
<a href="http://alf-korsar.narod.ru/image029.jpg" target="_blank">http://alf-korsar.narod.ru/image029.jpg</a>
<a href="http://alf-korsar.narod.ru/image030.jpg" target="_blank">http://alf-korsar.narod.ru/image030.jpg</a>
<a href="http://alf-korsar.narod.ru/image031.jpg" target="_blank">http://alf-korsar.narod.ru/image031.jpg</a>
<a href="http://alf-korsar.narod.ru/image032.jpg" target="_blank">http://alf-korsar.narod.ru/image032.jpg</a>
<a href="http://alf-korsar.narod.ru/image033.jpg" target="_blank">http://alf-korsar.narod.ru/image033.jpg</a>
<a href="http://alf-korsar.narod.ru/image034.jpg" target="_blank">http://alf-korsar.narod.ru/image034.jpg</a>
<a href="http://alf-korsar.narod.ru/image035.jpg" target="_blank">http://alf-korsar.narod.ru/image035.jpg</a>
<a href="http://alf-korsar.narod.ru/image036.jpg" target="_blank">http://alf-korsar.narod.ru/image036.jpg</a>
<a href="http://alf-korsar.narod.ru/image5.jpg" target="_blank">http://alf-korsar.narod.ru/image5.jpg</a>
<a href="http://alf-korsar.narod.ru/image8.jpg" target="_blank">http://alf-korsar.narod.ru/image8.jpg</a>
<a href="http://alf-korsar.narod.ru/sea4.jpg" target="_blank">http://alf-korsar.narod.ru/sea4.jpg</a>


<a href="http://kuznica.alfaspace.net/gallery/categories.php?cat_id=1&sessionid=2136bba8bd0af9da36cfbd0dbe8c6b48" target="_blank">screens from russian addon A&M Morgan edition</a>
 
Um, wow. <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#>/icon_eek.gif" style="vertical-align:middle" emoid=":shock:" border="0" alt="icon_eek.gif" /> What he said! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="bow.gif" /> VERY nice!
 
RS_Alf: I said about it in the first report, but my work in this interface - not only editing INI files. Sorry
 
Back
Top