Game Development Community

Client movedirections ?

by Billy L · in Torque Game Engine · 01/11/2004 (7:46 am) · 2 replies

Hi all !

I need some hints !
What is the best way to get the client movesdirections ?
Im doing a melee game and want to have differnt animations
on the moves .
I made this the scripted way but i dont no what happens with the
performance if you have 20 people on a server and all sending
servercommands of all movedirections.

I made some changes in the player block but then i get it
on all players .

Anybody got a clue ?

Greetings
Billy

#1
01/11/2004 (8:01 am)
Sure...check out the source to Realm Wars. It has hand-to-hand combat and (ab)uses the "look" (also called "arm") animation in C++ code.

It uses the "triggers" part of the move data so its fast...no extra commandToServer going on.

You get access to Realm Wars source from the same CVS as you get Torque, but its configured with "/realmwars" at the end instead of "/torque" and you get a module called "realmwars" intead of "torque".
#2
01/11/2004 (8:43 am)
Hi Paul

Im trying rw hand to hand already with a little changes that
suits my game !
but i havent seen the movedirection triggers ,is this a new
change in rw i havent downloaded the source for a while .
Is the trigger part a hardcoded thing or a script ?
I download and take a look .

Thx
-billy