home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 38
/
ZGIDEMO.iso
/
Incoming
/
_SETUP.1
/
mission2.mdl
< prev
next >
Wrap
Text File
|
1997-10-13
|
44KB
|
2,488 lines
drag_coeff 0.01
gravity 2.2
;-------------------------------------------------------
;type "PLASMA BOLT 1" alien heavy cannon rate 14 tank 28 fa & battle
;type "TRACER SHOT 1" player ssm rate 32
;type "ROCKET 1" player light rocket rate 4
;type "GUIDED MISSILE" player guided missile rate 64 heli 32 jetftr
;type "GREEN LASER" player fixed gun rate 2
;type "GREEN ENERGY LASER" player fixed gun rate 16 on gun turrets
;type "PLASMA BOLT 2" alien medium cannon rate 11
;type "PLASMA BOLT 3" alien light cannon rate 8
;type "ROCKET 2" player heavy rocket rate 20
;type "RED LASER" player heavy gun rate 4
;type "BLUE LASER" player medium gun rate -
;type "PURPLE LASER" player light gun rate 2
;type "BOMB 1" ? rate -
;type "ENERGY 1" alien special weapon rate 32
;type "PLASMA BOLT 4" alien bomb rate 4 nom 32 free attack
;type "DESIGNATOR" satellite attack weapon rate 128
phasestart
clear_flag all
critical_group "ccentre"
;-------------------------------------------------------
;-------------player units
create "helicopter"
label "cichli"
; position 14500 -122 14500
position 14500 -122 16400
forward 0.5 0 -0.8 up 0 1 0
armed_with "PURPLE LASER" rate 2
secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
inert
create hero "hovercraft"
label "foil"
position 16982 on ground 14883
forward 0 0 1 up 0 1 0
armed_with "RED LASER" rate 4
secondary_armed_with "ROCKET 1" rate 32 rounds 20
task
wait_until flag 0 set
playercontrols
kill
end
create "mobaaa"
label "nulquen"
position 14450 -1709 11100
forward -1 0 0 up 0 1 0
armed_with "GREEN LASER" rate 2
inert
create "mobaaa"
label "overand"
position 14400 -1244 22500
forward 0.5 0 -0.8 up 0 1 0
armed_with "GREEN LASER" rate 2
inert
create "mobrack"
label "overandS"
position 13650 -1244 22500
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 64
task
slave_to "overand"
end
;------------------------------------
;------------enemy turrets
;create "alnadubs"
; position 52500 on ground 44000
; forward 1 0 0 up 0 1 0
; armed_with "GREEN ENERGY LASER" rate 24
; task
; attack
; end
;create "alnadubs"
; label "gun2"
; position 46500 on ground 20000
; forward 1 0 0 up 0 1 0
; armed_with "GREEN ENERGY LASER" rate 4
; task
; attack
; end
;create "alnadubs"
; position 55000 on ground 33000
; forward 1 0 0 up 0 1 0
; armed_with "GREEN ENERGY LASER" rate 24
; task
; attack
; end
;create "alnadubs"
; label "gun6"
; inert
; position 46698 on ground 22914
; forward 1 0 0 up 0 1 0
; armed_with "GREEN ENERGY LASER" rate 24
; task
; attack
; end
;-----------------phase 1 enemy turrets
create "alnadubs"
label "gun7"
position 40500 on ground 30000
forward -1 0 0 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 32
task
attack
end
create "alnadubs"
label "gun8"
position 36500 on ground 37000
forward -1 0 0 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 32
task
attack
end
;-----------------turret shields---------------------------
createstatic "sshield"
no_colide "gun7"
die_with "sssgen7"
position 40500 on ground 30000
createstatic "sshield"
no_colide "gun8"
die_with "sssgen8"
position 36500 on ground 37000
;-----------------small shields---------------------------
createstatic "sshield"
no_colide "ssgen2"
die_with "ssgen2"
position 36000 on ground 56500
createstatic "sshield"
no_colide "ssgen3"
die_with "ssgen3"
position 31000 on ground 54000
createstatic "sshield"
no_colide "ssgen4"
die_with "ssgen4"
position 37500 on ground 53500
createstatic "sshield"
no_colide "ssgen5"
die_with "ssgen5"
position 49500 on ground 26000
;-----------------big shields---------------------------
createstatic "bshield"
no_colide "bsgen3"
die_with "bsgen3"
position 55000 on ground 40000
createstatic "bshield"
no_colide "bsgen2"
die_with "bsgen2"
position 52000 on ground 18500
createstatic "bshield"
no_colide "bsgen1"
die_with "bsgen1"
position 51000 on ground 49400
;-------------------------------------------------------
;PHASE 1
;-------------------------------------------------------
phasemessage 92 60
playcdslow
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
procedure "P1-bog"
wait_until "bog" destroyed
pause 10
camera_task
cam_pos -100 -100 -1000 attached_to "bog"
cam_focus "bog"
cam_goto 50 -100 -50
cam_goto -50 -100 -100
pause 50
cam_mode cockpit
end
end_procedure terminate after 1 loops
;-----------------------------
;-------------cosmetic
create "aivtol"
position 18000 -1800 10000
forward 0 0 1 up 0 1 0
task
goto 18000 -1800 17000
goto 17500 -2200 20000
goto 14000 -3000 28000
kill
end
create "aivtol"
position 16000 -1600 8000
forward 0 0 1 up 0 1 0
task
goto 16000 -1600 17000
goto 15500 -2000 20000
goto 12000 -2800 28000
kill
end
;------------------------------
set_waypoint "sssgen8"
create "attakhov"
position 18179.7 on ground 19646.9
forward 1 0 0 up 0 1 0
armed_with "RED LASER" rate 8
task
goto 24249.2 on ground 27127.4
goto 29508.2 on ground 28851.3
attack "sssgen8"
attack "gun8"
attack "sssgen7"
attack "gun7"
goto 18179.7 on ground 19646.9
kill
end
pause 100
create "attakhov"
position 18179.7 on ground 19646.9
forward 1 0 0 up 0 1 0
armed_with "RED LASER" rate 8
task
goto 24249.2 on ground 27127.4
goto 29508.2 on ground 28851.3
attack "sssgen7"
attack "gun7"
attack "sssgen8"
attack "gun8"
goto 18179.7 on ground 19646.9
kill
end
camera cockpit
set_flag 0
wait_until distance_between waypoint and "hero" <10000
end_procedure "P1-bog"
phasemessage 20 60
wait_until "sssgen8" destroyed
set_waypoint "sssgen7"
wait_until "sssgen7" destroyed
clear_waypoint
phasemessage 21 60
wait_until "gun7" destroyed
and "gun8" destroyed
clear_waypoint
phasemessage 22 50
create "aivtol"
label "astrike1"
position 41500 -2800 15000
forward 0 0 1 up 0 1 0
armed_with "ROCKET 2" rate 1
task
goto 41500 -2800 28000
shoot "rad1"
goto 41500 -2800 32000
shoot "rad1"
set_flag 8
goto 38500 -3000 34000
set_flag 3
goto 10000 -4000 60000
kill
end
create "aivtol"
label "astrike2"
position 40500 -2800 17000
forward 0 0 1 up 0 1 0
armed_with "ROCKET 2" rate 1
task
goto 40500 -2800 26000
shoot "rad1"
goto 40500 -2800 30000
shoot "rad1"
goto 36500 -3000 34000
set_flag 3
goto 10000 -4000 60000
kill
end
camera_task
hud off
cam_pos 0 0 1000 attached_to "astrike1"
cam_focus "astrike2"
cam_goto 1000 0 -1000
cam_focus "astrike1"
dolly 1
dollyspeed 0.1%
cam_goto -1000 0 8000
end
wait_until flag 8 set
pause 40
startwave 0 -50 0 relative to "rad1" 0
pause 5
startwave 0 -50 0 relative to "rad1" 0
pause 5
startwave 0 -50 0 relative to "rad1" 0
pause 5
startwave 0 -50 0 relative to "rad1" 0
wait_until flag 3 set
set_waypoint "rad1"
pause 50
camera cockpit
phasemessage 23 60
wait_until "rad1" destroyed
startwave 0 -150 0 relative to "rad1" 0
pause 5
startwave 0 -170 0 relative to "rad1" 0
pause 5
startwave 0 -190 0 relative to "rad1" 0
pause 5
startwave 0 -210 0 relative to "rad1" 0
phasemessage 91 60
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 2
;-------------------------------------------------------
phasestart
phasemessage 7 80
clear_flag all
clear_waypoint
kill group "vtol"
kill group "aihuman"
switch_hero "nulquen"
task
wait_until flag 0 set
playercontrols
end
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
;-----------------------
;-----------------wave 1
procedure "a1"
create "lfighter"
position 11149.3 -2795.4 24777.3
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 15253.8 -735.4 16955
goto 14001.8 -2345.4 14158.9
goto 14723.5 -2915.4 10939.1
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
procedure "a2"
create "lfighter"
position 15934.9 -2825.4 22936.9
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 13084.9 -1115.4 16496.9
goto 13744.9 -595.4 15106.9
goto 14001.8 -2000 14158.9
goto 14723.5 -2600 10939.1
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
pause 10
wait_until number_of "aair" = 0
end_procedure "a1"
end_procedure "a2"
;-----------------------
;-----------------wave 2
procedure "a1"
create "lfighter"
position 22589.4 -1447.12 15757.2
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 20742.9 -2477.12 15533.4
shoot "hero" bomb
goto 16851.3 -750 15061.7
goto 15354.4 -2517.12 12452.6
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
pause 10
wait_until number_of "aair" = 0
end_procedure "a1"
;-----------------------
;-----------------wave 3
procedure "a1"
create "lfighter"
position 11149.3 -2795.4 24777.3
towards "hero"
armed_with "PLASMA BOLT 2" rate 8
task
do
goto 14253.8 -735.4 15955
attack group "replen"
until "hero" destroyed
; attack "hero"
end
pause 50
end_procedure terminate after 3 loops
wait_until proc "a1" terminated
wait_until number_of "aair" <=2
procedure "a1"
create "lfighter"
position 22589.4 -1447.12 15757.2
towards "hero"
armed_with "PLASMA BOLT 2" rate 8
task
goto 20742.9 -2477.12 15533.4
shoot "hero" bomb
goto 16851.3 -750 15061.7
goto 15354.4 -2517.12 12452.6
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
wait_until number_of "aair" =0
end_procedure "a1"
;-----------------------
;-----------------wave 4
procedure "a1"
create "hfighter"
position 11076.3 -1132 9753.88
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 11685.3 -2042 10008.3
goto 12801.7 -2782 10474.9
shoot "hero" bomb
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
pause 10
wait_until number_of "fighters" =0
end_procedure "a1"
;-----------------
phasemessage 91 60
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 3
;-------------------------------------------------------
phasestart
phasemessage 24 60
playcdfast
clear_flag all
;set_task "foil"
; position 16982 on ground 14883
; forward 0 0 1 up 0 1 0
; secondary_armed_with "TRACER SHOT 1" rate 32 rounds 20
; end
;set_inert "foil"
switch_hero "cichli"
task
wait_until flag 0 set
playercontrols
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 "replen1" > 500
cam_mode cockpit
end
create "alnadubs"
label "gun4"
position 32500 on ground 59000
forward 1 0 0 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 24
task
attack
end
create "alnadubs"
label "gun5"
position 31000 on ground 51000
forward 1 0 0 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 24
task
attack
end
critical_group "aihuman"
#------------------------
#------create hover hanks
create "sloathov"
label "attack"
position 35385 on ground 45505
forward 0 0 1 up 0 1 0
armed_with "RED LASER" rate 7
task
wait_until flag 1 set
goto 34829.3 on ground 50211.6
goto 36643 on ground 52008.9
do
shoot "ssgen4" bomb
until "ssgen4" destroyed
do
shoot "abld4" bomb
until "abld4" destroyed
end
create "sloathov"
position 36380 on ground 43810
forward 0 0 1 up 0 1 0
armed_with "RED LASER" rate 7
task
wait_until flag 1 set
goto 34829.3 on ground 50211.6
goto 34300 on ground 55666.2
do
shoot "ssgen2" bomb
until "ssgen2" destroyed
do
shoot "abld2" bomb
until "abld2" destroyed
end
create "sloathov"
position 35691.8 on ground 41063.4
forward 0 0 1 up 0 1 0
armed_with "RED LASER" rate 7
task
wait_until flag 1 set
goto 34829.3 on ground 50211.6
goto 32904.6 on ground 53290.5
do
shoot "ssgen3" bomb
until "ssgen3" destroyed
do
shoot "abld3" bomb
until "abld3" destroyed
end
#------------------------------
#------create alien hover hanks
procedure "a1"
create "atank"
position 30867 on ground 22602.8
armed_with "PLASMA BOLT 3" rate 16
task
goto 35644.4 on ground 22935.6
goto 40960.6 on ground 27364.7
attack group "aihuman"
end
pause 50
end_procedure terminate after 3 loops
pause 10
#------------------------------------
#------waypoint to closest enemy tank
procedure "wp land"
set_waypoint nearest "aland"
end_procedure
wait_until proc "a1" terminated
wait_until number_of "aland" <= 2
create "lfighter"
position -17000 -3200 500 relative toxz "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
create "lfighter"
position -17000 -3200 800 relative toxz "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
procedure "a2"
wait_until number_of "aair"<3
create "lfighter"
position 17000 -3200 500 relative toxz "hero"
armed_with "PLASMA BOLT 2" rate 16
task
attack group "aihuman"
attack "hero"
end
pause 50
end_procedure terminate after 8 loops
wait_until number_of "aland"=0
end_procedure "wp land"
clear_waypoint
wait_until number_of "aair"=0
end_procedure "a2"
;---------------all tanks gone
;---------------all aair gone
;-----------------------------
phasemessage 21 60
set_waypoint "gun4"
wait_until "gun4" destroyed
set_waypoint "gun5"
wait_until "gun4" destroyed and "gun5" destroyed
clear_waypoint
set_flag 1
phasemessage 25 60
procedure "a1"
wait_until number_of "aair"<3
create "lfighter"
position 17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
procedure "a2"
wait_until number_of "fighters"<3
create "hfighter"
position -17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
pause 30
phasemessage 2 60
wait_until proc "a1" terminated
wait_until proc "a2" terminated
wait_until number_of "aair" =0
wait_until number_of "fighters" =0
phasemessage 26 60
set_waypoint "ssgen2"
wait_until "ssgen2"destroyed
set_waypoint "abld2"
wait_until "abld2"destroyed
set_waypoint "ssgen3"
wait_until "ssgen3"destroyed
set_waypoint "abld3"
wait_until "abld3"destroyed
set_waypoint "ssgen4"
wait_until "ssgen4"destroyed
set_waypoint "abld4"
wait_until "abld4"destroyed
phasemessage 91 60
clear_waypoint
uncritical_group "aihuman"
pause 20
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 4
;-------------------------------------------------------
phasestart
phasemessage 27 60
playcdslow
clear_flag all
clear_waypoint
kill group "aihuman"
create "vtol"
label "eutow"
position 15000 -3000 10000
armed_with "BLUE LASER" rate 2
secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
switch_hero "eutow"
task
; setfuel 4000
wait_until flag 0 set
playercontrols
end
auto_aim "hero"
set_inert "cichli"
set_task "cichli"
position 14500 -122 14500
end
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
create "lgfighter"
position 37500 -80 32000
forward 1 0 0 up 0 1 0
create "lgfighter"
position 37500 -80 31000
forward 1 0 0 up 0 1 0
create "hgfighter"
position 39500 -80 32500
forward -1 0 0 up 0 1 0
create "lgfighter"
position 39500 -80 32000
forward -1 0 0 up 0 1 0
create "lgbomber"
position 39500 -80 31500
forward -1 0 0 up 0 1 0
create "lgbomber"
position 39500 -80 31000
forward -1 0 0 up 0 1 0
procedure "wp"
set_waypoint nearest "agrnd"
end_procedure
procedure "a1"
wait_until number_of "aair" < 4
create "lfighter"
position 60830.8 -3181.14 28794
task
patrol
point 47037.2 -3181.14 29216.3
point 32569.1 -3181.14 33421.1
point 32568.5 -3181.14 41738.2
point 40782.4 -3181.14 36217.7
end
pause 250
end_procedure terminate after 6 loops
wait_until number_of "agrnd" =0
end_procedure "wp"
phasemessage 2 60
procedure "wp"
set_waypoint nearest "aair"
end_procedure
wait_until proc "a1" terminated
wait_until number_of "aair" =0
clear_waypoint
end_procedure "wp"
phasemessage 91 60
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 5
;-------------------------------------------------------
phasestart
phasemessage 28 60
clear_flag all
kill "eutow"
switch_hero "cichli"
task
position 14500 -122 16400
forward 0 0 1 up 0 1 0
wait_until flag 0 set
secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
playercontrols
position 14500 -122 16400
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 "replen1" > 500
cam_mode cockpit
end
;---------------------------------
;---------get me home please------
create "momorack"
label "mobile1"
armed_with "RED LASER" rate 4
mission_critical
position 16000 on ground 17000
forward 0 0 1 up 0 1 0
task
goto 18000 on ground 21000
goto 15500 on ground 30000
goto 9000 on ground 55000
stop
set_flag 1
end
;---------me too------------------
create "momobrad"
label "mobile2"
mission_critical
position 17000 on ground 17500
forward 0 0 1 up 0 1 0
task
goto 19000 on ground 21000
goto 16500 on ground 30000
goto 9900 on ground 55900
stop
end
procedure "wp"
set_waypoint nearest "aihuman"
end_procedure
;----------------------------------
;-----------BADDIES
;-----------first wave
set_flag 11
procedure "P5a"
wait_until flag 11 set
wait_until number_of "aair"<2
create "lfighter"
position 17000 -3200 500 relative toxz "mobile1"
towards "hero"
armed_with "PLASMA BOLT 2" rate 12
task
attack "mobile1"
attack "mobile2"
end
clear_flag 11
; set_flag 12
set_flag 14
pause 50
end_procedure
procedure "P5b"
wait_until number_of "fighters"<1
; wait_until flag 12 set
create "hfighter"
position -17000 -3200 500 relative toxz "mobile1"
towards "hero"
armed_with "PLASMA BOLT 2" rate 16
task
attack "mobile2"
attack "mobile1"
end
; clear_flag 12
; set_flag 13
pause 50
end_procedure
procedure "P5c"
wait_until number_of "bombers"<1
; wait_until flag 13 set
create "lbomber"
position 500 -3200 17000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 2" rate 16
task
attack "hero"
end
; clear_flag 13
; set_flag 14
pause 50
end_procedure
procedure "P5d"
wait_until flag 14 set
wait_until number_of "aair"<2
create "lfighter"
position 500 -3200 -17000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 2" rate 12
task
attack "mobile2"
attack "mobile1"
end
clear_flag 14
set_flag 11
pause 50
end_procedure
;----------------------------------
wait_until flag 1 set
end_procedure "wp"
end_procedure "P5a"
end_procedure "P5b"
end_procedure "P5c"
end_procedure "P5d"
clear_waypoint
wait_until number_of "aair"=0
wait_until number_of "bombers"=0
wait_until number_of "fighters"=0
mission_uncritical "mobile1"
mission_uncritical "mobile2"
phasemessage 91 60
set_inert "cichli"
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 6
;-------------------------------------------------------
phasestart
phasemessage 29 80
clear_flag all
clear_waypoint
create "vtol"
label "flutter"
position 15000 -3000 30000
forward 1 0 0 up 0 1 0
armed_with "BLUE LASER" rate 2
secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
switch_hero "flutter"
task
wait_until flag 0 set
playercontrols
end
auto_aim "hero"
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
kill group "aihuman"
create "sloathov"
label "P6hov1"
position 21860 on ground 36600
forward 1 0 0 up 0 1 0
armed_with "ROCKET 2" rate 8
task
goto 22650 on ground 27770
goto 28306.8 on ground 23204.2
goto 36086.7 on ground 22231.8
goto 45128.7 on ground 21929.4
goto 46875.1 on ground 19366.9
set_flag 2
do
shoot "bsgen2" bomb
until "bsgen2" destroyed
do
shoot "pad2" bomb
until "pad2" destroyed
goto 48037.5 on ground 24078.4
do
shoot "ssgen5" bomb
until "ssgen5" destroyed
do
shoot "abld5" bomb
until "abld5" destroyed
end
create "sloathov"
position 21690 on ground 37317
forward 1 0 0 up 0 1 0
armed_with "ROCKET 2" rate 8
task
goto 22650 on ground 27770
goto 28306.8 on ground 23204.2
goto 36086.7 on ground 22231.8
goto 45128.7 on ground 21929.4
goto 48037.5 on ground 24078.4
set_flag 2
do
shoot "ssgen5" bomb
until "ssgen5" destroyed
do
shoot "abld5" bomb
until "abld5" destroyed
goto 46875.1 on ground 19366.9
do
shoot "bsgen2" bomb
until "bsgen2" destroyed
do
shoot "pad2" bomb
until "pad2" destroyed
end
critical_group "aihuman"
pause 40
set_flag 0
camera cockpit
procedure "a1"
create "lfighter"
position 17000 0 0 relative to 29728.3 -3264 42862.6
towards "hero"
armed_with "PLASMA BOLT 3" rate 1
task
do
goto 25968.8 -1854 39992.2
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
goto 22075.2 -1854 34692.9
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
goto 23531.4 -1854 29002.7
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
goto 26433.3 -3322.04 25280.8
shoot group "aihuman" bomb
shoot group "aihuman" bomb
goto 39436.5 -1807.57 21918.6
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
pause 2
shoot group "aihuman" bomb
goto 46672.6 -5283.99 29082.1
until number_of "aihuman" = 0
end
pause 200
end_procedure terminate after 4 loops
procedure "wp"
set_waypoint nearest "aihuman"
end_procedure
wait_until flag 2 set
end_procedure "wp"
end_procedure "a1"
clear_waypoint
uncritical_group "aihuman"
procedure "a1"
create "lfighter"
position 17000 -3200 0 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
create "lfighter"
position -17000 -3200 0 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
pause 200
end_procedure terminate after 3 loops
wait_until proc "a1" terminated
wait_until number_of "aair" = 0
set_waypoint "ssgen5"
wait_until "ssgen5" destroyed
set_waypoint "abld5"
wait_until "abld5" destroyed
set_waypoint "bsgen2"
wait_until "bsgen2" destroyed
set_waypoint "pad2"
wait_until "pad2" destroyed
clear_waypoint
phasemessage 91 60
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 7
;-------------------------------------------------------
phasestart
phasemessage 24 60
clear_flag all
kill group "aihuman"
create "momorack_S"
position 9000 on ground 55000
label "StaticMobile1"
armed_with "RED LASER" rate 8
task
wait_until flag 2 set
attack
end
create "wcrate2"
label "rambo"
position 15000 on ground 18000
mission_critical
task
wait_until flag 3 set
bepod
set_flag 1
take_to "StaticMobile1"
set_flag 2
end
switch_hero "cichli"
task
wait_until flag 0 set
playercontrols
break_task_if distance_between "cichli" and "rambo" <2000 and flag 3 set
playercontrolswithrope from "rambo" to "StaticMobile1"
playercontrols
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 "replen1" > 500
cam_mode cockpit
wait_until distance_between "hero" and "rambo" <2000 and flag 3 set
cam_pos 0 0 -2000 attached_to "rambo"
cam_focus "hero"
hud off
pause 20
cam_goto 1000 0 0
wait_until flag 1 set
cam_mode cockpit
wait_until distance_between "hero" and "StaticMobile1" <2000
cam_pos 0 0 -2000 attached_to "StaticMobile1"
cam_focus "hero"
hud off
pause 50
cam_goto 1000 -200 1000
wait_until flag 2 set
cam_mode cockpit
end
;------------------------------------
kill "flutter"
set_flag 11
procedure "P7a"
wait_until number_of "aair"<6
wait_until flag 11 set
create "lfighter"
position -17000 -3700 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 11
set_flag 12
pause 50
end_procedure terminate after 3 loops
procedure "P7b"
wait_until number_of "aair"<6
wait_until flag 12 set
create "lfighter"
position -17000 -3500 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 12
set_flag 13
pause 50
end_procedure terminate after 3 loops
procedure "P7c"
wait_until number_of "aair"<6
wait_until flag 13 set
create "lfighter"
position -17000 -3700 800 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 13
set_flag 14
pause 50
end_procedure terminate after 3 loops
procedure "P7d"
wait_until number_of "aair"<6
wait_until flag 14 set
create "lfighter"
position -17000 -3500 800 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 14
set_flag 11
pause 50
end_procedure terminate after 3 loops
pause 2
wait_until proc "P7a" terminated
wait_until proc "P7b" terminated
wait_until proc "P7c" terminated
wait_until proc "P7d" terminated
wait_until number_of "aair"=0
;------------------------------------
set_flag 11
clear_flag 12
clear_flag 13
clear_flag 14
procedure "P7a"
wait_until number_of "aair"<6
wait_until flag 11 set
create "lfighter"
position 17000 -3700 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 11
set_flag 12
pause 50
end_procedure terminate after 3 loops
procedure "P7b"
wait_until number_of "aair"<6
wait_until flag 12 set
create "lfighter"
position 17000 -3500 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 12
set_flag 13
pause 50
end_procedure terminate after 3 loops
procedure "P7c"
wait_until number_of "aair"<6
wait_until flag 13 set
create "lfighter"
position 17000 -3700 800 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 13
set_flag 14
pause 50
end_procedure terminate after 3 loops
procedure "P7d"
wait_until number_of "aair"<6
wait_until flag 14 set
create "lfighter"
position 17000 -3500 800 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
attack "hero"
end
clear_flag 14
set_flag 11
pause 50
end_procedure terminate after 3 loops
pause 2
wait_until proc "P7a" terminated
wait_until proc "P7b" terminated
wait_until proc "P7c" terminated
wait_until proc "P7d" terminated
wait_until number_of "aair"=0
phasemessage 30 60
;------------------------------------
set_waypoint "rambo"
set_flag 3
wait_until flag 1 set
pause 20
set_volatile "StaticMobile1"
set_waypoint "StaticMobile1"
phasemessage 92 120
procedure "a1"
create "skimmer"
position 14328 on ground 37429.7
; armed_with "PLASMA BOLT 3" rate 32
; armed_with "ROCKET 1" rate 64
armed_with "GUIDED MISSILE" rate 64
task
goto 13615.5 on ground 40795.1
goto 12466 on ground 46224.7
goto 10010.6 on ground 54056
goto 10465 on ground 58475.9
attack group "aihuman"
attack
end
pause 50
end_procedure terminate after 3 loops
create "momorack_S"
position 9741.8 on ground 58868.5
armed_with "RED LASER" rate 8
task
wait_until flag 2 set
attack
end
wait_until distance_between "hero" and waypoint <12000
phasemessage 31 50
wait_until flag 2 set
;-----------------
;-----crate droped
phasemessage 32 40
clear_waypoint
;-----remove crate
kill "rambo"
set_flag 11
clear_flag 12
clear_flag 13
clear_flag 14
procedure "P7a"
wait_until number_of "aair"<6
wait_until flag 11 set
create "lfighter"
position 17000 -3700 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 8
task
attack group "aihuman"
attack
end
clear_flag 11
set_flag 12
pause 50
end_procedure terminate after 4 loops
procedure "P7b"
wait_until number_of "aair"<6
wait_until flag 12 set
create "lfighter"
position 800 -3700 17000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
clear_flag 12
set_flag 13
pause 50
end_procedure terminate after 4 loops
procedure "P7c"
wait_until number_of "aair"<6
wait_until flag 13 set
create "lfighter"
position 17000 -3500 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
clear_flag 13
set_flag 14
pause 50
end_procedure terminate after 4 loops
procedure "P7d"
wait_until number_of "aair"<6
wait_until flag 14 set
create "lfighter"
position -17000 -3500 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 8
task
attack group "aihuman"
attack
end
clear_flag 14
set_flag 11
pause 50
end_procedure terminate after 4 loops
pause 60
phasemessage 2 30
wait_until proc "P7a" terminated
wait_until proc "P7b" terminated
wait_until proc "P7c" terminated
wait_until proc "P7d" terminated
wait_until number_of "aair"=0
wait_until number_of "aland"=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 8
;-------------------------------------------------------
phasestart
phasemessage 7 60
playcdfast
clear_flag all
clear_waypoint
kill group "aihuman"
kill group "agun"
set_volatile "overand"
switch_hero "overand"
task
wait_until flag 0 set
playercontrols
end
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
set_inert "cichli"
set_task "cichli"
position 8500 -132 56500
end
;==================================
;-----------first wave
procedure "P8bonus"
pause 500
create "lbomber"
position 31100 -4000 20530
towards "hero"
task
goto -2180 -4100 17165
kill
end
pause 500
end_procedure terminate after 4 loops
set_flag 11
procedure "P8a"
wait_until flag 11 set
create "lfighter"
position 21499.1 -958.451 11371.9
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
goto 18932.4 -1753.16 11347.4
goto 17821.7 -1903.78 13880.5
goto 19160.6 -2011.62 16604.4
goto 13333.7 -2300 17865.7
shoot "hero" bomb
attack "hero"
end
pause 20
clear_flag 11
set_flag 12
end_procedure terminate after 3 loops
procedure "P8b"
wait_until flag 12 set
create "lfighter"
position 21499.1 -958.451 11371.9
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
goto 18932.4 -1753.16 11347.4
goto 17821.7 -1903.78 13880.5
goto 14966 -2009.12 14765.4
goto 17793.8 -2000 19821.2
shoot "hero" bomb
attack "hero"
end
pause 20
clear_flag 12
set_flag 11
end_procedure terminate after 3 loops
wait_until proc "P8a" terminated
wait_until proc "P8b" terminated
wait_until number_of "aair" =0
;==================================
;-----------second wave
create "bomber"
position 22195.7 -3500 4231.82
towards "hero"
armed_with "ENERGY 2" rate 1
task
do
goto 16275.5 -3500 8970.29
shoot bomb
pause 2
shoot bomb
pause 2
shoot bomb
goto 13351.8 -3500 14483
shoot bomb
pause 2
shoot bomb
pause 2
shoot bomb
goto 19095.2 -3500 17420.9
shoot bomb
pause 2
shoot "hero" bomb
; shoot "hero" bomb
shoot bomb
shoot bomb
until "hero" destroyed
end
set_flag 11
clear_flag 12
procedure "P8a"
wait_until flag 11 set
create "lfighter"
position 22107.2 -1757 4433.22
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
goto 20665.9 -1757 7189.11
goto 18010.4 -1757 8835.98
goto 16867.9 -2187 14343.7
goto 12956.6 -2547 16665.4
shoot "hero" bomb
attack "hero"
end
pause 30
clear_flag 11
set_flag 12
end_procedure terminate after 2 loops
procedure "P8b"
wait_until flag 12 set
create "lfighter"
position 22107.2 -1757 4433.22
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
goto 20665.9 -1757 7189.11
goto 20580.2 -1757 10179.9
goto 16867.9 -2187 14343.7
goto 18415.2 -2547 19520.1
shoot "hero" bomb
attack "hero"
end
pause 30
clear_flag 12
set_flag 11
end_procedure terminate after 2 loops
wait_until proc "P8a" terminated
wait_until proc "P8b" terminated
wait_until number_of "aair" =0
wait_until number_of "bombers" =0
;==================================
;-----------third wave
procedure "P8a"
create "lfighter"
position 21152.7 -1627 30451.1
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
goto 19599 -3037 28728.2
goto 17442.6 -3037 26336.9
shoot "overandS" bomb
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
procedure "P8b"
create "lfighter"
position 4854.07 -1477 22298.7
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
goto 6392.07 -2127 22037.7
goto 9961.03 -2677 21431.9
shoot "hero" bomb
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
wait_until proc "P8a" terminated
wait_until proc "P8b" terminated
wait_until number_of "aair" =0
wait_until number_of "aair" =0
end_procedure "P8bonus"
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
;-------------------------------------------------------
phasestart
phasemessage 2 60
playcdslow
clear_flag all
clear_waypoint
set_inert "bsgen3"
set_inert "bsgen1"
create "helicopter"
label "gescom"
position 34750 -600 46310
towards 39350 -800 57590
armed_with "BLUE LASER" rate 2
secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
switch_hero "gescom"
task
playercontrols
end
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
create "alnadubs"
label "P9gun1"
position 52500 on ground 44000
forward 1 0 0 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 32
task
attack
end
create "alnadubs"
label "P9gun2"
position 60750 on ground 39510
forward 1 0 0 up 0 1 0
armed_with "GREEN ENERGY LASER" rate 32
task
attack
end
create "alnadubs"
position 50083.9 on ground 61939.1
armed_with "GREEN ENERGY LASER" rate 8
task
attack
end
create "alnadubs"
position 50552.9 on ground 56624.1
armed_with "GREEN ENERGY LASER" rate 8
task
attack
end
create "lfighter"
position 51000 -80 35000
forward -1 0 0 up 0 1 0
armed_with "GUIDED MISSILE" rate 32
task
wait_until flag 5 set
goto 53780 -4300 30250
attack "hero"
end
create "lfighter"
position 51000 -80 36000
forward -1 0 0 up 0 1 0
armed_with "PLASMA BOLT 2" rate 16
task
wait_until flag 5 set
pause 50
goto 53780 -4300 30250
attack "hero"
end
create "lfighter"
position 51000 -80 36500
forward -1 0 0 up 0 1 0
armed_with "ENERGY 2" rate 32
task
wait_until flag 5 set
pause 100
goto 53780 -4300 30250
attack "hero"
end
create "hfighter"
position 53000 -80 35000
forward 1 0 0 up 0 1 0
armed_with "PLASMA BOLT 2" rate 16
task
wait_until flag 5 set
pause 150
goto 53780 -4300 30250
attack "hero"
end
create "hfighter"
position 53000 -80 35500
forward 1 0 0 up 0 1 0
armed_with "PLASMA BOLT 2" rate 16
task
wait_until flag 5 set
pause 200
goto 53780 -4300 30250
attack "hero"
end
create "hfighter"
position 53000 -80 36000
forward -1 0 0 up 0 1 0
armed_with "PLASMA BOLT 2" rate 16
task
wait_until flag 5 set
pause 250
goto 53780 -4300 30250
attack "hero"
end
procedure "P9a"
create "lfighter"
position 0 -4500 15000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
procedure "P9b"
create "lfighter"
position 800 -4500 15000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 50
end_procedure terminate after 3 loops
create "lbomber"
label "cure"
position 57551.4 -796 52445.7
towards 57364.8 -996 58771.4
armed_with "ENERGY 1" rate 0
task
wait_until distance_between "hero" and 39350 -800 57590 <2500
goto 57364.8 -996 58771.4
do
shoot "hero"
until "hero" destroyed
end
wait_until proc "P9a" terminated
wait_until proc "P9b" terminated
wait_until number_of "aair"<=3
kill "cure"
phasemessage 92 120
set_waypoint 39350 -800 57590
wait_until distance_between "hero" and waypoint < 2500
set_waypoint 57540 -800 58250
wait_until distance_between "hero" and waypoint < 2500
set_waypoint 57110 -800 46880
wait_until distance_between "hero" and waypoint < 2500
phasemessage 21 120
set_waypoint "P9gun1"
set_flag 5
procedure "P9a"
wait_until number_of "aair" < 3
create "lfighter"
position 17000 -4500 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 2" rate 32
task
attack "hero"
end
pause 50
end_procedure terminate after 6 loops
wait_until "P9gun1" destroyed
set_waypoint "P9gun2"
wait_until "P9gun2" destroyed
clear_waypoint
phasemessage 2 60
wait_until number_of "aair"=0
and number_of "fighters" =0
set_volatile "bsgen3"
set_volatile "bsgen1"
phasemessage 91 60
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;PHASE 10
;-------------------------------------------------------
phasestart
phasemessage 33 60
playcdfast
clear_flag 0
clear_flag 10
kill "cichli"
kill group "agun"
create "plfight"
label "P10hero"
position 8500 -1500 56500
armed_with "PLASMA BOLT 1" rate 4
secondary_armed_with "DESIGNATOR" rate 128 rounds 10
pause 5
switch_hero "P10hero"
task
wait_until flag 0 set
playercontrols
end
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
kill "gescom"
create "hbomber"
label "mofo"
position 50000 -3000 35000
towards "hero"
armed_with "ENERGY 2" rate 1
task
do
goto 20000 -3000 20000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 19000 -3000 19000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 18000 -3000 18000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 17000 -3000 17000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 16000 -3000 16000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 15000 -3000 15000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 15000 -3000 14000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 15000 -3000 13000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 15000 -3000 12000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 15000 -3000 11000
shoot bomb
pause 3
shoot bomb
pause 3
shoot bomb
goto 15000 -3000 10000
shoot bomb
goto 20000 -3000 5000
shoot bomb
goto 25000 -3000 5000
shoot bomb
goto 30000 -3000 10000
shoot bomb
goto 30000 -3000 15000
shoot bomb
goto 25000 -3000 20000
shoot bomb
until "hero" destroyed
end
set_waypoint "mofo"
procedure "P10a"
create "hfighter"
position 17000 -4000 5000 relative toxz "mofo"
armed_with "PLASMA BOLT 2" rate 11
task
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
wait_until proc "P10a" terminated
wait_until "mofo" destroyed
phasemessage 26 60
set_waypoint "bsgen3"
wait_until "bsgen3" destroyed
set_waypoint "pad1"
procedure "P10a"
wait_until number_of "aair" < 8
create "lfighter"
position 55000 -1000 40000
armed_with "PLASMA BOLT 2" rate 8
task
attack "hero"
end
pause 15
end_procedure
wait_until "pad1" destroyed
end_procedure "P10a"
set_waypoint "bsgen1"
wait_until "bsgen1" destroyed
set_waypoint "base"
wait_until "base" destroyed
clear_waypoint
phasemessage 10 60
wait_until number_of "aair" =0
phasemessage 90 60
pause 20
set_flag 10
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 1
dollyspeed 0.1%
pause 80
;-------------------------------------------------------
;END OF SCENARIO
;-------------------------------------------------------