home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 July
/
PowerPlay0798.bin
/
Demos
/
incoming.exe
/
asc
/
moon
/
moon_action.mdl
< prev
next >
Wrap
Text File
|
1998-04-07
|
62KB
|
2,935 lines
drag_coeff 0.01
gravity 1.0
#=====================================================
# Weapons ODL
;GREEN ENERGY LASER hitpoints 30
;GREEN LASER hitpoints 32
;BLUE LASER hitpoints 16
;RED LASER hitpoints 24
;PURPLE LASER hitpoints 12
;PLASMA BOLT 1 hitpoints 30
;PLASMA BOLT 2 hitpoints 25
;PLASMA BOLT 3 hitpoints 15
;PLASMA BOLT 4 hitpoints 20
;ROCKET 1 hitpoints 150
;ROCKET 2 hitpoints 500
;GUIDED MISSILE hitpoints 120
;TRACER SHOT 1 hitpoints 110
;BOMB 1 hitpoints 500
;DESIGNATOR hitpoints 0
;FOAM hitpoints 0
;ENERGY 1 hitpoints 150
;ENERGY 2 hitpoints 50
;BIG SHELL hitpoints 32
#=====================================================
;-------------------------------------------------------
refuel_pads
"AH1"
"AH2"
create hero "bug"
label "P1hero"
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
break_task_if flag 31 set
stop
wait_until flag 31 clear
position 28317.6 -78 14188.3
end
create "mobspgun"
label "laser1"
position 23614 -503 15269
forward 0.8 0 0.5 up 0 1 0
armed_with "GREEN LASER" rate 3
inert
create "mobsprack"
position 23681 -506 14084
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 34426 -1499 13853
forward 0.5 0 0.8 up 0 1 0
armed_with "GREEN LASER" rate 3
inert
create "mobsprack"
label "P8rack"
position 34491 -1497 12739
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 32
inert
;-----------------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 "ssgen1"
set_inert "ssgen3"
set_inert "ssgen4"
set_inert "ssgen5"
set_inert "ssgen6"
set_inert "ssgen7"
set_inert "ssgen8"
set_inert "bsgen1"
set_inert "bsgen2"
set_inert "bsgen3"
set_inert "bsgen4"
set_inert "bsgen5"
set_inert "bsgen7"
set_inert "bsgen8"
set_inert "Aport"
;-------------------------------------------------------
;PHASE 1
;-------------------------------------------------------
phasestart
playcdtrack 5
clear_flag all
auto_aim "hero"
critical_group "ccentre"
#....................................................................
phasemessage 61 60
play_speech "defend installation"
#....................................................................
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 60
set_flag 0
camera cockpit
#....................................................................
phasemessage 25 60
play_speech "incoming alien craft"
#....................................................................
#==================================
procedure "P1b"
wait_until number_of "aair"<2
create "lfighter"
position 100 -3200 15000 local toxz "hero"
towards "hero"
armed_with "RED LASER" rate 16
task
attack "hero"
break_task_if number_of "aland"=0
attack "command1"
attack "hero"
end
pause 100
end_procedure terminate after 4 loops
procedure "P1c"
wait_until number_of "fighters"=0
create "hfighter"
position -5000 -3700 17000 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
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
#==================================
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 26 60
play_speech "incoming alien fighters"
#....................................................................
procedure "P1b"
create "lfighter"
position 100 -3200 -15000 local toxz "hero"
towards "hero"
armed_with "RED LASER" rate 16
task
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P1b" terminated
wait_until number_of "aair" = 0
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
clear_flag 31
;-------------------------------------------------------
;PHASE 2
;-------------------------------------------------------
phasestart
clear_flag all
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
kill "P1hero"
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 24
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 24
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
#....................................................................
phasemessage 57 60
play_speech "destroy alien surface craft"
#....................................................................
#==================================
create "facraft"
position 22660.2 on ground 28148.3
towards "hero"
armed_with "RED LASER" rate 16
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 16
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 32
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 16
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"
end_procedure "P2a"
wait_until number_of "aair" = 0
#....................................................................
phasemessage 58 60
play_speech "destroy alien AT-AT guns"
#....................................................................
procedure "P2b"
set_waypoint nearest "agun"
end_procedure
wait_until number_of "agun" = 0
end_procedure "P2b"
kill group "aair"
clear_waypoint
#==================================
set_flag 10
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
camera cockpit
pause 60
;-------------------------------------------------------
;PHASE 3
;-------------------------------------------------------
phasestart
playcdtrack 8
clear_flag all
set_volatile "ssgen1"
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
break_task_if flag 31 set
wait_until flag 31 clear
kill
end
wait_until flag 0 set
auto_aim "hero"
kill "P2hero"
#....................................................................
phasemessage 26 60
play_speech "incoming alien fighters"
#....................................................................
#==================================
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
explode group "aliens"
pause 50
explode group "aliens"
pause 50
camera cockpit
end_procedure terminate after 1 loops
procedure "P3a"
wait_until number_of "bombers" =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 "bombers" = 0
end_procedure "P3b"
;----------------
;-------1st pad
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_volatile "bsgen4"
set_waypoint "bsgen4"
wait_until "bsgen4" destroyed
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
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 16
task
goto 29449 -2943 31420
attack "hero"
end
pause 75
end_procedure
wait_until "pad2" destroyed
end_procedure "P3a"
clear_waypoint
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
wait_until number_of "fighters"=0
;----------------
;-------2nd pad
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_volatile "bsgen1"
set_waypoint "bsgen1"
wait_until "bsgen1" destroyed
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
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 16
task
goto 25677.8 -2929 41445.6
attack "hero"
end
pause 40
end_procedure
wait_until "pad1" destroyed
end_procedure "P3a"
clear_waypoint
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
wait_until number_of "aair"=0
;----------------
;-------3rd pad
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_volatile "bsgen3"
set_waypoint "bsgen3"
wait_until "bsgen3" destroyed
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "pad3"
create "lfighter"
position 34681.9 -791.55 37772.7
towards 31512 -2193.67 35731
armed_with "RED LASER" rate 16
secondary_armed_with "ENERGY 2" rate 128 rounds 1
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 16
task
goto 31512 -2193.67 35731
attack "hero"
end
pause 20
end_procedure
wait_until "pad3" destroyed
end_procedure "P3a"
clear_waypoint
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
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 16
task
attack "hero"
end
pause 75
end_procedure
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_volatile "bsgen2"
set_waypoint "bsgen2"
wait_until "bsgen2" destroyed
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "hub1"
wait_until "hub1" destroyed
if "ssgen1" not destroyed
{
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_waypoint "ssgen1"
wait_until "ssgen1" destroyed
}
end_procedure "P3e"
if "P2bld" not destroyed
{
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "P2bld"
wait_until "P2bld" destroyed
}
clear_waypoint
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
end_procedure "P3a"
wait_until number_of "aair"=0
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
clear_flag 31
;-------------------------------------------------------
;PHASE 4
;-------------------------------------------------------
clear_flag all
switch_hero "laser1"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
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"
#....................................................................
phasemessage 61 60
play_speech "defend installation"
#....................................................................
#==================================
phasestart
clear_flag all
;-------------------
;-------------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
;
;
;procedure "P4a"
; create "atank"
; position 39016 on ground 7518
; towards "hero"
; armed_with "RED LASER" rate 6
; task
; goto 31770 on ground 9736
; shoot
; goto 26688 on ground 13672
; shoot "hero"
; goto 25083 on ground 15841
; shoot
; goto 22046 on ground 20858
; goto 17738 on ground 25989
; 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 -1500 13491
; pause 150
; do
; goto 29045 -1500 11323
; shoot
; goto 26358 -1500 13491
; 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
#===============================
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
set_flag 9
shoot "replen2"
goto 18005.8 -2547.28 15095
kill
end
wait_until flag 9 set
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
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
playcdtrack 3
set_volatile "bsgen7"
set_volatile "ssgen3"
set_volatile "ssgen4"
set_volatile "ssgen5"
create "alnadubs"
label "gun5"
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 "GREEN LASER" rate 4
secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
inert
switch_hero "P5hero"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
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
#....................................................................
phasemessage 62 60
play_speech "defend allied craft"
#....................................................................
#==================================
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"
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 57353.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"
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 58353.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"
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 59353.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 16
task
goto 40522.4 -1897.23 28036.5
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"
procedure "P5wp"
set_waypoint nearest "agun"
end_procedure
#....................................................................
phasemessage 58 60
play_speech "destroy alien AT-AT guns"
#....................................................................
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 local toxz "hero"
towards "hero"
armed_with "RED LASER" rate 16
task
attack "hero"
end
pause 20
create "lfighter"
position -17000 -3200 500 local toxz "hero"
towards "hero"
armed_with "RED LASER" rate 16
task
attack "hero"
end
pause 50
clear_flag 1
end_procedure
set_flag 1
wait_until "bsgen7" destroyed
set_flag 1
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "chapel1"
wait_until "chapel1" destroyed
clear_waypoint
wait_until "ssgen4" destroyed
set_flag 1
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "flat2"
wait_until "flat2" destroyed
clear_waypoint
wait_until "ssgen5" destroyed
set_flag 1
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "flat3"
wait_until "flat3" destroyed
clear_waypoint
wait_until "ssgen3" destroyed
set_flag 1
mission_uncritical "P5ca"
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "flat1"
wait_until "flat1" destroyed
clear_waypoint
wait_until number_of "aair"=0
end_procedure "P5a"
#....................................................................
phasemessage 26 60
play_speech "incoming alien fighters"
#....................................................................
procedure "P5a"
create "lfighter"
position 17000 -3200 500 local toxz "hero"
towards "hero"
armed_with "RED LASER" rate 16
task
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until proc "P5a" terminated
wait_until number_of "aair"=0
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
playcdtrack 6
#==================
# camera cuts here
#==================
create "plfight"
label "P6hero"
position 25961 -600 11107
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
switch_hero "P6hero"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
end
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"
#....................................................................
phasemessage 23 60
play_speech "incoming"
#....................................................................
#==================================
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 -3200 17000 local toxz "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 terminate after 16 loops
wait_until proc "P6a" terminated
wait_until number_of "aair"=0
set_waypoint "P6big"
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
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 8 loops
wait_until distance_between "hero" and waypoint <8000
procedure "P6b"
wait_until number_of "aair" <6
create "lfighter"
position 500 -3200 17000 local toxz "hero"
towards "hero"
armed_with "RED LASER" rate 12
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 8 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"
mission_critical "P6ha"
mission_critical "P6hb"
set_flag 2
wait_until "P6big" destroyed
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
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
break_task_if flag 31 set
end
hud off
camera
position 600 -300 -600 local to "hero"
pointing_at "hero"
dolly 0
pause 40
camera cockpit
set_flag 0
kill "P6hero"
kill "P6ha"
kill "P6hb"
#....................................................................
phasemessage 57 60
play_speech "destroy alien surface craft"
#....................................................................
#==================================
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
#....................................................................
play_speech "f_On my way"
#....................................................................
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 "atank"
position 26125.6 on ground 24593.9
towards "hero"
armed_with "RED LASER" rate 12
task
attack "hero"
end
create "facraft"
position 38940.3 on ground 26042.2
towards "hero"
armed_with "RED LASER" rate 12
task
attack "hero"
end
create "atank"
position 32541.7 on ground 28886.7
towards "hero"
armed_with "RED LASER" rate 12
task
attack "hero"
end
procedure "P7a"
wait_until number_of "aair" = 0
create "lfighter"
position 500 -3200 17000 local toxz "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
set_task "laser2"
attack
end
end_procedure terminate after 1 loops
wait_until number_of "aland"=0
set_flag 1
procedure "P7b"
create "atank"
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 4 loops
wait_until proc "P7b" terminated
wait_until number_of "aland"=0
#==============================
end_procedure "P7c"
#....................................................................
phasemessage 50 60
play_speech "follow waypoint marker"
#....................................................................
set_volatile "ssgen6"
set_waypoint "ssgen6"
wait_until distance_between "hero" and waypoint <4000
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
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 30 60
play_speech "incoming alien surface craft"
#....................................................................
procedure "P7a"
create "atank"
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 50 60
play_speech "follow waypoint marker"
#....................................................................
wait_until distance_between "hero" and waypoint < 1000
clear_waypoint
end_procedure "P7d"
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
set_volatile "P8rack"
set_task "P8rack"
slave_to "laser2"
end
switch_hero "laser2"
task
position 34426 -1499 13853
rotate_gun towards "replen1"
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
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
#....................................................................
phasemessage 47 60
play_speech "reinforcements arrived"
#....................................................................
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
#....................................................................
phasemessage 61 60
play_speech "defend installation"
#....................................................................
#==================================
#====wave 1
clear_flag all
phasestart
playcdtrack 7
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 3" rate 16
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 3" rate 16
task
land 36049 -1600 15397.7
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 50
end_procedure terminate after 4 loops
procedure "P8b"
pause 50
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" =0
create "hbomber"
label "P8mother"
position 15935 -527 15062
towards "hero"
armed_with "SATLASER" rate 256
task
land 15935 -3100 15062
do
patrol_towards
point 24092.7 -3100 15484.9
point 32402.1 -3100 14846.4
point 29976.4 -3100 10050.1
shoot
forever
end
set_inert "hero"
if "P8rack" not destroyed
set_inert "P8rack"
camera_task
hud off
cam_pos 0 -3000 3000 local to "P8mother"
cam_focus "P8mother"
pause 200
cam_mode cockpit
set_flag 25
end
wait_until flag 25 set
set_volatile "hero"
if "P8rack" not destroyed
set_volatile "P8rack"
#....................................................................
phasemessage 27 60
play_speech "incoming alien mothership"
#....................................................................
wait_until "P8mother" destroyed
pause 50
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
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
break_task_if flag 31 set
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
wingman to "hero" at 3000 0 -2000
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
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
#==================================
procedure "P9a"
wait_until number_of "aair" <5
create "lfighter"
position 500 -3200 17000 local toxz "hero"
towards "hero"
armed_with "BLUE LASER" rate 24
task
set_vel 4
attack "hero"
break_task_if vel<2
explode
end
pause 25
end_procedure terminate after 16 loops
wait_until proc "P9a" terminated
wait_until number_of "aair"<2
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_waypoint "bsgen8"
wait_until distance_between "hero" and waypoint < 8000
set_volatile "bsgen8"
wait_until "bsgen8" destroyed
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
set_waypoint "hub2"
procedure "P9a"
wait_until number_of "aair" <5
create "lfighter"
position 500 -3200 17000 local toxz "hero"
towards "hero"
armed_with "BLUE LASER" rate 24
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 25 60
play_speech "incoming alien craft"
#....................................................................
wait_until proc "P9a" terminated
wait_until number_of "aair" = 0
;wait_until proc "P9a" terminated
wait_until number_of "aair"<2
#....................................................................
phasemessage 53 60
play_speech "destroy shield generator"
#....................................................................
set_volatile "bsgen5"
set_waypoint "bsgen5"
wait_until "bsgen5" destroyed
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
procedure "P9a"
wait_until number_of "fighters" <9
create "hfighter"
position 0 -1100 0 local to "ring1"
armed_with "BLUE LASER" rate 24
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 24
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 24
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"
wait_until "ring1" destroyed
clear_waypoint
end_procedure "P9a"
wait_until number_of "fighters" = 0
#==================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
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
playcdtrack 4
phasestart
switch_hero "P8-bug2"
task
secondary_armed_with "DESIGNATOR" rate 64 rounds 80
position 0 -150 0 relative to "P10H"
playercontrols
break_task_if flag 31 set
end
camera_task
hud off
cam_pos 600 -200 -600 attached_to "hero"
cam_focus "hero"
dolly 0
set_flag 0
cam_goto -600 -200 -600
wait_until distance_between "hero" and "P10H" > 800
cam_mode cockpit
end
#....................................................................
phasemessage 26 60
play_speech "incoming alien fighters"
#....................................................................
auto_aim "hero"
kill "P8b-team1"
kill "P8b-team2"
create "bug"
position 17000 -3200 500 relative to "P10H"
armed_with "GREEN LASER" rate 8
task
defend "hero"
end
create "bug"
position -17000 -3200 500 relative to "P10H"
armed_with "GREEN LASER" rate 8
task
defend "hero"
end
generation_points
position 45106.2 -1990 133338
position 43416.3 -1710 125449
position 55289.5 -1810 134714
position 60423.3 -1900 127578
createstatic "vbshield"
position 0 0 0 relative to "P10B1"
label "P10shield"
set_inert "P10shield"
procedure "P10make"
create "alnadubs"
position at generation point
armed_with "RED LASER" rate 16
task
attack
end
end_procedure terminate after 4 loops
wait_until proc "P10make" terminated
create "command"
position 0 -5000 34000 relative to "P10H"
towards "hero"
armed_with "RED LASER" rate 32
task
do
move_towards 0 -5000 0 relative to "P10H"
shoot
until distance_between "P10H" and me <8000
stop
armed_with "DESIGNATOR" rate 256
do
shoot
forever
end
create "command"
position 0 -5000 -44000 relative to "P10H"
towards "hero"
armed_with "RED LASER" rate 32
task
do
move_towards 0 -5000 0 relative to "P10H"
shoot
until distance_between "P10H" and me <8000
stop
armed_with "DESIGNATOR" rate 256
do
shoot
forever
end
#==============================================================================================
generation_points
position 0 -3200 17000 local toxz "hero"
position -8000 -3200 -17000 local toxz "hero"
position 8000 -3200 17000 local toxz "hero"
procedure "P10a"
wait_until number_of "aair"< 6
create "lfighter"
position at generation point
towards "hero"
armed_with "RED LASER" rate 16
task
if rand & 1 = 0
attack "hero"
else
{
secondary_armed_with "ENERGY 2" rate 64 rounds 1
attack "P10H"
}
attack
end
pause 25
end_procedure terminate after 12 loops
pause 100
#....................................................................
phasemessage 27 60
play_speech "incoming alien mothership"
#....................................................................
wait_until proc "P10a" terminated
wait_until number_of "aair" = 0
#==============================================================================================
procedure "P10a"
if "P10shield" not destroyed
{
wait_until number_of "Abld" <6
pause 100
set_volatile "P10shield"
explode "P10shield"
create "command"
position 0 -5000 -34000 relative to "hero"
towards "hero"
armed_with "RED LASER" rate 16
task
do
move_towards 0 -5000 0 relative to "P10B1"
shoot
until distance_between "P10B1" and me <20000
#....................................................................
phasemessage 27 60
play_speech "incoming alien mothership"
#....................................................................
do
move_towards 0 -5000 0 relative to "P10B1"
shoot
until distance_between "P10B1" and me <6000
stop
armed_with "ENERGY 2" rate 128
do
shoot "hero"
forever
end
#....................................................................
phasemessage 25 60
play_speech "incoming alien craft"
#....................................................................
}
if "P10B1" not destroyed
{
wait_until number_of "aair" <9
create "lfighter"
position -1700 -4100 0 local toxz "hero"
armed_with "RED LASER" rate 16
task
set_vel 70
attack "hero"
end
pause 50
wait_until number_of "fighters" <9
create "hfighter"
position 800 -1100 500 local to "P10B1"
towards "hero"
armed_with "RED LASER" rate 16
task
land 800 -3200 500 local to "P10B1"
set_vel 70
attack "hero"
break_task_if vel<2
explode
end
pause 50
wait_until number_of "aair" <9
create "lfighter"
position -800 -1100 -500 local to "P10B1"
armed_with "RED LASER" rate 16
task
land -800 -2900 -500 local to "P10B1"
set_vel 70
attack "hero"
break_task_if vel<2
explode
end
pause 60
}
end_procedure
#....................................................................
phasemessage 50 60
play_speech "follow waypoint marker"
#....................................................................
set_waypoint "P10B7"
wait_until distance_between "hero" and waypoint < 10000
#....................................................................
phasemessage 52 60
play_speech "destroy alien installation"
#....................................................................
wait_until "P10B7" destroyed
if "P10B3" not destroyed
{
set_waypoint "P10B3"
#=========================================
wait_until "P10B3" destroyed
}
if "P10B4" not destroyed
{
set_waypoint "P10B4"
wait_until "P10B4" destroyed
}
if "P10B5" not destroyed
{
set_waypoint "P10B5"
wait_until "P10B5" destroyed
}
if "P10B6" not destroyed
{
set_waypoint "P10B6"
wait_until "P10B6" destroyed
}
if "P10B2" not destroyed
{
set_waypoint "P10B2"
wait_until "P10B2" destroyed
}
if "P10B1" not destroyed
{
set_waypoint "P10B1"
wait_until "P10B1" destroyed
}
clear_waypoint
end_procedure "P10a"
wait_until number_of "aair" = 0
wait_until number_of "fighters" = 0
wait_until number_of "amother" = 0
pause 50
#....................................................................
phasemessage 26 60
play_speech "incoming alien fighters"
#....................................................................
generation_points
position 0 -3200 -17000 local toxz "hero"
position 0 -3200 17000 local toxz "hero"
position -17000 -3200 0 local toxz "hero"
position 17000 -3200 0 local toxz "hero"
procedure "P10a"
create "lfighter"
position at generation point
towards "hero"
armed_with "RED LASER" rate 16
task
attack
end
pause 25
end_procedure terminate after 8 loops
wait_until proc "P10a" terminated
wait_until number_of "aair" = 0
#=================================
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 9 60
play_speech "scenario complete"
#....................................................................
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