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.

Playing as privateer for a personal nation

Discussion in 'Build Beta and Brainstorming' started by ANSEL, Nov 2, 2017.

  1. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,769
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    I'm now testing playing as privateer for a personal nation. Everything works well except
    you can't get your promotion and land by the governor, so I think we need a line for personal
    nations, in International Affairs. seadogs2_0007.jpg
     
  2. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,615
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Thanks for testing this, @ANSEL! :cheers

    Are you properly showing as Privateer Captain in the F2>Character interface?
    And you are not gaining any plus points with the Pirates of you sink/capture non-pirate ships?

    I think more than showing in Nations Relations, you would need to have a governor to talk to.
    What happens if you capture a town for yourself and install a governor?
    Can you cash in on your promotions then?
     
  3. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,408
    :wp

    The problem seems to be in "PROGRAM\DIALOGS\governor.c". There's a big block which starts with 'if (sti(NPChar.nation) != PERSONAL_NATION)' and which contains all the usual governor stuff - buying a LoM, leaving service, getting promoted, etc. Then there's an 'else' which is what happens if you are PERSONAL_NATION, and is either colony management or quests.

    If you're playing PERSONAL_NATION then either you're independent of nations, in which case you don't want to bother with the normal stuff; or you're trying to pretend to belong to a nation not normally included in the game.

    In the former case, you don't ask governors for promotions because if there are any governors, you're the one who put them there. You're their boss - you're the head of state of your own nation. The purpose of going to the governor of one of your colonies is to give him his orders - in other words, colony management. If you want to promote yourself to Lieutenant, Commodore, or Grand Supreme Admiral of the Entire Sea, you just change your name accordingly. This would seem to be how governors for PERSONAL_NATION are set up. And you don't need to get promotions to earn land because instead of taxes from some abstract estate somewhere in the world, you get taxes from the colony you took over for yourself.

    But if you want to use PERSONAL_NATION as if it were another actual nation then you want your governors to behave like governors. One snag is that normal governor dialog relating to promotions includes a call on 'GetNationRoyalByType' to say that if you received some land as part of the promotion, it was the nation's king who approved it. "PERSONAL_NATION" doesn't have a king.
     
  4. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,769
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    That's what I have done. I can get my payment for taking care of enemy ships, by the governor, that's all.
    By the way the game freeze when renaming Port Royal to Christiansted!
    Well! I pretend as" Personal Nation" is Denmark ;)
     
    Last edited: Nov 2, 2017
  5. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,769
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    No! I'm showing as Pirate Captain!:shock
     
  6. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,408
    Yes, but the game doesn't recognise Denmark and has no king assigned to it. So even if "governor.c" were modified to treat PERSONAL_NATION the same as other nations, it wouldn't work properly because when the dialog gets to awarding land and says "In addition, you are awarded x acres of land by order of <insert name here>", it won't know which name to insert.

    That would be because you've been attacking ships without a LoM from any recognised nation. And that's piracy. :aar It's also why your "International Affairs" screen shows Spain, Portugal and Sweden as "wary". You might not have been attacking their ships but attacks on English ships and colonies is piracy without a LoM, so even without being attacked, they turn "wary", while Pirates are now your new best friends.
     
  7. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,615
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Ah, then it totally doesn't work and effectively you don't get a LoM from "Personal Nation".
    So that functionality would need to be added first.

    Ah, but that's always possible from non-hostile nations.

    "the leader"?
     
  8. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,769
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Well, the ships log says I have got a LoM. seadogs2_0000.jpg
    but apparently it isn't so.
    And yes the pirates are friendly, I was attack by one pirate ship witch I sank, but no other pirate have attacked me.
     
    Last edited: Nov 2, 2017
  9. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,615
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Probably the game doesn't properly recognize a "personal LoM".
    It would have surprised me if it did, because the game was never designed to support that.
    I think some more tweaking of the code will be needed to get this fully operational.
     
  10. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,769
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Yes this is how it must be.
     
  11. DeathDaisy

    DeathDaisy Freebooter Storm Modder

    Joined:
    Aug 18, 2017
    Messages:
    288
    Gender:
    Female
    Regarding royalty etc, would it be possible to just change that through the console for personal nation until we come up with a more elegant solution? xD
     
  12. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,615
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    There is very little you can't do through console. ;)
     
  13. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,408
    It would have to be done through console, the reason being that everyone will have their own preferred personal nation - that's the idea. So you can't put, for example, set "periods.c" to make the king of PERSONAL_NATION be the king of Denmark because the next person might want to play Russia, Ireland, or Grand Fenwick.
     
  14. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    343
    Gender:
    Male
    Them put a generic blanket statement like "our country's authorities" or something like that
     
    Pieter Boelen likes this.
  15. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,769
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Denmark is one of the nations who was in Caribbean and had colonies to. Now we have Sweden, we ought to have Denmark to;)
     
  16. DeathDaisy

    DeathDaisy Freebooter Storm Modder

    Joined:
    Aug 18, 2017
    Messages:
    288
    Gender:
    Female
    well, I have seen GuestNation2 in the code. dunno if that works or where it's used, but maybe it could be put added with some work? thatd also mean sweden and denmark has someone to constantly war with through every period :p
     
  17. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,615
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    @Homo eructus' suggestion sounds like a good default to me. :onya

    I think, in theory, it should be possible to make that work. :yes
     

Share This Page