home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 95 / XENIATGM95.iso / Gunlok / data1.cab / Program_Executable_Files / scripts / Training_Level.gls < prev    next >
Text File  |  2000-08-22  |  8KB  |  390 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "frend.gsh"
  14. #include "hark.gsh"
  15. #include "gunlok.gsh"
  16. #include "elint.gsh"
  17.  
  18. // bad guys
  19.  
  20. #include "drone.gsh"
  21. //#include "walking_mine.gsh"
  22. //#include "scythor.gsh"
  23. #include "sneeker.gsh"
  24. //#include "adversor.gsh"
  25. //#include "bombhead.gsh"
  26. //#include "pulsax.gsh"
  27. #include "pulsox.gsh"
  28. //#include "obliteron.gsh"
  29. #include "archore.gsh"
  30.  
  31. // neutral things
  32.  
  33. //#include "robodozer.gsh"
  34. //#include "tumbleweed.gsh"
  35. //#include "crate.gsh"
  36. //#include "satellite_wall_frag.gsh"
  37. //#include "superbox.gsh"
  38. //#include "walln_multifrag.gsh"
  39. #include "blobarrelfrag.gsh"
  40. #include "technocrate.gsh"
  41. //#include "compounds.gsh"
  42.  
  43. // fires
  44.  
  45. #include "carfire.gsh"
  46. #include "oilfire.gsh"
  47. #include "redlight.gsh"
  48.  
  49. /*********/
  50. /* NOTES */
  51. /*********/
  52.  
  53. /**********/
  54. /* SHAPES */
  55. /**********/
  56.  
  57. // world objects
  58. hierarchy Hcy_TECHNOBOX_A
  59. {
  60.     file "objects/technobox.rif"
  61.     name "TECHNOBOX"
  62. }
  63. hierarchy Hcy_TECHNOBOX_B
  64. {
  65.     file "objects/technobox.rif"
  66.     name "TECHNOBOX"
  67. }
  68.  
  69.  
  70. shape Shp_TOWERLIFTA
  71. {
  72.     file "levels\Training_Level.rif"
  73.     name "TOWERLIFTA"
  74. }
  75. shape Shp_liftswitcha
  76. {
  77.     file "objects\LIFTSWITCH F.rif"
  78.     name "LIFTSWITCH F"
  79. }
  80. hierarchy Hcy_liftswitchaa
  81. {
  82.     file "objects\LIFTSWITCH E.rif"
  83.     name "LIFTSWITCH E"
  84. }
  85. hierarchy Hcy_liftswitchab
  86. {
  87.     file "objects\LIFTSWITCH E.rif"
  88.     name "LIFTSWITCH E"
  89. }
  90.  
  91. shape Shp_Garbage_A
  92. {
  93.     file "objects\GARBAGE A.rif"
  94.     name "garbage A"
  95. }
  96. shape Shp_Garbage_B
  97. {
  98.     file "objects\GARBAGE B.rif"
  99.     name "garbage B"
  100. }
  101. shape Shp_Garbage_C
  102. {
  103.     file "objects\GARBAGE C.rif"
  104.     name "garbage C"
  105. }
  106. shape Shp_Garbage_D
  107. {
  108.     file "objects\GARBAGE D.rif"
  109.     name "garbage D"
  110. }
  111. shape Shp_Garbage_E
  112. {
  113.     file "objects\GARBAGE E.rif"
  114.     name "garbage E"
  115. }
  116. shape Shp_Garbage_F
  117. {
  118.     file "objects\GARBAGE F.rif"
  119.     name "garbage F"
  120. }
  121. shape Shp_Garbage_G
  122. {
  123.     file "objects\GARBAGE G.rif"
  124.     name "garbage G"
  125. }
  126. shape Shp_Garbage_H
  127. {
  128.     file "objects\GARBAGE H.rif"
  129.     name "garbage H"
  130. }
  131. shape Shp_Garbage_I
  132. {
  133.     file "objects\GARBAGE I.rif"
  134.     name "garbage I"
  135. }
  136.  
  137. /**********/
  138. /* ROLES  */
  139. /**********/
  140.  
  141. // world objects
  142. role Rol_TECHNOBOX_A : Rol_PlacedObject
  143. {
  144.     shape     Hcy_TECHNOBOX_A
  145.     destructibility Des_Explode
  146. //    identifier    "technobox_a"
  147.     ai            blocker
  148. }
  149. role Rol_TECHNOBOX_B : Rol_PlacedObject
  150. {
  151.     shape     Hcy_TECHNOBOX_B
  152. //    destructibility Des_Explode
  153. //    identifier    "technobox_b"
  154.     ai            blocker
  155. }
  156.  
  157. role Rol_TOWERLIFTA : Rol_PlacedObject
  158. {
  159.     shape                        Shp_TOWERLIFTA
  160.     destination selectable        yes
  161.     ai                            track object
  162. }
  163. role Rol_liftswitcha : Rol_PlacedObject
  164. {
  165.     shape                        Shp_liftswitcha
  166.     destination selectable        yes
  167.     destroy after collection    no
  168.     ai                            pickup
  169. }
  170.  
  171. role Rol_liftswitchaa : Rol_PlacedObject
  172. {
  173.     shape                        Hcy_liftswitchaa
  174.     destination selectable        yes
  175.     destroy after collection    no
  176.     ai                            pickup
  177. }
  178. role Rol_liftswitchab : Rol_PlacedObject
  179. {
  180.     shape                        Hcy_liftswitchaa
  181.     destination selectable        yes
  182.     destroy after collection    no
  183.     ai                            pickup
  184. }
  185.  
  186. role Rol_Garbage_A_HasItem : Rol_DefaultGarbage_NoMsg
  187. {
  188.     shape                        Shp_Garbage_A
  189.     identifier                    "garbwithitem"
  190. }
  191. role Rol_Garbage_B_HasItem : Rol_Garbage_A_HasItem
  192. {
  193.     shape                        Shp_Garbage_B
  194. }
  195. role Rol_Garbage_C_HasItem : Rol_Garbage_A_HasItem
  196. {
  197.     shape                        Shp_Garbage_C
  198. }
  199.  
  200. role Rol_Garbage_C : Rol_DefaultGarbage
  201. {
  202.     shape    Shp_Garbage_C
  203. }
  204. role Rol_Garbage_D : Rol_DefaultGarbage
  205. {
  206.     shape    Shp_Garbage_D
  207. }
  208. role Rol_Garbage_E : Rol_DefaultGarbage
  209. {
  210.     shape    Shp_Garbage_E
  211. }
  212. role Rol_Garbage_F : Rol_DefaultGarbage
  213. {
  214.     shape    Shp_Garbage_F
  215. }
  216. role Rol_Garbage_G : Rol_DefaultGarbage
  217. {
  218.     shape    Shp_Garbage_G
  219. }
  220. role Rol_Garbage_H : Rol_DefaultGarbage
  221. {
  222.     shape    Shp_Garbage_H
  223. }
  224. role Rol_Garbage_I : Rol_DefaultGarbage
  225. {
  226.     shape Shp_Garbage_I
  227. }
  228.  
  229. role Rol_Area2Barrel : Rol_trainingblobarrel
  230. {
  231.     identifier        "area2barrel"
  232.     armour            100
  233. }
  234.  
  235. role Rol_Area3Barrel : Rol_trainingblobarrel
  236. {
  237.     identifier        "area3barrel"
  238.     armour            100
  239. }
  240.  
  241. /***********/
  242. /* THE MAP */
  243. /***********/
  244.  
  245. map /* _THE_ map - doesnt need a label */
  246. {
  247.     file "levels\Training_Level.rif"
  248.     name "Land"
  249.     bitmap "bitmaps\training_map.rim"
  250.     camera plane none
  251.     max camera distance 100 // TBD exactly
  252.     shadow object rif "levels\Training_Level_shadow.rif"
  253.     shadow object name "shadow_Land"
  254.  
  255.     // PLAYERS TROOPS
  256.  
  257.     use Rol_GunLok in team 1 for
  258.         "goodieA" as "Gunlok"
  259.  
  260.     // AI'S TROOPS
  261.  
  262.     // NEUTRAL OBJECTS
  263.  
  264.     use Rol_TOWERLIFTA in team 0 for
  265.         "TOWERLIFTA" as "lift_a"
  266.  
  267.     use Rol_liftswitcha in team 0 for
  268.         "liftswitcha" as "liftswitcha"
  269.  
  270.     use Rol_liftswitchaa in team 0 for
  271.         "liftswitchaa" as "liftswitchaa"
  272.     use Rol_liftswitchab in team 0 for
  273.         "liftswitchab" as "liftswitchab"
  274.  
  275.     use Rol_Area2Barrel in team 2 for
  276.         "blobarrela" and
  277.         "blobarrelb" and
  278.         "blobarrelc" and
  279.         "blobarreld"
  280.     use Rol_Area3Barrel in team 2 for
  281.         "blobarrele" and
  282.         "blobarrelf" as "blobarrelf" and
  283.         "blobarrelg" and
  284.         "blobarrelh"
  285.     use Rol_trainingblobarrel in team 2 for
  286.         "blobarreli" and
  287.         "blobarrelj" and
  288.         "blobarrelk" and
  289.         "blobarrell" and
  290.         "blobarrelm" and
  291.         "blobarreln" and
  292.         "blobarrelo"
  293.  
  294.     use Rol_Garbage_A_HasItem in team 0 for
  295.         "garbage AA" as "garbage_aa" and
  296.         "garbage AB" as "garbage_ab" and
  297.         "garbage AC" as "garbage_ac" 
  298.     use Rol_Garbage_B_HasItem in team 0 for
  299.         "garbage BA" as "garbage_ba" and
  300.         "garbage BB" as "garbage_bb"
  301.     use Rol_Garbage_C_HasItem in team 0 for
  302.         "garbage CA" as "garbage_ca"
  303.     use Rol_Garbage_C in team 0 for
  304.         "garbage CB" as "garbage_cb"
  305.     use Rol_Garbage_D in team 0 for
  306.         "garbage DA" as "garbage_da"
  307.     use Rol_Garbage_D in team 0 for
  308.         "garbage DB" as "garbage_db"
  309.     use Rol_Garbage_E in team 0 for
  310.         "garbage EA" as "garbage_ea"
  311.     use Rol_Garbage_E in team 0 for
  312.         "garbage EB" as "garbage_eb"
  313.     use Rol_Garbage_F in team 0 for
  314.         "garbage FA" as "garbage_fa"
  315.     use Rol_Garbage_F in team 0 for
  316.         "garbage FB" as "garbage_fb"
  317.     use Rol_Garbage_G in team 0 for
  318.         "garbage GA" as "garbage_ga"
  319.     use Rol_Garbage_G in team 0 for
  320.         "garbage GB" as "garbage_gb"
  321.     use Rol_Garbage_H in team 0 for
  322.         "garbage HA" as "garbage_ha"
  323.     use Rol_Garbage_H in team 0 for
  324.         "garbage HB" as "garbage_hb"
  325.     use Rol_Garbage_I in team 0 for
  326.         "garbage IA" as "garbage_ia"
  327. /*
  328.     use Rol_Compound_b in team 0 for
  329.         "COMPOUND B" as "compound_b"
  330.     use Rol_Compound_b in team 0 for
  331.         "COMPOUND BB" as "compound_bb"
  332.     use Rol_Compound_b in team 0 for
  333.         "COMPOUND BC" as "compound_bc"
  334.     use Rol_Compound_b in team 0 for
  335.         "COMPOUND BD" as "compound_bd"
  336.     use Rol_Compound_b in team 0 for
  337.         "COMPOUND BE" as "compound_be"
  338.     use Rol_Compound_c in team 0 for
  339.         "COMPOUND CA" and
  340.         "COMPOUND CB" and
  341.         "COMPOUND CC" and
  342.         "COMPOUND CD" and
  343.         "COMPOUND CE" and
  344.         "COMPOUND CF" and
  345.         "COMPOUND CG" and
  346.         "COMPOUND CH" and
  347.         "COMPOUND CI" and
  348.         "COMPOUND CJ" and
  349.         "COMPOUND CK" and
  350.         "COMPOUND CL" and
  351.         "COMPOUND CM" and
  352.         "COMPOUND CN" and
  353.         "COMPOUND CO" and
  354.         "COMPOUND CP" and
  355.         "COMPOUND CQ" and
  356.         "COMPOUND CR" and
  357.         "COMPOUND CS" and
  358.         "COMPOUND CT" and
  359.         "COMPOUND CU" and
  360.         "COMPOUND CV" and
  361.         "COMPOUND CW" and
  362.         "COMPOUND CX" and
  363.         "COMPOUND CY" and
  364.         "COMPOUND CZ" and
  365.         "COMPOUND CAA" and
  366.         "COMPOUND CAB" and
  367.         "COMPOUND CAC" and
  368.         "COMPOUND CAD" and
  369.         "COMPOUND CAE" and
  370.         "COMPOUND CAF" and
  371.         "COMPOUND CAG"
  372.     use Rol_Compound_d in team 0 for
  373.         "COMPOUND DA" and
  374.         "COMPOUND DB" 
  375.     use Rol_Compound_e in team 0 for
  376.         "COMPOUND EA"
  377. */
  378.     use Rol_TECHNOBOX_A in team 2 for
  379.         "COMPGENA" as "compgena"
  380.     use Rol_TECHNOBOX_B in team 2 for
  381.         "COMPGENB" as "compgenb"
  382.  
  383.     use Rol_technocrate in team 0 for
  384.         "Technocratea" and
  385.         "Technocrateb" and
  386.         "Technocratec" and
  387.         "Technocrated" and
  388.         "Technocratee" and
  389.         "Technocratef"
  390. }