home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 2000 January / CD-Gamer_2000-01_04_cd.bin / games / phoenix.exe / Tactics / Dogfight / 3on3Fighter.tac < prev    next >
Text File  |  1999-09-15  |  5KB  |  194 lines

  1. // a = a b and c
  2. A: FIGHTER
  3.  
  4. // b = d e and f
  5. B: FIGHTER;FIGHTER2;EMPLACEMENT
  6.  
  7. Link: A,A
  8. Link: B,A
  9. Link: C,A
  10. Link: D,B
  11. Link: E,B
  12. Link: F,B
  13.  
  14. Targets(B)
  15.  
  16. Start(A)
  17. Set Priority(A,15)
  18. Set Priority(B,15)
  19. Set Priority(C,15)
  20.  
  21. // Are we three together?
  22. If(ThreeTogether[A,B,C,10000]): Goto(SQUAD_TOGETHER)
  23. If(CloseTogether[A,B,10000]): Goto(AB_TOGETHER)
  24. If(CloseTogether[A,C,10000]): Goto(AC_TOGETHER)
  25. If(CloseTogether[B,C,10000]): Goto(BC_TOGETHER)
  26.     // squad completely split.
  27.     //Tactic Message({A}:{}LETS GET THEM!)
  28.     Split(AD,1on1Fighter)
  29.     Split(BE,1on1Fighter)
  30.     Split(CF,1on1Fighter)
  31.     Goto(Adone)
  32.  
  33.     Label(SQUAD_TOGETHER)
  34.     If(ThreeTogether[D,E,F,10000]): Goto(SQUAD_TOG_ENEMY_TOG)
  35.     If(CloseTogether[D,E,10000]): Goto(SQUAD_TOG_DE_TOG)
  36.     If(CloseTogether[D,F,10000]): Goto(SQUAD_TOG_DF_TOG)
  37.     If(CloseTogether[E,F,10000]): Goto(SQUAD_TOG_EF_TOG)
  38.         // enemy are completely split up.
  39.         //Tactic Message({A}:{}LETS GET THEM!)
  40.         Split(AD,1on1Fighter)
  41.         Split(BE,1on1Fighter)
  42.         Split(CF,1on1Fighter)
  43.         Goto(Adone)
  44.  
  45.         Label(SQUAD_TOG_ENEMY_TOG)
  46.         //Tactic Message({A}:{}LETS GET THEM!)
  47.         Split(AD,1on1Fighter)
  48.         Split(BE,1on1Fighter)
  49.         Split(CF,1on1Fighter)
  50.         Goto(Adone)
  51.  
  52.         Label(SQUAD_TOG_DE_TOG)
  53.         If(Closer[D,A,F]): Goto(SQUAD_TOG_TAKE_DE)
  54.             // trash the closest one!
  55.             Split(ABCF,3on1Fighter)
  56.             Goto(Adone)
  57.  
  58.             Label(SQUAD_TOG_TAKE_DE)
  59.             //take the pair, they're closer.
  60.             Split(ABCDE,3on2Fighter)
  61.             Goto(Adone)
  62.  
  63.         Label(SQUAD_TOG_DF_TOG)
  64.         If(Closer[D,A,E]): Goto(SQUAD_TOG_TAKE_DF)
  65.             // trash the closest one!
  66.             Split(ABCE,3on1Fighter)
  67.             Goto(Adone)
  68.  
  69.             Label(SQUAD_TOG_TAKE_DF)
  70.             //take the pair, they're closer.
  71.             Split(ABCDF,3on2Fighter)
  72.             Goto(Adone)
  73.  
  74.         Label(SQUAD_TOG_EF_TOG)
  75.         If(Closer[E,A,D]): Goto(SQUAD_TOG_TAKE_EF)
  76.             // trash the closest one!
  77.             Split(ABCD,3on1Fighter)
  78.             Goto(Adone)
  79.  
  80.             Label(SQUAD_TOG_TAKE_EF)
  81.             //take the pair, they're closer.
  82.             Split(ABCEF,3on2Fighter)
  83.             Goto(Adone)
  84.  
  85.     Label(AB_TOGETHER)
  86.     If(ThreeTogether[D,E,F,10000]): Goto(AB_TOG_ENEMY_TOG)
  87.     If(CloseTogether[D,E,10000]): Goto(AB_TOG_DE_TOG)
  88.     If(CloseTogether[D,F,10000]): Goto(AB_TOG_DF_TOG)
  89.     If(CloseTogether[E,F,10000]): Goto(AB_TOG_EF_TOG)
  90.         //Tactic Message({A}:{}LETS GET THEM!)
  91.         Split(AD,1on1Fighter)
  92.         Split(BE,1on1Fighter)
  93.         Split(CF,1on1Fighter)
  94.         Goto(Adone)
  95.  
  96.         Label(AB_TOG_ENEMY_TOG)
  97.         Split(ABCDEF,3on3FighterGetTogether)
  98.         Goto(Adone)
  99.  
  100.         Label(AB_TOG_DE_TOG)
  101.         //Tactic Message({A}:{C},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{B})
  102.         Split(ABDE,2on2Fighter)
  103.         Split(CF,1on1Fighter)
  104.         Goto(Adone)
  105.  
  106.         Label(AB_TOG_DF_TOG)
  107.         //Tactic Message({A}:{C},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{B})
  108.         Split(ABDF,2on2Fighter)
  109.         Split(CE,1on1Fighter)
  110.         Goto(Adone)
  111.  
  112.         Label(AB_TOG_EF_TOG)
  113.         //Tactic Message({A}:{C},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{B})
  114.         Split(ABEF,2on2Fighter)
  115.         Split(CD,1on1Fighter)
  116.         Goto(Adone)
  117.  
  118.     Label(AC_TOGETHER)
  119.     If(ThreeTogether[D,E,F,10000]): Goto(AC_TOG_ENEMY_TOG)
  120.     If(CloseTogether[D,E,10000]): Goto(AC_TOG_DE_TOG)
  121.     If(CloseTogether[D,F,10000]): Goto(AC_TOG_DF_TOG)
  122.     If(CloseTogether[E,F,10000]): Goto(AC_TOG_EF_TOG)
  123.         //Tactic Message({A}:{}LETS GET THEM!)
  124.         Split(AD,1on1Fighter)
  125.         Split(BE,1on1Fighter)
  126.         Split(CF,1on1Fighter)
  127.         Goto(Adone)
  128.  
  129.         Label(AC_TOG_ENEMY_TOG)
  130.         Split(ABCDEF,3on3FighterGetTogether)
  131.         Goto(Adone)
  132.  
  133.         Label(AC_TOG_DE_TOG)
  134.         //Tactic Message({A}:{B},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{C})
  135.         Split(ACDE,2on2Fighter)
  136.         Split(BF,1on1Fighter)
  137.         Goto(Adone)
  138.  
  139.         Label(AC_TOG_DF_TOG)
  140.         //Tactic Message({A}:{B},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{C})
  141.         Split(ACDF,2on2Fighter)
  142.         Split(BE,1on1Fighter)
  143.         Goto(Adone)
  144.  
  145.         Label(AC_TOG_EF_TOG)
  146.         //Tactic Message({A}:{B},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{C})
  147.         Split(ACEF,2on2Fighter)
  148.         Split(BD,1on1Fighter)
  149.         Goto(Adone)
  150.  
  151.     Label(BC_TOGETHER)
  152.     If(ThreeTogether[D,E,F,10000]): Goto(BC_TOG_ENEMY_TOG)
  153.     If(CloseTogether[D,E,10000]): Goto(BC_TOG_DE_TOG)
  154.     If(CloseTogether[D,F,10000]): Goto(BC_TOG_DF_TOG)
  155.     If(CloseTogether[E,F,10000]): Goto(BC_TOG_EF_TOG)
  156.         //Tactic Message({A}:{}LETS GET THEM!)
  157.         Split(AD,1on1Fighter)
  158.         Split(BE,1on1Fighter)
  159.         Split(CF,1on1Fighter)
  160.         Goto(Adone)
  161.  
  162.         Label(BC_TOG_ENEMY_TOG)
  163.         Split(ABCDEF,3on3FighterGetTogether)
  164.         Goto(Adone)
  165.  
  166.         Label(BC_TOG_DE_TOG)
  167.         //Tactic Message({A}:{B},{}GO WITH{C}.{}I HAVE MY TARGET.)
  168.         Split(BCDE,2on2Fighter)
  169.         Split(AF,1on1Fighter)
  170.         Goto(Adone)
  171.  
  172.         Label(BC_TOG_DF_TOG)
  173.         //Tactic Message({A}:{B},{}GO WITH{C}.{}I HAVE MY TARGET.)
  174.         Split(BCDF,2on2Fighter)
  175.         Split(AE,1on1Fighter)
  176.         Goto(Adone)
  177.  
  178.         Label(BC_TOG_EF_TOG)
  179.         //Tactic Message({A}:{B},{}GO WITH{C}.{}I HAVE MY TARGET.)
  180.         Split(BCEF,2on2Fighter)
  181.         Split(AD,1on1Fighter)
  182.         Goto(Adone)
  183.  
  184. Label(Adone)
  185. Goto(Adone)
  186.  
  187. Start(B)
  188.  
  189. Label(Bdone)
  190. Goto(Bdone)
  191.  
  192. Start(C)
  193. Label(Cdone)
  194. Goto(Cdone)