Extended Loading GUI
by Harold "LabRat" Brown · in Torque Game Engine · 08/19/2001 (9:45 pm) · 11 replies

Download here
How it was done:
GuiTextListCtrl has a very undocumented feature that after viewing the source code makes it a very useful control. The columns setting always mystified me until now. The columns setting controls the number of columns and their width in a pretty simple manner like so:
columns = "0 40 195 260 325 385";
This specifies 6 columns, the first being 40 "pixels" wide, the second 155, etc. The last column will be the remainder between 385 and the extent width.
#2
08/20/2001 (3:48 am)
yes, very nice indeed. Thanks for sharing!
#3
08/21/2001 (5:18 am)
Is this the same labrat that also made a minor patch for T1 before dev team came out with one?
#4
08/21/2001 (5:54 am)
That's great labrat, I do get a wierd error where it always tries to join the top server, but i think that's my fault. How do i change the version and game settings for my game, so that others can see what my server is running instead of just "1000" and "V12 test"
#5
08/21/2001 (9:38 am)
Version is in the version.cc file I believe, gameType I'll have to look at again.
#7
Have you any ideas on this? I havent changed the gui at all, and can't see anything i have done could cause such a wierd error.
08/21/2001 (2:19 pm)
Labrat, the gui stops working after the first time i close the program. it just joins the server at the top of the screen. This causes a crash, because my game no longer runs scorched planet :)Have you any ideas on this? I havent changed the gui at all, and can't see anything i have done could cause such a wierd error.
#8
08/21/2001 (3:01 pm)
Hmmm... is this with a default example app? Or have you made changes to the engine?
#9
I will try it with the example app, but i really cant see anything in my stuff that'd affect that gui, but it must do. I'll look around
08/21/2001 (3:57 pm)
this is with my mod of the example app, i havent made any changes to the source, other than rename the main window from V12 Test to WAAAGH.I will try it with the example app, but i really cant see anything in my stuff that'd affect that gui, but it must do. I'll look around
#10
%index = getField(JS_serverList.getRowTextById(%id), 1);
i removed the ", 1" and it worked fine, thanks for the code, just thought i'd put this here in case anyone else was having problems
08/22/2001 (1:17 pm)
I found what was making it not work, it was on line 296:%index = getField(JS_serverList.getRowTextById(%id), 1);
i removed the ", 1" and it worked fine, thanks for the code, just thought i'd put this here in case anyone else was having problems
#11
08/22/2001 (2:38 pm)
That is odd as the line you changed is the same as one that shipped with the V12 sample app.
Torque Owner Tim Gift