Jump to content
Sign in to follow this  
konyo

A-10 Flyby, Just dropping a bomb?

Recommended Posts

Hi all, How would i get a A-10 to fly over head, and just drop a bomb on truck load of enemy people and tanks and never return to the battle again? Because when i try, it just fires bullets and keeps returning? So dose anyone know how to get it to drop a bomb only?

Thanks :)

Share this post


Link to post
Share on other sites

did you set waypoints for it?

also look into removeAllWeapons, addWeapon, for the bomb you want.

lookup script LandAt:

(name of your plane) landAt (airport ID), to get it to not come back.

set up a condition and setDamage 1 for your trucks and tanks.

Edited by andromedagalaxe

Share this post


Link to post
Share on other sites
did you set waypoints for it?

also look into removeAllWeapons, addWeapon, for the bomb you want.

lookup script LandAt:

(name of your plane) landAt (airport ID), to get it to not come back.

set up a condition and setDamage 1 for your trucks and tanks.

Thanks, Yeh i did set a waypoint for it, but im not understanding the removeAllWeapons, So i type that in too the A-10's init box, and addWeapon GBU-12? Would that work? Then would i just stick to its normal waypoint, will he fly over and drop a bomb on the group of people?

selectWeapon / delete all weapons but the bombs and then waitUntil !alive target and then http://community.bistudio.com/wiki/deleteVehicle should work I guess.

waitUntill !alive target? Would i have to target that then? :confused:

Share this post


Link to post
Share on other sites

The waitUntil !alive target was a way to delete the a-10 after the attack. Basically you could waitUntil the target is dead and then until the a-10 is out of a specific range and then just deleteVehicle it. Just to make sure it doesn't come back.

Share this post


Link to post
Share on other sites
Thanks, Yeh i did set a waypoint for it, but im not understanding the removeAllWeapons, So i type that in too the A-10's init box, and addWeapon GBU-12? Would that work? Then would i just stick to its normal waypoint, will he fly over and drop a bomb on the group of people?

yes, in the init field. make sure to name your units (i've called them plane_name and tank_name)

removeAllWeapons plane_name;

plane_name addWeapon "GBU-12";

plane_name doTarget tank_name;

(i haven't tested this, but I think it would work)

you can even add a doFire command.

if you want to make sure the target is destroyed, you can add a trigger that ensures the target is destroyed with setDamage command (may look funny if the bomb misses by a mile)!.

As for the waypoint, you should be able to make it not come back in a variety of ways. I've already mentioned doLand, but you should be able to set waypoints for it and delete it once it gets far away as the others have shown. I believe "waitUntil !alive target" will delete the plane right when the tank is killed, so you might want to go another route or set a time condition for that.

poke around here for more options: http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2

Edited by andromedagalaxe

Share this post


Link to post
Share on other sites
The waitUntil !alive target was a way to delete the a-10 after the attack. Basically you could waitUntil the target is dead and then until the a-10 is out of a specific range and then just deleteVehicle it. Just to make sure it doesn't come back.
yes, in the init field. make sure to name your units (i've called them plane_name and tank_name)

removeAllWeapons plane_name;

plane_name addWeapon "GBU-12";

plane_name doTarget tank_name;

(i haven't tested this, but I think it would work)

you can even add a doFire command.

if you want to make sure the target is destroyed, you can add a trigger that ensures the target is destroyed with setDamage command (may look funny if the bomb misses by a mile)!.

As for the waypoint, you should be able to make it not come back in a variety of ways. I've already mentioned doLand, but you should be able to set waypoints for it and delete it once it gets far away as the others have shown. I believe "waitUntil !alive target" will delete the plane right when the tank is killed, so you might want to go another route or set a time condition for that.

poke around here for more options: http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2

Ok thanks, ill give them a go when i get back from work, and let you know how it went :)

Share this post


Link to post
Share on other sites

I was playing around in the editor this morning and decided to test my own advice. had trouble with my method due to vehicles behaving differently than men.

this will work to give your plane the correct weapon (set name as a10)

a10 setVehicleAmmo 0; a10 addMagazine "4Rnd_GBU12"; I couldn't get it to engage its target though.

Share this post


Link to post
Share on other sites
I was playing around in the editor this morning and decided to test my own advice. had trouble with my method due to vehicles behaving differently than men.

this will work to give your plane the correct weapon (set name as a10)

a10 setVehicleAmmo 0; a10 addMagazine "4Rnd_GBU12"; I couldn't get it to engage its target though.

Ok, ill have to set a trigger for it, get it to play exploading sound, and setdamage to the tanks and jeeps.

Edit - Just tryed it and its works fine! Check out the video i just done of it ;)

Click for youtube video

Thanks for all the help guys by the way, could not of done it without you all :)

Edited by konyo

Share this post


Link to post
Share on other sites

Tried to spawn bombs over the cars instead? Makes it cooler than just setDamage on it.

Share this post


Link to post
Share on other sites
Tried to spawn bombs over the cars instead? Makes it cooler than just setDamage on it.

How can you spawn bombs over the helicopters tho? :confused:

Share this post


Link to post
Share on other sites

Put trigger, activated by blufor, and in the triggers activate box i added

hind1 setDamage 1; hind2 setDamage 1;

Thats what i added.

Share this post


Link to post
Share on other sites
How can you spawn bombs over the helicopters tho? :confused:

Touché I thought we were talking about ground targets only.

Share this post


Link to post
Share on other sites

How will you do that Joshii?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×