Reader small image

You're reading from  Torque 3D Game Development Cookbook

Product typeBook
Published inJan 2013
Reading LevelIntermediate
PublisherPackt
ISBN-139781849693547
Edition1st Edition
Languages
Right arrow
Author (1)
DAVID WYAND
DAVID WYAND
author image
DAVID WYAND

David Wyand has been using GarageGames' Torque Game Engine for the past 10 years. Among his other interestes are 3D graphics applications, computer networking and Artificial Intelligence for computer games.
Read more about DAVID WYAND

Right arrow

Using the Lightning object to automatically create a thunderstorm


With or without precipitation (please see the How to make it rain using a Precipitation object recipe) Torque 3D allows us to create a thunder storm with lighting in our game's level.

In this recipe, we will learn how to set up automatic lightning strikes, along with strikes at specific locations. Who says lightning never strikes twice!

Getting ready

We will be using a project based on the Torque 3D's FPS Tutorial template using the China Town Mist level. If you haven't already, use the Torque Project Manager (Project Manager.exe) to create a new project from the FPS Tutorial template. It can be found under the My Projects directory. Then start our new FPS Tutorial template game and load the China Town Mist level.

In order to help with the ambience, you may first want to apply the rain effects from the How to make it rain using a Precipitation object recipe.

How to do it...

In the following steps, we will add a Lightning object...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Torque 3D Game Development Cookbook
Published in: Jan 2013Publisher: PacktISBN-13: 9781849693547

Author (1)

author image
DAVID WYAND

David Wyand has been using GarageGames' Torque Game Engine for the past 10 years. Among his other interestes are 3D graphics applications, computer networking and Artificial Intelligence for computer games.
Read more about DAVID WYAND