Game Development Community

Multiple Questions Sun/Moon light

by Foestar · in Torque Game Engine · 05/22/2008 (10:20 am) · 1 replies

Ok, so I have been reading some of the Mission Editor topic on TDN and found something that I think is what I am looking for but have some questions.
The Sun datablock topic talks about creating a new sun however, it didn't mention where to do this. So where would I create the new sun data? Also, the idea of this is nice, but what I really wanted is a moon. So I am assuming that I would just create the new sun as you would normally, but change the lighting it gives off.

EDIT: Another Question, but on percepitation. Was trying to add rain and managed everything in TDN's article up to the part about adding
Quote:
new Precipitation(rain) {
position = "0 0 0"; //Doesn't matter where it goes
rotation = "1 0 0 0"; //Doesn't matter either
...etc. to your mission file. So I was reading about some of the mission files and theres .ter, .mis, and .ml. Now this is where i'm lost. Is one of these the place I would need to put this? And how would you add it in? You can't open ter and ml files like a cs.

#1
05/22/2008 (7:27 pm)
Ok, nvm. I managed to figure out all questions so far I have had. Doing what I wanted was simple, but for some frustrating reason it wouldn't work the first time I created it. I redid the precipitation with rain effects, smoke, etc. and it worked. Now just trying to make a fire debris effect on the wind. Looking good so far.
Love torque. =)