home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker 5
/
HACKER05.ISO
/
Igre
/
Incoming
/
incoming.EXE
/
asc
/
africa
/
africa_action.mdl
next >
Wrap
Text File
|
1998-03-16
|
17KB
|
842 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
#=====================================================
phasestart
phasemessage 85 30
playcdslow
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
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 -3400 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 -3000 57500
task
goto 36000 -2500 53000
goto 34000 -2000 50000
goto 33000 -2000 47000
goto 37500 -2000 47000
goto 60000 -3000 47000
kill
end
create "tranheli"
position 40000 -4800 20000
forward -1 0 0 up 0 1 0
task
goto 35000 -4800 40000
goto 40000 -600 50000
goto 55000 -4000 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
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
pause 20
set_flag 10
kill group "aihuman"
hud off
camera
attached_to "hero"
position 600 -300 -600
pointing_at "hero"
dolly 0
pause 40
;-------------------------------------------------------
;PHASE 2
;-------------------------------------------------------
phasestart
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 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
#....................................................................
phasemessage 10 60
play_speech "phase complete"
#....................................................................
pause 20
kill group "aihuman"
pause 100
;-------------------------------------------------------
;PHASE 3
;-------------------------------------------------------
usable "rowla"
usable "pearl"
usable "banstyle"
#===================================
phasestart
#....................................................................
phasemessage 29 60
play_speech "incoming alien tanks"
#....................................................................
clear_flag all
switch_hero "spikee"
task
wait_until flag 0 set
do
playercontrols
break_task_if flag 10 set
until 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
;-------------------------------------------------------
;END OF SCENARIO
;-------------------------------------------------------