Home   Help Search Login Register  

Author Topic: JumpJet  (Read 604 times)

0 Members and 1 Guest are viewing this topic.

Cpl. Vagabond

  • Guest
JumpJet
« on: 18 Sep 2003, 12:00:23 »
can someone create me a script which goes along the lines of this

addaction ["Activate Jets", "activate.sqs"]

once activated it creates the jetpack heli-vehicle and puts the player inside it

remove the activate jets action and replace it with "Deactivate Jets" then the play is ejected and the jetpack deleted....arg lesson change..g2g

m21man

  • Guest
Re:JumpJet
« Reply #1 on: 18 Sep 2003, 21:45:10 »
Do you already have a unit/model for the jetpack?

max_killer_payne

  • Guest
Re:JumpJet
« Reply #2 on: 18 Sep 2003, 22:08:05 »
eazi mate, can b done with setvelocity command
just put in

man setvelocity [x,y,z]

x,y,z are values. How far left he goes, hoe high, how far, you can aslo put negative values.

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:JumpJet
« Reply #3 on: 18 Sep 2003, 22:41:24 »
the setvelocity is a trick one because the direction values change in different directions e.g

asic velocity
[X,Z,Y] this is just how the numbers are arranged so facing north (default compass direction , 0 ,the command

this setvelocity [10,10,10]

would send the vehicle 10speed to the right, 10 speed forward and 10speed UP whereas

this setvelocity[-10,-10,10

would send it 10speed to the left, 10 speed backwards and 10speed up
though take in mind using a - number for the verticle would send the vehicle crashing down (if its in the air, and sometimes when its not) to earth and a bug that if you set the verticle too HIGH it hits the ground and gets destroyed, i dunno why that happens though

Guide to the Directions Setvelocity send the vehicle , relative to vehicles Azimut Heading
FACING NORTH
Y=Verticle*  a normal # is UP a -# is DOWN
Z=Forward/backward, normal # is FORWARD, a -# is BACKWARD
X= -Left/+Right (-# is LEFT: normal # = RIGHT on vehicles facing north)

FACING EAST X with a normal # is forward X with -# is backward:  Z with normal # is LEFT, Z with - # is RIGHT

FACING WEST
X with a -# is FORWARD X with normal number is BACKWARDS:Z with normal # is RIGHT, Z with - # is LEFT

FACING SOUTH
Z with a -# is FORWARD, Z with normal # is BACKWARD: X with a -# is RIGHT and a normal # is LEFT.

hope that helps the people who wanna use setpos

N.B
* means that it is a constant, no matter which Compass direction the direction this sends the vehicle remains the same
-# = A MINUS NUMBER E.G. -100
normal # = a positive number e.g 100
[X,Y,Z] replace any letter with a number

hope that helps but its still tricky

Offline SickSidewinder

  • Members
  • *
  • I hump llamas
    • My New Site
Re:JumpJet
« Reply #4 on: 19 Sep 2003, 04:44:08 »
there si a jet pack addon created by Martin.  it works like a helo
My site
call Marge.
Re: Horror