Home   Help Search Login Register  

Author Topic: Rotation about the X-Axis? Please help if you can  (Read 577 times)

0 Members and 1 Guest are viewing this topic.

MACRO

  • Guest
Rotation about the X-Axis? Please help if you can
« on: 18 Apr 2003, 19:48:04 »
Hi

I am trying to make an arty script. I know that there are several really good ones out there but I am trying to make this mainly for my own learning.

What I am trying to do is simulate incomming rocket fire using camCreate to create a shed load of hellfires at high altitude above a target.

This is where I have the problem as they all just fly off into the distance.

Is there any command that I can put into the actual code of an object so that I can make a special type of rocket as an addon that when spawned will be automatically pointing at the ground.

I am basically trying to make it look like MLRS fire.

Any help is greatly appreciated.

MACRO

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Rotation about the X-Axis? Please help if you can
« Reply #1 on: 18 Apr 2003, 21:08:36 »
setVelocity

setDir

might help.   I think there might be an MLRS script somewhere: download, learn and improve.   In any case, read the Command ref from beginning to end, like a book.    You won't regret it.
Plenty of reviewed ArmA missions for you to play

Rubble_Maker

  • Guest
Re:Rotation about the X-Axis? Please help if you can
« Reply #2 on: 22 Apr 2003, 07:30:49 »
best way is to make your own addon which defines a custom ammo for the rockets. Set tustTime=0 to switch on LGB simulation (thx 2 Jostapo for pointing that out), then spawn them high above ground and use SetVelocity to aim them properly.

With normal rockets I don't think SetVelocity will do anything but change the map heading; at least when I tried it did not change pitch/roll.