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

Need Help Updating the Russian Translation

Put this in console.c to get Odel in place and ready to talk;

ChangeCharacterAddressGroup(CharacterFromID("Odel"), "Smugglers_Tavern", "goto", "goto17");

pchar.quest.Odel_dialog.win_condition.l1 = "locator";
pchar.quest.Odel_dialog.win_condition.l1.location = "Smugglers_Tavern";
pchar.quest.Odel_dialog.win_condition.l1.locator_group = "goto";
pchar.quest.Odel_dialog.win_condition.l1.locator = "goto17";
pchar.quest.Odel_dialog.win_condition = "Odel_dialog";
 
I have fixed all problems so far except the Alcove boxes bug. Played in your footsteps @Akrimal but I have to leave the bug
as I can't repeat it.

The missing icon in the garden house was a tricky one. The locatorfile was corrupt so I exchanged it. The new one didn't give an icon either
at the door for reload1. It did allow to place a box there though and fix the exit (with icon etc) that way.
 

Attachments

  • -=Тест4=- Косумель. Prison central hall 22-е Января 1725г.7z
    631.9 KB · Views: 6
  • -=Тест4=- Косумель.7z
    627.7 KB · Views: 6
I found a bug when testing what happens to Horatio Nelson when he gets promoted. At rank Vice Admiral, he has the first rate Victory and a companion in command of frigate Enterprise. But the ship names are wrong:
victory_wrong.jpg enterprise_wrong.jpg
That's because ship names are translated. 'TranslateString' starts by looking in "common.ini", and the words "Victory" and "Enterprise" are used as the keys for ship types as seen in interfaces:
Code:
string = Victory,"Victory class 1st Rate"
Code:
string = Enterprise,"American Topsail Schooner"
I've changed the lines in "Ships_init.c" which use those keywords, and also changed all versions of "common.ini" to use the changes:
Code:
string = HMSVictory,"Victory class 1st Rate"
Code:
string = US_Enterprise,"American Topsail Schooner"
And now:
victory_right.jpg enterprise_right.jpg

The attached file includes the updated "Ships_init.c" and both the English and Russian versions of "common.ini". The translations should not have changed, only the keywords. You can test it easily enough. Edit "InternalSettings.h" to enable cheatmode, start a FreePlay as "Nelson's First Command", and when you're standing on Kingston dock, press numeric keypad 9 enough times to be promoted to Vice Admiral. That should give you both ships.
 

Attachments

  • victory.zip
    112.1 KB · Views: 2
Back
Top