Home   Help Search Login Register  

Author Topic: Air Bursts  (Read 536 times)

0 Members and 1 Guest are viewing this topic.

padimiite

  • Guest
Air Bursts
« on: 31 Dec 2002, 18:17:11 »
Can I make explosions appear in mid air without using something like an exploding machinegun? Just an explosion, nothing in the middle blowing up.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Air Bursts
« Reply #1 on: 31 Dec 2002, 18:19:32 »
i think there is a flak script at the editors depot...

if not i know Toadlife did that in his Lojac mission so maybe he will know.
Proud Member of the Volunteer Commando Battalion

O Neil

  • Guest
Re:Air Bursts
« Reply #2 on: 01 Jan 2003, 03:13:18 »
Hey

I think you could try a cam create with the gamelogic.

Try putting down a gamelogic and in the init feild write:

This setpos [(getpos this select 0),(getpos this select 1), 20]

Then make a trigger activated by gamelogic, then type this in the activation feild:

flare1="shell125" camcreate[getpos dude select 0, getpos dude select 1,50]

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Air Bursts
« Reply #3 on: 01 Jan 2003, 03:54:23 »
Couple of points.

Put in a game logic, give it a name and setpos it up into the air.

GameLogicName Setpos [Getpos GameLogicName Select 0, Getpos GameLogicName Select 1, 50 ]

This puts a game logic 50 metres into the air.  Change the number at the end for the desired height.

Then when you want your explosion;

bomb="shell125" camcreate (Getpos GameLogicName)
bomb="shell125" camcreate (Getpos GameLogicName)

Note that isnt a typo, you really do need to create two bombs to make a mid air explosion.
 

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Re:Air Bursts
« Reply #4 on: 01 Jan 2003, 12:47:52 »
one point from me.

If you camcreate a bomb in mid air, the shell will actually appear, fall and detonate on impact which is why you needd two bombs to hit each other and go bang.
« Last Edit: 01 Jan 2003, 12:49:51 by Davies1 »
Beer is the fuel for the Heavy Metal Engine.