• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Maturins Weather Mod

I downloaded it yesterday and then removed it again before installing it properly. <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
Downloaded it again today. Stupid, STUPID me!!! <img src="style_emoticons/<#EMO_DIR#>/whippa.gif" style="vertical-align:middle" emoid=":whipa" border="0" alt="whippa.gif" />

Anyway, find attached some screenshots of weird effects.
I lost the storm sea, the visibility is really good in the storm and sometimes there's hardly any waves either. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
Also, the REALLY big waves there are now look somewhat weird from certain angles. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Other than that, VERY good job. Seems to be working VERY smooth. <img src="style_emoticons/<#EMO_DIR#>/bow.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="bow.gif" />
 
i can't wait to end up in one of those with a gunboat. <img src="style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

which makes me think of something else: isn't it now nearly impossible to ride through a storm for an hour with a ship of a class 4 or weaker?
 
So you sometimes don't have waves occur at all? I did notice that with directsail there's a funny bug/code design that interferes with the size of the waves. If you're in an island sail the waves are much reduced, I guess because they didn't want 30ft swells in the harbor, but with direct sail you're always in an island cell. But if you enter from the world map outside an island cell the waves behave normally.

The big waves are certainly ugly, I think it may have to do with the maxvertices and maxedges or polygons in WhrSea.c , or sea.c I forget which but I haven't tested it yet. If it is the case they could be greatly increased for a smoother sea, but at a cost to system resources for players with slower computers.

You say sometimes you enter a storm and it isn't storming at all?

I'd like to include some real wave effects in the game if possible, think of ships broaching to and being swamped <img src="style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" />
Already the larger ships have a real advantage in heavy seas as they don't swing around as much and are easier to engage in high seas, as was the case in reality. If only I could disable cannons being swamped by the waves.. and make ships have to close their lower ports.. but I digress <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
 
so, with the recent developments in various areas, me and especially my computer are screwed anyway? <img src="style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />
 
Not in my mod atleast. In fact you should have already saved much resources by the changes I made, I cut out 383 data <strike>arrays</strike> structs and 3000 evaluations <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
 
I got the same effect as in pieters 1st pic, and the waves kept coming up over my ship. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
call it realism. <img src="style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
I grew up on an island and before they built the bridge, to get to the mainland you had to take a ferry. I've seen rough seas! Also I've gone deep sea fishing and it's amazing how big the waves can get!
 
<!--quoteo(post=275042:date=Aug 24 2008, 06:39 PM:name=Darth-me)--><div class='quotetop'>QUOTE (Darth-me @ Aug 24 2008, 06:39 PM) <a href="index.php?act=findpost&pid=275042"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->literally, they were tall and pointy, and my ship kept going right under. lol<!--QuoteEnd--></div><!--QuoteEEnd-->

The waves are generated as a sine wave, so they cannot possibly be triangular. The pointy-ness is explained above, it has to do with the max number of edges and vertices in the sea, which can probably be increased if your computer is any better than a P3-733 with an nVidia G3 graphics card. In otherwords if your computer isn't nearly a decade old you should be able to handle more vertices.

In many of the accounts and stories I've read it was not uncommon for a high sea to wash over the deck, the ships had large pumps for pumping out water for partly this purpose. I actually like it, apart from the black bottom, though I don't care for the segmented waves.

In any case, if these waves are causing you grief I'll post what can be done. It will require only minimal editing of the code in Weather\WhrGeneration.c

First find this segment of code:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    float waveMultiplier = 1;
    if(myWind >= 10){
        waveMultiplier = (myWind-10)/10;
        waveMultiplier += 1;
    }<!--c2--></div><!--ec2-->

Second, change it to this:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    float waveMultiplier = 1;
/*
    if(myWind >= 10){
        waveMultiplier = (myWind-10)/10;
        waveMultiplier += 1;
    }
*/<!--c2--></div><!--ec2-->

Now those pesky waves will trouble you no more <img src="style_emoticons/<#EMO_DIR#>/sailr.gif" style="vertical-align:middle" emoid=":sail" border="0" alt="sailr.gif" />
 
eight years old, actually. i often see the sea still being loaded in higher detail when i'm already sailing over it.
 
Oh aye? Well.. I didn't actually increase the vertices and edges, that's why people complain about ugly waves. So the large waves will not cause performance problems, other than what you have already, but will be ugly. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

Incidentally, I've also had several complaints about my ugly sky textures. They don't offend me so much, but I'm not happy with them at all. I am no artist afterall, and if someone who has talent in that line would like to make some decent skies, or do a better job of modifying the stock/AoP ones to transition more smoothly between different lights/weathers than I did, I will be much obliged and happy to replace my ugly skies with them.
 
I got those "waveless" storms through entering them from the worldmap. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />

Have you got any thoughts on the lack of the storm wave texture in storms?
Same for the very good visibility in storms? <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
I can't say it's happened to me as of yet, I'll try to recreate the situation and see what can be done. Is it constantly happening or a random thing?
 
Let's put it this way: Although I have only tested it a couple of times, it hasn't yet NOT happened. <img src="style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" />
 
Do I understand correctly that, in the storms you enter from the world map there are no waves at all?

Is there any wind speed when this happens, is it raining, or lighting?

The visibility might be because the fog is still pretty independent, other than not being allowed during a clear sky in the sun. It can do with improvement, but the no waves thing is puzzling. You're using Alpha 8?
 
maybe the size of the waves went out of the sea bounds, data-wise, causing them to fail to form.
 
I've tested again by going into a storm from the worldmap. No land near.
I do have lighting and a twister, a cloudy sky and rain.
Wind speed is 28 knots.
The waves are fairly high, but not as big as they used to be.
Visibility is really good.

The main things I seem to notice are:
- Waves in storms are (sometimes) too small
- Visibily in storms is (sometimes) too good
- Have encountered no fog so far at all
- No rainbow even when it was raining and the sun was shining at the same time
- No special white-cap storm waves in storms
- Sometimes incredibly big waves and/or lighting outside storms.
These instances don't do damage, though the ship rolls 45 degrees to each side
- Always cloudy at night? I hardly ever see any stars
- Sun shines right through those large waves.
Probably not something you can do anything about though. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

Can you please put the following files in a ZIP and upload them?
- resource\textures\WEATHER\SKIES\CONVERTED\TWILIGHT 1\SKY_UP.TGA.tx
- resource\textures\WEATHER\SUN\GLOW\MOONGLOW.TGA.tx
For whatever reason they wouldn't extract properly from your download. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />

I changed the following:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    Sea.MaxVertices = 32000; // 4000
    Sea.MaxIndices = 41600; // 5200<!--c2--></div><!--ec2-->
Not sure if the waves look better now and the game performance didn't take that much of a hit either.
The big waves still don't look perfect, though I do really like them.
I like watching the ships rolling on those big waves. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />

Anyway, you did a tremendous job already, so please don't take the above as critisism.
They're just observations that I hope can help you to improve your mod even further. <img src="style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />
 
Back
Top