Weather effects

Discussion about the game and its default mods.
Post Reply
zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Weather effects

Post by zinc »

Some pretty good weather effects have been created in modified maps. Any chance they get built into the game proper? Imo they deserve to be.

User avatar
Sleipnir
Posts: 815
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir »

The weather effects are already built into the game proper. If they weren't, then those maps wouldn't be able to use them!

zinc
Posts: 657
Joined: Sun Feb 09, 2014 3:46 pm

Post by zinc »

Sleipnir wrote: The weather effects are already built into the game proper. If they weren't, then those maps wouldn't be able to use them!
How are they activated? How simple is it?

User avatar
FiveAces
Posts: 528
Joined: Sat Apr 25, 2015 11:22 pm
Location: Vienna
Contact:

Post by FiveAces »

First off, you need to save your map as unzipped.
Then, open your map.yaml and add "Rules: rules.yaml" at the very end - this will tell the game to use a custom rules set for this map.

Now you need to create said rules file - simply create a text document and save it as rules.yaml.

In this file, you type "
World:
WeatherOverlay:"

with indentations(!) (the engine can't read it otherwise).

After introducing WeatherOverlay, you can set all sorts of rules for it that can be found on the github page
(mind you, the rules need an extra indentation and each rule needs a seperate line).

That's pretty much it!
Save the files, open the map in the editor, and save it as .oramap
(the engine is capable of compressing both your map file and the rules into a single .oramap).

abcdefg30
Posts: 396
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

FiveAces wrote: After introducing WeatherOverlay, you can set all sorts of rules for it that can be found on the github page
He's refering to https://github.com/OpenRA/OpenRA/wiki/T ... heroverlay

the-zoidberger
Posts: 22
Joined: Thu Oct 08, 2015 12:21 pm

Post by the-zoidberger »

- If there was lightning, clustering shock troopers together could have some interesting/comical side effects.
- Spies could be more difficult to spot in heavy rain
- arty fire could be blown around in heavy wind
- Hurricanes would suck up troops and light vehicles
- Accuracy could be diminished in the rain
- Tanks could get stuck in the mud during rain/snow


:|

User avatar
SMIFFGIG
Posts: 36
Joined: Sat Mar 08, 2003 6:00 pm
Location: Great Britain
Contact:

Post by SMIFFGIG »

It would be ni e if these weather effects came at intervals throughout the game (specified in he map code) rather than being continuous throughout.

Much like Ion Storms in TS
The un-offical addon for Tiberian Sun
Image

Post Reply