Demos seem too dark?
by Raul Del Portillo · in · 03/10/2005 (4:55 pm) · 6 replies
Hi all,
After seeing the screenshots of the lighting pack, I had to buy it. Now I've installed it, but it seems that the demo missions that come with it, are all very dimly lit. I realize that they probably want to make the lighting seem more dramatic, but I can barely look around in there at all. Is this the program or did I copy a file the wrong way? Thanks.
After seeing the screenshots of the lighting pack, I had to buy it. Now I've installed it, but it seems that the demo missions that come with it, are all very dimly lit. I realize that they probably want to make the lighting seem more dramatic, but I can barely look around in there at all. Is this the program or did I copy a file the wrong way? Thanks.
About the author
#3
Loading compiled script starter.fps/server/scripts/sgLights.cs.
//-----------------------------------------------
Loading Synapse Gaming light datablocks from: starter.fps/server/scripts/sgLights/*.dso
Loading compiled script starter.fps/server/scripts/sgLights/sgTowerFireLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgTowerFireLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgSpotDataBlock.cs.
starter.fps/server/scripts/sgLights/sgSpotDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgSpot2DataBlock.cs.
starter.fps/server/scripts/sgLights/sgSpot2DataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgRedLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgRedLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgLanternPSDataBlock.cs.
starter.fps/server/scripts/sgLights/sgLanternPSDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgGooDataBlock.cs.
starter.fps/server/scripts/sgLights/sgGooDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgFirePitStaticPSDataBlock.cs.
starter.fps/server/scripts/sgLights/sgFirePitStaticPSDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgFirePitPSDataBlock.cs.
starter.fps/server/scripts/sgLights/sgFirePitPSDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgDynamicFireDataBlock.cs.
starter.fps/server/scripts/sgLights/sgDynamicFireDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgDefaultLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgDefaultLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgBlueLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgBlueLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/Floater.cs.
starter.fps/server/scripts/sgLights/Floater.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
/
What does this mean, this "Unable to instantiate non-nonobject class sgUniversalStaticLightData"? This little error I'm getting may be why it's not lighting properly, and why I can't make a light object within the editor. The "Floater" file was just me trying to make a light manually within the Torque editor. I always end up mucking up a perfectly good program. Hope you guys can help. Thanks.
03/10/2005 (6:29 pm)
Those screenies seem to be lit properly, unlike what I'm getting. Also, I just found something interesting in my console.log file:Loading compiled script starter.fps/server/scripts/sgLights.cs.
//-----------------------------------------------
Loading Synapse Gaming light datablocks from: starter.fps/server/scripts/sgLights/*.dso
Loading compiled script starter.fps/server/scripts/sgLights/sgTowerFireLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgTowerFireLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgSpotDataBlock.cs.
starter.fps/server/scripts/sgLights/sgSpotDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgSpot2DataBlock.cs.
starter.fps/server/scripts/sgLights/sgSpot2DataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgRedLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgRedLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgLanternPSDataBlock.cs.
starter.fps/server/scripts/sgLights/sgLanternPSDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgGooDataBlock.cs.
starter.fps/server/scripts/sgLights/sgGooDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgFirePitStaticPSDataBlock.cs.
starter.fps/server/scripts/sgLights/sgFirePitStaticPSDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgFirePitPSDataBlock.cs.
starter.fps/server/scripts/sgLights/sgFirePitPSDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgDynamicFireDataBlock.cs.
starter.fps/server/scripts/sgLights/sgDynamicFireDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgDefaultLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgDefaultLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/sgBlueLightDataBlock.cs.
starter.fps/server/scripts/sgLights/sgBlueLightDataBlock.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
Loading compiled script starter.fps/server/scripts/sgLights/Floater.cs.
starter.fps/server/scripts/sgLights/Floater.cs (0): Unable to instantiate non-conobject class sgUniversalStaticLightData.
/
What does this mean, this "Unable to instantiate non-nonobject class sgUniversalStaticLightData"? This little error I'm getting may be why it's not lighting properly, and why I can't make a light object within the editor. The "Floater" file was just me trying to make a light manually within the Torque editor. I always end up mucking up a perfectly good program. Hope you guys can help. Thanks.
#4
03/10/2005 (8:32 pm)
And I just tried the demo, and it works perfectly. No problems at all. In fact, it's making me want to make this thing work even more! Darn computer laughing at me now.
#5
Let me know if this helps!
03/11/2005 (4:07 am)
Check out the Lighting Pack Migration Guide it covers the process of merging the Lighting Pack into an existing project. From the look of your console log the script changes are working great, your project is loading all of the light datablocks. It sounds like you may have missed a step in the source code merge, probably just adding the Lighting Pack '*.cc' files to your project.Let me know if this helps!
#6
03/11/2005 (6:18 am)
It must've been a missing file like you said. I went ahead and re-installed everything to how it was before the Lighting pack, and then installed while following the migration pack, and it's working fine now. Looks awesome too. It's gonna really speed up production on my environments. Thanks for all the help! :)
Torque Owner John Kabus (BobTheCBuilder)
Do the missions seem darker than in the downloadable demo?
Are you using the source provided in the Lighting Pack zip, or did you merge the code into an existing project?
Assuming you merged the Lighting Pack into an existing project it sounds like you may have missed copying the 'starter.fps/server/scripts/sgLights' directory into your project, or your project uses a mod directory other than 'starter.fps' in which case you'll need to edit the Torque script variable '$sgLightEditor::lightDBPath' in '~/server/scripts/sgLights.cs' to use the correct path.
Let me know if this helps!
-John