Home   Help Search Login Register  

Author Topic: Reversing a tank,  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

Void-DK

  • Guest
Reversing a tank,
« on: 04 Jul 2005, 17:20:03 »
I tried asking about this a good while ago(like a year or so) and noone knew, but seemed the knowledge of the game and how to do things evolved a tad, so im posting again, in the hope that someone might be able to help out.

When you're in the commander spot in a vehicle, you can use the movement keys on the keyboard , to give orders to the driver, these are acknowleged with a verbal command in the game as "forward" , "left", "right", "reverse" when you put the respective buttons.

Now, my question is, Does anyone know how you can activate these "orders" through scripting and more specifically through the editor?

What i need this command for, is to make semi scripted events/withdrawals etc with mostly armored units, as the units are supporting the player in a combat position and then pulling back in a realistic way (tanks in the real world, dont just make a 180 turn like the flashpoint unit enjoys, same with jeeps etc) they hit the backpedal, and reverse the hell out of there, until theres no chance of them getting engaged in the weak backside.

Thanks in advance,


Tetrian/Void.

Offline 456820

  • Contributing Member
  • **
Re:Reversing a tank,
« Reply #1 on: 04 Jul 2005, 17:45:49 »
erm how about setvelocity the tank but backwards ?
or you could use aload of functions get the way the tank is moving and if its moving forward use setdir to make it look backwards ?
im not to sure though there just some things to get your mind thinking

Void-DK

  • Guest
Re:Reversing a tank,
« Reply #2 on: 05 Jul 2005, 22:29:06 »
Aye, but hoping it could be done in an easier way - the setvelocity thing is anoying as hell to work with, and isnt quite producing the wanted results (scripts and me are really a no go, guess im too dumb) :(

Thanks,

Tetrian/Void
« Last Edit: 05 Jul 2005, 22:30:12 by Void-DK »