OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jakerod on 15 Sep 2002, 19:36:36

Title: Shilka
Post by: Jakerod on 15 Sep 2002, 19:36:36
Hey how can i make a shilka fire into the air or an m2 or something... Trying to simulate a shilka shooting at planes flying high in the air.
Title: Re:Shilka
Post by: seanver on 15 Sep 2002, 21:06:40
Try

shilkaname fire ["ZsuCannon"]
Title: Re:Shilka
Post by: Artak on 15 Sep 2002, 22:27:34
Well I think it's impossible but what do I know..  ::)

At least it's the hardest thing to do because AI doesn't like to fire anything but real targets. Even a GL won't do for them.

I found this in the FAQ
-----------
QUESTION:Anyhow I was wondering if there is a way to create an explosion in midair?
ANSWER: If you want to get ordinance exploding in mid air, try camcreateing two of the ordinance at exactly the same position. Eg:

_big_bang = _ordnance camCreate [x1,y1,z1]
_big_bang = _ordnance camCreate [x1,y1,z1]

Due to the two shells being in the same place, they will explode. Looks good as flak, especially at night.
-----------
A neat trick to use but I don't have anything concrete on your question, sorry.
Title: Re:Shilka
Post by: Fishion on 15 Sep 2002, 22:31:57
Have you guys thought about putting an M2 (unmanned)
up in the air and using
shilka dofire M2
???
Title: Re:Shilka
Post by: Jakerod on 16 Sep 2002, 00:02:13
Thank you problem solved... didnt think of that...i will also try that flak thing