Game Development Community

Bug Beta 2 - Quick Link in Toolbox not using Arg Text

by Robert Lee · in Torque 3D Professional · 05/26/2009 (7:39 am) · 4 replies

I'm trying to add a Dedicated Server button the the Editor Quick Links in the Toolbar.

In the toolbar editor I have:

Application/File Path:
D:/Torque/Torque 3D 2009 Beta 2/My Projects/MyGame/game/MyGame.exe

Arg Text:
-dedicated -mission ./levels/simple.mis

This starts up the game normally, instead of in dedicated mode.

#2
05/26/2009 (9:44 am)
The "-game scripts" argument isn't really necessary, but probably won't hurt anything and it is useful for loading mods.

But after testing it does appear that the ToolBox quick link doesn't read the command-line arugments after all... and apparently it doesn't recognize .bat files as being valid in place of executables either.
#3
05/27/2009 (1:57 pm)
@Michael
I tested your conclusions re: batch files using XSI
Softimage XSI runs from a batch file:

Desktop shortcut properties are:
C:\Softimage\Softimage_Mod_Tool_7.5\Application\bin\XSI.bat -mod

I put this in the Application/path field
"C:\Softimage\Softimage_Mod_Tool_7.5\Application\bin\XSI.bat"

I put the "-mod" in the Arg text field.

It boots up normally from the editor quick link icon!
So I cannot confirm your statement

Running Vista 64 Ultimate
#4
05/27/2009 (2:50 pm)
All I tried was a batch file for launching a dedicated server. The .bat file in question works flawlessly on it's own, yet the Toolbox doesn't recognize it. So apparently results are varied.