Game Development Community

Missing text in Mission Editor

by thamonkey king · in Torque Game Engine · 04/30/2003 (1:18 pm) · 15 replies

hey guys,
hopefully someone can help me out here. Whenever I run the Mission editor, either in the example game or Realm Wars, the text doesnt' show up - all the windows and buttons are there, just no text. But the text shows up fine in the GUI editor. I have a Hercules 3d Prophet 4500 card, DX8.1, and the latest drivers. Any help would be appreciated, and thanks ahead of time.

joel

#1
05/01/2003 (7:34 pm)
Help...somebody...maybe you could just point me in the right direction, or something...Thanks again.
#2
05/01/2003 (7:44 pm)
Is there text when you go to the option screen?
#3
05/02/2003 (2:27 pm)
Do you mean the Help screen (F1)? If so, yes, there seems to be text everywhere except the Mission Editor...its really wierd.
#4
05/02/2003 (2:29 pm)
Oh, and there is also text through all the front end menus as well...
#5
05/02/2003 (3:25 pm)
Your probably missing a font your machine... Torque fonts are generated locally from the TrueType fonts, the mission editor must be using a font you don't have (for some reason).... looks like it's using Arial Bold. Check your example/common/ui/cache directory and see if you have the "Arial Bold_*.gft" files.
#6
05/02/2003 (9:19 pm)
Yup, I've 14, 16, and 20 (Arial Bold_14.gft, etc.). Is there customer support or something I can email a question like this to? I'm kind of new to this. Thanks for the help.
#7
05/03/2003 (8:04 am)
Hmm, this is wierd then... missing fonts is the only time I've ever seen this problem. Looking at my font list... in addition to the bold fonts, you should have Arial 12,13,14,16,24, Arial Bold Italic 16 and Lucida Console 12.

If it's not the font's I'm not sure what it is. You might try starting up the mission editor, then setting a breakpoint in the GuiButtonCtrl::onRender method (in engine/gui/guiButtonCtrl.cc). If you trace through the renderJustifiedText call, you may see something.

(there isn't any direct costumer support on the Indie License Torque, these forums are it)
#8
05/03/2003 (11:01 am)
Yeah, I've got all those fonts, and I kind of figured as much on the customer support - just thought I'd double check. I'll try tracing through the Mission Editor, though it might take me a bit to figure out how. Anyway, thanks for your time-hopefully that will work.
#9
05/03/2003 (11:09 am)
Post something if you figure it out, or have any more clues...
#10
05/03/2003 (3:52 pm)
Ok, I'll let you know - thanks again.
#11
05/03/2003 (10:06 pm)
Hey Tim,
Heres the deal - don't ask me why, but if I switch the Display Driver from OpenGL (default) to D3D ( in Options>Graphics), the text displays fine. Let me know what you think, or if you need any other info. This looks like it'll work fine for now.
Thanks.
#12
05/03/2003 (11:44 pm)
Maybe you need to update your video drivers..
#13
05/05/2003 (7:46 am)
Nope, just updated with the latest drivers last week - one of the first things I did.
#14
05/05/2003 (10:44 am)
Ok, thanks for following up on it Joel. It does sound like it's driver related then, whether it's in our driver code our theirs.
#15
10/01/2007 (12:30 pm)
I'm experiencing this problem too with missing text. The problem exhibits itself randomly, and only after I enter a mission. The only way to fix this is to restart Torque or delete all the files in common/ui/cache. Since this bug shows up for all text rendering, it has to be something in dglDrawTextN.

Any idea why this is happening?

By the way I'm using TGE 1.5.2 (OpenGL) on an ATI FireGL V5200 512 MB PCI-E card with the latest drivers.