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.

Mod Release Build 14 Beta 4.1 WIP [Last Update: 31 August 2017][Beta 7 December 2017]

Discussion in 'POTC: New Horizons Mod' started by Pieter Boelen, Apr 17, 2016.

  1. LarryHookins

    LarryHookins Buccaneer Staff Member Storm Modder

    Joined:
    May 20, 2006
    Messages:
    2,311
    Location:
    Texas
    Tingyun made some changes to the winds that pretty much screwed them almost to oblivion. The second time I had winds shift 180 degrees I took that entire code out and replaced the wind direction with my RandNorm function (produces normalized random numbers given mean and standard deviation). He had some ideas for trade winds but didn't seem to ever get them implemented.

    I can give you reasonably predictable but still variable trade winds, and in fact I'm using a version of that in the sailing simulator I'm playing (Virtual Sailor's successor, VSF or Vehicle Simulation Framework). It started off rolling dice and eventually became a JavaScript program and the latest version allows prevailing winds from any direction. That could easily be adapted to Storm script.

    There is a problem in that if you don't have almost totally random winds near ports, you will have situations at some ports where you won't be able to sail either in or out depending on the direction the port faces. There's no room to tack even on a good ship. There is a function in my direct sail code to determine the distance from the nearest port, and if you are close enough to one, randomize the wind. I don't know if any of this new code has been included in the mod.

    There is also a problem that the winds are blowing generally from the east, and no one is going to want to sail to the western islands because it will be a major pain to get back. Less problem for those who don't use direct sail as they use the world map. Some of us prefer to sail on deck all the time.

    Hook
     
  2. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,808
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    I wish! But I haven't had the chance to do it and nobody else did either. :(
     
  3. LarryHookins

    LarryHookins Buccaneer Staff Member Storm Modder

    Joined:
    May 20, 2006
    Messages:
    2,311
    Location:
    Texas
    To make it clear, the current function finds the distance to the nearest landfall. It does not randomize the wind. You do that yourself if the landfall is close enough. It has some obscure name like FindClosestLandfall().

    The RandNorm() function has been in the game for almost a decade. I originally wrote it to produce a better "scatter diagram" for broadsides and ended up using it for several other things. It's the standard "bell curve". I don't think anyone else ever used it for anything.

    If anyone is interested in looking at my trade winds code, I can publish it here. It's a standard html file. My first look at JavaScript and it only took a few minutes to start modifying the original code, which was a calculator tutorial.

    Hook
     
    Pieter Boelen likes this.
  4. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,558
    Assuming basic checks of what I've done to FreePlay's "StartStoryline.c" don't show any problems, I hope to upload a new version of the update archive tomorrow. This will include @Hylie Pistof's new "Neptunus" variants, as well as @DeathDaisy's revised dialogs and new character.
     
  5. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,558
    The new version of the update archive is now in place:
    http://piratesahoy.bowengames.com/potc/Grey Roger/post_August31_fixes.zip

    Several changes this month, including the above-mentioned new ships, dialogs and character. Also, in FreePlay, several wars throughout history are depicted by changes in international relations programmed into "StartStoryline.c". The War of the League of Augsburg was already there; now the Franco-Dutch War, the War of Spanish Succession and the Thirty Years War, among several others, are included.

    A toggle in "InternalSettings.h" can be set to allow Sweden to enter the Caribbean. You can play as a Swedish character and you may meet Swedish ships.
     
  6. Mad Jack Wolfe

    Mad Jack Wolfe Deck Scrubber, 2nd Class Staff Member Storm Modder

    Joined:
    Apr 8, 2017
    Messages:
    84
    Gender:
    Male
    Occupation:
    Writer and historian
    Location:
    Treasure Coast bound
    I took the liberty of fixing the Barbossa script from the "Hoist the Colours" story to be more Barbossa-like. The Sparrow verbiage got adjusted as well. Let me know what you think before I attack others.

    http://dumptext.com/SSSR8l7B

    EDIT: Caught typos and errors, but you'll get the gist of things. I tried to make Barbossa a bit more menacing and untrustworthy. Sparrow finds more epithets beyond calling Barbossa a dog.
     
    Last edited: Oct 6, 2017
    Pieter Boelen likes this.
  7. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,773
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    I have been playing free play as privateer to the highest rank possible.
    Not a single crash and no problems. Graphical it all look just so beautiful!
    So I'm very pleased and grateful.:D
     
  8. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,784
    Gender:
    Male
    Sigh.......:boom:

    The Early Neptunus was built with the mizzen and lateen sails connected so the lateen always faced in the wrong direction. I have just been living with it until I checked the GMs today. Back in 2015 someone, probably Armada, separated them and I never noticed. :facepalm

    So I am now redoing them all. Since I have repainted them I have no idea how to get them back to stock colors when I'm done. For instance, this is the Portagee version. POTC 9-2-2017_2017_10_28_17_30_39_036.jpg
     
  9. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,558
    Another update has finally arrived!
    http://piratesahoy.bowengames.com/potc/Grey Roger/post_August31_fixes.zip

    There's a lot of new stuff in this one. As a result, a new game is no longer optional, it's compulsory. Old save games won't work because of the new build number in "globals.c", and if you try to get round it by editing that back to the old one, the game will crash if you try to load a savegame from an earlier version.

    You can see a full list of what's in the update in the attached "fixes.txt". Among the new stuff:
    • Revised Spanish character and ship names from @Homo eructus;
    • Random dialog lines instead of the perpetual attempt to take the barmaid for a picnic, when you're trying to get patrol times from a soldier in the tavern, courtesy of @DeathDaisy;
    • Also from @DeathDaisy, if you don't have a clock to give you the exact time, you at least have some idea of the time of day;
    • "A Smuggler's Life For Me" is now split into separate quests and the questbook does not stay permanently open - my work;
    • If you play as Horatio Hornblower, whether as a FreePlay character or through his storyline, and you progress to the rank of Post Captain, a whole new quest becomes available - also my work.
     

    Attached Files:

    Jones, Wolf93, Hylie Pistof and 5 others like this.
  10. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,558
    Finally! Somewhat later than intended due to additional mods needing to go in, the next update is here:
    http://piratesahoy.bowengames.com/potc/Grey Roger/post_August31_fixes.zip

    Quite a lot of new stuff, thanks in large part to @DeathDaisy:
    • Greatly expanded historical relations and lines of monarchical succession in FreePlay
    • Music for Swedish and Personal colonies
    • New texture for the moon - if you think it looks good just by staring up, wait till you point a spyglass at it...
    • New icons for perks (@Jack Rackham)
    • If you like locked perks but can't find all the unlock books, try the library on Turks Island (@Levis)
    Full list of fixes attached.
     

    Attached Files:

  11. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,858
    Gender:
    Male
    Occupation:
    ICT
    Location:
    The Netherlands
    Cleaned up this topic a bit again. Might do some more cleaning later.
    If you have a bug to report please use the bug tracker.
    We are coming close to a new public release again so everyone please report any weird things you notice. Even if you think it has be noted before, if you can't find it in the bug tracker please note it again. if you do find a topic about it feel free to bump it so we know it's still there. We hope to get the most stable release possible soon(ish).
     
    Pieter Boelen likes this.
  12. Jack Rackham

    Jack Rackham HoO Team Member Quest Writer Storm Modder

    Joined:
    Jul 5, 2004
    Messages:
    3,309
    Gender:
    Male
    Occupation:
    math teacher
    Location:
    Sund, Ramsjö, Sweden
    Well I hope that one also will include my quest files.
     
    Levis likes this.
  13. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,808
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    I'm sure those can be included sooner or later. Hopefully sooner! :cheers
     
  14. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,858
    Gender:
    Male
    Occupation:
    ICT
    Location:
    The Netherlands
    I hope to make a "experimental build" which includes everything which is yet excluded so people can test it and respond to it. I will try to include your stuff too, if I need any special directions to get it please pm them to me.
     
  15. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,558
    There were a couple of minor faults with the 5th December version, now fixed. I took the opportunity to include @Jack Rackham's stuff as well. So, if you already downloaded the December version, please download it again. (Though unless you're playing with Sweden or playing a specific FreePlay character, you probably won't notice much difference...)
     

Share This Page