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.

Medium Priority Reduce Monthly Storm Chance

Discussion in 'Build Testing List' started by ANSEL, Oct 27, 2015.

  1. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,770
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Bad luck I guess, every time I lured a enemy ship to the fort, a storm was raising.
     
  2. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Oh, what month are you in? Storms and rain are more common during the Caribbean rain reason.
     
  3. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,770
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    June it is!
     
  4. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    June does get double the amount compared to, say, April.
    But it goes up quite a bit more still:
    Code:
    // Screwface : Chance to have weather conditions degrade is according to the month and seasons in Caribbean
       int month = GetDataMonth();
       int rainrisk = 100;
    
       switch(month)
       {
         case 1:  rainrisk = 30; break;
         case 2:  rainrisk = 30; break;
         case 3:  rainrisk = 30; break;
         case 4:  rainrisk = 30; break;
         case 5:  rainrisk = 40; break; // beginning of the wet season
         case 6:  rainrisk = 60; break;
         case 7:  rainrisk = 70; break;
         case 8:  rainrisk = 90; break;
         case 9:  rainrisk =100; break; // twister maximal risk
         case 10: rainrisk =100; break; // twister maximal risk
         case 11: rainrisk = 80; break;
         case 12: rainrisk = 30; break; // dry season
       }
    // Screwface : end
    
    Should we start about thinking of reducing this a bit across the board?
     
  5. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,770
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    Yes just a small adjusting down, will be welcome for my side.
     
  6. ANSEL

    ANSEL Corsair Storm Modder Hearts of Oak Donator

    Joined:
    Aug 18, 2013
    Messages:
    1,770
    Gender:
    Male
    Occupation:
    Artist,Painter
    Location:
    Viborg.Denmark
    case 1: rainrisk = 30; break;
    case 2: rainrisk = 30; break;
    case 3: rainrisk = 30; break;
    case 4: rainrisk = 30; break;
    case 5: rainrisk = 35; break; // beginning of the wet season
    case 6: rainrisk = 55; break;
    case 7: rainrisk = 65; break;
    case 8: rainrisk = 85; break;
    case 9: rainrisk =100; break; // twister maximal risk
    case 10: rainrisk =95; break; // twister maximal risk
    case 11: rainrisk = 75; break;
    case 12: rainrisk = 25; break; // dry season
    Something like this perhaps?
     
  7. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Will try to remember to do that tonight.
     
  8. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    Ya, sailing in September can be a real bear. Last year I got caught in 4 storms in a row when approaching Grenada. Ships were badly damaged but did manage to limp into port. This year sailing into Nevis it was just one storm but it just never seemed to end. Again the ships were heavily damaged. Both times the storms came out of clear skies with no warning.
     
  9. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    So some balancing required. I know the Caribbean can be stormy at times, but not ALL the time. :wp

    I'll use @ANSEL's suggestion and if after that you guys think it should be further reduced, we can do that too.
    Just a matter of finding values that seem reasonable.
     
  10. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
  11. Robert Nutter

    Robert Nutter Serving Victoria Provisional QA Tester 3D Artist Storm Modder

    Joined:
    Sep 22, 2008
    Messages:
    699
    Gender:
    Male
    Occupation:
    Historical Visualisation
    Location:
    London, England
    Hate to bring up an old thread, but...

    Is there any change on the surprise storms front? I'm on Apprentice and so far in my campaign probably 8 out of 10 times when I go to sail mode from worldmap, there's a surprise storm even though nothing ever appears on the worldmap to indicate it...even the loading screen is the normal 'Sea' one. It's great having it every now and then to make it realistic, but it's a bit game-breaking in this amount :eek: Is there a way to disable this?

    Sorry for the potentially noobish question...
     
  12. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    @Robert Nutter: I moved your post here instead because it is very much related.
    We reduced the Storm chance in Beta 4. See the posts above for more details.
    But I think you're still on Beta 3.4, so you may want to make the tweak described above yourself as it isn't in your game files.
     
  13. jsv

    jsv Freebooter Storm Modder

    Joined:
    Nov 5, 2013
    Messages:
    303
    Gender:
    Male
    By the way, do storms even trigger from directsail? I'm yet to see one. Strong winds, yes. Rains, yes. Storms, no.
    Of course, it's December - January in my games, not a stormy season. Still, I get storms on the worldmap.
     
  14. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Yes, they do.
     
  15. morgan terror

    morgan terror Magnificent bastard Storm Modder News Gatherer

    Joined:
    Oct 31, 2006
    Messages:
    24,963
    Gender:
    Male
    Absolutely. They're significantly less common though, and you need to keep in mind that directsail's weather is progressive: a storm is far more likely to happen if it's already rainy and windy, for example. I think they're less common in directsail because so many more conditions need to be met for them to happen; they can't just appear out of thin air.

    Or at least, that's how it's supposed to work. Hylie's post says otherwise.
     
  16. Hylie Pistof

    Hylie Pistof Curmudgeon Staff Member QA Tester Storm Modder

    Joined:
    Jan 15, 2010
    Messages:
    13,768
    Gender:
    Male
    It was already rainy and windy before the storm started. What stands out is that it was one right after the other with no break between then so I could escape to the world map. It was just a storm, a notastorm, a storm, etc.
     
  17. jsv

    jsv Freebooter Storm Modder

    Joined:
    Nov 5, 2013
    Messages:
    303
    Gender:
    Male
    Yes, I remember them working that way. I meant, in beta 4. I should've been more clear about. Well, Hylie does play beta4, so I guess I just was lucky to avoid storms so far. :)
     
  18. morgan terror

    morgan terror Magnificent bastard Storm Modder News Gatherer

    Joined:
    Oct 31, 2006
    Messages:
    24,963
    Gender:
    Male
    Yeah, i've seen that too. I think it's because when you get out of a storm, you're one step away from getting back into it, so the only way to get completely out of that cycle is to land somewhere and rest a few days. I'm not sure if the code works exactly like this, but i reckon the weather conditions have a quality from 1 to 10, and each hourly change comes with a chance of that value going 1 point up or down. So if a storm is 1, getting to 2 would mean getting out of the storm, but there's a 50/50 chance to get right back into it on the next hour. Maybe more. It's quite likely that the rainy season would make for more of a 80/20 chance, or somesuch.
     
  19. Pieter Boelen

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

    Joined:
    Nov 11, 2004
    Messages:
    66,628
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    While the technicalities may be a bit different, I think that is a pretty accurate description of how it works.
     
  20. Levis

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

    Joined:
    Oct 6, 2013
    Messages:
    6,711
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    from some sailing on the worldmap I can say I do notice storms but They aren't as plenty as before.
    I don't know how it behaves during opensea mod behavior.
     

Share This Page