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.

Updates

Discussion in 'Bartolomeu (Bartolomeu o' Portugues)' started by Grey Roger, Jun 8, 2015.

  1. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    Strange. I was sure I'd installed both the 13th May installer and the 27th May zip update, so I don't know where an old version of "quests_reaction.c" would have crept in.

    I've used "windiff" to compare the modified version to the one in the 27th May zip file and, apart from the modifications I added, they're almost identical. The one other difference is just before "case cartagena_snoring_starts", where the modified version has "//pär" and the version from the zip file has "//pär". I don't even know what that's supposed to be, let alone how it got changed, but the "//" ought to mean it's a comment and has no effect anyway.

    (The zip file shown here is "b14_b3-5_wip27May2014.zip". Perhaps I should use a zip file from 2015. ;))
     
  2. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,621
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    The differences are mainly a huge lot of indentation, but not so much actual code.
    Not sure what I did and didn't upload now though. :modding
     
  3. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    I didn't find out how to become immortal but I did find the numpad keys to get free money and levels. Those, plus a shopping trip to Hopital, got me high Melee skill, gold armour, and back in business.

    Incidentally, cheat mode is bugged in Hopital. The port gate locks behind you when you go into town. You talk to Pierre Delacroix, then the gate unlocks - except that if you choose one of the cheat shortcuts to another chapter, the unlock never happens, so when you next go to Hopital to buy stuff, the only way out is to teleport to the ship.

    So I was able to go through the whole "Cartagena Firework" chapter, incidentally verifying that a line I'd added to "quests_reaction.c" after Elting introduces Bartolomeu to the Kralendijk governor works - Bartolomeu becomes neutral to Holland as intended. The rest of the chapter proceeded as normal, and Elting did appear in the cabin. So the version of "quests_reaction.c" included in the zip file at the start of this thread seems to be in the clear, and I'm still puzzled as to why Elting fails to appear in my previous game...

    I also loaded up a much earlier savegame, where I'm at Cayman, about to head to Cozumel, which in this part of the story plays the part of Vera Cruz. Several scenes later into "The Aztec Treasure", I'm in the tavern talking to Elting, where my "vcskip" line has done its job and nobody is sitting on Elting's lap. (I also added a line to disable "vcskip" on general principle, but it doesn't really matter because you never see Vera Cruz tavern again after that.)
     
  4. Bartolomeu o Portugues

    Bartolomeu o Portugues Buccaneer Storm Modeller Storm Modder

    Joined:
    Oct 7, 2006
    Messages:
    2,621
    Gender:
    Male
    Occupation:
    web developer
    Location:
    Viana do Castelo - Portugal
    Could you upload the file? I think the code is in the Pierre Delacroix dialog.c
     
  5. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    Confirmed, the unlock is in the section "Bart_part2". I could probably copy it into the section "First time" inside the condition block which handles cheat mode.

    Less seriously: Bart_pirate_07 needs to have his dialog changed. When he does his solo charge into the group of Spanish soldiers in Cartagena and gets himself knocked out, he really needs to yell "Leeroy Jenkins!" xD And you'll never know how hard it was for me to resist the temptation to make a slight change to Governor Montavez's dialog so that, when he proudly shows Bartolomeu the ammo shed at the top of the fort, Bartolomeu would make a comment about the balls rather than the powder... :wp
     

    Attached Files:

    Pieter Boelen likes this.
  6. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    I am curious - why not remove them after using them? By comparison, the letter to the Dutch governor is removed right away (in the governor's dialog file, in fact), which is as it should be - you're supposed to give him the letter, and when you give someone a letter, you don't have it any more because he has it. :) Why not do likewise with the letter to the governor of Cartagena?

    The same applies to keys. The key which is used on the clock which operates the tunnel gate mechanism is removed right away; presumably it's now stuck in the clock. Why not do the same with the small and large keys used for the gates inside the tunnel? They won't be used for anything else.
     
  7. Bartolomeu o Portugues

    Bartolomeu o Portugues Buccaneer Storm Modeller Storm Modder

    Joined:
    Oct 7, 2006
    Messages:
    2,621
    Gender:
    Male
    Occupation:
    web developer
    Location:
    Viana do Castelo - Portugal
    You're right about that :yes
    Now, I need a few minutes to check the Delacroix dialog.c file
     
  8. Bartolomeu o Portugues

    Bartolomeu o Portugues Buccaneer Storm Modeller Storm Modder

    Joined:
    Oct 7, 2006
    Messages:
    2,621
    Gender:
    Male
    Occupation:
    web developer
    Location:
    Viana do Castelo - Portugal
    I don't understand from Bart_part2 to Bart_part13, I always added:

    locations[FindLocation("PoPrince_town")].reload.l2.disable = 0;

    So, the location should be always opened. o_O
     
  9. Bartolomeu o Portugues

    Bartolomeu o Portugues Buccaneer Storm Modeller Storm Modder

    Joined:
    Oct 7, 2006
    Messages:
    2,621
    Gender:
    Male
    Occupation:
    web developer
    Location:
    Viana do Castelo - Portugal
    Do you mean the door is not unlocked if the player doesn't use the cheat mode?
     
  10. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    If I don't use cheat mode then the door is fine. But while I was cheating, I gave myself lots of extra cash, then went to Hopital to spend it because I didn't find any gold armour on sale at Port Royal.
    Look again at "Pierre Delacroix_dialog.c", specifically at "Bart_part13". I think I've found the problem:

    locations[FindLocation("Port_au_Prince_town")].reload.l2.disable = 0;

    ;)
     
  11. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,621
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Ah, that would explain a lot. If I recall, it MUST be "PoPrince_town" and not the other one because otherwise the Escort Quests don't work properly.
    There was a bug that such a quest to Port au Prince didn't finish in port. Turns out it finished in the fort instead.
    Because it ALSO had "port" in the location ID, see? :facepalm

    Anyway, that is when I did a search-and-replace to change all "Port_au_Prince" to "PoPrince" to prevent such issues in the future.
     
  12. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,621
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Oh, are you keeping track of all your changes? Because I think I may be missing out on some here and there.
     
  13. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    These should contain everything.
    Gregario Montavez dialog: corrected as previously mentioned, also "dialog.c" now removes the King's letter when you give it to him.
    Reynard Grueneveldt and Johan Elting dialogs: corrected as previously mentioned.
    Pierre Delacroix dialog fixed so that Hopital port gate unlocks if you use cheat mode to skip to "The Cartagena Firework".
    Ships_init.c: "PiratBattleGalleon" stats now factor in Portuguese national modifiers as these are not applied to a "unique" ship. (Also includes my revised "Revenge" stats.)
    StartStoryline.c: England and Holland set to neutral, as none of the Anglo-Dutch wars were in progress when the "Bartolomeu" storyline is set. (Ditto for "Assassin".)
    quests_reaction.c: all previous modifications, also the small key and big key which you pick up in the fort tunnel are removed when you use them.

    I ran a test game using cheat mode to skip ahead to "The Cartagena Firework" and checked that all this works.
     

    Attached Files:

  14. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    Sorry, but I couldn't help it. It was hard enough resisting the first time, but having revisited the storyline to gather all the updates together and do a final check, the temptation was just too strong the second time. :D

    First copy "PROGRAM\Storyline\Bartolomeu\Dialogs\ENGLISH\Divers_dialog.h" to somewhere safe so you can put the proper one back. Then copy this one in its place. Wait for Bartolomeu's pirate friend to do his suicidal solo charge... (Or use WinMerge to compare this one to the proper one and figure out what is going to happen.)
    xD
     

    Attached Files:

  15. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,621
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Thanks very much! :cheers
     
  16. Bartolomeu o Portugues

    Bartolomeu o Portugues Buccaneer Storm Modeller Storm Modder

    Joined:
    Oct 7, 2006
    Messages:
    2,621
    Gender:
    Male
    Occupation:
    web developer
    Location:
    Viana do Castelo - Portugal
    From what I read, it is something about a World of Warcraft video. :)
    I know the pirate was unconscious, but I wouldn't like he could be considered stupid. :(
     
  17. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,413
    Here's the video:
    .
    There's a lot of talking and planning, then Leeroy Jenkins makes his contribution at about 1:20. Disregarding what everyone else had planned, he charges in solo, sort of like a certain pirate. xD

    Anyway, it was a bit of fun, not part of the "official" update, which is why I kept it separate and suggested keeping a copy of the real dialog file. ;)
     

Share This Page