World Editor Screwup
by Deleted deleted · in Torque Game Engine · 10/05/2004 (8:17 am) · 2 replies
When I try to launch the world editor I get the mouse ghosting over the interface and nothing. Here is my console output. Anyone have anythoughts?
Then a crapload more of that, i can post it if anyone thinks its needed.
Then there is this, that I don't get its a different thing, notice no problems with it but it bugs me just the same.
Could not locate texture: common/editor/DefaultHandle.png Could not locate texture: common/editor/SelectHandle.png Could not locate texture: common/editor/LockedHandle.png tankBase/editor/EditorGui.gui (0): Register object failed for object EWorldEditor of class WorldEditor. Blank character Blank character...
Loading compiled script tankBase/editor/TerrainEditorVSettingsGui.gui. tankBase/editor/editor.cs (67): Unable to find object: 'EWorldEditor' attempting to call function 'ignoreObjClass' tankBase/editor/EditorGui.cs (229): Unable to find object: 'EWorldEditor' attempting to call function 'init' General\tTab_general\tgeneral_min_height\t0\tgeneral_scale\t100\tgeneral_water\t0\tgeneral_centerx\t0\tgeneral_centery\t0 Tab data: General^Tab_general^general_min_height^0^general_scale^100^general_water^0^general_centerx^0^general_centery^0 tab: Tab_general Heightfield::eval:0 General Heightfield::eval:0 General Heightfield::eval:0 General tankBase/editor/EditorGui.cs (235): Unable to find object: 'Creator' attempting to call function 'init' tankBase/editor/EditorGui.cs (236): Unable to find object: 'EditorTree' attempting to call function 'init'...
Then a crapload more of that, i can post it if anyone thinks its needed.
Then there is this, that I don't get its a different thing, notice no problems with it but it bugs me just the same.
tankBase/client/ui/ConsoleDlg.gui (67): Unable to find function deactivateKeyboard tankBase/client/ui/ConsoleDlg.gui (60): Unable to find function activateKeyboard
About the author
#2
Creator::Init does exhist., The ActivateKeyboard/Deactivate functions do exhist. No idea whats going on here, stuff all exhists, its just after the merge stuff went south. Anything else I may be missing thats hardcoded.
As far as ActivateDeactivate Keyboard its funny because the keyboard functions as it should in the console as it always has, no idea whats going on there. Function is there it says its not getting called and it is working right. Hmm.
BTW: my ConsoleDlg.gui and all editor/ stuff is stock from the good old example starter kit. No big changes.
10/06/2004 (5:30 pm)
The thing is I have not touched anything in edtitor/ the only thing I have done was merged common into my main directory, thereby getting rid of the common mod for packaging reasons. I then found almost every instance of hardcoded common paths in the code and in the scripts of the word common and replaced it. I cannot see what is going wrong here.Creator::Init does exhist., The ActivateKeyboard/Deactivate functions do exhist. No idea whats going on here, stuff all exhists, its just after the merge stuff went south. Anything else I may be missing thats hardcoded.
As far as ActivateDeactivate Keyboard its funny because the keyboard functions as it should in the console as it always has, no idea whats going on there. Function is there it says its not getting called and it is working right. Hmm.
BTW: my ConsoleDlg.gui and all editor/ stuff is stock from the good old example starter kit. No big changes.
Torque Owner Stefan Lundmark
The first codebit is simply that it doesn't find the functions it assumes.
For instance, EditorGui.cs should have a function named Creator::Init. I'm going from memory here but that function should be in there if you haven't made modifications.
You can't just change that kind of a thing without breaking things.
You need to change the part where it is called too to reflect the change.
The second part is that the ActivateKeyboard/DeactivateKeyboard functions are missing from the ConsoleDlg.gui. These are used to enable you to type text instead of move the camera, for instance.