air burst ordinance

Ask questions, discuss ideas, get answers
Post Reply
User avatar
12gaugeCharlee
Posts: 4
Joined: Thu Jan 01, 2015 11:17 pm

air burst ordinance

Post by 12gaugeCharlee »

I was wondering if it was possible to make the M203 and GP30's projectile explode in mid air near a enemy? Any help would be awesome.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: air burst ordinance

Post by Swaffy »

Two ideas...

The flak in this game already does that. They explode near enemy vehicles. But make sure the projectile has 400 or lower muzzle velocity.

Also, you can make it a timed projectile like the grenades.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
12gaugeCharlee
Posts: 4
Joined: Thu Jan 01, 2015 11:17 pm

Re: air burst ordinance

Post by 12gaugeCharlee »

Swaffy wrote:Two ideas...

The flak in this game already does that. They explode near enemy vehicles. But make sure the projectile has 400 or lower muzzle velocity.

Also, you can make it a timed projectile like the grenades.
How would I change it to explode near a infantry person. but I like the flak idea. Thank you.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: air burst ordinance

Post by Swaffy »

Exploding near infantry is a whole different mess. But it's easy to make explode near vehicles, just take a look at the code for the AA gun projectile.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply