Spawning AI from a client to a server world
by Justin Woods · in Torque Game Engine · 01/17/2006 (9:28 pm) · 4 replies
I want to try and do some more simulation work in TGE 1.3 or 1.4 (whichever would be easier).
I am wondering if there is a way i can leave the game engine listening for vector-data sent by another computer/program and take in that data and simulate it with an AI.
Help with existing resources would be greatly appreciated.
I think it would be fine if I just had some help sending data from a client that the server traslated into movement commands for a DTS object in Torque Space.
Any thoughts?
I am wondering if there is a way i can leave the game engine listening for vector-data sent by another computer/program and take in that data and simulate it with an AI.
Help with existing resources would be greatly appreciated.
I think it would be fine if I just had some help sending data from a client that the server traslated into movement commands for a DTS object in Torque Space.
Any thoughts?
#2
Given your initial thoughts, you could actually very easily just use commandToServer, or go straight to a NetEvent implementation and do what you need.
01/17/2006 (11:02 pm)
This has been done in several commercial uses of Torque with different techniques, all of which are certainly feasible. Given your initial thoughts, you could actually very easily just use commandToServer, or go straight to a NetEvent implementation and do what you need.
#3
01/22/2006 (2:28 am)
What sorts of projects has it been used on?
#4
L3 also reads in a version of the DIS protocol to control Torque objects via external (military) simulators for combined virtual space training (Military/Combined Training).
01/22/2006 (1:48 pm)
Valador reads in telemetry streams from various data sources to control position/orientation/movement of hundreds of Torque objects simultanously. (Simulation/Visualization)L3 also reads in a version of the DIS protocol to control Torque objects via external (military) simulators for combined virtual space training (Military/Combined Training).
Torque Owner Justin Woods
Effectively I have a server running, then I boot up a client app, and find the server on a list. Then I hit a button that says "send them a bot" or something and it would generate a random number for position and pass that to AISpawn on the server-side.
I don't need to control them right now, just spawn them.