home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hráč 1997 December
/
Hrac_16_1997-12_cd.bin
/
DEMA
/
INCOMING
/
INCOMING.EXE
/
_SETUP.1
/
mission4.mdl
< prev
next >
Wrap
Text File
|
1997-10-16
|
51KB
|
2,706 lines
drag_coeff 0.01
gravity 2.2
;-------------------------------------------------------
create hero "plfight"
label "plfight"
position 28317.6 -78 14188.3
forward -0.79 0 -0.61 up 0 1 0
armed_with "GREEN LASER" rate 4
secondary_armed_with "ENERGY 1" rate 16 rounds 20
task
wait_until flag 0 set
playercontrols
position 28317.6 -78 14188.3
end
create "mobspgun"
label "laser1"
position 23624 -553 15265.9
forward 0.8 0 0.5 up 0 1 0
armed_with "GREEN LASER" rate 3
inert
create "mobsprack"
position 23700 -524 14108.9
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 32
task
slave_to "laser1"
end
create "mobspgun"
label "laser2"
position 34427.6 -1543 13849.6
forward 0.5 0 0.8 up 0 1 0
armed_with "GREEN LASER" rate 3
inert
create "mobsprack"
label "P8rack"
position 34427.6 -1514 12737.6
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 32
; task
; slave_to "laser2"
; end
;-----------------small shields---------------------------
createstatic "sshield"
no_colide "ssgen1"
die_with "ssgen1"
position 29480.2 on ground 37826
createstatic "sshield"
no_colide "ssgen3"
die_with "ssgen3"
position 40500.7 on ground 53144.5
createstatic "sshield"
no_colide "ssgen4"
die_with "ssgen4"
position 39676.7 on ground 50949.5
createstatic "sshield"
no_colide "ssgen5"
die_with "ssgen5"
position 38239.7 on ground 52529.5
createstatic "sshield"
no_colide "ssgen6"
die_with "ssgen6"
position 47237 on ground 23138
createstatic "sshield"
no_colide "ssgen7"
die_with "ssgen7"
position 48237 on ground 20938
createstatic "sshield"
no_colide "ssgen8"
die_with "ssgen8"
position 46237 on ground 20938
;-----------------big shields---------------------------
createstatic "bshield"
no_colide "bsgen1"
die_with "bsgen1"
position 31933.8 on ground 41342.7
createstatic "bshield"
no_colide "bsgen2"
die_with "bsgen4"
position 31933.8 on ground 34102.7
createstatic "bshield"
no_colide "bsgen3"
die_with "bsgen3"
position 34921.8 on ground 37720.7
createstatic "bshield"
no_colide "bsgen4"
die_with "bsgen2"
position 20193.7 on ground 53659.2
createstatic "vbshield"
no_colide "bsgen5"
die_with "bsgen5"
position 48847.8 on ground 53587.7
createstatic "bshield"
no_colide "bsgen7"
die_with "bsgen7"
position 44309.5 on ground 47462.7
createstatic "bshield"
no_colide "bsgen8"
die_with "bsgen8"
position 49081 on ground 36238.2
set_inert "bsgen5"
set_inert "bsgen8"
set_inert "bsgen7"
set_inert "ssgen3"
set_inert "ssgen4"
set_inert "ssgen5"
set_inert "ssgen6"
set_inert "ssgen7"
set_inert "ssgen8"
;-------------------------------------------------------
;PHASE 1
;-------------------------------------------------------
phasestart
clear_flag all
critical_group "ccentre"
phasemessage 60 60
playcdslow
hud off
camera
position 600 -300 -600 relative to "hero"
pointing_at "hero"
dolly 0
pause 1
procedure "P1e"
set_waypoint nearest "aland"
end_procedure
procedure "P1a"
create "atank"
position 19067.7 on ground 22866.4
towards "hero"
armed_with "ROCKET 1" rate 64
task
goto 23950.8 on ground 17849.9
do
goto 26130.4 on ground 14266.9
shoot "command4"
goto 28348.1 on ground 13026.8
shoot "command3"
goto 27681.8 on ground 10495.8
shoot "command1"
goto 25091.8 on ground 11318.9
shoot "command2"
forever
end
pause 75
end_procedure terminate after 4 loops
pause 40
set_flag 0
camera cockpit
#==================================
procedure "P1b"
wait_until number_of "aair"<2
create "lfighter"
position 100 -3000 15000 relative toxz "hero"
towards "hero"
armed_with "RED LASER" rate 8
task
attack "hero"
break_task_if number_of "aland"=0
attack "command1"
attack "hero"
attack "command2"
attack "hero"
attack "command3"
attack "hero"
attack "command4"
end
pause 100
end_procedure terminate after 4 loops
procedure "P1c"
wait_until number_of "fighters"=0
create "hfighter"
position -5000 -3700 17000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
goto 0 -2000 0 relative to closest "aland"
do
patrol
point 0 -2000 0 relative to closest "aland"
break_task_if distance_between me and "hero" <4000
or number_of "aland"=0
stop
shoot "hero"
until number_of "aland" = 0
attack "hero"
end
pause 100
do_procedure_until number_of "aland" = 0
wait_until proc "P1a" terminated
wait_until number_of "aland" = 0
end_procedure "P1e"
procedure "P1e"
set_waypoint "command1"
wait_until "command1" destroyed
set_waypoint "command2"
wait_until "command2" destroyed
set_waypoint "command3"
wait_until "command3" destroyed
set_waypoint "command4"
wait_until "command4" destroyed
clear_waypoint
end_procedure
#==================================
phasemessage 61 60
wait_until proc "P1b" terminated
wait_until proc "P1c" terminated
wait_until number_of "fighters" = 0
wait_until number_of "aair" = 0
end_procedure "P1e"
clear_waypoint
#==================================
phasemessage 91 60
uncritical_group "ccentre"
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
set_inert "plfight"
;-------------------------------------------------------
;PHASE 2
;-------------------------------------------------------
phasestart
clear_flag all
phasemessage 2 60
create "hovertank"
label "P2hero"
position 24871 on ground 10309.6
forward 0.57 0 0.82 up 0 1 0
armed_with "RED LASER" rate 4
secondary_armed_with "TRACER SHOT 1" rate 32 rounds 20
switch_hero "P2hero"
task
wait_until flag 0 set
playercontrols
break_task_if flag 10 set
end
create "bug"
label "P2bug"
position 27227.2 -500 14517.8
towards "hero"
armed_with "GREEN LASER" rate 4
secondary_armed_with "DESIGNATOR" rate 128 rounds 20
inert
task
do
patrol
point 1000 -1800 0 relative to "hero"
break_task_if distance_between me and closest "aair" <6000
stop
shoot group "aair"
until flag 10 set
goto 0 -2000 0 relative to "hero"
end
create "alnadubs"
label "gun3"
position 26882.1 on ground 40742.8
forward 0 0 -1 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 16
task
attack
end
create "alnadubs"
label "gun8"
position 25026.1 on ground 49973.9
forward 0 0 1 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 16
task
attack
end
hud off
camera
position 600 -300 -600 relative to "hero"
pointing_at "hero"
dolly 0
pause 1
pause 40
set_flag 0
camera cockpit
#==================================
create "facraft"
position 22660.2 on ground 28148.3
towards "hero"
armed_with "RED LASER" rate 4
task
wait_until distance_between me and "hero" < 7000
attack "hero"
end
create "facraft"
position 23689.4 on ground 22977
towards "hero"
armed_with "TRACER SHOT 1" rate 128
task
wait_until distance_between me and "hero" < 7000
attack "hero"
end
create "facraft"
position 29410.6 on ground 23134.3
towards "hero"
armed_with "RED LASER" rate 4
task
wait_until distance_between me and "hero" < 7000
attack "hero"
end
procedure "P2wp"
set_waypoint nearest "aland"
end_procedure
procedure "P2a"
wait_until number_of "aair"=0
create "lfighter"
position 0 -3200 17000 relative to "hero"
towards "hero"
armed_with "RED LASER" rate 4
task
attack "hero"
end
pause 100
end_procedure
wait_until distance_between "hero" and 26962.4 on ground 34777.2 <9000
or number_of "aland"=0
procedure "P2b"
create "facraft"
position 12962.2 on ground 37364.2
towards "command1"
armed_with "RED LASER" rate 4
task
goto 17585.1 on ground 31390.8
attack "hero"
end
pause 150
end_procedure terminate after 4 loops
wait_until proc "P2b" terminated
wait_until number_of "aland" = 0
end_procedure "P2wp"
phasemessage 21 60
procedure "P2b"
set_waypoint nearest "agun"
end_procedure
wait_until number_of "agun" = 0
end_procedure "P2a"
end_procedure "P2b"
kill group "aair"
clear_waypoint
#==================================
phasemessage 91 60
set_flag 10
camera cockpit
pause 60
;-------------------------------------------------------
;PHASE 3
;-------------------------------------------------------
phasestart
clear_flag all
phasemessage 52 60
set_inert "bsgen1"
set_inert "bsgen2"
set_inert "bsgen3"
camera_task
hud off
cam_pos "hero"
cam_focus "P2bug"
dolly 1
pause 150
cam_mode cockpit
set_flag 0
end
switch_hero "P2bug"
task
goto 0 -3500 0 relative toxz "P2hero"
break_task_if flag 0 set
playercontrols
kill
end
wait_until flag 0 set
auto_aim "hero"
kill "P2hero"
#==================================
procedure "P3e"
wait_until "P2bld" destroyed
camera_task
hud off
cam_pos -6000 -3500 0 attached_to "P2bld"
cam_focus "P2bld"
dolly 0
cam_goto 6000 -3500 0
end
phasemessage 81 120
explode group "aliens"
pause 50
explode group "aliens"
pause 50
camera cockpit
end_procedure terminate after 1 loops
procedure "P3a"
wait_until number_of "bomber" =0
create "lbomber"
position 10000 -3500 1000 relative toxz "pad2"
towards "pad2"
armed_with "PLASMA BOLT 1" rate 24
task
do
goto 0 -3500 0 relative toxz "hero"
break_task_if distance_between me and "hero" < 3000
shoot "hero"
forever
end
pause 75
end_procedure terminate after 2 loops
procedure "P3b"
create "lfighter"
position 2000 -9000 5000 relative toxz "pad2"
towards "pad2"
armed_with "PLASMA BOLT 3" rate 0
task
goto 0 -4200 0 relative toxz "pad2"
do
goto 27051.9 -3430.29 30302.5
shoot "hero"
goto 25602.4 -3346.02 41119.4
shoot "hero"
goto 32723.3 -3155.91 46495.4
shoot "hero"
goto 40765 -3081.51 39478.8
shoot "hero"
forever
end
pause 150
end_procedure terminate after 4 loops
wait_until proc "P3a" terminated
wait_until number_of "aair" = 0
wait_until number_of "bomber" = 0
end_procedure "P3b"
;----------------
;-------1st pad
phasemessage 62 60
set_waypoint "bsgen4"
wait_until "bsgen4" destroyed
phasemessage 63 60
set_waypoint "pad2"
procedure "P3a"
wait_until number_of "fighters" <4
create "hfighter"
position 32110 -845 34375
towards 29449 -2943 31420
armed_with "RED LASER" rate 4
task
goto 29449 -2943 31420
attack "hero"
end
pause 75
end_procedure
wait_until "pad2" destroyed
end_procedure "P3a"
clear_waypoint
phasemessage 52 60
wait_until number_of "fighters"=0
;----------------
;-------2nd pad
set_volatile "bsgen1"
phasemessage 62 60
set_waypoint "bsgen1"
wait_until "bsgen1" destroyed
phasemessage 63 60
set_waypoint "pad1"
procedure "P3a"
wait_until number_of "aair" <4
create "lfighter"
position 31867.9 -708.997 41033.6
towards 25677.8 -2929 41445.6
armed_with "RED LASER" rate 4
task
goto 25677.8 -2929 41445.6
attack "hero"
end
pause 40
end_procedure
wait_until "pad1" destroyed
end_procedure "P3a"
clear_waypoint
phasemessage 52 60
wait_until number_of "aair"=0
;----------------
;-------3rd pad
set_volatile "bsgen3"
phasemessage 62 60
set_waypoint "bsgen3"
wait_until "bsgen3" destroyed
phasemessage 64 60
set_waypoint "pad3"
create "lfighter"
position 34681.9 -791.55 37772.7
towards 31512 -2193.67 35731
armed_with "GUIDED MISSILE" rate 32
task
goto 31512 -2193.67 35731
attack "hero"
end
pause 20
procedure "P3a"
wait_until number_of "aair" <6
create "lfighter"
position 34681.9 -791.55 37772.7
towards 31512 -2193.67 35731
armed_with "RED LASER" rate 4
task
goto 31512 -2193.67 35731
attack "hero"
end
pause 20
end_procedure
wait_until "pad3" destroyed
end_procedure "P3a"
clear_waypoint
phasemessage 10 60
wait_until number_of "aair"=0
procedure "P3a"
wait_until number_of "aair" <6
create "lfighter"
position 17000 -32000 500 relative toxz "hub1"
armed_with "RED LASER" rate 4
task
attack "hero"
end
pause 75
end_procedure
set_volatile "bsgen2"
phasemessage 62 60
set_waypoint "bsgen2"
wait_until "bsgen2" destroyed
phasemessage 65 60
set_waypoint "hub1"
wait_until "hub1" destroyed
phasemessage 62 60
set_waypoint "ssgen1"
wait_until "ssgen1" destroyed
end_procedure "P3e"
phasemessage 66 60
set_waypoint "P2bld"
wait_until "P2bld" destroyed
clear_waypoint
phasemessage 24 60
end_procedure "P3a"
wait_until number_of "aair"=0
#==================================
phasemessage 91 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 4
;-------------------------------------------------------
clear_flag all
phasemessage 67 120
playcdfast
switch_hero "laser1"
task
wait_until flag 0 set
playercontrols
end
#==================================
create "lfighter"
label "P4alien1"
position 17000 -3200 0 relative toxz "H1"
armed_with "DESIGNATOR" rate 0
task
goto 7000 -2200 0 relative toxz "H1"
shoot "H1"
shoot "replen1"
goto -17000 -3200 0 relative toxz "H1"
kill
end
create "lfighter"
label "P4alien2"
position 17000 -3200 1500 relative toxz "H1"
armed_with "DESIGNATOR" rate 0
task
goto 3000 -2200 0 relative toxz "replen1"
shoot "replen1"
set_flag 0
goto -17000 -3200 0 relative toxz "H1"
kill
end
camera_task
hud off
cam_pos -1500 0 -1500 attached_to "P4alien1"
cam_focus "P4alien2"
dolly 0
pause 100
cam_pos 1000 -1500 1500 attached_to "P4alien2"
cam_focus "P4alien1"
dolly 1
pause 100
cam_pos 0 -1000 0 relative to "hero"
cam_focus "command1"
cam_goto 7000 -1500 1000 relative to "command3"
end
wait_until flag 0 set
pause 150
camera
attached_to "hero"
position -600 -300 600
pointing_at "hero"
dolly 0
pause 40
camera cockpit
kill group "aair"
#==================================
phasestart
clear_flag all
phasemessage 61 60
;-------------------
;-------------wave 1
procedure "P4a"
create "lfighter"
position 18005.8 -2547.28 15095
towards "hero"
armed_with "RED LASER" rate 6
task
goto 25662.1 -2524.7 16144.9
goto 26377.9 -970.332 13115.6
shoot
goto 23453.2 -970.04 12283.5
shoot "hero"
goto 23629.6 -958.432 14836.3
attack "hero"
break_task_if vel < 2
explode
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"<=3
;-------------------
;-------------wave 2
procedure "P4a"
create "lfighter"
position 23838.2 -160 22518.1
towards "hero"
armed_with "RED LASER" rate 6
task
goto 23795.5 -1197.95 20526.2
goto 23512.8 -1190.01 12990
goto 26952.5 -1173.41 9873.09
attack "command1"
attack "command2"
attack "command3"
attack "command4"
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"<=3
;-------------------
;-------------wave 3
phasemessage 49 60
procedure "P4a"
create "skimmer"
position 39016.9 on ground 7518.43
towards "hero"
armed_with "RED LASER" rate 6
task
goto 31770.9 on ground 9736.93
shoot
goto 26688.1 on ground 13672.1
shoot "hero"
goto 25083.3 on ground 15841
shoot
goto 22046.8 on ground 20858.7
goto 17738 on ground 25989.1
kill
end
pause 50
end_procedure terminate after 4 loops
create "bug"
position 18005.8 -2547.28 15095
towards "hero"
armed_with "BLUE LASER" rate 6
task
goto 26358.6 -1500 13491.8
pause 150
do
goto 29045 -1500 11323.4
shoot
goto 26358.6 -1500 13491.8
shoot
until number_of "aland"=0
attack
goto 18005.8 -2547.28 15095
kill
end
wait_until proc "P4a" terminated
wait_until number_of "aland"=0
#===============================
phasemessage 67 80
create "lfighter"
label "P4badman"
position 17000 -3200 0 relative toxz "H2"
armed_with "DESIGNATOR" rate 0
inert
task
goto 3000 -2200 0 relative toxz "H2"
shoot "H2"
pause 1
shoot "replen2"
goto 18005.8 -2547.28 15095
; goto -17000 -3200 0 relative toxz "H2"
kill
end
wait_until "H2" destroyed
pause 20
set_volatile "P4badman"
wait_until number_of "aair"=0
;-------------------
;-------------wave 4
procedure "P4a"
create "lfighter"
position 17204.4 -613.22 6974.41
towards "hero"
armed_with "RED LASER" rate 6
task
goto 21011.5 -1112.41 8080.85
goto 23930.8 -1112.25 12082.2
goto 23609.7 -1110.4 17370.4
goto 27687.2 -1476.38 19280.5
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"=0
;-------------------
;-------------wave 5
procedure "P4a"
create "lfighter"
position 37887.9 -1669.24 13338.5
towards "hero"
armed_with "RED LASER" rate 6
task
goto 35864.1 -2111 13519.3
goto 28705.9 -730.743 13358.9
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"=0
;-------------------
;-------------wave 6
procedure "P4a"
create "lfighter"
position 23838.2 -160 22518.1
towards "hero"
armed_with "RED LASER" rate 6
task
goto 23795.5 -1197.95 20526.2
goto 23512.8 -1190.01 12990
goto 26952.5 -1173.41 9873.09
attack "command1"
attack "command2"
attack "command3"
attack "command4"
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"<=3
;-------------------
;-------------wave 7
procedure "P4a"
create "lfighter"
position 18005.8 -2547.28 15095
towards "hero"
armed_with "RED LASER" rate 6
task
goto 25662.1 -2524.7 16144.9
goto 26377.9 -970.332 13115.6
shoot
goto 23453.2 -970.04 12283.5
shoot "hero"
goto 23629.6 -958.432 14836.3
attack "hero"
break_task_if vel < 2
explode
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"<=3
;-------------------
;-------------wave 8
procedure "P4a"
create "lfighter"
position 37887.9 -1669.24 13338.5
towards "hero"
armed_with "RED LASER" rate 6
task
goto 35864.1 -2111 13519.3
goto 28705.9 -730.743 13358.9
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"=0
;-------------------
;-------------wave 9
procedure "P4a"
create "lfighter"
position 17204.4 -613.22 6974.41
towards "hero"
armed_with "RED LASER" rate 6
task
goto 21011.5 -1112.41 8080.85
goto 23930.8 -1112.25 12082.2
goto 23609.7 -1110.4 17370.4
goto 27687.2 -1476.38 19280.5
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P4a" terminated
wait_until number_of "aair"=0
#==================================
phasemessage 91 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 5
;-------------------------------------------------------
clear_flag all
phasestart
set_volatile "bsgen7"
set_volatile "ssgen3"
set_volatile "ssgen4"
set_volatile "ssgen5"
phasemessage 15 60
playcdslow
create "alnadubs"
label "gun5"
position 42782.1 on ground 40742.8
forward 0 0 -1 up 0 1 0
armed_with "BLUE LASER" rate 16
task
attack
end
create "alnadubs"
label "gun6"
position 43966 on ground 40633
forward 0 0 1 up 0 1 0
armed_with "BLUE LASER" rate 16
task
attack
end
create "lance"
label "P5hero"
position 28638.6 -15 10823.3
forward -0.58 0 0.81 up 0 1 0
armed_with "PURPLE LASER" rate 2
secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
inert
switch_hero "P5hero"
task
wait_until flag 0 set
playercontrols
end
auto_aim "hero"
hud off
camera
position 600 -300 -600 local to "hero"
pointing_at "hero"
dolly 0
pause 40
camera cockpit
set_flag 0
#==================================
create "Slowhovertank"
label "P5ca"
position 28780.1 on ground 16717.6
towards 42535 on ground 30375.5
armed_with "DESIGNATOR" rate 0
inert
mission_critical
task
goto 42535 on ground 30375.5
goto 44032.9 on ground 41027.6
goto 40512.6 on ground 45885.8
shoot "bsgen7"
#==================================
goto 36498.5 on ground 49701.9
shoot "ssgen4"
shoot "ssgen5"
#==================================
goto 32536.2 on ground 55190.8
goto 36616.2 on ground 55737.8
goto 39239.4 on ground 55353.8
shoot "ssgen3"
end
create "Slowhovertank"
position 0 0 -600 local to "P5ca"
towards "P5ca"
armed_with "DESIGNATOR" rate 0
task
goto 42535 on ground 30375.5
goto 44032.9 on ground 41027.6
goto 40512.6 on ground 45885.8
shoot "bsgen7"
#==================================
goto 36498.5 on ground 49701.9
shoot "ssgen4"
shoot "ssgen5"
#==================================
goto 32536.2 on ground 55190.8
goto 36616.2 on ground 55737.8
goto 39239.4 on ground 55353.8
shoot "ssgen3"
end
create "Slowhovertank"
position 0 0 -1200 local to "P5ca"
towards "P5ca"
armed_with "DESIGNATOR" rate 0
task
goto 42535 on ground 30375.5
goto 44032.9 on ground 41027.6
goto 40512.6 on ground 45885.8
shoot "bsgen7"
#==================================
goto 36498.5 on ground 49701.9
shoot "ssgen4"
shoot "ssgen5"
#==================================
goto 32536.2 on ground 55190.8
goto 36616.2 on ground 55737.8
goto 39239.4 on ground 55353.8
shoot "ssgen3"
end
create "atank"
label "P5ambush"
position 39295.1 -878.048 30194.9
towards "hero"
armed_with "TRACER SHOT 1" rate 64
task
do
goto -2000 0 2000 local to "P5ca"
shoot
goto -2000 0 -1000 local to "P5ca"
shoot
goto 2000 0 -1000 local to "P5ca"
shoot
goto 2000 0 2000 local to "P5ca"
shoot
forever
end
create "atank"
position 500 0 500 local to "P5ambush"
towards "hero"
armed_with "TRACER SHOT 1" rate 64
task
do
goto 2000 0 3000 local to "P5ca"
shoot
goto 2000 0 -2000 local to "P5ca"
shoot
goto -2000 0 -2000 local to "P5ca"
shoot
goto -2000 0 3000 local to "P5ca"
shoot
forever
end
create "atank"
position 1500 0 1500 local to "P5ambush"
towards "hero"
armed_with "TRACER SHOT 1" rate 64
task
do
goto -3000 0 4000 local to "P5ca"
shoot
goto -3000 0 -3000 local to "P5ca"
shoot
goto 3000 0 -3000 local to "P5ca"
shoot
goto 3000 0 4000 local to "P5ca"
shoot
forever
end
#==================================
procedure "P5wp"
set_waypoint nearest "aihover"
end_procedure
procedure "P5a"
create "lfighter"
position 39295.1 -878.048 30194.9
towards "hero"
armed_with "RED LASER" rate 8
task
goto 40522.4 -1897.23 28036.5
; goto 37358.1 -2288.97 24202.9
attack "hero"
end
pause 50
end_procedure terminate after 8 loops
procedure "P5b"
wait_until distance_between "P5ca" and "gun5" < 5000
set_volatile "P5ca"
end_procedure
wait_until proc "P5a" terminated
wait_until number_of "aair"=0
wait_until number_of "aland"=0
end_procedure "P5wp"
end_procedure "P5b"
set_volatile "P5ca"
phasemessage 21 60
procedure "P5wp"
set_waypoint nearest "agun"
end_procedure
wait_until number_of "agun"=0
end_procedure "P5wp"
clear_flag 1
procedure "P5a"
wait_until number_of "aair"<2
wait_until flag 1 set or "bsgen7" not destroyed
create "lfighter"
position 17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "RED LASER" rate 4
task
attack "hero"
end
pause 20
create "lfighter"
position -17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "RED LASER" rate 4
task
attack "hero"
end
pause 50
clear_flag 1
end_procedure
set_flag 1
phasemessage 2 60
wait_until "bsgen7" destroyed
set_flag 1
phasemessage 68 60
set_waypoint "chapel1"
wait_until "chapel1" destroyed
clear_waypoint
wait_until "ssgen4" destroyed
set_flag 1
phasemessage 66 60
set_waypoint "flat2"
wait_until "flat2" destroyed
clear_waypoint
wait_until "ssgen5" destroyed
set_flag 1
phasemessage 66 60
set_waypoint "flat3"
wait_until "flat3" destroyed
clear_waypoint
wait_until "ssgen3" destroyed
set_flag 1
mission_uncritical "P5ca"
phasemessage 66 60
set_waypoint "flat1"
wait_until "flat1" destroyed
clear_waypoint
set_flag 1
pause 2
phasemessage 52 60
wait_until number_of "aair"=0
end_procedure "P5a"
#==================================
phasemessage 91 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 6
;-------------------------------------------------------
clear_flag all
phasestart
#==================
# camera cuts here
#==================
phasemessage 40 60
playcdfast
switch_hero "plfight"
task
secondary_armed_with "ENERGY 1" rate 16 rounds 20
; position 16450.4 -400 15524.3
position 16450.4 -3200 15524.3
; goto 16450.4 -3200 15524.3
; goto 20421.2 -2800 14555.5
; goto 23252.5 -2800 13923.2
wait_until flag 0 set
playercontrols
end
set_volatile "plfight"
hud off
camera
position 600 -300 -600 local to "hero"
pointing_at "hero"
dolly 1
pause 80
camera cockpit
set_flag 0
kill "P5hero"
kill group "aihover"
#==================================
create "command"
label "P6big"
position 59696.2 -3440.08 54918.8
armed_with "ENERGY 1" rate 2
inert
task
patrol
point 49432.4 -3800 53780.9
point 21482.6 -3800 53904.9
point 8672.39 -3800 45725
point 28217.9 -3800 37727.3
point 39510.2 -3800 20433.1
point 34708.7 -3800 12347.9
point 21956.1 -3800 14222.8
point 25311 -3800 22406.9
end
procedure "P6a"
wait_until number_of "aair" <6
create "lfighter"
position 500 0 17000 local to "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 12
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 24 loops
wait_until proc "P6a" terminated
wait_until number_of "aair"=0
phasemessage 69 60
set_waypoint "P6big"
create "lance"
label "P6ha"
position 500 3200 -17000 relative toxz "hero"
forward -0.58 0 0.81 up 0 1 0
armed_with "GREEN LASER" rate 2
inert
task
do
attack group "fighters"
until flag 2 set
armed_with "DESIGNATOR"
do
goto 6000 300 6000 local to "P6big"
shoot "P6big"
until "P6big" destroyed
end
create "lance"
label "P6hb"
position 5000 3200 -17000 relative toxz "hero"
forward -0.58 0 0.81 up 0 1 0
armed_with "GREEN LASER" rate 2
inert
task
do
goto 5000 300 5000 local to "P6big"
shoot group "aair"
goto 5000 300 -5000 local to "P6big"
shoot group "aair"
goto -5000 300 -5000 local to "P6big"
shoot group "aair"
goto -5000 300 5000 local to "P6big"
shoot group "aair"
until flag 2 set
armed_with "DESIGNATOR"
do
goto -6000 300 -6000 local to "P6big"
shoot "P6big"
until "P6big" destroyed
end
procedure "P6a"
wait_until number_of "fighters" <6
create "hfighter"
position 17000 0 500 local to "P6big"
towards "hero"
armed_with "PLASMA BOLT 3" rate 0
task
do
goto 4000 300 4000 local to "P6big"
break_task_if vel<2
shoot
goto 2000 300 -2000 local to "P6big"
break_task_if vel<2
shoot
goto -2000 300 -2000 local to "P6big"
break_task_if vel<2
shoot
goto -4000 300 4000 local to "P6big"
break_task_if vel<2
shoot
until vel <2
explode
end
pause 90
end_procedure terminate after 12 loops
wait_until distance_between "hero" and waypoint <8000
phasemessage 70 60
procedure "P6b"
wait_until number_of "aair" <6
create "lfighter"
position 500 0 17000 local to "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 12
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 12 loops
wait_until proc "P6a" terminated
wait_until proc "P6b" terminated
wait_until number_of "aair"=0
wait_until number_of "fighters"=0
set_volatile "P6big"
;set_volatile "P6ha"
;set_volatile "P6hb"
set_flag 2
phasemessage 71 120
wait_until "P6big" destroyed
#==================================
phasemessage 91 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 7
;-------------------------------------------------------
clear_flag all
phasestart
phasemessage 6 60
playcdslow
create "alnadubs"
label "P7gun1"
position 41822.6 on ground 26884.4
forward 0 0 -1 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 16
task
attack
end
create "alnadubs"
label "P7gun2"
position 37559.1 on ground 29409.7
forward 0 0 1 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 16
task
attack
end
create "hovercraft"
label "P7hero"
position 24871 on ground 10309.6
forward 0.57 0 0.82 up 0 1 0
armed_with "GREEN LASER" rate 4
secondary_armed_with "DESIGNATOR" rate 32 rounds 20
switch_hero "P7hero"
task
wait_until flag 0 set
playercontrols
end
hud off
camera
position 600 -300 -600 local to "hero"
pointing_at "hero"
dolly 0
pause 40
camera cockpit
set_flag 0
kill "plfight"
kill "P6ha"
kill "P6hb"
#==================================
create "hovertank"
position 28780.1 on ground 16717.6
towards 42535 on ground 30375.5
armed_with "TRACER SHOT 1" rate 64
inert
task
wait_until flag 1 set
goto 40522.4 on ground 28036.5
do
shoot "P7gun1"
until "P7gun1" destroyed
do
shoot "P7gun2"
until "P7gun2" destroyed
goto 28780.1 on ground 16717.6
kill
end
create "bug"
label "P7bug"
position 27227.2 -500 14517.8
towards "hero"
armed_with "GREEN LASER" rate 4
inert
task
do
patrol
point 1000 -1800 0 relative to "hero"
break_task_if distance_between me and closest "aair" <6000
stop
shoot group "aair"
until flag 2 set
end
create "skimmer"
position 26125.6 on ground 24593.9
towards "hero"
armed_with "PURPLE LASER" rate 4
task
attack "hero"
end
create "facraft"
position 38940.3 on ground 26042.2
towards "hero"
armed_with "PURPLE LASER" rate 4
task
attack "hero"
end
create "skimmer"
position 32541.7 on ground 28886.7
towards "hero"
armed_with "PURPLE LASER" rate 4
task
attack "hero"
end
procedure "P7a"
wait_until number_of "aair" <2
create "lfighter"
position 500 0 17000 local to "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure
procedure "P7c"
set_waypoint nearest "aland"
end_procedure
procedure "P7d"
wait_until distance_between "hero" and "laser2" <500
phasemessage 72 60
set_task "laser2"
attack
end
end_procedure terminate after 1 loops
wait_until number_of "aland"=0
set_flag 1
procedure "P7b"
create "skimmer"
position 39295.1 on ground 30194.9
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
goto 40522.4 on ground 28036.5
attack "hero"
end
pause 150
end_procedure terminate after 3 loops
wait_until proc "P7b" terminated
wait_until number_of "aland"=0
#==============================
end_procedure "P7c"
phasemessage 92 60
set_volatile "ssgen6"
set_waypoint "ssgen6"
wait_until distance_between "hero" and waypoint <4000
phasemessage 26 60
wait_until "ssgen6" destroyed
set_waypoint "P7b1"
wait_until "P7b1" destroyed
set_volatile "ssgen7"
set_waypoint "ssgen7"
wait_until "ssgen7" destroyed
set_waypoint "P7b2"
wait_until "P7b2" destroyed
set_volatile "ssgen8"
set_waypoint "ssgen8"
wait_until "ssgen8" destroyed
set_waypoint "P7b3"
wait_until "P7b3" destroyed
end_procedure "P7a"
kill group "aair"
set_flag 2
clear_waypoint
phasemessage 48 60
procedure "P7a"
create "skimmer"
position 39295.1 on ground 30194.9
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 150
end_procedure terminate after 3 loops
wait_until proc "P7a" terminated
wait_until number_of "aland" = 0
set_waypoint 26438 on ground 11584.6
phasemessage 73 120
wait_until distance_between "hero" and waypoint < 1000
clear_waypoint
end_procedure "P7d"
#==================================
phasemessage 91 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 8
;-------------------------------------------------------
clear_flag all
phasemessage 74 120
set_task "P8rack"
slave_to "laser2"
end
switch_hero "laser2"
task
position 34427.6 -1543 13849.6
rotate_gun towards "replen1"
wait_until flag 0 set
playercontrols
end
create "lance"
label "P8b-team1"
mission_critical
position 17000 -3200 500 relative toxz "hero"
armed_with "RED LASER" rate 4
secondary_armed_with "DESIGNATOR" rate 64 rounds 20
task
land 27320.9 on ground 13587.1
end
create "lance"
label "P8b-team2"
mission_critical
position 17000 -4000 3500 relative toxz "hero"
armed_with "RED LASER" rate 8
task
land 27522.4 on ground 12766.9
end
camera_task
hud off
cam_pos -1500 0 -1500 attached_to "P8b-team1"
cam_focus "P8b-team2"
dolly 0
pause 100
cam_pos 0 0 -1500 attached_to "P8b-team1"
cam_focus "P8b-team1"
dolly 1
pause 100
cam_pos -1500 0 -2500 attached_to "P8b-team1"
dolly 1
pause 100
cam_pos 27438 on ground 11584.6
dolly 0
pause 100
cam_focus "P8b-team2"
dolly 1
pause 250
set_flag 0
end
kill "P7hero"
kill "P7bug"
pause 100
create "bug"
label "P8-bug1"
mission_critical
position 17000 -4000 3500 relative toxz "hero"
armed_with "RED LASER" rate 4
task
land 28143 on ground 13332.4
end
create "bug"
label "P8-bug2"
mission_critical
position 17000 -3200 500 relative toxz "hero"
armed_with "RED LASER" rate 4
secondary_armed_with "DESIGNATOR" rate 64 rounds 20
task
land 26994.3 on ground 12888.5
end
wait_until flag 0 set
camera
position 600 -300 -600 local to "hero"
pointing_at "hero"
dolly 0
pause 40
camera cockpit
set_flag 0
#==================================
#====wave 1
clear_flag all
phasestart
phasemessage 75 60
procedure "P8a"
create "lfighter"
position 15812.1 -1593.82 13237.8
armed_with "RED LASER" rate 6
task
goto 18535.1 -2513.7 13798.1
goto 25286 -1193.4 10858.4
shoot
goto 32152.2 -2283.1 12271.2
goto 37794 -2562.85 13432.1
attack
end
pause 75
end_procedure terminate after 3 loops
procedure "P8b"
create "lfighter"
position 13231.1 -1993.94 17753.9
armed_with "RED LASER" rate 6
task
goto 19260.8 -2283.67 16735.6
goto 25948.2 -1073.37 13593.8
shoot
goto 32027.2 -2383.1 14218.4
goto 34110.8 -3193.02 18597.4
attack
end
pause 75
end_procedure terminate after 3 loops
wait_until proc "P8a" terminated
wait_until proc "P8b" terminated
wait_until number_of "aair" =0
pause 50
#==================================
#====wave 2
procedure "P8a"
create "lfighter"
position 38049 -573.974 15397.7
towards "hero"
armed_with "PLASMA BOLT 2" rate 6
task
land 38049 -2300 15397.7
shoot "hero"
goto 38150.4 -2300 15489.7
goto 31404 -2379.15 14251.9
goto 28588.1 -904.273 14892.6
goto 28147.2 -613.805 12303.4
attack
end
pause 25
create "lfighter"
position 36049 -573.974 15397.7
towards "hero"
armed_with "PLASMA BOLT 2" rate 6
task
land 36049 -1600 15397.7
shoot "hero"
goto 36150.4 -2300 15489.7
shoot "hero"
goto 31404 -2379.15 14251.9
goto 28588.1 -904.273 14892.6
goto 28147.2 -613.805 12303.4
attack
end
pause 25
end_procedure terminate after 5 loops
wait_until proc "P8a" terminated
wait_until number_of "aair" =0
#==================================
#====wave 3
procedure "P8a"
create "lfighter"
position 17967.1 -1502.95 8879.56
armed_with "RED LASER" rate 6
task
goto 23400.7 -1525.91 8831.56
shoot
goto 29269.7 -1560.42 11202.8
shoot
goto 31317.3 -2486.77 15598
shoot
goto 28100.8 -2466.99 14082.7
attack "hero"
end
pause 25
end_procedure terminate after 4 loops
procedure "P8b"
pause 25
create "lfighter"
position 20095 -1490.92 3613.2
armed_with "RED LASER" rate 6
task
goto 23400.7 -1525.91 8831.56
shoot
goto 29269.7 -1560.42 11202.8
shoot
goto 33744.9 -2473.03 9589.91
shoot
goto 30213.7 -2455.04 8853.45
attack
end
end_procedure terminate after 4 loops
wait_until proc "P8a" terminated
wait_until proc "P8b" terminated
wait_until number_of "aair" =0
#==================================
#====wave 4
procedure "P8a"
create "lfighter"
position 41350.2 -1007.2 8291.51
armed_with "RED LASER" rate 6
task
goto 40705.9 -1811.59 8743.49
shoot
goto 37319.9 -2153.67 11656.5
shoot
goto 32353.1 -1953.11 15122.7
goto 28092.2 -1016.93 13149
attack
end
pause 25
end_procedure terminate after 6 loops
wait_until proc "P8a" terminated
wait_until number_of "aair" <=3
create "hbomber"
label "P8mother"
position 15935 -527 15062
towards "hero"
armed_with "ENERGY 1" rate 0
task
land 15935 -3100 15062
do
goto 24092.7 -3100 15484.9
shoot
goto 32402.1 -3100 14846.4
shoot
goto 29976.4 -3100 10050.1
shoot
forever
end
camera_task
hud off
cam_pos 0 -3000 3000 local to "P8mother"
cam_focus "P8mother"
pause 250
cam_pos 0 500 -3000 local to "P8mother"
dolly 1
dollyspeed 0.1%
pause 125
cam_mode cockpit
phasemessage 76 60
end
wait_until "P8mother" destroyed
pause 50
#==================================
phasemessage 91 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 9
;-------------------------------------------------------
clear_flag all
phasestart
phasemessage 2 60
set_inert "ring1"
mission_uncritical "P8b-team1"
mission_uncritical "P8b-team2"
mission_uncritical "P8-bug1"
mission_uncritical "P8-bug2"
set_inert "P8b-team2"
set_inert "P8-bug2"
switch_hero "P8b-team1"
task
position 27320.9 on ground 13587.1
wait_until flag 0 set
land 27320.9 -1250 13587.1
wait_until flag 1 set
playercontrols
end
auto_aim "hero"
set_task "P8-bug1"
position 28143 on ground 13332.4
wait_until flag 0 set
land 28143 -1250 13332.4
do
patrol
point 3000 0 -2000 local to "hero"
point 2000 0 -2000 local to "hero"
break_task_if distance_between "P8-bug1" and closest_enemy < 3000
stop
shoot
until flag 9 set
kill
end
camera_task
hud off
set_flag 0
cam_pos 0 -200 3000 attached_to "hero"
cam_focus "P8-bug1"
cam_goto -1000 -200 -300
cam_pos 500 0 -500 attached_to "hero"
cam_focus "hero"
dolly 1
dollyspeed 0.1%
pause 100
cam_mode cockpit
set_flag 1
end
wait_until flag 1 set
#==================================
procedure "P9a"
wait_until number_of "aair" <6
create "lfighter"
position 500 0 17000 local to "hero"
towards "hero"
armed_with "BLUE LASER" rate 12
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 24 loops
wait_until proc "P9a" terminated
wait_until number_of "aair"<2
phasemessage 92 60
set_waypoint "bsgen8"
wait_until distance_between "hero" and waypoint < 8000
phasemessage 62 60
set_volatile "bsgen8"
wait_until "bsgen8" destroyed
phasemessage 65 60
set_waypoint "hub2"
procedure "P9a"
wait_until number_of "aair" <6
create "lfighter"
position 500 0 17000 local to "hero"
towards "hero"
armed_with "BLUE LASER" rate 12
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 12 loops
wait_until "hub2" destroyed
clear_waypoint
phasemessage 52 60
wait_until proc "P9a" terminated
wait_until number_of "aair"<2
phasemessage 62 60
set_volatile "bsgen5"
set_waypoint "bsgen5"
wait_until "bsgen5" destroyed
phasemessage 77 60
procedure "P9a"
wait_until number_of "fighters" <9
create "hfighter"
position 0 -1100 0 local to "ring1"
armed_with "BLUE LASER" rate 12
task
land 0 -3500 0 local to "ring1"
set_vel 70
attack "hero"
break_task_if vel<2
explode
end
pause 15
wait_until number_of "fighters" <9
create "hfighter"
position 800 -1100 500 local to "ring1"
towards "hero"
armed_with "BLUE LASER" rate 12
task
land 800 -3200 500 local to "ring1"
set_vel 70
attack "hero"
break_task_if vel<2
explode
end
pause 15
wait_until number_of "fighters" <9
create "hfighter"
position -800 -1100 -500 local to "ring1"
armed_with "BLUE LASER" rate 12
task
land -800 -2900 -500 local to "ring1"
set_vel 70
attack "hero"
break_task_if vel<2
explode
end
pause 60
end_procedure terminate after 12 loops
set_waypoint "ring1"
pause 200
set_volatile "ring1"
phasemessage 78 60
wait_until "ring1" destroyed
clear_waypoint
end_procedure "P9a"
phasemessage 52 60
wait_until number_of "fighters" = 0
#==================================
phasemessage 91 60
pause 20
set_flag 9
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 10
;-------------------------------------------------------
clear_flag all
playcdfast
switch_hero "P8-bug2"
task
position 26994.3 on ground 12888.5
wait_until flag 0 set
land 26994.3 -1250 12888.5
wait_until flag 1 set
playercontrols
end
auto_aim "hero"
set_task "P8b-team2"
position 27522.4 on ground 12766.9
wait_until flag 0 set
land 27522.4 -1250 12766.9
do
patrol
point 3000 0 -2000 local to "hero"
point 2000 0 -2000 local to "hero"
break_task_if distance_between me and closest "aliens" < 3000
stop
shoot
until flag 9 set
kill
end
create "alnportl-c"
label "portal-c"
position 18826.9 on ground 34922.5
set_color 0 0 0
set_operate "portal-c" "bcloak"
camera_task
cam_pos 0 -2075 8000 attached_to "portal-c"
cam_focus 18826.9 -2075 34922.5
hud off
cam_goto 3000 -2075 -4000
set_flag 0
cam_pos 0 -200 3000 attached_to "hero"
cam_focus "P8b-team2"
cam_goto -1000 -200 -300
cam_pos 500 0 -500 attached_to "hero"
cam_focus "hero"
dolly 1
dollyspeed 0.1%
pause 100
cam_mode cockpit
set_flag 1
end
kill "P8b-team1"
wait_until flag 0 set
kill "portal-c"
create "alnportl"
label "portal"
position 18826.9 on ground 34922.5
inert
create "bug"
label "P10-bug"
position 17000 -3200 500 relative to "hero"
armed_with "RED LASER" rate 8
task
do
patrol
point 3000 0 2000 local to "hero"
point 2000 0 2000 local to "hero"
break_task_if distance_between me and closest "aliens" < 3000
stop
shoot
until flag 9 set
kill
end
wait_until flag 1 set
#==================================
#phase 10.1
phasestart
phasemessage 52 60
procedure "P10a"
wait_until number_of_baddies<22
wait_until number_of "aair" <6
create "lfighter"
position 500 -2000 -12000 local to "hero"
towards "hero"
armed_with "BLUE LASER" rate 12
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 24 loops
wait_until proc "P10a" terminated
wait_until number_of "aair" = 0
#==================================
#phase 10.2
camera_task
hud off
cam_pos 200 -2075 -4000 attached_to "portal"
cam_focus 18826.9 -2075 34922.5
dolly 1
dollyspeed 1%
pause 200
cam_mode cockpit
set_flag 3
end
pause 50
phasemessage 8 120
create "bomber-c"
label "P10-b1"
position 0 -1800 0 local to "portal"
towards 0 -1800 -1000 local to "portal"
armed_with "ENERGY 2" rate 0
set_color 0 0 0
set_operate me "bcloak2"
task
pause 32
do
shoot
goto 0 -3200 -10000 local to "portal"
shoot
goto 11282.7 -3200 54484
shoot
goto 6115.19 -3200 46747.1
shoot
goto 9761.33 -3200 38901.7
shoot
goto 14255.5 -3200 29727.2
shoot
goto 24398.6 -3200 28996.1
shoot
forever
end
pause 10
startwave 0 -1800 0 local to "portal" 0
pause 70
set_waypoint "P10-b1"
wait_until flag 3 set
create "hfighter"
position 0 -3200 12000 local to "P10-b1"
towards "portal"
armed_with "BLUE LASER" rate 24
task
do
goto 5000 0 1000 local to "P10-b1"
break_task_if distance_between me and closest "human" < 5000
stop
shoot
until "P10-b1" destroyed
attack "hero"
end
create "hfighter"
position 1000 -3200 12000 local to "P10-b1"
towards "portal"
armed_with "BLUE LASER" rate 24
task
do
goto 1000 0 3000 local to "P10-b1"
break_task_if distance_between me and closest "human" < 3000
stop
shoot
until "P10-b1" destroyed
attack "hero"
end
create "hfighter"
position 2000 -3200 12000 local to "P10-b1"
towards "portal"
armed_with "BLUE LASER" rate 24
task
do
goto -5000 0 -1000 local to "P10-b1"
break_task_if distance_between me and closest "human" < 5000
stop
shoot
until "P10-b1" destroyed
attack "hero"
end
create "hfighter"
position -2000 -3200 12000 local to "P10-b1"
towards "portal"
armed_with "BLUE LASER" rate 24
task
do
goto -1000 0 -3000 local to "P10-b1"
break_task_if distance_between me and closest "human" < 3000
stop
shoot
until "P10-b1" destroyed
attack "hero"
end
wait_until "P10-b1" destroyed
clear_waypoint
wait_until number_of "fighters" = 0
#==================================
#phase 10.2
phasemessage 10 120
procedure "P10a"
wait_until number_of_baddies<22
wait_until number_of "aair" <6
create "lfighter-c"
position 0 -1800 0 local to "portal"
towards 0 -1800 -1000 local to "portal"
armed_with "PLASMA BOLT 2" rate 16
set_color 0 0 0
set_operate me "bcloak2"
task
pause 16
set_vel 70
pause 16
attack
break_task_if vel<2
explode
end
pause 75
end_procedure
procedure "P10b"
wait_until number_of_baddies<22
wait_until number_of "fighters" <3
create "hfighter"
position 0 -3200 10000 local to "portal"
armed_with "BLUE LASER" rate 16
task
do
goto 2000 -2800 2000 local to "portal"
shoot
goto 2000 -2800 -2000 local to "portal"
shoot
goto -2000 -2800 -2000 local to "portal"
shoot
goto -2000 -2800 2000 local to "portal"
shoot
forever
end
pause 75
end_procedure terminate after 8 loops
wait_until proc "P10b" terminated
wait_until number_of "fighters" = 0
#==================================
#phase 10.3
phasemessage 33 60
create "hbomber"
label "P10-b2"
position 0 -3200 17000 local to "portal"
armed_with "ENERGY 2" rate 0
task
do
shoot
goto 5000 -3200 1000 local to "portal"
shoot
goto 8000 -3200 -8000 local to "portal"
shoot
goto -3000 -3200 -5000 local to "portal"
shoot
goto -3000 -3200 8000 local to "portal"
shoot
goto 5000 -3200 8000 local to "portal"
shoot
forever
end
pause 10
set_waypoint "P10-b2"
wait_until "P10-b2" destroyed
clear_waypoint
phasemessage 80 60
pause 400
#==================================
#phase 10.4
phasemessage 76 60
create "command"
label "P10-b3"
position 0 -3200 17000 local to "portal"
armed_with "ENERGY 1" rate 0
task
do
shoot
goto 5000 -3800 1000 local to "portal"
shoot
goto 8000 -3800 -8000 local to "portal"
shoot
goto -3000 -3800 -5000 local to "portal"
shoot
goto -3000 -3800 8000 local to "portal"
shoot
goto 5000 -3800 8000 local to "portal"
shoot
forever
end
pause 10
set_waypoint "P10-b3"
procedure "P10b"
wait_until number_of_baddies<22
wait_until number_of "fighters" <6
create "hfighter"
position 8000 0 500 local to "P10-b3"
towards "hero"
armed_with "PLASMA BOLT 1" rate 4
task
do
goto 4000 300 4000 local to "P10-b3"
break_task_if "P10-b3" destroyed
shoot
goto 2000 300 -2000 local to "P10-b3"
break_task_if "P10-b3" destroyed
shoot
goto -2000 300 -2000 local to "P10-b3"
break_task_if "P10-b3" destroyed
shoot
goto -4000 300 4000 local to "P10-b3"
break_task_if "P10-b3" destroyed
shoot
until "P10-b3" destroyed
attack "hero"
end
pause 90
end_procedure terminate after 12 loops
wait_until "P10-b3" destroyed
clear_waypoint
phasemessage 80 60
wait_until proc "P10b" terminated
wait_until number_of "fighters" =0
phasemessage 79 60
set_volatile "portal"
set_waypoint "portal"
wait_until "portal" destroyed
end_procedure "P10a"
phasemessage 80 60
wait_until number_of "aair" =0
phasemessage 90 60
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;END OF SCENARIO