Home   Help Search Login Register  

Author Topic: Vehicle, Full Speed Ahead  (Read 425 times)

0 Members and 1 Guest are viewing this topic.

StonedSoldier

  • Guest
Vehicle, Full Speed Ahead
« on: 06 Jan 2004, 01:04:49 »
hey guys,

basically ive got a vehicle called "jeep" which is driven by AI and i was wondering if there was a way of making the jeep drive straight forward (without stopping at all) ignoring things such as cliffs and ramps....etc

if it gives you guys a better idea of want im wanting to do its for an intro for my mission, where a car drives of a cliff at full speed

thankx

Quid Novi

  • Guest
Re:Vehicle, Full Speed Ahead
« Reply #1 on: 06 Jan 2004, 01:16:44 »
use the setvelocity command.... from memory (so sorry if its wrong):

unitname setvelocity [0,0,0]

replace the 0's with numbers... each one represents a direction of movement. [X,Z,Y] if i remember correctly.

Offline Burn

  • Members
  • *
Re:Vehicle, Full Speed Ahead
« Reply #2 on: 06 Jan 2004, 04:31:12 »
Quote
each one represents a direction of movement. [X,Z,Y] if i remember correctly.
You mean [x,y,z]  :-\
x =left n' right
Y =forward n' reverse
z =up n' down

[edit]
 :o...oh looked it up, vehicle setVelocity [x, z, y] as you said Carpe Diem :P... sorry b'out that... I'm just so used to the normal coordinate system :-[... forgot that this is FLASHPOINT we're talking about here ;D
BTW what numbers would I enter if I wanted an car go for,
umm... lets say 180 kph in an straight line???
would it be somethin like... [180,0,90] ...perhaps :-\
and is the third parameter (x) in degrees ???
« Last Edit: 06 Jan 2004, 04:47:21 by Bizon »

StonedSoldier

  • Guest
Re:Vehicle, Full Speed Ahead
« Reply #3 on: 06 Jan 2004, 17:11:01 »
i tried the setvelocity command but im wanting a way where a vehicle will drive forward at a certain speed and continue regardless of things things like walls (crashing obviously) and cliffs.

so if a place a ramp on my mission im wanting a jeep to drive up it at top speed.

thankx for your help, i may be able to use the setvelocity command.