Game Development Community

Torque 1.4 Lighting exported to Torque 1.5

by DME · in Torque Game Engine · 11/04/2006 (4:03 am) · 2 replies

I'm having issues moving my current maps into Torque 1.5 I have all my objects, difs, etc working. But my lighting is not.


I see all the entities but the lighting doesn't work.

I copied all my files over into

...starter.fps\server\scripts\lights
...starter.fps\server\scripts
...common\synapseGaming
...common\lighting

I noticed some differences when it came to the game.cs files but I didn't know what to change.

I'm looking for guidence to export my previously lit maps to Torque 1.5.

Thanks

Brice Johnson
DME inc.

#1
11/04/2006 (7:18 am)
Problem solved. What was causing my issue was

#1 the lights I created should be going into
...common/lighting/lights folder

#2 sgUniversalStaticLight doesn't seem to be the naming convention anymore so I had to change all those over to SgLightObject in the .mis file

Oh also I had to restore backups of all my mis files, because before I had it setup right if I opened a map and saved it would remove my lighting datablock. Which means even after I fixed the .mis file it still wasn't working cause it messed up the settings from the original.

Anyways all seems to be well right now.
#2
11/04/2006 (11:22 am)
Hi Brice,

TGE 1.5 can load both sgUniversalStaticLight and sgLightObject datablocks and objects, so just moving the datablocks to 'common/lighting/lights' should work.

Btw: TGE 1.5 saves newly created objects as sgLightObject datablocks and objects for future compatibility.