Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: localized weather
New feature: localized weather[message #345949] Sat, 18 June 2016 23:37 Go to next message

Registered:April 2009
Location: Germany
While it is nice to occasionally have rain in order to spice up the tactical situation things a bit, there could be more types of weather than just that. Additionally it is odd that if it rains, it rains in the entire country.

So I've upgraded the weather system. Weather can now be local, meaning that at the same time, different sectors can have different weather. When and where weather happens is not controlled by the ini and SectorNames.xml, where you can enter specific weather chances for several weather types:
Toggle Spoiler

Toggle Spoiler

As the above excerpt from JA2_Options.ini tells you, the current weather types are:

  • Normal weather. When no particular interesting stuff is falling from the sky, besides the odd mortar shell or so.
  • Rain - water falling from the sky. Classic stuff
  • Thunderstorms - every rain shower has a chance to be upgraded to a thunderstorm, which is like a more boss version of rain. With lightning, louder sounds, higher penalties and everything.
  • Sandstorms - likely to happen in the desert, a severe sandstorms can be devastating. Visual range is drastically lowered, your mercs can hear almost nothing over the noise, and even breathing gets harder...
  • Snow. While this might seem odd in Arulco, this is a worthy addition (and might be used more widely in mods with a less tropical climate). I've added it to the mountains so we don't forget it exists.
While I also planned to add fog to swamps, I don't see how we could reasonably add the effect, so I didn't.

As you can see in the above video, there is now a new map display that shows you what weather currently happens where.

This is fully savegame compatible.

This has been added in r8253 & GameDir r2325. Using the new exe without the new GameDir data will cause BLOOD TO RAIN FROM THE SKY, AND NOT IN A FUN KIND OF WAY.

[Updated on: Sat, 18 June 2016 23:41]

You gotta wash your hands before picking up a baby. They can see the bacteria burning into their flesh.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Re: New feature: localized weather[message #345953 is a reply to message #345949] Sun, 19 June 2016 02:53 Go to previous messageGo to next message

Registered:September 2001

To add Swamp Fog effects, you might try looking at modifying the tile lighting values globally for the sector via the same method that Lightning/Thunderstorms use. Altering RGB values and luminosity may give the desired ambiance.

Re: New feature: localized weather[message #352069 is a reply to message #345953] Thu, 18 January 2018 14:09 Go to previous message

Registered:February 2007
Location: Belgium
Haha... Reign in blood ;)
Previous Topic: New Feature: ballistic shields
Next Topic: New (unofficial) merc: Lara Croft (Tomb Raider)
Goto Forum:

Current Time: Mon Sep 16 03:47:54 EEST 2019

Total time taken to generate the page: 0.02049 seconds