home *** CD-ROM | disk | FTP | other *** search
- /************/
- /* INCLUDES */
- /************/
-
- // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
-
- // default things to inherit our objects from
-
- #include "defaults.gsh"
-
- // good guys
-
- #include "gunlok.gsh"
- #include "hark.gsh"
- #include "maskelyn.gsh"
- #include "elint.gsh"
-
- // bad guys
-
- #include "walking_mine.gsh"
- #include "scythor.gsh"
- #include "reapor.gsh"
- #include "destructor.gsh"
- #include "adversor.gsh"
- #include "sneeker.gsh"
- #include "skyburn.gsh"
- #include "drone.gsh"
- #include "baddie_silo.gsh"
- // neutral things
-
- #include "cratec.gsh"
- #include "technobox_multifrag.gsh"
-
- // fires
-
- #include "carfire.gsh"
- #include "oilfire.gsh"
- #include "purplelightmini.gsh"
- #include "redlightmini.gsh"
-
- /**********/
- /* SHAPES */
- /**********/
-
- // world objects
-
- hierarchy Hcy_VTOL
- {
- file "objects\harksVTOLflight.rif"
- name "harksVTOLflight"
- hotspot none
- }
-
- shape Shp_OilDrum
- {
- file "levels\level02.rif"
- name "Oil Drum A"
- }
-
- shape Shp_TOWERLIFTA
- {
- file "levels\level02.rif"
- name "TOWERLIFTA"
- }
-
- shape Shp_TOWERLIFTB
- {
- file "levels\level02.rif"
- name "TOWERLIFTB"
- }
-
- shape Shp_flood_gate
- {
- file "levels\level02.rif"
- name "flood gate"
- }
-
- shape Shp_liftswitcha
- {
- file "objects\LIFTSWITCH F.rif"
- name "LIFTSWITCH F"
- }
- hierarchy Hcy_liftswitchaa
- {
- file "objects\LIFTSWITCH E.rif"
- name "LIFTSWITCH E"
- }
- shape Shp_liftswitchb
- {
- file "objects\LIFTSWITCH F.rif"
- name "LIFTSWITCH F"
- }
- hierarchy Hcy_liftswitchbb
- {
- file "objects\LIFTSWITCH E.rif"
- name "LIFTSWITCH E"
- }
- shape Shp_floodswitch
- {
- file "objects\LIFTSWITCH B.rif"
- name "LIFTSWITCH B"
- }
-
- shape Shp_hoversled
- {
- file "levels/level02.rif"
- name "hoversled"
- }
- /********JUNKPILES********JUNKPILES********JUNKPILES********/
-
- shape Shp_Junkpile_C
- {
- file "objects\JUNKPILE C.rif"
- name "JUNKPILE C"
- }
- shape Shp_Junkpile_D
- {
- file "objects\JUNKPILE D.rif"
- name "junkpile D"
- }
- shape Shp_Junkpile_E
- {
- file "objects\JUNKPILE E.rif"
- name "junkpile E"
- }
- shape Shp_Junkpile_F
- {
- file "objects\JUNKPILE F.rif"
- name "junkpile F"
- }
- shape Shp_Junkpile_G
- {
- file "objects\JUNKPILE G.rif"
- name "junkpile G"
- }
- shape Shp_Junkpile_H
- {
- file "objects\JUNKPILE H.rif"
- name "junkpile H"
- }
- shape Shp_Junkpile_I
- {
- file "objects\JUNKPILE I.rif"
- name "junkpile I"
- }
- shape Shp_Junkpile_J
- {
- file "objects\JUNKPILE J.rif"
- name "junkpile J"
- }
- shape Shp_Junkpile_K
- {
- file "objects\JUNKPILE K.rif"
- name "junkpile K"
- }
- shape Shp_Junkpile_L
- {
- file "levels\level02.rif"
- name "junkpile L"
- }
- shape Shp_Junkpile_M
- {
- file "objects\JUNKPILE M.rif"
- name "junkpile M"
- }
- shape Shp_Junkpile_N
- {
- file "objects\JUNKPILE N.rif"
- name "junkpile N"
- }
- shape Shp_Junkpile_O
- {
- file "objects\JUNKPILE O.rif"
- name "junkpile O"
- }
-
- /********BODY PARTS********BODY PARTS********BODY PARTS********/
-
- shape Shp_Grunt_Arml_A
- {
- file "levels\level02.rif"
- name "GRUNT ARML A"
- }
- shape Shp_Grunt_Arml_B
- {
- file "levels\level02.rif"
- name "GRUNT ARML B"
- }
- shape Shp_Grunt_Legs_A
- {
- file "levels\level02.rif"
- name "GRUNT LEGS A"
- }
- shape Shp_Grunt_Legs_B
- {
- file "levels\level02.rif"
- name "GRUNT LEGS B"
- }
- shape Shp_Grunt_Legs_C
- {
- file "levels\level02.rif"
- name "GRUNT LEGS C"
- }
- shape Shp_Grunt_Torso_A
- {
- file "levels\level02.rif"
- name "GRUNT TORSO A"
- }
- shape Shp_Grunt_Torso_B
- {
- file "levels\level02.rif"
- name "GRUNT TORSO B"
- }
- shape Shp_Heavy_Legs_A
- {
- file "levels\level02.rif"
- name "HEAVY LEGS A"
- }
- shape Shp_Heavy_Legs_B
- {
- file "levels\level02.rif"
- name "HEAVY LEGS B"
- }
- shape Shp_Heavy_Torso_A
- {
- file "levels\level02.rif"
- name "HEAVY TORSO A"
- }
- shape Shp_Heavy_Torso_B
- {
- file "levels\level02.rif"
- name "HEAVY TORSO B"
- }
-
- /********GARBAGE PICKUPS********GARBAGE PICKUPS********/
-
- shape Shp_Garbage_A
- {
- file "objects\garbage A.rif"
- name "garbage A"
- }
- shape Shp_Garbage_B
- {
- file "objects\garbage B.rif"
- name "garbage B"
- }
- shape Shp_Garbage_C
- {
- file "objects\garbage C.rif"
- name "garbage C"
- }
- shape Shp_Garbage_D
- {
- file "objects\garbage D.rif"
- name "garbage D"
- }
- shape Shp_Garbage_E
- {
- file "objects\garbage E.rif"
- name "garbage E"
- }
- shape Shp_Garbage_F
- {
- file "objects\garbage F.rif"
- name "garbage F"
- }
- shape Shp_Garbage_G
- {
- file "objects\garbage G.rif"
- name "garbage G"
- }
- shape Shp_Garbage_H
- {
- file "objects\garbage H.rif"
- name "garbage H"
- }
- shape Shp_Garbage_I
- {
- file "objects\garbage I.rif"
- name "garbage I"
- }
- shape Shp_Garbage_J
- {
- file "objects\garbage J.rif"
- name "garbage J"
- }
- shape Shp_Garbage_K
- {
- file "objects\garbage K.rif"
- name "garbage K"
- }
- shape Shp_Garbage_L
- {
- file "objects\garbage L.rif"
- name "garbage L"
- }
-
- /**********/
- /* ROLES */
- /**********/
-
- // world objects
-
- role Rol_VTOL : Rol_PlacedObject
- {
- shape Hcy_VTOL
- destination selectable no
- identifier "vtol"
- }
-
- role Rol_OilDrum : Rol_PlacedObject
- {
- shape Shp_OilDrum
- }
-
- role Rol_TOWERLIFTA : Rol_PlacedObject
- {
- shape Shp_TOWERLIFTA
- destination selectable yes
- ai track object
- }
-
- role Rol_TOWERLIFTB : Rol_PlacedObject
- {
- shape Shp_TOWERLIFTB
- destination selectable yes
- ai track object
- }
-
- role Rol_liftswitcha : Rol_PlacedObject
- {
- shape Shp_liftswitcha
- destination selectable yes
- ai pickup
- }
-
- role Rol_liftswitchaa : Rol_PlacedObject
- {
- shape Hcy_liftswitchaa
- destination selectable yes
- ai pickup
- }
-
- role Rol_liftswitchb : Rol_PlacedObject
- {
- shape Shp_liftswitchb
- destination selectable yes
- ai pickup
- }
-
- role Rol_liftswitchbb : Rol_PlacedObject
- {
- shape Hcy_liftswitchbb
- destination selectable yes
- ai pickup
- }
-
- role Rol_flood_gate : Rol_PlacedObject
- {
- shape Shp_flood_gate
- destination selectable yes
- ai track object
- }
-
- role Rol_floodswitch : Rol_PlacedObject
- {
- shape Shp_floodswitch
- destination selectable yes
- ai pickup
- }
-
-
- role Rol_hoversled : Rol_PlacedObject
- {
- shape Shp_hoversled
- destination selectable yes
- ai track object
- }
-
- /********JUNKPILES********JUNKPILES********JUNKPILES********/
-
- role Rol_Junkpile_C : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_C
- }
- role Rol_Junkpile_D : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_D
- }
- role Rol_Junkpile_E : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_E
- }
- role Rol_Junkpile_F : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_F
- }
- role Rol_Junkpile_G : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_G
- }
- role Rol_Junkpile_H : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_H
- }
- role Rol_Junkpile_I : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_I
- }
- role Rol_Junkpile_J : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_J
- }
- role Rol_Junkpile_K : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_K
- }
- role Rol_Junkpile_L : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_L
- }
- role Rol_Junkpile_M : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_M
- }
- role Rol_Junkpile_N : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_N
- }
- role Rol_Junkpile_O : Rol_DefaultJunkpile
- {
- shape Shp_Junkpile_O
- }
-
- /********BODY PARTS********BODY PARTS********BODY PARTS********/
-
- role Rol_Grunt_Arml_A : Rol_PlacedObject
- {
- shape Shp_Grunt_Arml_A
- }
- role Rol_Grunt_Arml_B : Rol_PlacedObject
- {
- shape Shp_Grunt_Arml_B
- }
- role Rol_Grunt_Legs_A : Rol_PlacedObject
- {
- shape Shp_Grunt_Legs_A
- }
- role Rol_Grunt_Legs_B : Rol_PlacedObject
- {
- shape Shp_Grunt_Legs_B
- }
- role Rol_Grunt_Legs_C : Rol_PlacedObject
- {
- shape Shp_Grunt_Legs_C
- }
- role Rol_Grunt_Torso_A : Rol_PlacedObject
- {
- shape Shp_Grunt_Torso_A
- }
- role Rol_Grunt_Torso_B : Rol_PlacedObject
- {
- shape Shp_Grunt_Torso_B
- }
- role Rol_Heavy_Legs_A : Rol_PlacedObject
- {
- shape Shp_Heavy_Legs_A
- }
- role Rol_Heavy_Legs_B : Rol_PlacedObject
- {
- shape Shp_Heavy_Legs_B
- }
- role Rol_Heavy_Torso_A : Rol_PlacedObject
- {
- shape Shp_Heavy_Torso_A
- }
- role Rol_Heavy_Torso_B : Rol_PlacedObject
- {
- shape Shp_Heavy_Torso_B
- }
-
- /********GARBAGE PICKUPS********GARBAGE PICKUPS********/
-
- role Rol_Garbage_A : Rol_DefaultGarbage
- {
- shape Shp_Garbage_A
- }
- role Rol_Garbage_B : Rol_DefaultGarbage
- {
- shape Shp_Garbage_B
- }
- role Rol_Garbage_C : Rol_DefaultGarbage
- {
- shape Shp_Garbage_C
- }
- role Rol_Garbage_D : Rol_DefaultGarbage
- {
- shape Shp_Garbage_D
- }
- role Rol_Garbage_E : Rol_DefaultGarbage
- {
- shape Shp_Garbage_E
- }
- role Rol_Garbage_F : Rol_DefaultGarbage
- {
- shape Shp_Garbage_F
- }
- role Rol_Garbage_G : Rol_DefaultGarbage
- {
- shape Shp_Garbage_G
- }
- role Rol_Garbage_H : Rol_DefaultGarbage
- {
- shape Shp_Garbage_H
- }
- role Rol_Garbage_I : Rol_DefaultGarbage
- {
- shape Shp_Garbage_I
- }
- role Rol_Garbage_J : Rol_DefaultGarbage
- {
- shape Shp_Garbage_J
- }
- role Rol_Garbage_K : Rol_DefaultGarbage
- {
- shape Shp_Garbage_K
- }
- role Rol_Garbage_L : Rol_DefaultGarbage
- {
- shape Shp_Garbage_L
- }
-
- /***********/
- /* THE MAP */
- /***********/
-
- map /* _THE_ map - doesnt need a label */
- {
- file "levels\level02.rif"
- name "Land"
- bitmap "bitmaps\\LEVEL02.rim"
-
- camera plane "camhund"
- max camera distance 100 // TBD exactly
- max camera focus height "max focus height"
- min camera focus height "min focus height"
- shadow object rif "levels\level02_shadow.rif"
- shadow object name "Land_Shadow"
- max vertices per section 2048
-
- // PLAYER'S TROOPS
-
- use Rol_GunLok in team 1 for
- "Goodie A" as "gunlok"
-
- use Rol_Hark in team 0 for
- "Goodie B" as "hark"
-
- use Rol_Elint in team 1 for
- "Goodie C" as "elint"
-
- // AI'S TROOPS
-
-
-
- // NEUTRAL OBJECTS
- use Rol_VTOL in team 0 for
- "hoversleddum" as "VTOL"
-
- use Rol_OilDrum in team 0 for
- "Oil Drum A" and
- "Oil Drum B" and
- "Oil Drum C" and
- "Oil Drum G" and
- "Oil Drum H" and
- "Oil Drum K" and
- "Oil Drum L" and
- "Oil Drum O"
-
- use Rol_OilFire in team 0 for
- "Oil Drum A Fire" and
- "Oil Drum B Fire" and
- "Oil Drum C Fire" and
- "Oil Drum G Fire" and
- "Oil Drum H Fire" and
- "Oil Drum K Fire" and
- "Oil Drum L Fire" and
- "Oil Drum O Fire"
-
- use Rol_Purplelightmini in team 0 for
- "purplelightA" as "purplelightA"
- use Rol_Purplelightmini in team 0 for
- "purplelightB" as "purplelightB"
- use Rol_Purplelightmini in team 0 for
- "purplelightC" as "purplelightC"
- use Rol_Purplelightmini in team 0 for
- "purplelightD" as "purplelightD"
- use Rol_Purplelightmini in team 0 for
- "purplelightE" as "purplelightE"
-
- use Rol_Redlightmini in team 0 for
- "redlightminia" and
- "redlightminiab" and
- "redlightminiac" and
- "redlightminiad"
-
-
- use Rol_CarFire in team 0 for
- "Car B Fire" and
- "Car C Fire" and
- "Car F Fire"
-
- use Rol_TOWERLIFTA in team 0 for
- "TOWERLIFTA" as "lift_a"
-
- use Rol_TOWERLIFTB in team 0 for
- "TOWERLIFTB" as "lift_b"
-
- use Rol_liftswitcha in team 0 for
- "liftswitcha" as "liftswitcha"
-
- use Rol_liftswitchaa in team 0 for
- "liftswitchaa" as "liftswitchaa"
-
- use Rol_liftswitchb in team 0 for
- "liftswitchb" as "liftswitchb"
-
- use Rol_liftswitchbb in team 0 for
- "liftswitchbb" as "liftswitchbb"
-
- use Rol_liftswitchbb in team 0 for
- "liftswitchbc" as "liftswitchbc"
-
- use Rol_flood_gate in team 0 for
- "flood gate" as "flood_gate"
-
- use Rol_floodswitch in team 0 for
- "floodswitch" as "floodswitch"
-
- use Rol_Technobox in team 2 for
- "technobox" as "technoboxa"
-
- use Rol_hoversled in team 0 for
- "hoversled" as "hoversled"
-
- /********JUNKPILES********JUNKPILES********JUNKPILES********/
-
- /* use Rol_Junkpile_C in team 0 for
- "JUNKPILE C"
- use Rol_Junkpile_D in team 0 for
- "junkpile D"
- use Rol_Junkpile_E in team 0 for
- "junkpile E"
- use Rol_Junkpile_F in team 0 for
- "JUNKPILE F"
- use Rol_Junkpile_G in team 0 for
- "junkpile G"
- use Rol_Junkpile_H in team 0 for
- "junkpile H"
- use Rol_Junkpile_I in team 0 for
- "JUNKPILE I"
- use Rol_Junkpile_J in team 0 for
- "junkpile J"
- use Rol_Junkpile_K in team 0 for
- "junkpile K"
- use Rol_Junkpile_L in team 0 for
- use Rol_Junkpile_M in team 0 for
- "junkpile M"
- use Rol_Junkpile_N in team 0 for
- "junkpile N"
- use Rol_Junkpile_O in team 0 for
- "JUNKPILE O"*/
-
- /********BODY PARTS********BODY PARTS********BODY PARTS********/
-
- use Rol_Grunt_Arml_A in team 0 for
- "GRUNT ARML A" and
- "GRUNT ARML AB" and
- "GRUNT ARML AC" and
- "GRUNT ARML AD" and
- "GRUNT ARML AE"
- use Rol_Grunt_Arml_B in team 0 for
- "GRUNT ARML B" and
- "GRUNT ARML BB" and
- "GRUNT ARML BC" and
- "GRUNT ARML BD" and
- "GRUNT ARML BE"
- use Rol_Grunt_Legs_A in team 0 for
- "GRUNT LEGS A" and
- "GRUNT LEGS AB" and
- "GRUNT LEGS AC"
- use Rol_Grunt_Legs_B in team 0 for
- "GRUNT LEGS B" and
- "GRUNT LEGS BB"
- use Rol_Grunt_Legs_C in team 0 for
- "GRUNT LEGS C" and
- "GRUNT LEGS CB" and
- "GRUNT LEGS CC"
- use Rol_Grunt_Torso_A in team 0 for
- "GRUNT TORSO A"
- use Rol_Grunt_Torso_B in team 0 for
- "GRUNT TORSO B"
- use Rol_Heavy_Legs_A in team 0 for
- "HEAVY LEGS A"
- use Rol_Heavy_Legs_B in team 0 for
- "HEAVY LEGS B"
- use Rol_Heavy_Torso_A in team 0 for
- "HEAVY TORSO A"
- use Rol_Heavy_Torso_B in team 0 for
- "HEAVY TORSO B"
-
- /********GARBAGE PICKUPS********GARBAGE PICKUPS********/
-
- use Rol_Garbage_A in team 0 for
- "garbage A" as "garbage_a"
- use Rol_Garbage_A in team 0 for
- "garbage AB" as "garbage_ab"
- use Rol_Garbage_A in team 0 for
- "garbage AC" as "garbage_ac"
-
- use Rol_Garbage_B in team 0 for
- "garbage B" as "garbage_b"
- use Rol_Garbage_B in team 0 for
- "garbage BB" as "garbage_bb"
- use Rol_Garbage_B in team 0 for
- "garbage BC" as "garbage_bc"
-
- use Rol_Garbage_C in team 0 for
- "garbage C" as "garbage_c"
- use Rol_Garbage_C in team 0 for
- "garbage CB" as "garbage_cb"
- use Rol_Garbage_C in team 0 for
- "garbage CC" as "garbage_cc"
-
- use Rol_Garbage_D in team 0 for
- "garbage D" as "garbage_d"
- use Rol_Garbage_D in team 0 for
- "garbage DB" as "garbage_db"
- use Rol_Garbage_D in team 0 for
- "garbage DC" as "garbage_dc"
-
- use Rol_Garbage_E in team 0 for
- "garbage E" as "garbage_e"
- use Rol_Garbage_E in team 0 for
- "garbage EB" as "garbage_eb"
- use Rol_Garbage_E in team 0 for
- "garbage EC" as "garbage_ec"
-
- use Rol_Garbage_F in team 0 for
- "garbage F" as "garbage_f"
- use Rol_Garbage_F in team 0 for
- "garbage FB" as "garbage_fb"
-
- use Rol_Garbage_G in team 0 for
- "garbage G" as "garbage_g"
- use Rol_Garbage_G in team 0 for
- "garbage GB" as "garbage_gb"
- use Rol_Garbage_G in team 0 for
- "garbage GC" as "garbage_gc"
-
- use Rol_Garbage_H in team 0 for
- "garbage H" as "garbage_h"
- use Rol_Garbage_H in team 0 for
- "garbage HB" as "garbage_hb"
- use Rol_Garbage_H in team 0 for
- "garbage HC" as "garbage_hc"
- use Rol_Garbage_H in team 0 for
- "garbage HD" as "garbage_hd"
-
- use Rol_Garbage_I in team 0 for
- "garbage I" as "garbage_i"
- use Rol_Garbage_I in team 0 for
- "garbage IB" as "garbage_ib"
-
- use Rol_Garbage_J in team 0 for
- "garbage J" as "garbage_j"
- use Rol_Garbage_J in team 0 for
- "garbage JB" as "garbage_jb"
- use Rol_Garbage_J in team 0 for
- "junkpile LB" as "garbage_jc"
- use Rol_Garbage_J in team 0 for
- "junkpile LC" as "garbage_jd"
- use Rol_Garbage_J in team 0 for
- "junkpile LD" as "garbage_je"
- use Rol_Garbage_J in team 0 for
- "garbage BD" as "garbage_bd"
- use Rol_Garbage_J in team 0 for
- "garbage BE" as "garbage_be"
-
- use Rol_Garbage_K in team 0 for
- "garbage K" as "garbage_k"
- use Rol_Garbage_K in team 0 for
- "garbage KB" as "garbage_kb"
-
- use Rol_Garbage_L in team 0 for
- "garbage L" as "garbage_l"
- use Rol_Garbage_L in team 0 for
- "garbage LB" as "garbage_lb"
-
- /* use Rol_cratec in team 0 for
- "CRATE C" and
- "CRATE CB" and
- "CRATE CC" and
- "CRATE CD" and
- "CRATE CE"*/
- }
-
- camera track
- {
- file "levels\level02.rif"
- name "hark hears"
- }