Creator/editor/EditorGui.cs (765): Unable to find function sgLig
by AllynMcelrath · in · 02/18/2006 (9:54 am) · 4 replies
Hello, I just bought my lighting kit and decided to move my project over to it.
So, my old TGE is 1.4
Its a mod based off the Tutorial.bace that came with the SDK (in exampiles)
The lighting pack is 1.4
All i did was copy my mod folder over to the root of the lighting pack exampiles folder.
Then changed in the Main.cs , the $defaultGame to my folder.
Everything went great, the whole lvl was there and everything was working well. So, i decided to add a light, but when i clicked the lighting pack editor i got the error message in the console:
"creator/editor/EditorGui.cs (765): Unable to find function sgLightEditor::toggle"
Any ideas?
(no, i dont compile, i just mod the exampiles)
So, my old TGE is 1.4
Its a mod based off the Tutorial.bace that came with the SDK (in exampiles)
The lighting pack is 1.4
All i did was copy my mod folder over to the root of the lighting pack exampiles folder.
Then changed in the Main.cs , the $defaultGame to my folder.
Everything went great, the whole lvl was there and everything was working well. So, i decided to add a light, but when i clicked the lighting pack editor i got the error message in the console:
"creator/editor/EditorGui.cs (765): Unable to find function sgLightEditor::toggle"
Any ideas?
(no, i dont compile, i just mod the exampiles)
#2
02/18/2006 (10:29 am)
Yep, that was it.
#3
You should take a quick look at the Developer's Guide. There are only a few differences in the script code (two I believe), but the Developer's Guide should save you a lot of time.
If you have any questions head on over to the TLK Private Forum and I'll be happy to help.
-John
02/18/2006 (10:54 am)
Hi Allyn,You should take a quick look at the Developer's Guide. There are only a few differences in the script code (two I believe), but the Developer's Guide should save you a lot of time.
If you have any questions head on over to the TLK Private Forum and I'll be happy to help.
-John
#4
And, i thought i did post in the TLK private forum, lol.
02/18/2006 (11:05 am)
Yep, i read it, its sitting right here on my lap. And i did fix that first issue with a little poking around =)And, i thought i did post in the TLK private forum, lol.
Torque Owner AllynMcelrath
When i just swaped it out, my Main.cs file from the non-TLK (not the one in the root but the one in the MOD folder) was missing this:
//-----------------------------------------------
// Lighting Pack code block
//-----------------------------------------------
exec("common/synapseGaming/contentPacks/lightingPack/sgDeployClient.cs");
//-----------------------------------------------
// Lighting Pack code block
//-----------------------------------------------
Testing now.