Manipulating values from outside the engine
by David De Bels · in Torque Game Engine · 02/03/2009 (10:20 am) · 2 replies
Hi there,
for a project I need to manipulate some values from outside the engine through use of an external program, such as a player's speed and direction.
My thought would be to use an I/O file or so and make the game read values from it and use a different external program to change the values in that file at the same framerate as the Torque game.
But that's not really all that efficient.
Is there a better way to do this in TGE?
Thanks in advance.
for a project I need to manipulate some values from outside the engine through use of an external program, such as a player's speed and direction.
My thought would be to use an I/O file or so and make the game read values from it and use a different external program to change the values in that file at the same framerate as the Torque game.
But that's not really all that efficient.
Is there a better way to do this in TGE?
Thanks in advance.
About the author
#2
I'll give it a try.
02/04/2009 (12:58 am)
Thanks, that sounds like the kind of thing I'm looking for.I'll give it a try.
Torque Owner Andy Rollins
ZDay Game
We use that approach and it works very nicely indeed I can even tell the game server to restart itself :)