Game Development Community

TGEA 1.7.0 Release About button doesn't work

by Mike Rowley · in Torque Game Engine Advanced · 04/20/2008 (7:29 am) · 1 replies

If you go to the main menu of the stronghold example and click the button "About...", it does nothing.

Here is the console log:
*** Load Main Menu
pushDialog(): Invalid control: HelpDlg
common/gui/help.cs (45): Unable to find object: 'HelpFileList' attempting to call function 'findTextIndex'
common/gui/help.cs (46): Unable to find object: 'HelpFileList' attempting to call function 'setSelectedRow'
pushDialog(): Invalid control: HelpDlg
common/gui/help.cs (45): Unable to find object: 'HelpFileList' attempting to call function 'findTextIndex'
common/gui/help.cs (46): Unable to find object: 'HelpFileList' attempting to call function 'setSelectedRow'
Exporting Gui preferences.

Using winmerge, I looked at help.cs from stronghold tgea, and starter.fps from tge 1.5.2 and they were identicle with the ecception of the heading. In tge it said: Torque Engine, and in tgea is says: "Torque Game Builder". This wouldn't affect it one way or the other tho. I can find no other differences.

#1
06/12/2008 (1:15 am)
Hello, you need to add the file HelpDlg.gui which is in the previous version of the engine to the folder common/gui. Then, you have to execute in the function initializeCommon() from the file common.cs the command exec("~/gui/HelpDlg.gui");

That worked for me.