Game Development Community

Newbie: Show tool

by Devin · in Artist Corner · 10/20/2004 (4:25 pm) · 12 replies

Hi, im an artist trying to get a handle on torque, unfortunatly I dont have any information on using the show tool, where it is, how to use it. A link to some documentation would be fine...Please Help!

About the author


#1
10/20/2004 (4:34 pm)
It resides in a folder (same directory as the exe and other model folders).

Create a shortcut to the exe and modify it like so:

....example\torque.exe -show
#2
10/20/2004 (5:49 pm)
So I modify the .exe?
#3
10/20/2004 (6:00 pm)
No, your a shortcut to it, and modify the shortcuts path. What the does is pass a mod paramater to the exe when you run it.
#4
10/20/2004 (6:11 pm)
Ok Ive got a shortcut to torque.exe ....where do I modify the path?
#5
10/20/2004 (6:27 pm)
Under its properties>target
#6
10/20/2004 (6:47 pm)
Or you could edit the main.cs that resides in the same folder as the exe.

changethe line that says something about defaultGame "starter.fps" to "show"
#7
10/20/2004 (7:02 pm)
No Eric, because then it would not execute the main mods scripts, and therefor not look under that directory for models etc.
#8
10/20/2004 (7:10 pm)
If you are really struggling add this (as a HACK to always run Show).

In main.cs (same directory as your exe). add this around line 207, before $modPath = pushback($userMods, $baseMods, ";");

$userMods = strreplace($userMods, "show", "");
$userMods = pushFront($userMods, "show", ";");

However this isnt the best option because you will have to modify main.cs everytime u want to run the tool.
#9
10/20/2004 (7:41 pm)
Well Ive tried modifying the target in the shortcut and I keep getting an error that reads target path not valid, and I'm not to sure if I want to modify the main.cs if its gonna be that big of a hassle all the time. thanks for the help btw.
#10
10/20/2004 (7:46 pm)
Well Ive tried modifying the target in the shortcut and I keep getting an error that reads target path not valid, and I'm not to sure if I want to modify the main.cs if its gonna be that big of a hassle all the time. thanks for the help btw.
#11
10/21/2004 (6:15 am)
Greetings!

Another way you can start the show tool is through the command line. Open up the DOS prompt (assuming you're on Windows) and go to the directory where your Torque executable is. For example:

cd c:\torque\example

Then type:

torquedemo -show

or if you've compiled the debug version:

torquedemo_debug -show

By going through the command line you don't need to worry about setting up a shortcut if you're not used to it.

- LightWave Dave
#12
10/22/2004 (9:47 am)
Quote: I keep getting an error that reads target path not valid

Put the "- show" inside the quotes in your line.

Your target will end up looking like one or the other (may be a little different depening on your path":

C:\torque\example\torqueDemo.exe -show

"C:\torque\example\torqueDemo.exe -show"

Matt