home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 95
/
XENIATGM95.iso
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
level01.gls
< prev
next >
Wrap
Text File
|
2000-08-22
|
14KB
|
719 lines
/************/
/* 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"
#include "pickups.gsh"
// good guys
#include "gunlok.gsh"
//#include "hark.gsh"
//#include "frend.gsh"
#include "elint.gsh"
#include "maskelyn.gsh"
#include "skorn.gsh"
// bad guys
#include "archore.gsh"
#include "mine.gsh"
#include "walking_mine.gsh"
#include "drone.gsh"
#include "sneeker.gsh"
#include "scythor.gsh"
#include "pulsox.gsh"
#include "warflash.gsh"
//#include "skyburn.gsh"
// neutral things
#include "pylon_normal.gsh"
#include "bug.gsh"
#include "blobarrelfrag.gsh"
#include "fragescapeboulder.gsh"
#include "technocrate.gsh"
// fires
#include "carfire.gsh"
#include "oilfire.gsh"
#include "redlight.gsh"
#include "redlightmini.gsh"
#include "bluelight.gsh"
#include "bluelightmini.gsh"
#include "purplelight.gsh"
#include "purplelightmini.gsh"
#include "whitelightmini.gsh"
#include "brightwhitebulb.gsh"
#include "yellowlight.gsh"
#include "redlightmini.gsh"
/*********/
/* NOTES */
/*********/
/**********/
/* SHAPES */
/**********/
// world objects
/*********TECHNOBOXES (LASER FENCE SWITCHES)*/
hierarchy Hcy_TECHNOBOX_A
{
file "objects/technobox.rif"
name "TECHNOBOX"
}
hierarchy Hcy_TECHNOBOX_B
{
file "objects/technobox.rif"
name "TECHNOBOX"
}
hierarchy Hcy_TECHNOBOX_C
{
file "objects/technobox.rif"
name "TECHNOBOX"
}
hierarchy Hcy_TECHNOBOX_D
{
file "objects/technobox.rif"
name "TECHNOBOX"
}
/********BODY PARTS*/
shape Shp_Grunt_Melt_B
{
file "levels\level01.rif"
name "GRUNT MELT B"
}
shape Shp_Grunt_Melt_C
{
file "levels\level01.rif"
name "GRUNT MELT C"
}
shape Shp_Grunt_Legs_A
{
file "levels\level01.rif"
name "GRUNT LEGS A"
}
shape Shp_Grunt_Legs_B
{
file "levels\level01.rif"
name "GRUNT LEGS B"
}
shape Shp_Grunt_Legs_C
{
file "levels\level01.rif"
name "GRUNT LEGS C"
}
shape Shp_Grunt_Torso_A
{
file "levels\level01.rif"
name "GRUNT TORSO A"
}
shape Shp_Grunt_Torso_B
{
file "levels\level01.rif"
name "GRUNT TORSO B"
}
shape Shp_Grunt_Arml_A
{
file "levels\level01.rif"
name "GRUNT ARML A"
}
shape Shp_Grunt_Arml_B
{
file "levels\level01.rif"
name "GRUNT ARML B"
}
shape Shp_Heavy_Legs_A
{
file "levels\level01.rif"
name "HEAVY LEGS A"
}
shape Shp_Heavy_Legs_B
{
file "levels\level01.rif"
name "HEAVY LEGS B"
}
shape Shp_Heavy_Torso_A
{
file "levels\level01.rif"
name "HEAVY TORSO A"
}
shape Shp_Heavy_Torso_B
{
file "levels\level01.rif"
name "HEAVY TORSO B"
}
/********JUNKPILES*/
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_H
{
file "objects\JUNKPILE H.rif"
name "junkpile H"
}
shape Shp_Junkpile_K
{
file "objects\JUNKPILE K.rif"
name "junkpile K"
}
shape Shp_Junkpile_M
{
file "objects\JUNKPILE M.rif"
name "junkpile M"
}
/********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
/*********TECHNOBOXES (LASER FENCE SWITCHES)*/
role Rol_TECHNOBOX_A : Rol_PlacedObject
{
shape Hcy_TECHNOBOX_A
destructibility Des_Explode
identifier "technobox_a"
ai blocker
}
role Rol_TECHNOBOX_B : Rol_PlacedObject
{
shape Hcy_TECHNOBOX_B
destructibility Des_Explode
identifier "technobox_b"
ai blocker
}
role Rol_TECHNOBOX_C : Rol_PlacedObject
{
shape Hcy_TECHNOBOX_C
destructibility Des_Explode
identifier "technobox_c"
ai blocker
}
role Rol_TECHNOBOX_D : Rol_PlacedObject
{
shape Hcy_TECHNOBOX_D
destructibility Des_Explode
identifier "technobox_d"
ai blocker
}
/********BOULDERS*/
//are now attached to Land
/********BODY PARTS*/
role Rol_Grunt_Melt_B : Rol_PlacedObject
{
shape Shp_Grunt_Melt_B
}
role Rol_Grunt_Melt_C : Rol_PlacedObject
{
shape Shp_Grunt_Melt_C
}
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_Grunt_Arml_A : Rol_PlacedObject
{
shape Shp_Grunt_Arml_A
}
role Rol_Grunt_Arml_B : Rol_PlacedObject
{
shape Shp_Grunt_Arml_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
}
/********JUNKPILES*/
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_DefaultGarbage
{
shape Shp_Junkpile_F
}
role Rol_Junkpile_H : Rol_DefaultJunkpile
{
shape Shp_Junkpile_H
}
role Rol_Junkpile_K : Rol_DefaultJunkpile
{
shape Shp_Junkpile_K
}
role Rol_Junkpile_M : Rol_DefaultJunkpile
{
shape Shp_Junkpile_M
}
/********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\level01.rif"
name "Land"
bitmap "bitmaps\\LEVEL01.rim"
camera plane "camhund"
max camera distance 60 // TBD exactly
max camera focus height "max focus height"
min camera focus height "min focus height"
shadow object rif "levels\level01_shadow.rif"
shadow object name "Land"
max vertices per section 2048
// PLAYER'S TROOPS
use Rol_GunLok in team 1 for
"Goodie A" as "gunlok"
use Rol_Elint in team 1 for
"Goodie B" as "elint"
// AI'S TROOPS
// NEUTRAL OBJECTS
use Rol_blobarrel in team 2 for
"blobarrela" and
"blobarrelb" and
"blobarrelc" and
"blobarreld" and
"blobarrele" and
"blobarrelf" and
"blobarrelg" and
"blobarrelh" and
"blobarreli" and
"blobarrelj" and
"blobarrelk"
/********TECHNOBOXES (LASER FENCE SWITCHES)*/
use Rol_TECHNOBOX_A in team 2 for
"TECHNOBOX A" as "TECHNOBOX_A"
use Rol_TECHNOBOX_B in team 2 for
"TECHNOBOX B" as "TECHNOBOX_B"
use Rol_TECHNOBOX_C in team 2 for
"TECHNOBOX C" as "TECHNOBOX_C"
use Rol_TECHNOBOX_D in team 2 for
"TECHNOBOX D" as "TECHNOBOX_D"
/********BOULDERS*/
//are now attached to Land
/********BODY PARTS*/
use Rol_Grunt_Melt_B in team 0 for
"GRUNT MELT B" and
"GRUNT MELT BB" and
"GRUNT MELT BC"
use Rol_Grunt_Melt_C in team 0 for
"GRUNT MELT C"
use Rol_Grunt_Legs_A in team 0 for
"GRUNT LEGS A"
use Rol_Grunt_Legs_B in team 0 for
"GRUNT LEGS B"
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" and
"GRUNT TORSO BB" and
"GRUNT TORSO BC"
use Rol_Grunt_Arml_A in team 0 for
"GRUNT AMRL A" and
"GRUNT ARML AB"
use Rol_Grunt_Arml_B in team 0 for
"GRUNT AMRL B" and
"GRUNT ARML BB" and
"GRUNT AMRL BC" and
"GRUNT ARML BD"
use Rol_Heavy_Legs_A in team 0 for
"HEAVY LEGS A" and
"HEAVY LEGS AB" and
"HEAVY LEGS AC"
use Rol_Heavy_Legs_B in team 0 for
"HEAVY LEGS B" and
"HEAVY LEGS BB" and
"HEAVY LEGS BC" and
"HEAVY LEGS BD"
use Rol_Heavy_Torso_A in team 0 for
"HEAVY TORSO A" and
"HEAVY TORSO AB" and
"HEAVY TORSO AC"
use Rol_Heavy_Torso_B in team 0 for
"HEAVY TORSO B" and
"HEAVY TORSO BB" and
"HEAVY TORSO BC" and
"HEAVY TORSO BD" and
"HEAVY TORSO BE" and
"HEAVY TORSO BF"
/********JUNKPILES*/
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" as "junkpile_f"
use Rol_Junkpile_H in team 0 for
"JUNKPILE H"
use Rol_Junkpile_K in team 0 for
"JUNKPILE K"
use Rol_Junkpile_M in team 0 for
"JUNKPILE M"
/********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 BZ" as "garbage_bz"
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 CX" as "garbage_cx"
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_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_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_F in team 0 for
"garbage FC" as "garbage_fc"
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_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_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_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_K in team 0 for
"garbage KC" as "garbage_kc"
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_technocrate in team 0 for
"Technocrate" as "technocrate"
/*use Rol_OilFire in team 0 for
"Oil Drum A Fire"
use Rol_OilFire in team 0 for
"Oil Drum B Fire"
use Rol_OilFire in team 0 for
"Oil Drum C Fire"
use Rol_OilFire in team 0 for
"Oil Drum D Fire"
use Rol_OilFire in team 0 for
"Oil Drum E Fire"
use Rol_OilFire in team 0 for
"Oil Drum F Fire"
use Rol_OilFire in team 0 for
"Oil Drum G Fire"
use Rol_OilFire in team 0 for
"Oil Drum H Fire"
use Rol_OilFire in team 0 for
"Oil Drum I Fire"
use Rol_OilFire in team 0 for
"Oil Drum J Fire"
use Rol_OilFire in team 0 for
"Oil Drum K Fire"
use Rol_OilFire in team 0 for
"Oil Drum L Fire"
use Rol_OilFire in team 0 for
"Oil Drum M Fire"
use Rol_OilFire in team 0 for
"Oil Drum N Fire"
use Rol_OilFire in team 0 for
"Oil Drum O Fire"*/
use Rol_fragboulder in team 0 for
"fragbouldera"
use Rol_fragboulder in team 0 for
"fragboulderb"
use Rol_fragboulder in team 0 for
"fragboulderc"
use Rol_fragboulder in team 0 for
"fragbouldere"
use Rol_fragboulder in team 0 for
"fragboulderf"
use Rol_fragboulder in team 0 for
"fragboulderg"
use Rol_fragboulder in team 0 for
"fragboulderh"
use Rol_fragboulder in team 0 for
"fragboulderi"
/*use Rol_Redlightmini in team 0 for
"purplelight ac" and
"purplelight ad" and
"purplelight ae" and
"purplelight af"*/
/*use Rol_Redlightmini in team 0 for
"redlight ab" and
"redlight ac" and
"redlight ad" and
"redlight ae"*/
use Rol_Bluelightmini in team 0 for
"bluelight a" and
"bluelight ab"
/*use Rol_Whitelightmini in team 0 for
"purplelight a" and
"purplelight ab"*/
use Rol_yellow in team 0 for
"PIT LIGHT A" and
"PIT LIGHT AB" and
"PIT LIGHT AC" and
"PIT LIGHT AD" and
"PIT LIGHT AE"
}
camera track
{
file "levels\level01.rif"
name "escape intro"
}
camera track
{
file "levels\level01.rif"
name "the bug"
}
camera track
{
file "levels\level01.rif"
name "end_of_level"
}