Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: AIRSTRIKES  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

TAPNKEGS

  • Guest
AIRSTRIKES
« on: 25 Aug 2002, 19:07:24 »
     Anyone have any good links or SIMPLE commands to use for airstrikes. I have some jets that will be doing some low level runs and need the actual explosions and stuff for the strike.
   thanks for any advice

Offline Gastovski

  • Members
  • *
  • #loop; Gastovski setdammage 0; ~0.01; goto "loop";
    • Falklands Mod
Re:AIRSTRIKES
« Reply #1 on: 25 Aug 2002, 23:08:35 »
Only problem with that mate is that the explosions from the bombs will knock the plane out of the air if it is low!!!

Otherwise you can make a a10 FLY IN AND DROP SOME lgb'S on a game logic...

Code: [Select]
_plane = a10
_target = target
#start
_distance = getdistance _target
_plane dotarget _target
?_distance<50:goto "dropbombs"
goto "start"
_plane dofire _target
exit

Should work but I can't check it at the mo...

Nasty Buttler

  • Guest
Re:AIRSTRIKES
« Reply #2 on: 27 Aug 2002, 15:17:05 »
Code:_plane = a10
_target = target
#start
_distance = getdistance _target
_plane dotarget _target
?_distance<50:goto "dropbombs"
goto "start"
_plane dofire _target
exit
 

u should put a pause in there or it will chew up all your cpu cycles

Code:_plane = a10
_target = target
#start
_distance = getdistance _target
_plane dotarget _target
~1
?_distance<70:goto "dropbombs"
goto "start"
_plane dofire _target
exit
 

i also increased the distance to aliviate the time delay

sniper_c1

  • Guest
Re:AIRSTRIKES
« Reply #3 on: 30 Aug 2002, 20:53:43 »
You can also put the variables custmizable, instead of using defined names  ;)
Code:
_plane =  this select 0
_target = this select 1
#start
_distance = getdistance _target
_plane dotarget _target
~1
?_distance<70:goto "dropbombs"
goto "start"
_plane dofire _target
exit

That way he can put them on the Init line, making it more user friendly :)

sniper_c1

  • Guest
Re:AIRSTRIKES
« Reply #4 on: 30 Aug 2002, 23:23:07 »
Oh and i missed the link :)
_plane =  this select 0
_target = this select 1
#start
_distance = getdistance _target
_plane dotarget _target
~1
?_distance<70:goto "dropbombs"
~1
goto "start"
#dropbombs
_plane dofire _target
exit

There that script should work :)

Offline madmedic

  • Members
  • *
  • You can run.....But you'll just die tired.
Re:AIRSTRIKES
« Reply #5 on: 01 Sep 2002, 08:00:36 »
I think that Todlife Airstrike script is AWESOME, it acually lets the player specify targets to bomb, and call in an airstrike by a plane that is flying a holding pattern somewhere on the map.
And the plane lays down a nice trail of bombs on the area specified by the player.
Then you can call off the strike, and pick a new target,...Or let the bomber keep making runs till he is out of ordinance...
very cool ;)