home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Igromania 1999 August
/
Igromania_1999-08.iso
/
Demo
/
JanesFleetCommand
/
data1.cab
/
Doctrines_Files
/
DippingSonar.txt
< prev
next >
Wrap
Text File
|
1999-07-22
|
814b
|
50 lines
TITLE Helo Dipping Sonar Search
; sub prosecution tactic
; uses timer 3 for dipping search
; uses timer 4 for reattack delay
RULE Engage Only During Search
IF ORDER = Search THEN
RULE Close
IF RNG > 1950 THEN
PRIORITY 251
STEER_TO
MAX_SPD
SETALT 300
SET_TIMER 3 -1
SENSOR "Active Sonar" 0
END
RULE Dip
IF RNG < 1950 AND TIMER3 = -1 THEN
DEBUG "Starting prosecution dip"
SENSOR "Active Sonar" 1
SET_TIMER 3 300
PRIORITY 251
PERSIST 300
SETSPD 0
SETALT 45
END
RULE Stop Dip
IF TIMER3 = 0 THEN
DEBUG "Stopping prosecution dip\n"
PRIORITY 251
TACTIC_CENTER
MAX_SPD
SETALT 300
SENSOR "Active Sonar" 0
END
RULE Engage
IF RNG < 5000 AND AGE < 20 AND TIMER4 = -1 THEN
DEBUG "Dipping attack\n"
PRIORITY 251
ATTACK_BEST
SET_TIMER 4 300
END
END