Able to move Lighting files?
by Britt Scott · in Torque Game Engine · 11/25/2008 (1:32 pm) · 2 replies
Hi, I was wondering if it was possible to move the lighting files to one of the starter kit folders from the Common folder? The reason for this, is for the ease of just dropping a starter folder in the torque directory and changing the main.cs Example: Move the cottageLight.cs and the lighting system.cs into the data folder.
About the author
Attended Brown College in Mendota Heights, MN for Game Design and Development. Projects include the Mech Starter Kit and the Battle Frog. Currently working toward a game design career.
#2
11/25/2008 (4:43 pm)
Got it. Not sure If it was the right move to put all lighting scripts in the server/scripts directory, but I did. The setup works as follows: Made a new folder in server/scripts/, named it lighting and put "myLight.cs" in it along with the a light texture. lightingSystem.cs placed in server/scripts/, edited directory to point to server/scripts/lighting. In game.cs changed the execution directory of lightingsystem.cs to server/scripts/
Associate Michael Hall
Distracted...
I think you should be able to, just make sure that you correct any hardcoded paths and exec the moved scripts before loading a mission.