Game Development Community

FPS Genre Kit Display Issues

by Randy Hearn - Magnum · in Torque 3D Professional · 08/09/2009 (11:32 am) · 3 replies

Every now and then running the FPS Genre kit, with now changes it starts a process but never displays on the screen.

Just a tip, it its probably a dual monitor issues. For me I simply fire up Torsion and start the exe. After that it is fine, I can go to the directory and start the game again and it displays on the monitor.

Not sure yet, what puts it in that mode, unless it was because my system locker up while running the game.(Running too many programs at once:))

About the author

Technical Product Designer (Mechanical Design) for Boeing for over 25 years working with CAD and PLM systems. I have a Associates Degree in Business and a partial B.S. in Game and Simulation, just couldn't see paying the costs for some of the classes.


#1
08/09/2009 (12:24 pm)
When you start from Torsion (with debugging) it inserts a line at the top of your root main.cs "dbgSetParameters( 2020, "password", true )". That last "true" signifies that torque should wait/block for the telenet debugger to connect. So if you try to run torque a second time via the exe directly after already having launched from Torsion, that line is still there and it will block indefinitely.
#2
08/09/2009 (1:05 pm)
Actually this was a fresh install and I had not run the FPS from Torsion before. I had run it from the command line, but not from Torsion or the Toolbox that I can recall.

Possible I did when it crashed and the line wasn't removed. That's what it was acting like.
#3
08/09/2009 (1:44 pm)
Weird things can happen sometimes... for example every now and then I get a build error from VS that it does not have access to the game dll and it turns out that there is still a game process (without a window) running because I had previously started the game from torsion and then attached with VS to debug and forgot that "stop debugging" in VS would not actually close the process.

Yeah not exactly related, still I do think Torsion would ideally be able to do this via a command line and not directly modifying the main.cs since that would prevent the issue from ever occuring.