home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 November
/
PowerPlay1198.bin
/
Demos
/
ArmyMen.exe
/
Maps
/
alp2units_1.txt
< prev
next >
Wrap
Text File
|
1998-04-15
|
4KB
|
136 lines
// ai-controlled unit support for multiplayer alpine2 missions
// ai-controlled unit support for multiplayer alpine2 missions
IF startup THEN
TRIGGER setupgreen,
TRIGGER setuptan,
TRIGGER setupblue,
TRIGGER setupgray
IF setupgreen THEN
SETAICONTROL GreenGrenadier1,
SETAICONTROL GreenBazooka1,
SETAICONTROL GreenRifle1,
SETAICONTROL GreenRifle2,
SETAICONTROL GreenRifle3,
SETAICONTROL GreenRifle4,
SETAICONTROL GreenRifle5,
ORDER GreenGrenadier1 GOTO GreenGrenadier1 INMODE KNEELFIRE THEN ATMODE
NESTFIRE,
ORDER GreenBazooka1 GOTO GreenBazooka1 INMODE KNEELFIRE THEN ATMODE
KNEELFIRE,
ORDER GreenRifle1 GOTO GreenRifle1 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GreenRifle2 GOTO GreenRifle2 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GreenRifle3 GOTO GreenRifle3 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GreenRifle4 GOTO GreenRifle4 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GreenRifle5 GOTO GreenRifle5 INMODE IGNORE THEN ATMODE NESTFIRE,
TRIGGER gsmedtime
IF setuptan THEN
SETAICONTROL TanGrenadier1,
SETAICONTROL TanBazooka1,
SETAICONTROL TanRifle1,
SETAICONTROL TanRifle2,
SETAICONTROL TanRifle3,
SETAICONTROL TanRifle4,
SETAICONTROL TanRifle5,
ORDER TanGrenadier1 GOTO TanGrenadier1 INMODE KNEELFIRE THEN ATMODE
NESTFIRE,
ORDER TanBazooka1 GOTO TanBazooka1 INMODE KNEELFIRE THEN ATMODE
KNEELFIRE,
ORDER TanRifle1 GOTO TanRifle1 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER TanRifle2 GOTO TanRifle2 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER TanRifle3 GOTO TanRifle3 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER TanRifle4 GOTO TanRifle4 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER TanRifle5 GOTO TanRifle5 INMODE IGNORE THEN ATMODE NESTFIRE,
TRIGGER tsmedtime
IF setupblue THEN
SETAICONTROL BlueGrenadier1,
SETAICONTROL BlueBazooka1,
SETAICONTROL BlueRifle1,
SETAICONTROL BlueRifle2,
SETAICONTROL BlueRifle3,
SETAICONTROL BlueRifle4,
SETAICONTROL BlueRifle5,
ORDER BlueGrenadier1 GOTO BlueGrenadier1 INMODE KNEELFIRE THEN ATMODE
NESTFIRE,
ORDER BlueBazooka1 GOTO BlueBazooka1 INMODE KNEELFIRE THEN ATMODE
KNEELFIRE,
ORDER BlueRifle1 GOTO BlueRifle1 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER BlueRifle2 GOTO BlueRifle2 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER BlueRifle3 GOTO BlueRifle3 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER BlueRifle4 GOTO BlueRifle4 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER BlueRifle5 GOTO BlueRifle5 INMODE IGNORE THEN ATMODE NESTFIRE,
TRIGGER bsmedtime
IF setupgray THEN
SETAICONTROL GrayGrenadier1,
SETAICONTROL GrayBazooka1,
SETAICONTROL GrayRifle1,
SETAICONTROL GrayRifle2,
SETAICONTROL GrayRifle3,
SETAICONTROL GrayRifle4,
SETAICONTROL GrayRifle5,
ORDER GrayGrenadier1 GOTO GrayGrenadier1 INMODE KNEELFIRE THEN ATMODE
NESTFIRE,
ORDER GrayBazooka1 GOTO GrayBazooka1 INMODE KNEELFIRE THEN ATMODE
KNEELFIRE,
ORDER GrayRifle1 GOTO GrayRifle1 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GrayRifle2 GOTO GrayRifle2 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GrayRifle3 GOTO GrayRifle3 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GrayRifle4 GOTO GrayRifle4 INMODE IGNORE THEN ATMODE NESTFIRE,
ORDER GrayRifle5 GOTO GrayRifle5 INMODE IGNORE THEN ATMODE NESTFIRE,
TRIGGER ysmedtime
PAD gsmedpad 100 GREEN SARGE > 0
PAD gumedpad 100 GREEN UNIT
PAD tsmedpad 101 TAN SARGE > 0
PAD tumedpad 101 TAN UNIT
PAD bsmedpad 102 BLUE SARGE > 0
PAD bumedpad 102 BLUE UNIT
PAD ysmedpad 103 GRAY SARGE > 0
PAD yumedpad 103 GRAY UNIT
// enable mash tents
IF startup THEN TRIGGERDELAY 0.1 setmash
IF setmash THEN
TRIGGER greenmashready,
TRIGGER tanmashready,
TRIGGER bluemashready,
TRIGGER graymashready
IF on_gsmedpad AFTER off_gsmedpad AND gsmedtime AFTER NULL
AND greenmashready AFTER killed_greenmash THEN
HEAL ME 10,
TRIGGERDELAY 0.5 gsmedtime
IF on_tsmedpad AFTER off_tsmedpad AND tsmedtime AFTER NULL
AND tanmashready AFTER killed_tanmash THEN
HEAL ME 10,
TRIGGERDELAY 0.5 tsmedtime
IF on_bsmedpad AFTER off_bsmedpad AND bsmedtime AFTER NULL
AND bluemashready AFTER killed_bluemash THEN
HEAL ME 10,
TRIGGERDELAY 0.5 bsmedtime
IF on_ysmedpad AFTER off_ysmedpad AND ysmedtime AFTER NULL
AND graymashready AFTER killed_graymash THEN
HEAL ME 10,
TRIGGERDELAY 0.5 ysmedtime
IF on_gumedpad BUTNOT killed_greenmash THEN
HEAL ME 100
IF on_bumedpad BUTNOT killed_bluemash THEN
HEAL ME 100
IF on_tumedpad BUTNOT killed_tanmash THEN
HEAL ME 100
IF on_yumedpad BUTNOT killed_graymash THEN
HEAL ME 100