Game Development Community

My script

by Evan · in Torque Game Engine · 06/29/2006 (7:58 pm) · 5 replies

I have a problem.

I bought Torque SDK this previous december, the day after christmas, although I have been so overwhelmed by school that I have barely touched it until now. I go to the readme, and it redirects me to the torque documentation ( www.garagegames.com/docs/tge/general/index.php ). I start to read through it. It seems resonbable. I get to the GUI editor arts, and start to do what it tells me. I make a button, make a new GUI, and try to make a popup say "Hello World!". Through this, I have seen differences with the documentation. For starters, their GUI (I can tell by the screenshots) looks newer, the buttons are 3D, it uses checkboxes instead of dropdown menus that say 'yes' and 'no'. Thier button when first made is colored, mine is transparent. Little things, but none the less they bothered me. Then we got to a scription part. It told me to go to 'C:\torque\example\starter.fps\client'. I did so, loading it in 'Notepad'. They said to find the text "// Load up the shell GUIs." and add the line "exec("./ui/HelloWorld.gui");" to the end of the list. I could NOT find the list or any of the code it specified in my script. I even uses the computer to search for it with the 'find' tool. I'm not sure what is wrong, but I suspect that I have an old version of torque. If I do, can I get an upgrade?

About the author

Recent Threads

  • Game + Website
  • My Code

  • #1
    06/29/2006 (9:18 pm)
    If you click on "My Account" at the top of the web page, you can re-download any product you have previously purchased. The download page almost always has the latest version for downloading.
    #2
    06/30/2006 (9:36 am)
    That didn't work.

    I went to the website and downloaded torque 1.4. I had all of the same problems. I'm guessing I already had Torque 1.4. I'm not sure what else could be wrong.
    #3
    07/01/2006 (12:46 pm)
    Try contacting the staff directly.
    #4
    07/01/2006 (12:53 pm)
    The comment "// Load up the shell GUIs" is on line 61 of starter.fps/client/init.cs

    The "list" they are refering to is the lines of exec() calls from line 62 through 71.

    Add the line
    exec("./ui/HelloWorld.gui");
    below line 71 to become line 72. :)

    I hope that helps,
    - Tom.
    #5
    07/02/2006 (6:58 pm)
    Tom-

    Ok, I tried that. Those lines are not on my script. anywhere. I also don't have lines. It's all one big paragraph.
    For some reason, the form won't let me copy the text into it. Click here to see it.