PDA

View Full Version : Tree Folder Structure Help


ShadowUK
12-09-2008, 02:14 PM
I don't ask for help often but I seem to have run into a wall, Walked back and then ran into it again.

I'm making an IDE for a popular modification of Half-Life 2 called Garry's Mod that uses Lua.

I've got the New Project/Import Project system done, However. I planned on getting things done like this.

http://vladh.net/files/gmide.png

Where the folder structure is something like this:

lua [Folder]

autorun [Folder]

client [Folder]

info.lua [File]
hud.lua [File]
draw.lua [File]

server [Folder]

hook.lua [File]
umsg.lua [File]
servermessage.lua [File]
concommand.lua [File]
log.lua [File]





If anyone could write some code that would get that into my tree. I would really appreciate it, Then I can finally finish this software.

~shadiku.

Dermot
12-09-2008, 03:32 PM
A quick search turns up this which should do the trick. http://www.indigorose.com/forums/showthread.php?t=12941&highlight=tree

ShadowUK
12-10-2008, 12:27 AM
Thanks. :yes