MHeasell / rwe

Robot War Engine - Real-time strategy game engine compatible with Total Annihilation
https://www.robotwarengine.com/
GNU General Public License v3.0
115 stars 16 forks source link

Wind generation and wind speed #170

Closed OskarPedersen closed 10 months ago

OskarPedersen commented 10 months ago

This PR adds support for units with the "WindGenerator" tag to generate energy and adds wind speed.

The wind speed changes between every 5 to 14 seconds to a new random value between the min and max wind speed of the map. I looked at the disassembly of the original exe and this is how I understood the behavior to be, but I'm not 100% certain.

image