Game Development Community

dev|Pro Game Development Curriculum

Plan for Zachary Zadell

by Zachary Zadell · 03/31/2005 (4:01 pm) · 19 comments

Hi everyone, this is my first .plan since becoming an intern here at GG. I have been working closely with Ben Garney to produce a replacement to the old and unintuitive treeview control that is in Torque currently.

New guiTreeViewCtrl (click for a larger pic):
public.garagegames.com/tima/missioneditor1_thumb.png

The new control has been integrated into both the mission editor and the gui editor. Within the mission editor, the creator and editor trees now both use the same control, rather than a custom control for the creator.

Both editors now support shift selection for selecting multiple items and ctrl selection for deselecting or selecting single items either for movement or deletion.

Selections made within the editor are now reflected within the treeview control.

You can now drag selected items both within a group or to other groups with the mouse.

You can also use the arrow keys to re-order items and navigate the tree in an explorer like fashion.

Items are now represented by icons designed by Tim Aste. The icons can either be assigned in script or determined by the control based on the item's properties. The icons can be defined entirely from script.

This is just the inital pass at improvements to editors. I plan to make other improvements in the future based on the feedback of the artists here at GG.

#1
03/31/2005 (4:03 pm)
This is an awesome improvement to the mission editor that seriously increases productivity. I love using this. :-)

To be able to drag and drop and do all those fun things you do in windows in the tree view controls, kicks so much ass.
#2
03/31/2005 (4:05 pm)
WOW!!! IVE BEEN LOOKING FOR THIS!!!!
#3
03/31/2005 (4:10 pm)
Hey Zachary, :)

So thats what you were working on, looks pretty cool... is it going in 1.4?
#4
03/31/2005 (4:10 pm)
Nice :)
#5
03/31/2005 (4:16 pm)
Great stuff... now when will we get to use it? =)
#6
03/31/2005 (4:51 pm)
It's going in 1.4 yep. :) Zac rocks, this is not an easy thing to write. Going into CVS next week so people can test if they want and then we'll keep refining it until it's rocksolid.

Good job Zac!

This is all part of our push to make stuff easier and improve the work flow for artists and designers. :) Going to be fun seeing all these projects coming online soon.
#7
03/31/2005 (6:42 pm)
Thats sweet.
I cant wait till 1.4.
#8
03/31/2005 (10:58 pm)
That's great news! Thanks!

Nick
#9
03/31/2005 (11:06 pm)
yeah, that's more clear now !!! great
#10
04/01/2005 (3:47 am)
But can you delete a SimGroup Yet?
#11
04/01/2005 (4:30 am)
Cool!!!
#12
04/01/2005 (5:51 am)
Hey Zac! nice work matey!!!

Does this work like a standard windows style treeview now then? with a data structure with several elements, rather than the nasty simgroup dependant object that other treeview was?

We had a feature we wanted in the AI pack that really required this control to be worthwhile. Now that youre tackling it, I'll see if I can use it for the feature we had planned.

Cool stuff. Its not particularly glamorous, but hell if its not bloody useful! keep at it!
#13
04/01/2005 (10:43 am)
@Anthony

Yes you can delete simgroups. just highlight the group and delete away. everything in that simgroup will be deleted.

@Phil

Yes, it isn't dependant on simgroups. Every item in the tree can be a simobject or just an "item." A good example is the creator tree.
#14
04/01/2005 (10:52 am)
This is one of those really cool things that I never realized that I needed until someone else kicked me in the head.
#15
04/30/2005 (9:04 pm)
Zachary,

Great idea. It gives the whole interface a much more personal and 'fun' feel. It is also easier to find things with those little 'type' icons. Cool.

www.hallofworlds.com/how.ico Hall Of Worlds - For Gamers EdM|EGTGE
#16
05/22/2005 (11:07 pm)
I'm just wondering how this is progressing as I don't see it in CVS.

By the way, this looks fantastic. :)
#17
08/21/2005 (11:34 pm)
Hi Zach, Any news on the TreeView Controller? Did this ever see the light of day?
#18
09/20/2005 (7:11 pm)
Mr. Zadell,

Nice to see you are using that large brain of yours.

Craig
#19
11/25/2005 (2:34 am)
In 1.4, setTreeRoot no longer exists. Two questions:

- What should be called in replacement of setTreeRoot in order to build a tree from a SimSet?
- Has the tree ctrl documentation been updated?

Thanks in advance!