Previous Blog Next Blog
Prev/Next Blog
by date

Plan for Zachary Zadell

Plan for Zachary Zadell
Name:Zachary Zadell
Date Posted:Apr 01, 2005
Rating:5.0 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Zachary Zadell

Blog post
Improved TreeView Control
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):


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.

Recent Blog Posts
List:08/30/07 - Torque for Wii availability and licensing
04/01/05 - Plan for Zachary Zadell

Submit ResourceSubmit your own resources!

Timothy Aste   (Apr 01, 2005 at 00:03 GMT)   Resource Rating: 5
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.
Edited on Apr 01, 2005 00:05 GMT

Ed Johnson   (Apr 01, 2005 at 00:05 GMT)
WOW!!! IVE BEEN LOOKING FOR THIS!!!!

Joseph Euan   (Apr 01, 2005 at 00:10 GMT)
Hey Zachary, :)

So thats what you were working on, looks pretty cool... is it going in 1.4?

Nicolas Quijano   (Apr 01, 2005 at 00:10 GMT)   Resource Rating: 5
Nice :)

Tom Spilman   (Apr 01, 2005 at 00:16 GMT)
Great stuff... now when will we get to use it? =)

Josh Williams   (Apr 01, 2005 at 00:51 GMT)   Resource Rating: 5
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.
Edited on Apr 01, 2005 04:44 GMT

Chris Newman   (Apr 01, 2005 at 02:42 GMT)
Thats sweet.
I cant wait till 1.4.

Nick Zafiris   (Apr 01, 2005 at 06:58 GMT)   Resource Rating: 5
That's great news! Thanks!

Nick

Grugin   (Apr 01, 2005 at 07:06 GMT)
yeah, that's more clear now !!! great

Anthony Rosenbaum   (Apr 01, 2005 at 11:47 GMT)
But can you delete a SimGroup Yet?

Hokuto   (Apr 01, 2005 at 12:30 GMT)
Cool!!!

Phil Carlisle   (Apr 01, 2005 at 13:51 GMT)
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!

Zachary Zadell   (Apr 01, 2005 at 18:43 GMT)   Resource Rating: 5
@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.

David Montgomery-Blake   (Apr 01, 2005 at 18:52 GMT)
This is one of those really cool things that I never realized that I needed until someone else kicked me in the head.

Edward F. Maurina III   (May 01, 2005 at 04:04 GMT)
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.

Hall Of Worlds - For Gamers EdM|EGTGE
Edited on May 01, 2005 04:04 GMT

OneST8   (May 23, 2005 at 06:07 GMT)
I'm just wondering how this is progressing as I don't see it in CVS.

By the way, this looks fantastic. :)
Edited on May 23, 2005 06:07 GMT

David Neale   (Aug 22, 2005 at 06:34 GMT)
Hi Zach, Any news on the TreeView Controller? Did this ever see the light of day?

CraigSusen   (Sep 21, 2005 at 02:11 GMT)
Mr. Zadell,

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

Craig

Ulf Maagaard   (Nov 25, 2005 at 10:34 GMT)
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!

You must be a member and be logged in to either append comments or rate this resource.