Home   Help Search Login Register  

Author Topic: air support plan  (Read 462 times)

0 Members and 1 Guest are viewing this topic.

gadolinite

  • Guest
air support plan
« on: 26 Apr 2003, 17:38:48 »
 8)I have a plan I need help putting into action.
On a radio call (a trigger), an A-10 takes off (using waypoints on taxiways and the airstrip), the A-10 will then stick around the player (circle around) until an enemy is spotted, once all of the maverick missiles are used up, the A-10 will turn on it's landing autopilot and land at the field it came from.  After it lands a re-arm truck will re-fill the A-10.  After re-arming the A-10 will be ready to repeat this procedure if re-called.  

How would you go about setting this so-called complex situation up?  

 :)This is tough, so I give a mega thanx to anyone of gives useful information :)

Offline cornholio

  • Members
  • *
  • Ever eat a llama?
Re:air support plan
« Reply #1 on: 27 Apr 2003, 10:25:38 »
Actually,

you can do all that and more with this nice piece of work by snYpir...

http://www.ofpec.com/editors/spt_pack.php


Try doing the cut scenes showing landing, re-fueling and re-arming seperate from the mission itself. (unless it's essential for the mission of course)

Check out "Sound and Cutscenes"

« Last Edit: 27 Apr 2003, 10:26:13 by cornholio »
Check out  "Eye of the Pig"
Mission download: http://www.freewebs.com/dikked/

CrashnBurn

  • Guest
Re:air support plan
« Reply #2 on: 27 Apr 2003, 11:09:52 »
First off, you don't need any waypoints on the airfield. AI planes are coded to navigate the taxiways and runways and are going to ignore your waypoints anyways. Put your first waypoint where you want the plane to fly to after it takes off. As for the ammo refill, since nobody is going to see it rearm, just have it fly off for a while and rearm it with a trigger. Stick a gamelogic off in the corner of the map somewhere (give it a name), and when the mavericks are gone, order it to fly to the gamelogic with a trigger-

condition-
myplane ammo "MaverickLauncher" == 0 && (alive myplane)

on activation
myplane domove getpos mygamelogic


Now to rearm it, use another trigger-

condition-
myplane distance mygamelogic < 100 && (alive myplane)

on activation-
myplane addmagazine "MaverickLauncher"


Once the plane reaches the gamelogic, it will return to it's waypoints without any additional commands, and it'll be rearmed. Make both triggers 0 x 0 radius and make them both repeating. This is a very easy way to accomplish the task, although there are others...Or you could use the support pack like conrholio said.