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.

Pirates turn hostile

Discussion in 'Hoist the Colours (Jack Sparrow)' started by Grey Roger, May 30, 2017.

  1. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,415
    I've been playing through "Hoist The Colours", fixing a few problems when I encounter them. Usually they're just dialogs which need a bit of tweaking.

    One thing I noticed is that if you joined the Brotherhood at Nevis and acquired some rank with the pirates, you don't have it any more after the battle between Black Pearl and Interceptor. The reason is that case "insertforchase2" contains this:
    Code:
    if(GetRMRelation(PChar, PIRATE) > REL_WAR) SetRMRelation(PChar, PIRATE, REL_WAR);
    Is there a reason why Pirates should turn hostile to you at this point? Granted, you're now playing as Barbossa, though everything else about your character remains the same (your skills, for a start); the change of personality is basically just a change of name and outfit. I'm wondering whether "Mr. Gibbs", now commanding Interceptor, used to be Pirate as well, so that would be needed to make him hostile. Nowadays he flies a British flag, and anyway he's going to turn hostile because the next line of code is:
    Code:
    characters[GetCharacterIndex("Mr. Gibbs")].recognized = true;
    So, unless someone knows of a plot reason why the rest of the Pirate world takes a sudden dislike to Captain Jack Sparrow, I'm going to remove that line.
     
  2. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Good question, @Grey Roger!

    Most likely, it was meant purely to ensure the enemy ship is hostile.
    The new "recognized" attribute should work equally well for that, so I think you can remove the line as you suggest. :onya
     

Share This Page