Game Development Community

Torches How To?

by Eustacia Green · in Torque Game Engine · 09/14/2004 (4:53 pm) · 4 replies

What's the best way to make a torch that will actually affect lighting around the player?

Also do you have to do anything different to dts objects when you are going to use them as images vs objects?

#1
09/15/2004 (1:40 am)
I suggest you to use the fxLight class by Melv, you have to modify it in order to mount the light over the torch image mouted on the player, it isn't difficult, but if you have problems just tell me I can show you how to do it
#2
09/15/2004 (4:01 am)
Thanks I'll give that a try. I'm in the process of integrating Synapse Lighting pack into my code base. Do you know of any issues with adding Melv's code to that aswell?
#3
09/15/2004 (6:53 am)
Melv's code was already in the release 1.2 (if I'm not mistaken) so you shouldn't have probelm with Synapse Lighting pack, but I can't tell you more since I haven't the Lighting pack.
#4
11/07/2004 (11:40 am)
Hey,

how can i get a flashlight/torch light w/o a sun?

My team has set the sunlight to 0,0,0, but now any small lightsource doesnt illuminate the ground...

ideas?

Mark