Control Torque from the external application
by Dane McGreevy · in Torque Game Engine · 03/03/2006 (12:35 am) · 3 replies
Hi All,
I am just wondering whether we could be using the external application to control Torque, say openning the Torque Demo application, selecting the mission file you would like to read in, controling the view in Torque once the mission has been loaded up, or even moving the player.
This motivation comes as I am hoping to control Torque by ArcGIS, a mapping application which has a nice support on VBA. While the user changes the 2D view (e.g. a 2D map) in ArcGIS, the scene in Torque would also alter accordingly. This scenario could be called a live linkage between an external application and Torque, I think.
What I am now concerned about is whether it's possible to implement? If positive, I guess that there would be some Torque APIs we can consider. Could anybody have an idea about it and further point me to the right direction? Best thanks in advance~
I am just wondering whether we could be using the external application to control Torque, say openning the Torque Demo application, selecting the mission file you would like to read in, controling the view in Torque once the mission has been loaded up, or even moving the player.
This motivation comes as I am hoping to control Torque by ArcGIS, a mapping application which has a nice support on VBA. While the user changes the 2D view (e.g. a 2D map) in ArcGIS, the scene in Torque would also alter accordingly. This scenario could be called a live linkage between an external application and Torque, I think.
What I am now concerned about is whether it's possible to implement? If positive, I guess that there would be some Torque APIs we can consider. Could anybody have an idea about it and further point me to the right direction? Best thanks in advance~
#2
I will be looking at using tcp/ip and sockets to hook them up. Thank you very much.
03/04/2006 (6:54 pm)
Great Philip! I will be looking at using tcp/ip and sockets to hook them up. Thank you very much.
#3
03/05/2006 (12:27 pm)
It's all already built into Torque, because you can telnet into the engine and do and see whatever you will on the remote console.
Torque Owner Philip Engdahl
Opening the demo app and reading in a particular mission file can be done with command line arguments.