Game Development Community

sonic-style game

by Jason Haden · in Game Design and Creative Issues · 03/13/2009 (8:11 pm) · 7 replies

Can anyone help me with a few things?
I'm a noob at Torquescript, and I was wondering if I can make my Tails(AIplayer) jump when Sonic(Player) jumps, but with a delay. The delay is no problem, but is there a command to make AIplayers jump without altering the engine's code?

Also, how do I use the Playerdata::ontargetenterlos command?
Any help is appreciated.

#1
03/16/2009 (2:11 pm)
I'm sorry... What?

AIplayers can jump without altering engine code, the same way that client controlled players jump. Just send a message to the server, and make the server have the AI jump.
#2
03/21/2009 (3:39 pm)
But how? What command?
#3
03/22/2009 (7:20 pm)
Depends, is it TGE? Or TGB?

It is basically sending a message to the AI telling it to jump however many seconds after the client jumps.

1. The client jumps.
2. Send a message to the server to test a function.
3. The server sends a message to the AI to jump.

I do not understand what you are stuck on.
#4
03/23/2009 (5:05 pm)
Um, the player uses the command $mvTriggerCount2++, and I'm not sure how to use that on an AIplayer... btw, I'm using TGE. Also, I know it's a bit off topic, but does this site still sell TGE? Under 3d engine, all I can find is TGEA, which is great, but costs waaay too much. Plus, I have to be able to give the directions to the person who actually is paying for it.(Birthday present; I turned 16 this month.)
#5
03/31/2009 (4:22 pm)
How do I control the AI's movements?
I want them to jump! Please help!
#6
04/27/2009 (9:07 am)
TGE is now not supported by GarageGames beyond the TDN and forum, so no you can't purchase it anymore. As for having AI controlled characters in 3d, it would probably be more efficient in my mind to have one looping function that has Tails here check sonics position, and if he is in the air(Z transform) to run a specific method.
#7
04/27/2009 (10:41 am)
@Joshua - TGE is still available for purchase: TGE Product Page