Hud control not available.
by Phil Carlisle · in Torque Game Engine · 12/17/2001 (4:10 am) · 3 replies
Weird how you forget things.
I've created a few new hud controls, altimeters and such. I went to put them into the playgui and they dont show up in the control list.
I cant for the life of me remember what I used to do to get em to show. I deleted all the dso files I could find, but perhaps the new file structure has me confused.
So, how do I get a new hud control to display in the editor?
I placed on in the gui file by hand, and it gave an error in consoleobject.cc at line 58 (basically complaining that what I wanted wasnt there).
Anyone know what else is required other than creating a control's name.cc file with the declare and implement macro's? is there another file somewhere I have to twiddle to add the hud element?
Phil.
I've created a few new hud controls, altimeters and such. I went to put them into the playgui and they dont show up in the control list.
I cant for the life of me remember what I used to do to get em to show. I deleted all the dso files I could find, but perhaps the new file structure has me confused.
So, how do I get a new hud control to display in the editor?
I placed on in the gui file by hand, and it gave an error in consoleobject.cc at line 58 (basically complaining that what I wanted wasnt there).
Anyone know what else is required other than creating a control's name.cc file with the declare and implement macro's? is there another file somewhere I have to twiddle to add the hud element?
Phil.
About the author
Recent Threads
#2
I'll bring the source in from home and post it (isnt anywhere near finished yet).
Wonder what it is. Ive done this all before.
Phil.
12/17/2001 (5:30 am)
Yeah, I used the two macro's for implementing the control.I'll bring the source in from home and post it (isnt anywhere near finished yet).
Wonder what it is. Ive done this all before.
Phil.
#3
I cant see how simple implementing the .cc file is enough to actually cause the control to be linked into the control list.
I did a find in files for guiClockHud to try and see if that does anything else, but it didnt help.
Got me stumped :)) hheehe..
Phil.
12/17/2001 (5:41 am)
Is there a header somewhere that I need to add the control into?I cant see how simple implementing the .cc file is enough to actually cause the control to be linked into the control list.
I did a find in files for guiClockHud to try and see if that does anything else, but it didnt help.
Got me stumped :)) hheehe..
Phil.
Torque 3D Owner Frank Bignone
Darkhand Studio
Can you post the .h and .cc (not full source, only pertaining portion of it), so I can help you ?