Game Development Community

TGE Simplification/Synapse

by Timothy C. Pelham · in Torque Game Engine · 03/14/2007 (5:19 pm) · 2 replies

Hello All,

I had worked with Torque some time ago and had some fun and then went off to explore some other things. I've wandered back into the Torque world and have started a new project. I worked my way though the TGE Simplification resource found here.

I've worked through part 1 and part 2 of this resource to change the directory structure of Torque. Everything seems to be working except for the synapse lighting package. I have the gui/cs files included and being execed, but nothing seems to work. I can open the light editor by hitting f12 and I even get the listing of datablocks but when I select one it doesn't load the settings into the light editor. If I attempt to place a sglightobject it won't show the datablocks in the drop down to choose a light datablock to use. Also if I load up one of the already created missions the sg lights don't work...they are there...but no light is emitted and the light icon doesn't show them in the editor view. I tinkered in the engine and found the lighticon.png association and changed it to where it should be, but still no go. Also before asked I have deleted all dsos several times. I've searched the site looking for resolutions, but can't seem to find any. Any ideas as to why I'm not able to use the sg lights after running through these resources?

Thanks.

#1
03/16/2007 (3:09 pm)
I should also mention this is TGE 1.5 which has the synapse lighting package already built in.
#2
03/25/2007 (12:19 pm)
I avoided looking into this problem to work on other things, but finally came back to it and got it working. There were a couple of scripts that were being exec'ed in the wrong place.

exec("server/lightingSystem.cs");
exec("./sgExamples.cs");

The above two I had to manually re-add into the back into server/scripts/game.cs. I had first put them into server/init.cs which caused the problem above. After putting the exec statements in game.cs the problem has been resolved.