Home   Help Search Login Register  

Author Topic: How to make a shell to explode in the air?  (Read 847 times)

0 Members and 1 Guest are viewing this topic.

HiReZ

  • Guest
How to make a shell to explode in the air?
« on: 21 Jun 2003, 12:05:38 »
I use CamCreate command to create eg. Shell125 or other on certain height. I want it to explode there, before hitting ground. How to solve this problem in v1.46 ?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to make a shell to explode in the air?
« Reply #1 on: 21 Jun 2003, 13:18:55 »
shels wil explode wen dey hit somin ;D

so create under shel nd make it hit it

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

HiReZ

  • Guest
Re:How to make a shell to explode in the air?
« Reply #2 on: 21 Jun 2003, 15:09:02 »
Ok, thanks a lot. It fires just fine  :gunman:

I just made new, simple AA artillery script, inspired by Johan Gustaffson's script.

An object (eg. marker) is needed to use it.
Init field: this exec "AAartillery2.sqs"

File is attached

First section is for edition.
Meaning of constants:

_Shell  - ammo name you want to use
_Centre  - this is not for edition ;)
_area  - "radius" of  hot zone (in truth it is rectangular)
_minZ  - height of bottom side of hot zone (it is 3d zone :D )
_maxZ  - height of upper side of hot zone
_freq  - frequency of fireing (eg. 0.5)
_rounds  - total number of rounds to be fired

Discover beauty in simplicity! :D