Game Development Community

Using LayerFloater and other resources with 1.5.1 level editor?

by Ezra · in Torque Game Builder · 08/04/2007 (8:55 pm) · 2 replies

I'm having a bit of trouble getting the LayerFloater resource to work, along with any of my own resources (not art resources).
I've tried adding them to \tgb\tools\resources but they aren't showing up under "Addons" in the About help window.

#1
08/04/2007 (9:33 pm)
Still not completely working, but I got it loading resources..
the file main.cs in \tgb\tools needs the line:

ResourceObject::load( %path, %resource );

...changing into...

ResourceObject::load( %resourcesPath @ %resource );


now I'm getting an error about invalid command addMenuItem but it sounds like I just need to change something in the resource where it is adding the shortcut/menu buttons for itself.
#2
08/05/2007 (12:03 am)
Hi,

I haven't actually downloaded the resource you are talking about, but other resources are usually put in your folder rather than the program's install folder.

i.e. ../My Games/CustomPlatformer/resources/LayerFloater/

Hope this helps!