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 >
Wrap
Text File
|
1999-09-15
|
5KB
|
194 lines
// a = a b and c
A: FIGHTER
// b = d e and f
B: FIGHTER;FIGHTER2;EMPLACEMENT
Link: A,A
Link: B,A
Link: C,A
Link: D,B
Link: E,B
Link: F,B
Targets(B)
Start(A)
Set Priority(A,15)
Set Priority(B,15)
Set Priority(C,15)
// Are we three together?
If(ThreeTogether[A,B,C,10000]): Goto(SQUAD_TOGETHER)
If(CloseTogether[A,B,10000]): Goto(AB_TOGETHER)
If(CloseTogether[A,C,10000]): Goto(AC_TOGETHER)
If(CloseTogether[B,C,10000]): Goto(BC_TOGETHER)
// squad completely split.
//Tactic Message({A}:{}LETS GET THEM!)
Split(AD,1on1Fighter)
Split(BE,1on1Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(SQUAD_TOGETHER)
If(ThreeTogether[D,E,F,10000]): Goto(SQUAD_TOG_ENEMY_TOG)
If(CloseTogether[D,E,10000]): Goto(SQUAD_TOG_DE_TOG)
If(CloseTogether[D,F,10000]): Goto(SQUAD_TOG_DF_TOG)
If(CloseTogether[E,F,10000]): Goto(SQUAD_TOG_EF_TOG)
// enemy are completely split up.
//Tactic Message({A}:{}LETS GET THEM!)
Split(AD,1on1Fighter)
Split(BE,1on1Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(SQUAD_TOG_ENEMY_TOG)
//Tactic Message({A}:{}LETS GET THEM!)
Split(AD,1on1Fighter)
Split(BE,1on1Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(SQUAD_TOG_DE_TOG)
If(Closer[D,A,F]): Goto(SQUAD_TOG_TAKE_DE)
// trash the closest one!
Split(ABCF,3on1Fighter)
Goto(Adone)
Label(SQUAD_TOG_TAKE_DE)
//take the pair, they're closer.
Split(ABCDE,3on2Fighter)
Goto(Adone)
Label(SQUAD_TOG_DF_TOG)
If(Closer[D,A,E]): Goto(SQUAD_TOG_TAKE_DF)
// trash the closest one!
Split(ABCE,3on1Fighter)
Goto(Adone)
Label(SQUAD_TOG_TAKE_DF)
//take the pair, they're closer.
Split(ABCDF,3on2Fighter)
Goto(Adone)
Label(SQUAD_TOG_EF_TOG)
If(Closer[E,A,D]): Goto(SQUAD_TOG_TAKE_EF)
// trash the closest one!
Split(ABCD,3on1Fighter)
Goto(Adone)
Label(SQUAD_TOG_TAKE_EF)
//take the pair, they're closer.
Split(ABCEF,3on2Fighter)
Goto(Adone)
Label(AB_TOGETHER)
If(ThreeTogether[D,E,F,10000]): Goto(AB_TOG_ENEMY_TOG)
If(CloseTogether[D,E,10000]): Goto(AB_TOG_DE_TOG)
If(CloseTogether[D,F,10000]): Goto(AB_TOG_DF_TOG)
If(CloseTogether[E,F,10000]): Goto(AB_TOG_EF_TOG)
//Tactic Message({A}:{}LETS GET THEM!)
Split(AD,1on1Fighter)
Split(BE,1on1Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(AB_TOG_ENEMY_TOG)
Split(ABCDEF,3on3FighterGetTogether)
Goto(Adone)
Label(AB_TOG_DE_TOG)
//Tactic Message({A}:{C},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{B})
Split(ABDE,2on2Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(AB_TOG_DF_TOG)
//Tactic Message({A}:{C},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{B})
Split(ABDF,2on2Fighter)
Split(CE,1on1Fighter)
Goto(Adone)
Label(AB_TOG_EF_TOG)
//Tactic Message({A}:{C},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{B})
Split(ABEF,2on2Fighter)
Split(CD,1on1Fighter)
Goto(Adone)
Label(AC_TOGETHER)
If(ThreeTogether[D,E,F,10000]): Goto(AC_TOG_ENEMY_TOG)
If(CloseTogether[D,E,10000]): Goto(AC_TOG_DE_TOG)
If(CloseTogether[D,F,10000]): Goto(AC_TOG_DF_TOG)
If(CloseTogether[E,F,10000]): Goto(AC_TOG_EF_TOG)
//Tactic Message({A}:{}LETS GET THEM!)
Split(AD,1on1Fighter)
Split(BE,1on1Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(AC_TOG_ENEMY_TOG)
Split(ABCDEF,3on3FighterGetTogether)
Goto(Adone)
Label(AC_TOG_DE_TOG)
//Tactic Message({A}:{B},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{C})
Split(ACDE,2on2Fighter)
Split(BF,1on1Fighter)
Goto(Adone)
Label(AC_TOG_DF_TOG)
//Tactic Message({A}:{B},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{C})
Split(ACDF,2on2Fighter)
Split(BE,1on1Fighter)
Goto(Adone)
Label(AC_TOG_EF_TOG)
//Tactic Message({A}:{B},{}YOU HAVE YOUR TARGET.{}FOLLOW ME IN,{C})
Split(ACEF,2on2Fighter)
Split(BD,1on1Fighter)
Goto(Adone)
Label(BC_TOGETHER)
If(ThreeTogether[D,E,F,10000]): Goto(BC_TOG_ENEMY_TOG)
If(CloseTogether[D,E,10000]): Goto(BC_TOG_DE_TOG)
If(CloseTogether[D,F,10000]): Goto(BC_TOG_DF_TOG)
If(CloseTogether[E,F,10000]): Goto(BC_TOG_EF_TOG)
//Tactic Message({A}:{}LETS GET THEM!)
Split(AD,1on1Fighter)
Split(BE,1on1Fighter)
Split(CF,1on1Fighter)
Goto(Adone)
Label(BC_TOG_ENEMY_TOG)
Split(ABCDEF,3on3FighterGetTogether)
Goto(Adone)
Label(BC_TOG_DE_TOG)
//Tactic Message({A}:{B},{}GO WITH{C}.{}I HAVE MY TARGET.)
Split(BCDE,2on2Fighter)
Split(AF,1on1Fighter)
Goto(Adone)
Label(BC_TOG_DF_TOG)
//Tactic Message({A}:{B},{}GO WITH{C}.{}I HAVE MY TARGET.)
Split(BCDF,2on2Fighter)
Split(AE,1on1Fighter)
Goto(Adone)
Label(BC_TOG_EF_TOG)
//Tactic Message({A}:{B},{}GO WITH{C}.{}I HAVE MY TARGET.)
Split(BCEF,2on2Fighter)
Split(AD,1on1Fighter)
Goto(Adone)
Label(Adone)
Goto(Adone)
Start(B)
Label(Bdone)
Goto(Bdone)
Start(C)
Label(Cdone)
Goto(Cdone)