1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Solved Different colored sails for each nation

Discussion in 'Sea Dogs: City of Abandoned Ships' started by jean, Jun 13, 2015.

  1. jean

    jean Master Mariner Storm Modder

    Joined:
    May 22, 2008
    Messages:
    217
    Gender:
    Male
    Location:
    France
    That's a pleasure to read that.

    Well, in common_shipyard.c you should've thes lines :
    Code:
    dialog.Text = pcharrepphrase(DLG_TEXT_BASE[24],
                                            TimeGreeting() + DLG_TEXT_BASE[25] + GetAddress_Form(NPChar) + "?");
                    Link.l1 = pcharrepphrase(DLG_TEXT_BASE[26],
                                            DLG_TEXT_BASE[27]);
                    Link.l1.go = "Shipyard";
                    link.l11 = DLG_TEXT_BASE[28];
                    link.l11.go = "Cannons";
                                link.l111 = DLG_TEXT_BASE[131]; 
                        link.l111.go = "Couleurdesvoiles";
                    Link.l2 = DLG_TEXT_BASE[29];
                    Link.l2.go = "quests"; //(ïåðåññûëêà â ôàéë ãîðîäà)
    
    ............................................................................
    
    case "Meeting":
                    dialog.Text = DLG_TEXT_BASE[37];
                    Link.l1 = DLG_TEXT_BASE[38] + GetFullName(NPChar) + DLG_TEXT_BASE[39];
                    Link.l1.go = "Shipyard";
                    link.l11 = DLG_TEXT_BASE[40];
                    link.l11.go = "Cannons";
                                    link.l111 = DLG_TEXT_BASE[131]; 
                        link.l111.go = "Couleurdesvoiles";
                                    Link.l2 = DLG_TEXT_BASE[41];
                    Link.l2.go = "quests";
    
    ...........................................................................
    
    case "Couleurdesvoiles":
                {
                             ref _chr;
                             if (sti(pchar.money) > 3000)
                                        {
                    NextDiag.CurrentNode = NextDiag.TempNode;
                    DialogExit();
                        LaunchwndChangeSails(_chr);
                             }
                                       else
                                        {
                                       dialog.text = DLG_TEXT_BASE[132];
                                    Link.l1.go = "exit";
                                        }
                }
                     break;
    And in common_shipyard.h :

    string DLG_TEXT_BASE [133]
    ............................................................

    "Yes, all right. Thanks in the plenty. ",
    "I'd like to change the color of my sails.",
    "No enough money !!!",

    That's why i gave this link :

    http://www.code-couleur.com/

    For exemple, to get the green you see you change argb in battle_interface.c for the nation you want :

    argb(5, 64, 164, 151);<== already for spain. (5 is alpha value, emblems seems to be seen a little more better).
     
  2. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,754
    Gender:
    Male
    No. I found case meeting, but it is different.
     
  3. Damsie64

    Damsie64 Powder Monkey

    Joined:
    Oct 23, 2015
    Messages:
    49
    Occupation:
    Unemployed(Gamer)
    Location:
    ...
    Wait, so there is Portugal Nation Ships in the game?(not colony I meant Portugal privateers, pirates and traders) and how to meet up with them. Also the morvis(skeletons) are always in caves or in flying Dutchman so how to meet up with them at sea(random skeleton ships)?
     
  4. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,581
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    As far as I'm aware, PotC is the only game that has Portugal as a fully realised nation.
     
  5. Damsie64

    Damsie64 Powder Monkey

    Joined:
    Oct 23, 2015
    Messages:
    49
    Occupation:
    Unemployed(Gamer)
    Location:
    ...
    Oh okay, thxs.
     
  6. jean

    jean Master Mariner Storm Modder

    Joined:
    May 22, 2008
    Messages:
    217
    Gender:
    Male
    Location:
    France
    Hi, back after some treatment I can answer you : I didn't create a Portuguese colony cause they were lower in América cost.

    Well, you've first to create these nations (Morvis have Caiman as island) and then you add them in "Encounters" folder to see them at sea. It's a long and hard job and

    if some of you are interested I can try to add it in G.O.F. mod.
     

Share This Page