home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 July
/
PowerPlay0798.bin
/
Demos
/
incoming.exe
/
asc
/
africa
/
africa_action.mdl
next >
Wrap
Text File
|
1998-04-06
|
55KB
|
2,772 lines
drag_coeff 0.01
gravity 2.2
#=====================================================
# 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
#=====================================================
alliedobjective "adata"
refuel_pads
"Ar1"
"Ar2"
"Ar3"
"Ar4"
"replen1"
"replen2"
phasestart
phasemessage 85 30
playcdtrack 4
clear_flag all
critical_group "adata"
create "helicopter"
label "rez"
position 41321 -122 49574
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 "tank1"
label "spikee"
position 14500 on ground 15000
forward 1 0 0 up 0 1 0
; armed_with "RED LASER" rate 6
armed_with "ROCKET 1" rate 32
; secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
; secondary_armed_with "ROCKET 1" rate 16 rounds 20
inert
create "laser gun"
label "rowla"
position 46951 on ground 43875
forward -0.5 0 0.8 up 0 1 0
armed_with "GREEN LASER" rate 2
inert
create "rack"
position 46494 on ground 44332
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 64
task
slave_to "rowla"
end
create "laser gun"
label "pearl"
position 37261 on ground 50165
forward -1 0 0 up 0 1 0
armed_with "GREEN LASER" rate 2
inert
create "rack"
position 36803 on ground 49675
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 64
inert
task
slave_to "pearl"
end
create hero "laser gun"
label "banstyle"
position 37200 on ground 42201
forward -0.8 0 -0.5 up 0 1 0
armed_with "GREEN LASER" rate 2
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
end
create "rack"
position 36780 on ground 41773
forward 0.5 0 0.8 up 0 1 0
armed_with "GUIDED MISSILE" rate 64
task
slave_to "banstyle"
end
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
create "tranheli"
position 40000 -1200 36000
task
goto 35000 -600 42000
goto 37500 -1000 46000
goto 65000 -2500 65000
kill
end
;----------------------------
;first 2 waves
procedure "a1"
create "lfighter"
position 27580 -1100 29500
towards "hero"
armed_with "PURPLE LASER" rate 6
task
patrol
point 28920 -1640 34824
point 36200 -700 41670
point 37900 -950 42790
point 36860 -2900 36150
end
pause 30
end_procedure terminate after 4 loops
pause 60
#....................................................................
phasemessage 26 30
play_speech "incoming alien fighters"
#....................................................................
wait_until proc "a1" terminated
wait_until number_of "aliens" = 0
procedure "a1"
create "lfighter"
position 21420 -2380.2 43450.8
towards "hero"
task
patrol
point 25902 -1841.2 35409.8
point 35548.8 -821.2 41675
point 37980.8 -1681.2 42581.8
point 40255.6 -3465.1 49358.6
; point 19634.1 -3021.2 37580.8
end
pause 30
end_procedure terminate after 4 loops
wait_until proc "a1" terminated
wait_until number_of "aliens" = 0
;----------------------------
create "lbomber"
;path red1
position 22000 -2300 40000
towards "hero"
armed_with "PLASMA BOLT 4" rate 4
task
patrol
point 35000 -2300 40000
point 37500 -2300 40000
point 38000 -2300 45000
point 30000 -2300 42500
end
pause 100
create "lfighter"
;path pink2
position 20000 -3100 42200
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 31500 -3100 42200
goto 32500 -2400 42200
goto 34000 -2000 42200
goto 35500 -1600 42200
goto 38000 -1400 42200
patrol
point 36000 -3100 47000
point 40000 -3100 40000
point 38000 -3100 36000
point 35000 -3100 35000
point 33000 -3100 46000
break_task_if number_of "aliens" <2
attack "hero"
end
create "lfighter"
;path pink3
position 15000 -2800 39000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
patrol
point 37500 -2800 37500
point 40000 -2800 42000
point 35000 -2800 46000
point 31000 -2800 42000
point 31000 -2800 36000
break_task_if number_of "aliens" <5
attack "hero"
end
pause 40
create "lbomber"
position 25000 -2100 39000
towards "hero"
armed_with "PLASMA BOLT 4" rate 4
task
patrol
point 35000 -1900 37500
point 40000 -1900 40000
point 36000 -1900 46000
point 32500 -1900 44000
end
pause 200
create "lfighter"
position 5000 -3400 30000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 20000 -3400 40000
goto 30000 -3400 42200
goto 31000 -2400 42200
goto 32000 -2200 42200
goto 33000 -2000 42200
goto 34000 -1800 42200
goto 35000 -1600 42200
goto 38000 -1400 42200
patrol
point 41000 -3400 42200
point 40000 -3400 45000
point 30000 -3400 40000
point 29000 -3400 38000
point 32500 -3400 35000
break_task_if number_of "aliens" <2
attack "hero"
end
create "lfighter"
position 15000 -2500 40000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
patrol
point 35000 -2500 45000
point 39000 -2500 42000
point 37000 -2500 38000
point 32500 -2500 37500
point 32500 -2500 42000
break_task_if number_of "aliens" <5
attack "hero"
end
create "lbomber"
position 25000 -500 34500
towards "hero"
armed_with "PLASMA BOLT 4" rate 4
task
goto 37500 -700 42500
goto 40000 -1000 40000
goto 38500 -1500 37500
patrol
point 34000 -1700 39000
point 37000 -1700 47000
point 40000 -1700 45000
point 39000 -1700 42000
point 37500 -1700 41000
end
create "tranheli"
position 37500 -2500 57500
task
goto 36000 -2500 53000
goto 34000 -2000 50000
goto 33000 -2000 47000
goto 37500 -2000 47000
goto 60000 -2500 47000
kill
end
create "tranheli"
position 40000 -2500 20000
forward -1 0 0 up 0 1 0
task
goto 35000 -2500 40000
goto 40000 -600 50000
goto 55000 -2500 40000
kill
end
procedure "a"
wait_until number_of_baddies < 22
create "lfighter"
position 27500 -4000 25000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 34000 -4000 44000
shoot
goto 38000 -4000 44000
shoot
goto 39000 -4000 40000
shoot
goto 27500 -4000 25000
kill
end
pause 1200
do_procedure_until number_of "aliens" <3
procedure "b"
pause 50
wait_until number_of_baddies < 22
create "lfighter"
position 22500 -4400 31000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 33000 -4400 44000
shoot
goto 37000 -4400 43000
shoot
goto 37500 -4400 39000
shoot
goto 22500 -4400 31000
kill
end
pause 1000
do_procedure_until number_of "aliens" <4
procedure "c"
pause 100
wait_until number_of_baddies < 22
create "lfighter"
position 20000 -4800 45000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 35000 -4800 37500
shoot
goto 37500 -4800 40000
shoot
goto 37000 -4800 43000
shoot
goto 20000 -4800 45000
kill
end
pause 800
do_procedure_until number_of "aliens" <5
create "tranheli"
position 60000 -2300 50000
forward -1 0 0 up 0 1 0
task
goto 40000 -2300 42500
goto 30000 -600 37500
goto 20000 -2500 30000
kill
end
wait_until number_of "aliens" =0
end_procedure "a"
end_procedure "b"
end_procedure "c"
#....................................................................
phasemessage 25 30
play_speech "incoming alien craft"
#....................................................................
create "lfighter"
position 45780.7 -801.2 57207.5
towards "hero"
armed_with "PLASMA BOLT 3" rate 4
task
goto 44820.9 -2011.2 52759.4
goto 42411.7 -2851.2 46658.1
attack "hero"
end
pause 30
procedure "a1"
create "lfighter"
position 45780.7 -801.2 57207.5
towards "hero"
task
patrol
point 44820.9 -2011.2 52759.4
point 42411.7 -2851.2 46658.1
point 37155.6 -551.2 42836.6
point 35229.8 -1461.2 39685.4
point 34942.1 -3461.2 48188
end
pause 30
end_procedure terminate after 2 loops
wait_until proc "a1" terminated
create "lfighter"
position 48544.9 -616.438 43517.7
towards "hero"
armed_with "PLASMA BOLT 3" rate 4
task
patrol
point 46531.2 -1090.15 45691.1
point 43920.5 -2333.05 45947.4
point 38340.5 -740.886 42777.7
point 35968 -2308.35 38655.1
point 42888.1 -3192.52 36984.1
end
pause 30
procedure "a2"
create "lfighter"
position 48544.9 -616.438 43517.7
towards "hero"
task
patrol
point 46531.2 -1090.15 45691.1
point 43920.5 -2333.05 45947.4
point 38340.5 -740.886 42777.7
point 35968 -2308.35 38655.1
point 42888.1 -3192.52 36984.1
end
pause 30
end_procedure terminate after 2 loops
wait_until proc "a2" terminated
wait_until number_of "aliens" =0
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
pause 20
kill group "aihuman"
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
;-------------------------------------------------------
;PHASE 2
;-------------------------------------------------------
phasestart
playcdtrack 5
clear_flag all
create "recpod2"
label "dark"
; mission_critical
position 22500 on ground 42500
inert
task
wait_until flag 3 set
bepod
set_flag 1
; take_to 0 -100 0 relative to "replen1"
take_to 0 -150 0 relative to "P2pad"
set_flag 2
pause 70
kill
end
create "AItank1"
position 22800 on ground 41800
label "cnvyA"
switch_hero "rez"
task
wait_until flag 0 set
playercontrols
break_task_if distance_between "rez" and "dark" <2000 and flag 3 set
playercontrolswithrope from "dark" to 0 -150 0 relative to "P2pad"
end
set_waypoint "dark"
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 "dark" <2000 and flag 3 set
cam_pos 0 0 -2000 attached_to "dark"
cam_focus "hero"
hud off
pause 20
cam_goto 1000 0 0
wait_until flag 1 set
cam_mode last ;cockpit
wait_until distance_between "hero" and "Rdrop" <2000
cam_pos waypoint
; 0 0 -2000 attached_to "replen1"
cam_focus "hero"
hud off
pause 50
; cam_goto 1000 -200 1000
end
#....................................................................
phasemessage 86 60
play_speech "follow waypoint marker"
#....................................................................
wait_until distance_between "rez" and "dark" <12000
#....................................................................
phasemessage 30 60
play_speech "destroy alien surface craft"
#....................................................................
clear_waypoint
create "AItank2"
position 21000 on ground 40500
forward -1 0 0 up 0 1 0
armed_with "RED LASER" rate 64
task
wait_until number_of "aliens">1
attack
goto 22600 on ground 43500
end
create "AItank2"
position 19000 on ground 42500
forward -1 0 0 up 0 1 0
armed_with "RED LASER" rate 64
task
wait_until number_of "aliens">1
attack
goto 22000 on ground 41800
end
create "atank"
position 11000 on ground 40000
forward 1 0 0 up 0 1 0
armed_with "PLASMA BOLT 1" rate 28
task
attack
end
create "atank"
position 8000 on ground 37500
forward 1 0 0 up 0 1 0
armed_with "PLASMA BOLT 1" rate 28
task
attack
end
;------------
;convoy
create "atank"
position 13627.3 on ground 21100.4
armed_with "PLASMA BOLT 1" rate 28
task
patrol
point 12378.7 on ground 30264.5
point 18460 on ground 40820
point 20760 on ground 41250
point 24190 on ground 40670
break_task_if distance_between 24190 on ground 40670 and me < 1200
attack "rad4"
attack "hero"
end
pause 50
create "atank"
position 13627.3 on ground 21100.4
armed_with "PLASMA BOLT 1" rate 28
task
patrol
point 12378.7 on ground 30264.5
point 18460 on ground 40820
point 20760 on ground 41250
point 24190 on ground 40670
break_task_if distance_between 24190 on ground 40670 and me < 1200
attack "rad4"
attack "hero"
end
pause 50
create "atank"
position 13627.3 on ground 21100.4
armed_with "PLASMA BOLT 1" rate 28
task
patrol
point 12378.7 on ground 30264.5
point 18460 on ground 40820
point 20760 on ground 41250
point 26900 on ground 36850
break_task_if distance_between 26900 on ground 36850 and me < 1200
attack "rad5"
attack "hero"
end
pause 50
create "atank"
position 13627.3 on ground 21100.4
armed_with "PLASMA BOLT 1" rate 28
task
patrol
point 12378.7 on ground 30264.5
point 18460 on ground 40820
point 20760 on ground 41250
point 26900 on ground 36850
break_task_if distance_between 26900 on ground 36850 and me < 1200
attack "rad5"
attack "hero"
end
;------------
create "lfighter"
position 12938 -1416 26491
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
create "lfighter"
position 42500 -2600 9000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
patrol
point 11500 -3000 35000
point 7500 -3000 35000
point 5000 -3000 38000
point 10000 -3000 42000
point 12500 -3000 39000
break_task_if number_of "aland" <2
attack group "aihuman"
attack
end
procedure "n"
set_waypoint nearest "aland"
do_procedure_until number_of "aland" = 0
wait_until number_of "aland" =0
end_procedure "n"
create "lfighter"
position 12938 -1416 26491
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
create "lfighter"
position 42500 -2600 9000
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
wait_until number_of "aliens" =0
set_flag 3
set_waypoint "dark"
#....................................................................
phasemessage 50 30
play_speech "follow waypoint marker"
#....................................................................
wait_until distance_between "hero" and waypoint <2000
#....................................................................
phasemessage 64 60
play_speech "retrieve recon pod"
#....................................................................
wait_until flag 1 set
#....................................................................
phasemessage 50 30
play_speech "follow waypoint marker"
#....................................................................
wait_until flag 2 set
pause 1
clear_waypoint
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
pause 20
kill group "aihuman"
pause 100
;-------------------------------------------------------
;PHASE 3
;-------------------------------------------------------
#===================================
phasestart
#....................................................................
phasemessage 29 60
play_speech "incoming alien tanks"
#....................................................................
clear_flag all
switch_hero "spikee"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
; break_task_if flag 10 set
end
hud off
camera
attached_to "hero"
position 600 -200 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
set_inert "rez"
set_task "rez"
position 41321 -152 49574
secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
; secondary_armed_with "ROCKET 2" rate 20 rounds 20
end
create "tranheli"
position 10000 -800 15000
task
goto 20000 -1000 20000
goto 25000 -1000 25000
goto 35000 -2000 45000
kill
end
create "atank"
position 11000 on ground 27500
towards "hero"
armed_with "PLASMA BOLT 1" rate 14
task
goto 12000 on ground 20000
attack "hero"
end
create "atank"
position 12500 on ground 28000
towards "hero"
armed_with "PLASMA BOLT 1" rate 14
task
goto 14000 on ground 20000
attack "hero"
end
pause 100
create "facraft"
position 11000 on ground 38500
towards "hero"
armed_with "PLASMA BOLT 1" rate 28
task
goto 12000 on ground 19000
attack "storeT1"
attack "hero"
end
create "facraft"
position 13500 on ground 38000
towards "hero"
armed_with "PLASMA BOLT 1" rate 28
task
goto 14000 on ground 19000
attack "rad3"
attack
end
create "facraft"
position -1000 on ground 17500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 28
task
goto -1000 on ground 16500 relative toxz "hero"
attack "hero"
end
create "facraft"
position 1000 on ground 16500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 28
task
attack "storeT1"
attack
end
wait_until number_of "aliens" <= 0
#....................................................................
phasemessage 23 60
play_speech "incoming"
#....................................................................
procedure "a1"
create "atank"
position 25383 on ground 14385.5
armed_with "PLASMA BOLT 1" rate 14
task
goto 23676.3 on ground 18963.7
goto 18922.2 on ground 18294.9
goto 16235.8 on ground 14738.4
attack "rad3"
attack
end
pause 100
end_procedure terminate after 2 loops
procedure "a2"
create "atank"
position 26383 on ground 15385.5
armed_with "PLASMA BOLT 1" rate 14
task
goto 24676.3 on ground 19963.7
goto 19922.2 on ground 19294.9
goto 17235.8 on ground 15738.4
attack "storeT1"
attack
end
pause 100
end_procedure terminate after 2 loops
wait_until proc "a1" terminated
wait_until proc "a2" terminated
wait_until number_of "aliens" <= 2
procedure "a3"
create "atank"
position 510 on ground 15290
towards "hero"
armed_with "PLASMA BOLT 1" rate 14
task
goto 4950 on ground 13670
attack "rad3"
attack "hero"
end
pause 100
end_procedure terminate after 3 loops
wait_until proc "a3" terminated
wait_until number_of "aliens" = 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 0
pause 40
;-------------------------------------------------------
;PHASE 4
;-------------------------------------------------------
#=================================================
phasestart
playcdtrack 4
clear_flag all
#....................................................................
phasemessage 61 100
play_speech "defend installation"
#....................................................................
switch_hero "pearl"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
end
hud off
camera
attached_to "hero"
position 600 -200 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
kill "spikee"
;set_task "spikee"
; position 14500 on ground 15000
; secondary_armed_with "GUIDED MISSILE" rate 20 rounds 20
; end
set_task "rez"
position 13347 -152 15970
forward 0 0 1 up 0 1 0
end
create "tranheli"
position 37500 -1300 57500
task
goto 34000 -1200 50000
goto 37500 -1200 47000
goto 62500 -2500 42500
kill
end
procedure "bonus1"
pause 450
create "lbomber"
position 37248 -1461.2 63109.1
towards "hero"
task
goto 35978.7 -3571.2 28172.2
kill
end
pause 450
end_procedure terminate after 2 loops
procedure "bonus2"
pause 950
create "lbomber"
position 19780 -4611.2 35540
towards "hero"
task
goto 52017.6 -4611.2 60594.2
kill
end
end_procedure terminate after 2 loops
;-----------wave 1
procedure "a1"
create "lfighter"
position 27925 -2060 56600
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 29684 -2731.3 54978
goto 34775.5 -821.295 51708.7
attack "hero"
end
pause 50
end_procedure terminate after 4 loops
wait_until proc "a1" terminated
wait_until number_of "aair" <=1
;-----------wave 2
procedure "a1"
create "lfighter"
position 37613.6 -801.2 55473.7
towards "hero"
task
patrol
point 37506.4 -1341.2 53797.2
point 37316.2 -681.2 50823.2
point 37875.4 -1161.2 50211.6
point 38867.7 -1201.2 50709.3
end
pause 50
end_procedure terminate after 4 loops
wait_until proc "a1" terminated
wait_until number_of "aair" <=1
;-----------wave 3
procedure "a1"
create "lfighter"
position 29475.1 -2051.2 45627.7
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 31994.8 -3200 46335.2
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
procedure "a2"
create "lfighter"
position 29647.2 -1911.2 45252
towards "hero"
armed_with "PLASMA BOLT 1" rate 32
task
do
goto 32329.1 -2611.2 44700.9
goto 35531 -1701.2 44801.9
shoot "adata"
goto 42115.7 -2911.2 48027.2
shoot "adata"
goto 34970 -3200 49550.2
until "adata" destroyed
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
wait_until proc "a1" terminated
wait_until proc "a2" terminated
wait_until number_of "aair" =0
;-----------wave 4
procedure "a1"
create "lfighter"
position 27925 -2060 56600
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 29684 -2731.3 54978
goto 34775.5 -821.295 51708.7
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
procedure "a2"
pause 50
create "lfighter"
position 28479.4 -2411.2 58187
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 30413 -2871.2 56157.5
goto 33583.5 -1091.2 53589.6
attack "hero"
end
end_procedure terminate after 2 loops
wait_until proc "a1" terminated
wait_until proc "a2" terminated
wait_until number_of "aair" =0
;-----------wave 5
procedure "a1"
create "lfighter"
position 40318 -221 48770
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
do
goto 39359.1 -1071.2 49104.7
shoot "hero"
goto 37992.7 -1441.2 50047.4
shoot "hero"
goto 35147.8 -1951.2 49729.8
shoot "hero"
goto 36527.1 -1691.2 46773.3
goto 37818.9 -1691.2 48777.3
until "hero" destroyed
end
pause 50
end_procedure terminate after 4 loops
wait_until proc "a1" terminated
wait_until number_of "aair" =0
;-----------wave 6
procedure "a1"
create "lfighter"
position 27925 -2060 56600
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 29684 -2731.3 54978
goto 34775.5 -821.295 51708.7
attack "hero"
end
pause 50
end_procedure terminate after 2 loops
procedure "a2"
pause 50
create "lfighter"
position 28479.4 -2411.2 58187
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 30413 -2871.2 56157.5
goto 33583.5 -1091.2 53589.6
attack "hero"
end
end_procedure terminate after 2 loops
wait_until proc "a1" terminated
wait_until proc "a2" terminated
wait_until number_of "aair" =0
#....................................................................
phasemessage 28 100
play_speech "incoming alien bomber"
#....................................................................
create "bomber"
position 48547.5 -851.2 57572.6
towards "hero"
armed_with "ENERGY 2" rate 32
task
goto 46141.1 -1791.2 56059.2
goto 39609.6 -2001.2 51258.2
do
goto 35628.3 -3051.2 47013
shoot "adata"
goto 43388.7 -3051.2 38966.6
shoot "adata"
goto 44108.3 -3051.2 44329.5
shoot "adata"
goto 36491.8 -3051.2 47017.2
until "hero" destroyed
end
wait_until number_of "aliens" =0
end_procedure "bonus1"
end_procedure "bonus2"
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 0
pause 40
kill group "aihuman"
;-------------------------------------------------------
;PHASE 5
;-------------------------------------------------------
phasestart
clear_flag all
set_volatile "pearl"
switch_hero "rez"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
; break_task_if flag 10 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 "replen3" > 500
cam_mode cockpit
end
pause 25
#....................................................................
phasemessage 51 100
play_speech "destroy way-pointed object"
#....................................................................
;---------------------
;---first & onlybomber
create "bomber"
label "ytsan"
position 5000 -2900 30000
towards "hero"
armed_with "ENERGY 2" rate 5
task
do
goto 33808 -3200 44744
shoot "adata"
goto 44371 -3200 49578
shoot "adata"
goto 48838 -3200 38633
shoot "adata"
goto 36089 -3200 37081
shoot "adata"
until "hero" destroyed
end
create "lfighter"
position 1000 -1000 1000 relative to "ytsan"
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
do
goto 1000 -1000 1000 relative to "ytsan"
until distance_between "hero" and "ytsan" < 7000
or "ytsan" destroyed
attack "hero"
end
create "lfighter"
position -1000 -1000 -1000 relative to "ytsan"
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
do
goto -1000 -1000 -1000 relative to "ytsan"
until distance_between "hero" and "ytsan" < 7000
or "ytsan" destroyed
attack "hero"
end
set_waypoint "ytsan"
procedure "a1"
wait_until number_of "aair" < 2
create "lfighter"
position 0 -2900 17000 relative toxz "ytsan"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
do
goto -1000 500 1000 relative to "ytsan"
until distance_between "hero" and "ytsan" < 7000
or "ytsan" destroyed
attack "hero"
end
pause 400
end_procedure terminate after 5 loops
procedure "a2"
wait_until number_of "fighters" < 2
create "hfighter"
position 17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 400
end_procedure terminate after 4 loops
set_waypoint "ytsan"
wait_until "ytsan" destroyed
end_procedure "a1"
end_procedure "a2"
clear_waypoint
#....................................................................
phasemessage 55 60
play_speech "destroy all alien craft"
#....................................................................
wait_until number_of "aliens" = 0
#....................................................................
phasemessage 23 100
play_speech "incoming"
#....................................................................
procedure "a1"
wait_until number_of "aair" < 2
create "lfighter"
position 0 -3200 -17000 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 75
end_procedure terminate after 5 loops
wait_until proc "a1" terminated
wait_until number_of "aliens" = 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 0
pause 40
kill group "aihuman"
;-------------------------------------------------------
;PHASE 6
;-------------------------------------------------------
phasestart
playcdtrack 7
clear_flag all
set_inert "rez"
create "tank2"
label "P6hero"
position 14500 on ground 15000
armed_with "ROCKET 1" rate 32
secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
switch_hero "P6hero"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
end
set_task "rez"
position 41321 -122 49574
secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
end
hud off
camera
attached_to "hero"
position 600 -200 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
create "c-lfight"
label "downed"
position 38834 -55 13184
forward 0.5 0 0.8 up 0 1 0
inert
#....................................................................
phasemessage 57 60
play_speech "destroy alien surface craft"
#....................................................................
;-------------------------------------
;-----alien recovery team-------------
create "atank"
label "P6R1"
position -3000 on ground -3000 relative to "downed"
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
inert
task
patrol
point -3000 on ground 3000 relative to "downed"
point 3000 on ground 3000 relative to "downed"
point 3000 on ground -3000 relative to "downed"
point -3000 on ground -3000 relative to "downed"
break_task_if distance_between "hero" and "downed" < 2000
attack "hero"
end
create "atank"
label "P6R2"
position 3000 on ground 3000 relative to "downed"
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
inert
task
patrol
point 3000 on ground -3000 relative to "downed"
point -3000 on ground -3000 relative to "downed"
point -3000 on ground 3000 relative to "downed"
point -3000 on ground 3000 relative to "downed"
break_task_if distance_between "hero" and "downed" < 2000
attack "hero"
end
;-------------------------------------
;-------decoys------------------------
create "facraft"
position 22169.1 on ground 20785.6
towards "hero"
armed_with "PLASMA BOLT 1" rate 28
task
wait_until distance_between me and "hero" < 3000
attack "hero"
end
create "facraft"
position 27260.7 on ground 12604.8
towards "hero"
armed_with "PLASMA BOLT 1" rate 28
task
wait_until distance_between me and "hero" < 6000
attack "hero"
end
procedure "wp"
set_waypoint nearest "aland"
do_procedure_until number_of "aland" = 0
wait_until number_of "aland" <= 2
;---------------
;---------ambush
create "facraft"
position 20415.7 on ground 10850.5
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
create "facraft"
position 20592 on ground 8473.08
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
create "facraft"
position 20868.2 on ground 11713.7
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
wait_until number_of "aland" <= 2
;---------------------
;---------DEATH VALLEY
set_volatile "P6R1"
set_volatile "P6R2"
create "atank"
position 27720 on ground 16576.4
towards "hero"
armed_with "ROCKET 1" rate 16
task
attack "hero"
end
create "atank"
position 30551.6 on ground 10820.5
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
#....................................................................
phasemessage 25 100
play_speech "incoming alien tanks"
#....................................................................
pause 100
create "atank"
position 27720 on ground 16576.4
towards "hero"
armed_with "PLASMA BOLT 1" rate 16
task
attack "hero"
end
wait_until number_of "aland" <= 2
end_procedure "wp"
;----------------------
;---------CRASHED ALIEN
wait_until number_of "aliens" <= 1
set_waypoint "downed"
#....................................................................
phasemessage 50 60
play_speech "follow waypoint marker"
#....................................................................
wait_until distance_between "downed" and "hero" < 1000
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 0
pause 40
;-------------------------------------------------------
;PHASE 7
;-------------------------------------------------------
phasestart
clear_flag all
create "wcrate1"
label "long"
mission_critical
position 37088 on ground 40615
inert
task
bepod
set_flag 1
take_to "downed"
set_flag 2
end
switch_hero "rez"
task
wait_until flag 0 set
playercontrols
break_task_if distance_between "rez" and "long" <2000
playercontrolswithrope from "long" to "downed"
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 "replen1" > 500
cam_mode cockpit
wait_until distance_between "hero" and "long" <2000
cam_pos 0 0 -2000 attached_to "long"
cam_focus "hero"
hud off
pause 20
cam_goto 1000 0 0
wait_until flag 1 set
cam_mode last; cockpit
wait_until distance_between "hero" and "downed" <2000
cam_pos 0 0 -2000 attached_to "downed"
cam_focus "hero"
hud off
wait_until flag 2 set
cam_mode cockpit
end
set_waypoint "long"
#....................................................................
phasemessage 66 100
play_speech "retrieve cargo crate"
#....................................................................
wait_until flag 1 set
;---------------------------
;-----------crate underslung
#....................................................................
phasemessage 50 60
play_speech "follow waypoint marker"
#....................................................................
procedure "a1"
wait_until number_of "fighters" = 0
create "hfighter"
position 17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
create "lfighter"
position -17000 -3200 500 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
pause 400
end_procedure terminate after 3 loops
procedure "a2"
create "atank"
position 33337.7 on ground 34186.8
towards "downed"
task
goto 35662.3 on ground 24668.9
goto 36120.5 on ground 15750.2
patrol
point 37300 on ground 10730
point 39755.2 on ground 10791.8
point 40739.5 on ground 13629.7
point 38791.1 on ground 15332
end
pause 50
end_procedure terminate after 4 loops
create "AItank2"
position 39534 on ground 12484
forward -0.5 0 0.8 up 0 1 0
armed_with "GREEN LASER" rate 16
task
wait_until number_of "aland" = 4
pause 400
do
attack
until number_of "aland" =0
goto 39534 on ground 12484
end
create "AItank2"
position 39334 on ground 13884
forward 0.8 0 0.5 up 0 1 0
armed_with "GREEN LASER" rate 16
task
wait_until number_of "aland" = 4
pause 400
do
attack
until number_of "aland" =0
goto 39334 on ground 13884
end
create "AItank2"
position 39734 on ground 13114
forward 0 0 1 up 0 1 0
armed_with "GREEN LASER" rate 16
task
wait_until number_of "aland" = 4
pause 400
do
attack
until number_of "aland" =0
goto 39734 on ground 13114
end
wait_until distance_between waypoint and "hero" < 4000
;-----------------------
;-----------crate droped
wait_until flag 2 set
set_inert "long"
#....................................................................
phasemessage 46 60
play_speech "re-supply complete"
#....................................................................
end_procedure "a1"
end_procedure "a2"
clear_waypoint
#....................................................................
phasemessage 55 100
play_speech "destroy all alien craft"
#....................................................................
wait_until number_of "aliens" = 1 ;crashed is an alien
#....................................................................
phasemessage 25 60
play_speech "incoming alien craft"
#....................................................................
create "hfighter"
position -19000 -3200 500 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 2" rate 11
task
attack "hero"
end
create "hfighter"
position -17000 -3200 500 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 2" rate 11
task
attack "hero"
end
wait_until number_of "aliens" <=2
create "lbomber"
position 17000 -3500 1000 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 4" rate 32
task
goto 37500 -2500 12500
attack group "aihuman"
end
create "lfighter"
position 19000 -3500 2500 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
create "lfighter"
position 19500 -3300 500 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
attack "hero"
end
wait_until number_of "aliens" =1 ;crashed is an alien
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 0
pause 40
;-------------------------------------------------------
;PHASE 8
;-------------------------------------------------------
phasestart
clear_waypoint
clear_flag all
mission_uncritical "long"
kill group "aihuman"
kill "long"
kill "downed"
#....................................................................
phasemessage 55 100
play_speech "destroy all alien craft"
#....................................................................
create "plfight"
label "slippy"
position 38834 -35 13184
forward 0.5 0 0 up 0 1 0
armed_with "PLASMA BOLT 3" rate 4
secondary_armed_with "ENERGY 2" rate 32 rounds 20
inert
switch_hero "slippy"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
; break_task_if flag 10 set
land 0 -35 0 local to "replen3"
end
set_inert "rez"
set_task "rez"
position 41321 -122 49574
forward 0 0 -1 up 0 1 0
secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
end
hud off
camera
attached_to "hero"
position 600 -200 -600
pointing_at "hero"
dolly 0
pause 40
set_flag 0
camera cockpit
create "lbomber"
position 8800 -2000 45000
towards "hero"
task
patrol
point 10000 -2000 15000
point 15000 -2000 20000
point 18000 -2000 15000
point 14000 -2000 11000
end
create "lbomber"
position 7500 -1500 44500
towards "hero"
task
patrol
point 9000 -2500 13000
point 13000 -2500 9000
point 18000 -2500 13000
point 14000 -2500 17500
end
create "lbomber"
position 18000 -3000 50000
towards "hero"
task
patrol
point 18000 -3000 35000
point 14500 -3000 39500
point 10000 -3000 32500
point 13000 -3000 25000
point 10000 -2000 15000
point 15000 -2000 20000
point 18000 -2000 15000
point 14000 -2000 11000
end
create "lbomber"
position 11000 -2400 47500
towards "hero"
task
patrol
point 11000 -2400 32500
point 14500 -2400 38000
point 17000 -2400 35000
point 13000 -2400 26500
point 9000 -1500 13000
point 13000 -1500 9000
point 18000 -1500 13000
point 14000 -1500 17500
end
wait_until number_of "aliens" =0
set_waypoint "replen3"
#....................................................................
phasemessage 50 60
play_speech "follow waypoint marker"
#....................................................................
wait_until distance_between "slippy" and "replen3" <2000
clear_waypoint
set_flag 31
set_inert "hero"
camera_task
hud off
cam_pos 0 0 -2000 attached_to "replen3"
cam_focus "hero"
pause 50
cam_goto 1000 -200 1000
end
wait_until distance_between "slippy" and "replen3" <100
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
;hud off
;camera
; attached_to "hero"
; position 600 -300 -600
; pointing_at "hero"
; dolly 0
pause 100
;-------------------------------------------------------
;PHASE 9
;-------------------------------------------------------
phasestart
playcdtrack 8
clear_flag all
kill group "aihuman"
switch_hero "rez"
task
position 41321 -122 49574
wait_until flag 0 set
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 "replen1" > 500
cam_mode cockpit
end
wait_until flag 0 set
kill "slippy"
;----------------
;-------pre fight
create "lfighter"
position 1000 -2800 -15000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
create "lfighter"
position -5000 -3200 -17000 relative toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
attack "hero"
end
;----------------
;------convoy
generation_points
position 58500 on ground 15600
position 58500 on ground 13600
position 58500 on ground 11600
position 58500 on ground 9600
procedure "a1"
create "AItank3"
position at generation point
task
do
stop
set_vel 0
until flag 3 set
patrol
point 58200 on ground 17500
point 51100 on ground 25000
point 49900 on ground 30000
point 50100 on ground 32500
point 50100 on ground 35000
point 47500 on ground 46000
point 43480 on ground 45380
break_task_if distance_between me and 43480 on ground 45380 < 1200
set_flag 2
patrol
point 41922.6 on ground 50681.5
point 44020.1 on ground 50785.2
point 45654.7 on ground 48503
point 43570.9 on ground 46097.3
end
end_procedure terminate after 4 loops
critical_group "aihuman"
set_waypoint 58500 on ground 15600
procedure "a2"
pause 100
wait_until number_of "aair" = 0
create "lfighter"
position 17000 -3200 0 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 8
secondary_armed_with "ENERGY 2" rate 50
task
attack group "aihuman"
end
create "lfighter"
position -17000 -3200 0 local toxz "hero"
towards "hero"
armed_with "PLASMA BOLT 1" rate 8
secondary_armed_with "ENERGY 2" rate 50
task
attack group "aihuman"
end
pause 150
end_procedure terminate after 4 loops
#....................................................................
phasemessage 50 60
play_speech "follow waypoint marker"
#....................................................................
wait_until distance_between "hero" and waypoint < 10000
#....................................................................
phasemessage 62 60
play_speech "defend allied craft"
#....................................................................
clear_waypoint
wait_until proc "a1" terminated
wait_until proc "a2" terminated
wait_until number_of "aair" =0
set_flag 3
generation_points
position 53157 on ground 35668
position 51157 on ground 35668
position 49157 on ground 35668
position 47157 on ground 35668
procedure "a1"
create "atank"
position at generation point
towards 58500 on ground 15600
armed_with "PLASMA BOLT 1" rate 8
task
attack group "aihuman"
end
end_procedure terminate after 4 loops
procedure "a2"
pause 100
wait_until number_of "aair" <2
create "lfighter"
position 0 -2800 17000 relative toxz 58500 on ground 15600
towards "hero"
armed_with "PLASMA BOLT 1" rate 8
secondary_armed_with "ENERGY 2" rate 50
task
attack group "aihuman"
end
create "lfighter"
position 0 -2800 -17000 relative toxz 58500 on ground 15600
towards "hero"
armed_with "PLASMA BOLT 1" rate 8
secondary_armed_with "ENERGY 2" rate 50
task
attack group "aihuman"
end
pause 150
end_procedure
procedure "n"
set_waypoint nearest "aihuman"
do_procedure_until number_of "aihuman" = 0
#....................................................................
phasemessage 62 60
play_speech "defend allied craft"
#....................................................................
wait_until flag 2 set
explode group "aliens"
uncritical_group "aihuman"
end_procedure "a1"
end_procedure "a2"
end_procedure "n"
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 0
pause 40
;-------------------------------------------------------
;PHASE 10
;-------------------------------------------------------
phasestart
clear_flag all
clear_waypoint
kill group "aihuman"
switch_hero "rowla"
task
wait_until flag 0 set
playercontrols
break_task_if flag 31 set
end
hud off
camera
attached_to "hero"
position 600 -200 -600
pointing_at "hero"
dolly 0
pause 40
kill "rez"
set_flag 0
camera cockpit
#....................................................................
phasemessage 28 100
play_speech "incoming alien bomber"
#....................................................................
;-----------wave 1
procedure "a1"
create "hfighter"
position 46609.9 -844 54550.9
towards "hero"
armed_with "PLASMA BOLT 3" rate 32
task
goto 46549.1 -1624 52051.7
goto 46528.5 -1624 48741.2
goto 46473.8 -814 46491.9
goto 51400 -2400 43600
attack "hero"
break_task_if vel<2
explode
end
pause 50
end_procedure terminate after 3 loops
create "bomber"
label "1stB"
position 48454 -3048.23 62163
towards "hero"
armed_with "ENERGY 2" rate 1
task
do
goto 44141.9 -3048.23 44316.4
shoot
goto 37532.3 -3048.23 40501.1
shoot
goto 35605.3 -3048.23 48822.7
shoot
goto 39767.6 -3048.23 54973
shoot
forever
end
create "lfighter"
position 1000 -500 1000 relative to "1stB"
task
do
goto 1000 -500 1000 relative to "1stB"
goto 1000 -1000 1000 relative to "1stB"
until "1stB" destroyed
goto 17000 -3200 -17000 relative toxz "hero"
kill
end
create "lfighter"
position -1000 -500 -1000 relative to "1stB"
task
do
goto -1000 -500 -1000 relative to "1stB"
goto -1000 -1000 -1000 relative to "1stB"
until "1stB" destroyed
goto 17000 -3200 17000 relative toxz "hero"
kill
end
wait_until "1stB" destroyed
#....................................................................
phasemessage 38 60
play_speech "alien unit destroyed"
#....................................................................
end_procedure "a1"
wait_until number_of "fighters" = 0
#....................................................................
phasemessage 26 60
play_speech "incoming alien fighters"
#....................................................................
;-----------wave 2
procedure "a1"
create "lfighter"
position 54707.1 -1863.68 38668.7
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 53798.7 -2283.68 39036.4
shoot "hero"
goto 48488.1 -1123.68 42732.8
goto 49084 -2393.68 45932.6
attack "hero"
break_task_if vel<2
explode
end
pause 50
end_procedure terminate after 4 loops
wait_until proc "a1" terminated
wait_until number_of "aair" <= 2
;-----------wave 3
create "bomber"
label "2ndB"
position 57500 -3500 20700
towards "hero"
armed_with "ENERGY 2" rate 1
task
do
goto 37532.3 -3048.23 40501.1
shoot
pause 2
shoot
goto 35605.3 -3048.23 48822.7
shoot
goto 39767.6 -3048.23 54973
shoot
pause 2
shoot
goto 44141.9 -3048.23 44316.4
shoot
pause 2
shoot
forever
end
procedure "a1"
create "lfighter"
position 56960.4 -1688.23 42107.1
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
goto 52843.9 -2100 42832.8
shoot "hero"
goto 47171.4 -2168 43832.7
goto 45703.9 -808 44781.9
attack "hero"
break_task_if vel<2
explode
end
pause 50
end_procedure terminate after 4 loops
procedure "a2"
wait_until number_of "fighters" < 1
create "hfighter"
position 56960.4 -1688.23 42107.1
towards "hero"
armed_with "PLASMA BOLT 3" rate 8
task
do
goto -1500 -500 -1500 relative to "2ndB"
goto -1500 -1000 -1500 relative to "2ndB"
until "2ndB" destroyed
goto -17000 -3200 17000 relative toxz "hero"
kill
end
end_procedure terminate after 3 loops
wait_until "2ndB" destroyed
end_procedure "a1"
end_procedure "a2"
wait_until number_of "aliens" = 0
#....................................................................
phasemessage 26 60
play_speech "incoming alien fighters"
#....................................................................
;-----------wave 4
procedure "a1"
create "lfighter"
position 37274.3 -705.331 53653.5
towards "hero"
; armed_with "GUIDED MISSILE" rate 128
armed_with "ROCKET 1" rate 128
task
goto 38356.4 -1465.33 52488.6
goto 42494.3 -825.331 48033.8
attack "hero"
break_task_if vel<2
explode
end
pause 50
end_procedure terminate after 6 loops
wait_until number_of "aliens" < 1
end_procedure "a1"
;-----------wave 5
procedure "a1"
create "lfighter"
position 46852.9 -832.878 34149.3
armed_with "PLASMA BOLT 3" rate 8
towards "hero"
task
goto 46800.5 -1632.74 35140
shoot "hero"
goto 46661.6 -618.8 39779.3
shoot "hero"
goto 47505 -636.413 41475.2
attack "hero"
break_task_if vel<2
explode
end
pause 50
end_procedure terminate after 4 loops
wait_until proc "a1" terminated
wait_until number_of "aliens" = 0
;-----------wave 6
#....................................................................
phasemessage 28 60
play_speech "incoming alien bomber"
#....................................................................
create "bomber"
label "3rdB"
position 48454 -3048.23 62163
towards "hero"
armed_with "ENERGY 2" rate 1
task
do
goto 44141.9 -3048.23 44316.4
shoot
pause 2
shoot
goto 37532.3 -3048.23 40501.1
shoot
pause 2
shoot
pause 2
shoot
goto 35605.3 -3048.23 48822.7
shoot
pause 2
shoot
goto 39767.6 -3048.23 54973
shoot
pause 2
shoot
pause 2
shoot
forever
end
create "bomber"
label "4thB"
position 57500 -3500 20700
towards "hero"
armed_with "ENERGY 2" rate 1
task
do
goto 37532.3 -3748.23 40501.1
shoot
pause 2
shoot
pause 2
shoot
goto 35605.3 -3748.23 48822.7
shoot
pause 2
shoot
goto 39767.6 -3748.23 54973
shoot
pause 2
shoot
pause 2
shoot
goto 44141.9 -3748.23 44316.4
shoot
pause 2
shoot
forever
end
procedure "a1"
wait_until number_of "aair" < 2
create "lfighter"
position 15000 -3200 0 relative toxz "3rdB"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
do
goto -1000 -500 -1000 relative to "3rdB"
shoot
goto -1000 -1000 -1000 relative to "3rdB"
shoot
until "3rdB" destroyed
attack "hero"
break_task_if vel<2
explode
end
pause 150
do_procedure_until "3rdB" destroyed
procedure "a2"
wait_until number_of "aair" < 2
create "lfighter"
position -15000 -3200 0 relative toxz "4thB"
towards "hero"
armed_with "PLASMA BOLT 3" rate 16
task
do
goto -1000 -500 -1000 relative to "4thB"
shoot
goto -1000 -1000 -1000 relative to "4thB"
shoot
until "4thB" destroyed
attack "hero"
break_task_if vel<2
explode
end
pause 150
do_procedure_until "4thB" destroyed
wait_until number_of "aliens" = 0
set_flag 31
set_inert "hero"
#....................................................................
phasemessage 9 60
play_speech "scenario completed"
#....................................................................
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 60
;-------------------------------------------------------
;END OF SCENARIO
;-------------------------------------------------------