EnviroTorque 2.0

Dragonfly Software

EnviroTorque 2.0 is a complete dynamic weather, and day/night environmental engine for the Torque Game Engine by Garage Games. It manages all of the (otherwise) static environmental effects built into Torque, creating a more immersive and realistic simulation.

This is an add-on resource for the Torque Game Engine. It is a ground-up re-design/rewrite of an earlier concept, and will be implemented primarily in C++.

Modular Framework

The system is implemented on a modular framework. This allows modules to be easily added, removed, or re-implemented as desired without affecting other modules. More impressively, modules can conditionally interact with other present modules without being directly coupled to or dependent on them. Modules can also publish data to a common bulletin-board for others to read with out making function calls to each other directly.


The calendar is a rather simple module that adds a sense of date and time to the simulation. The calendar can be completely customized including day/month names, months in a year, days in a month, etc.

Currently it only prints messages to the chat-console, however, one could add a clock GUI without having to write the calendar math. It could also be used for triggering special-events or in-game sequences only at certain times of day. The WeatherZones module already uses the calendar for seasonal weather patterns (eg. snow in winter). Later the calendar will be referenced by the celestial module so the two are in sync with each other.

Weather Zones

The Weather Engine dynamically manages numerous weather effects to create a realistic environment. Over time it randomly adjusts an "air-pressure" variable. As it drops, clouds will fade in, the wind may pickup and rain or even snow will start to fall. If the pressure goes up, the reverse will happen.

The first draft of the weather engine is already complete. It is a rather large finite-state-machine, but is very customizeable and it gets the job done. Future revisions will likely include some kind of text configuration file.

ET2: Image Gallery

[Gallery not found]

ET2: From the Blog

Cloud Handler Resource

It turns out the cloud-handler in Torque is rather deficient. Making matters worse it is a part of the ‘Sky.cc’ class, along with many other things that definitely... Read more

Enviro-Torque 2.0 Under Development

I’ve realized I need a solid tech-demo to show off what I can do. So for now the job search has fallen to the back-burner while I develop Enviro-Torque 2.0. Enviro-Torque 2.0... Read more