Game Development Community

Who turned out the lights in 1.5?

by ChrisG · in Torque Game Engine · 11/28/2006 (11:38 am) · 3 replies

I've just migrated from 1.4 TLK to 1.5 and I can't get the TLK lights to work.

When I first started the mission the lights were fine, however I made a few changes to DIFs which forced the scene to relight when I next started Torque -- and no TLK lights.

The light objects do not show at all when they are not selected, and when they are selected they just show the 3 axis arrows.

I looks as though they can't find the datablocks. I did put my lighting datablocks into the new lighting directory but still no lights.

Eventually I reinstalled 1.5 and went to flat land to place a sgLightObject and there are no light objects listed in the sgLightObject Data drop down in the "Building Object sgLightObject" form except for 'sgUniversalStaticLightData'

#1
11/29/2006 (11:03 am)
Make sure your light datablock files are in the right place - read TDN: Migrating From TLK for details.
#2
11/29/2006 (11:05 am)
Hmm, I didn't see that info in there - make sure your light datablocks are located in 'example\common\lighting\lights'.
#3
11/29/2006 (5:46 pm)
Thanks guys,
got it working.

I did copy the datablocks to the correct directory, what the problem was is that the lighting system was not being included in the game.cs file as is explained in this thread www.garagegames.com/mg/forums/result.thread.php?qt=53509