Game Development Community

Unable to find object: sgShadowDetailSize

by Jonathon Stevens · in Torque Game Engine · 02/05/2006 (7:16 pm) · 1 replies

I've just installed TLK 1.4 and am immediately getting the following errors in console.log:

*** ENDING MISSION
CDROP: 1593 IPX:CECECECE:CECECECE0C00:0
Exporting server prefs...
starter.rpg/client/scripts/optionsDlg.cs (27): Unable to find object: 'sgShadowDetailSize' attempting to call function 'setValue'
Missing file: creator/ui/prefs.cs!
Set::getObject index out of range.
Set::getObject index out of range.
extent is 640 480
Set::getObject index out of range.
starter.rpg/client/scripts/optionsDlg.cs (27): Unable to find object: 'sgShadowDetailSize' attempting to call

It repeats about 4 times. Any thoughts?

About the author

With a few casual games under his belt as CEO of Last Straw Productions, Jonathon created the increasingly popular Indie MMO Game Developers Conference.


#1
02/06/2006 (8:49 am)
In the TLK demo mod there is a dynamic shadow quality slider named sgShadowDetailSize on the options dialog. Chances are the code that interacts with the slider was merged in, but not the control itself.

The references to that object are in 'optionsDlg.cs' and can be removed, or you can add a slider named 'sgShadowDetailSize' to your options dialog.

-John