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.

Included in Build Improved Fast Travel and New Icons

Discussion in 'Build Testing List' started by Jack Rackham, May 31, 2016.

  1. 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
    I mean that in the PROGRAM\Locations\init folder I changed all those locations that use the "den" model so they have a different .id.label attribute ("Room") instead.
    And I swapped out their loading screens too, so they make no reference anymore to being an "Opium Den" because they aren't.
     
    Jack Rackham likes this.
  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
    @Jack Rackham: Just to be certain, see attached for my copy of the file you asked about.
    Also for reference the Location init files I changed last week.
     

    Attached Files:

  3. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Yes okay.
     
  4. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    I've done most of the 4 first asked for location types.
    Indian store in oranjestad_port: I can't get fast reload to work here??? :confused:

    Do you want icons + fast reload for
    1 naval HQ Redmond, Greenford, Guadeloupe, Havana
    + Vice Admiral's residence Cartagena
    2 Naval Academy Antigua, Guadeloupe, QC
    3 Trade Office the WIC and EITC main offices, Curacao, Redmond?
     
  5. 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
    How did you do it? Oranjestad probably already has a store. Or perhaps the locations aren't properly connected?
    If you can't figure it out, post what you've got and I'll have a look as well. :doff

    Yes, please. You could use one icon for 1+2 I think, because the main use I envision for it is "joining the navy".
    Whether you do that in a Naval HQ or Academy doesn't matter so much.
    For the few towns that might have both, I suggest doing it only for the "Academy".

    Again, yes please! :bow

    By the way, I noticed the "reload icon" for the Cartagena Blacksmith didn't work.
    After a bit of investigating, I noticed the same error for a whole bunch of other blacksmiths too.
    See here for a console fix: Fixed - Cartagena: Blacksmith Locator and Female Citizen Greetings | PiratesAhoy!
    That will allow your work on those icons to actually be SEEN there too! :cheeky
     
    Jack Rackham likes this.
  6. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Yes but not an INDIANSTORE a new type in the fast reload business.
    That works for the second tavern in Cartagena.

    No, there's a town_exit location between them. I guess that's the problem but have no idea
    how to work it around. Define another town (Oranjestad_port) in initTowns.c ?
     
  7. 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
    I should have known you had already added a custom fast travel type. :onya

    I think all the locations connecting the Fast Travel locations need to have the same "fastreload" attribute.
    So you might get it to work by adding locations[n].fastreload = "Oranjestad"; to the town exit, port and indian store.

    Try to execute this through console and see if it helps:
    Code:
    locations[FindLocation("Oranjestad_port")].fastreload = "Oranjestad";
    locations[FindLocation("Oranjestad_exit")].fastreload = "Oranjestad";
    locations[FindLocation("Oranjestad_Store_02")].fastreload = "Oranjestad";
    
    I cannot guarantee that will work, but it's worth a try. :doff
     
    Jack Rackham likes this.
  8. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Yes, that was it!:onya
     
    Pieter Boelen likes this.
  9. 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
  10. 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
    Oh, just to be sure, Fast Travel for the Greenford Maltese Knight Abbey would also be quite welcome!
    I think that would be quite a nice help to players who do like fantasy elements.
     
  11. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    It's already done and I have continued today with more icons + fast reload.
     
    Pieter Boelen likes this.
  12. 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
    You're awesome! :woot
     
  13. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    New icons + fast reload:

    Maltese Abbey: Greenford
    Indian Store: Oranjestad
    Tavern 2: Cartagena
    Library: Turks

    Naval Academy: Antigua, PaP, Charlestown

    Naval HQ: Antigua, Greenford, Redmond, Admiral Office Cartagena

    EITC: Redmond

    DWIC: Willemstad

    bugfixes:
    Turks church: church icon + fast reload
    Antigua shipyard: shipyard icon
    Charlestown loanshark: fast reload was always on
     

    Attached Files:

    Pieter Boelen likes this.
  14. 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
    Wow, you really went all-out, didn't you? That's incredible! Installing now. :woot

    Did I see correctly that you did the Naval Academy and Naval HQs separately?
    I didn't think that was quite necessary, so I'll consider that a bonus. :cheeky
    But does the Naval Academy now have the same icon as the "Port" does? :unsure

    EDIT: Apparently, yes it does:
    upload_2016-6-8_21-27-48.png
    Note that the second "Port" icon only shows up if the player ship is in that port.
    Can be tested like this:
    Code:
         DoQuestReloadToLocation("Antigua_residence", "reload", "reload1" ,"_");
         PlaceFleetNearShore("Antigua_port");
    
    I also wonder what we should do in the future if we add more Trading Offices.
    At the moment there are only the EITC and WIC ones, but it is my hope to eventually have one added for each nation.
    Well, I suppose we can worry about that if and when that happens. Might take a while! :wp

    Looking through the other changes you made, I think you managed to find and fix a whole bunch of errors that were there before!
    This is a pretty nice step forward indeed! :onya
     
    Last edited: Jun 8, 2016
  15. 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
    Further random comments:

    - Jamaica now sort-of has TOO MANY fast travel icons! And that doesn't even, for some reason, include the prison... :shock
    upload_2016-6-8_21-33-40.png
    Note the arrow to the right. While that does work, for some reason you only see the last one in the list for a second before it scrolls back.
    I don't know which one to lose, so I suggest leaving it like this. Maybe move the Naval HQ to the end of the list, since it is the least crucial.
    Or maybe move the church back too, since players wouldn't need to visit there except for the quests.

    - Similar in Bridgetown:
    upload_2016-6-8_21-37-14.png
    How important is that Prison? Maybe move that one to the back of the list too?

    - "JRH: conflict with fast reload"
    Were those locations really permanently locked? INCLUDING the Charlestown Loanshark?
    Good catch! While those Naval HQs being locked is not a big concern as they're quest locations only, an unavailable bank would be annoying indeed.

    - Seems the Havana Navy Residence thingey doesn't have Fast Travel yet.
    But now that the icons are there, I can easily add that myself as well.

    - I'm really very surprised by how many Naval locations we actually have in the game!
    Adding a character to each of them with a general "join the actual navy" dialog does sound quite feasible now. :woot
     
  16. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Yes I spent a lot of time trying to make two new good looking icons. One for the naval HQ and one for the naval academy.
    What did look absolutely best were the anchor and the two crossed blades so I chose them.

    Yes, it took me hours to find out it was that line that disturbed a lot of the fast reload.
    No, but the fast reload was always "on" even if you hadn't visited the location.

    Must have missed that one.

    2 things:

    I couldn't get fast reload to work for Charleston church.

    The naval HQ in Redmond is locked from gamestart.
    If you open it with:
    Code:
    Locations[FindLocation("Redmond_town_01")].reload.l16.disable = 0;
    The fast travel will work but will also immediately be "on". Of the same reason as above.
     
    Pieter Boelen likes this.
  17. 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
    Is there anything that can be fine about that double Anchor icon?
    If not, how about having only fast travel for the Antigua residence and then sharing the crossed blades icon for them all?

    So you fixed the "discover fast travel" for those locations then? That's awesome! :cheers

    You mean Charlestown Church?

    Good note on that "always on" effect.
    I suppose that doesn't need to be a problem if we have those locations always accessible from game start?
    They should get a "Join Navy" purpose anyway. Maybe someone (me..?) can quickly set something for that?

    But not now....
     
  18. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,288
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    I made another unique icon for the academy.
     

    Attached Files:

    Pieter Boelen likes this.
  19. 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
    Thank you very much! :bow
     
  20. 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
    I like that new icon! Nice one. :onya

    I got some error.log entries, so I added some CheckAttribute lines in the attached file.
    Also replaced the many references to Locations[tmploc] with a single variable to hopefully make that section look a bit simpler.

    EDIT: File replaced, because I had messed it up:
    Fixed - Inconsistent Havana and Jamaica Port Crash | PiratesAhoy!
     

    Attached Files:

    Last edited: Jun 9, 2016

Share This Page