home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 42 / CDGAMER42.iso / Gunlok / data1.cab / Program_Executable_Files / scripts / prison_mplay.gls < prev    next >
Encoding:
Text File  |  2000-08-22  |  9.4 KB  |  498 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. #include "defaults.gsh"
  9.  
  10. // good guys
  11.  
  12. #include "hark.gsh"
  13. #include "frend.gsh"
  14. #include "gunlok.gsh"
  15.  
  16.  
  17. /*********/
  18. /* NOTES */
  19. /*********/
  20.  
  21. /**********/
  22. /* SHAPES */
  23. /**********/
  24.  
  25. // world objects
  26.  
  27. shape Shp_LiftA
  28. {
  29.     file "levels\prison_mplay.rif"
  30.     name "LIFT A"
  31. }
  32. shape Shp_LiftAB
  33. {
  34.     file "levels\prison_mplay.rif"
  35.     name "LIFT AB"
  36. }
  37. shape Shp_LiftAC
  38. {
  39.     file "levels\prison_mplay.rif"
  40.     name "LIFT AC"
  41. }
  42.  
  43.  
  44. shape Shp_LiftB
  45. {
  46.     file "levels\prison_mplay.rif"
  47.     name "LIFT B"
  48. }
  49. shape Shp_LiftBB
  50. {
  51.     file "levels\prison_mplay.rif"
  52.     name "LIFT BB"
  53. }
  54. shape Shp_LiftBC
  55. {
  56.     file "levels\prison_mplay.rif"
  57.     name "LIFT BC"
  58. }
  59. shape Shp_LiftswitchB
  60. {
  61.     file "levels\prison_mplay.rif"
  62.     name "LIFTSWITCH B"
  63. }
  64. shape Shp_LiftswitchBB
  65. {
  66.     file "levels\prison_mplay.rif"
  67.     name "LIFTSWITCH BB"
  68. }
  69. shape Shp_LiftswitchBC
  70. {
  71.     file "levels\prison_mplay.rif"
  72.     name "LIFTSWITCH BC"
  73. }
  74. shape Shp_LiftswitchBD
  75. {
  76.     file "levels\prison_mplay.rif"
  77.     name "LIFTSWITCH BD"
  78. }
  79. shape Shp_LiftswitchBE
  80. {
  81.     file "levels\prison_mplay.rif"
  82.     name "LIFTSWITCH BE"
  83. }
  84. shape Shp_LiftswitchBF
  85. {
  86.     file "levels\prison_mplay.rif"
  87.     name "LIFTSWITCH BF"
  88. }
  89.  
  90. shape Shp_LiftC
  91. {
  92.     file "levels\prison_mplay.rif"
  93.     name "LIFT C"
  94. }
  95. shape Shp_LiftCB
  96. {
  97.     file "levels\prison_mplay.rif"
  98.     name "LIFT CB"
  99. }
  100. shape Shp_LiftCC
  101. {
  102.     file "levels\prison_mplay.rif"
  103.     name "LIFT CC"
  104. }
  105.  
  106. shape Shp_LiftD
  107. {
  108.     file "levels\prison_mplay.rif"
  109.     name "LIFT D"
  110. }
  111. shape Shp_LiftDB
  112. {
  113.     file "levels\prison_mplay.rif"
  114.     name "LIFT DB"
  115. }
  116. shape Shp_LiftDC
  117. {
  118.     file "levels\prison_mplay.rif"
  119.     name "LIFT DC"
  120. }
  121. shape Shp_LiftswitchD
  122. {
  123.     file "levels\prison_mplay.rif"
  124.     name "LIFTSWITCH D"
  125. }
  126. shape Shp_LiftswitchDB
  127. {
  128.     file "levels\prison_mplay.rif"
  129.     name "LIFTSWITCH DB"
  130. }
  131. shape Shp_LiftswitchDC
  132. {
  133.     file "levels\prison_mplay.rif"
  134.     name "LIFTSWITCH DC"
  135. }
  136. shape Shp_LiftswitchDD
  137. {
  138.     file "levels\prison_mplay.rif"
  139.     name "LIFTSWITCH DD"
  140. }
  141. shape Shp_LiftswitchDE
  142. {
  143.     file "levels\prison_mplay.rif"
  144.     name "LIFTSWITCH DE"
  145. }
  146. shape Shp_LiftswitchDF
  147. {
  148.     file "levels\prison_mplay.rif"
  149.     name "LIFTSWITCH DF"
  150. }
  151. shape Shp_Junkpile_E
  152. {
  153.     file "objects\JUNKPILE E.rif"
  154.     name "JUNKPILE E"
  155. }
  156. shape Shp_Junkpile_F
  157. {
  158.     file "objects\JUNKPILE F.rif"
  159.     name "JUNKPILE F"
  160. }
  161. shape Shp_Garbage_E
  162. {
  163.     file "objects\GARBAGE E.rif"
  164.     name "GARBAGE E"
  165. }
  166. shape Shp_Garbage_F
  167. {
  168.     file "objects\GARBAGE F.rif"
  169.     name "GARBAGE F"
  170. }
  171.  
  172. /**********/
  173. /* ROLES  */
  174. /**********/
  175.  
  176. // world objects
  177.  
  178. role Rol_LiftA : Rol_PlacedObject
  179. {
  180.     shape    Shp_LiftA
  181.     ai    track object
  182.     destination selectable  yes
  183. }
  184. role Rol_LiftAB : Rol_PlacedObject
  185. {
  186.     shape    Shp_LiftAB
  187.     ai    track object
  188.     destination selectable  yes
  189. }
  190. role Rol_LiftAC : Rol_PlacedObject
  191. {
  192.     shape    Shp_LiftAC
  193.     ai    track object
  194.     destination selectable  yes
  195. }
  196.  
  197. role Rol_LiftB : Rol_PlacedObject
  198. {
  199.     shape    Shp_LiftB
  200.     ai    track object
  201.     destination selectable  yes
  202. }
  203. role Rol_LiftBB : Rol_PlacedObject
  204. {
  205.     shape    Shp_LiftBB
  206.     ai    track object
  207.     destination selectable  yes
  208. }
  209. role Rol_LiftBC : Rol_PlacedObject
  210. {
  211.     shape    Shp_LiftBC
  212.     ai    track object
  213.     destination selectable  yes
  214. }
  215. role Rol_LiftswitchB : Rol_DefaultPickup
  216. {
  217.     shape Shp_LiftswitchB
  218. }
  219. role Rol_LiftswitchBB : Rol_DefaultPickup
  220. {
  221.     shape Shp_LiftswitchBB
  222. }
  223. role Rol_LiftswitchBC : Rol_DefaultPickup
  224. {
  225.     shape Shp_LiftswitchBC
  226. }
  227. role Rol_LiftswitchBD : Rol_DefaultPickup
  228. {
  229.     shape Shp_LiftswitchBD
  230. }
  231. role Rol_LiftswitchBE : Rol_DefaultPickup
  232. {
  233.     shape Shp_LiftswitchBE
  234. }
  235. role Rol_LiftswitchBF : Rol_DefaultPickup
  236. {
  237.     shape Shp_LiftswitchBF
  238. }
  239.  
  240. role Rol_LiftC : Rol_PlacedObject
  241. {
  242.     shape    Shp_LiftC
  243.     ai    track object
  244.     destination selectable  yes
  245. }
  246. role Rol_LiftCB : Rol_PlacedObject
  247. {
  248.     shape    Shp_LiftCB
  249.     ai    track object
  250.     destination selectable  yes
  251. }
  252. role Rol_LiftCC : Rol_PlacedObject
  253. {
  254.     shape    Shp_LiftCC
  255.     ai    track object
  256.     destination selectable  yes
  257. }
  258.  
  259. role Rol_LiftD : Rol_PlacedObject
  260. {
  261.     shape    Shp_LiftD
  262.     ai    track object
  263.     destination selectable  yes
  264. }
  265. role Rol_LiftDB : Rol_PlacedObject
  266. {
  267.     shape    Shp_LiftDB
  268.     ai    track object
  269.     destination selectable  yes
  270. }
  271. role Rol_LiftDC : Rol_PlacedObject
  272. {
  273.     shape    Shp_LiftDC
  274.     ai    track object
  275.     destination selectable  yes
  276. }
  277. role Rol_LiftswitchD : Rol_DefaultPickup
  278. {
  279.     shape Shp_LiftswitchD
  280. }
  281. role Rol_LiftswitchDB : Rol_DefaultPickup
  282. {
  283.     shape Shp_LiftswitchDB
  284. }
  285. role Rol_LiftswitchDC : Rol_DefaultPickup
  286. {
  287.     shape Shp_LiftswitchDC
  288. }
  289. role Rol_LiftswitchDD : Rol_DefaultPickup
  290. {
  291.     shape Shp_LiftswitchDD
  292. }
  293. role Rol_LiftswitchDE : Rol_DefaultPickup
  294. {
  295.     shape Shp_LiftswitchDE
  296. }
  297. role Rol_LiftswitchDF : Rol_DefaultPickup
  298. {
  299.     shape Shp_LiftswitchDF
  300. }
  301. role Rol_Junkpile_E : Rol_DefaultJunkpile
  302. {
  303.     shape Shp_Junkpile_E
  304. }
  305. role Rol_Junkpile_F : Rol_DefaultJunkpile
  306. {
  307.     shape Shp_Junkpile_F
  308. }
  309. role Rol_Garbage_E : Rol_DefaultGarbage
  310. {
  311.     shape Shp_Garbage_E
  312. }
  313. role Rol_Garbage_F : Rol_DefaultGarbage
  314. {
  315.     shape Shp_Garbage_F
  316. }
  317.  
  318. /***********/
  319. /* THE MAP */
  320. /***********/
  321.  
  322. map /* _THE_ map - doesnt need a label */
  323. {
  324.     file "levels\prison_mplay.rif"
  325.     name "Land"
  326.     bitmap none // obsolete
  327.     camera plane "camhund"
  328.     max camera distance 100 // TBD exactly
  329. //    max camera focus height "max focus height"
  330. //    min camera focus height "min focus height"
  331.  
  332.  
  333.     // PLAYERS TROOPS
  334.  
  335.     // TEAM 1
  336.  
  337.     use Rol_Hark in team 1 for
  338.         "Goodie A" as "hark"
  339.  
  340.     use Rol_Hark in team 1 for
  341.         "Goodie B" as "hark"
  342.  
  343.     use Rol_Frend in team 1 for
  344.         "Goodie C" as "frend"
  345.  
  346.     use Rol_GunLok in team 1 for
  347.         "Goodie D" as "gunlok"
  348.  
  349.     use Rol_GunLok in team 1 for
  350.         "Goodie E" as "gunlok"
  351.  
  352.     use Rol_Hark in team 3 for
  353.         "Goodie F" as "hark"
  354.  
  355.     use Rol_Hark in team 3 for
  356.         "Goodie G" as "hark"
  357.  
  358.     use Rol_Frend in team 3 for
  359.         "Goodie H" as "frend"
  360.  
  361.     use Rol_GunLok in team 3 for
  362.         "Goodie I" as "gunlok"
  363.  
  364.     use Rol_GunLok in team 3 for
  365.         "Goodie J" as "gunlok"
  366.  
  367.     
  368.     // AI'S TROOPS
  369.  
  370.     use Rol_LiftA in team 0 for
  371.         "LIFT A" as "Lift_A"
  372.     use Rol_LiftAB in team 0 for
  373.         "LIFT AB" as "Lift_AB"
  374.     use Rol_LiftAC in team 0 for
  375.         "LIFT AC" as "Lift_AC"
  376.  
  377.     use Rol_LiftB in team 0 for
  378.         "LIFT B" as "Lift_B"
  379.     use Rol_LiftBB in team 0 for
  380.         "LIFT BB" as "Lift_BB"
  381.     use Rol_LiftBC in team 0 for
  382.         "LIFT BC" as "Lift_BC"
  383.  
  384.     use Rol_LiftswitchB in team 0 for
  385.         "LIFTSWITCH B" as "liftswitch_b"
  386.     use Rol_LiftswitchB in team 0 for
  387.         "LIFTSWITCH BB" as "liftswitch_bb"
  388.     use Rol_LiftswitchB in team 0 for
  389.         "LIFTSWITCH BC" as "liftswitch_bc"
  390.     use Rol_LiftswitchB in team 0 for
  391.         "LIFTSWITCH BD" as "liftswitch_bd"
  392.     use Rol_LiftswitchB in team 0 for
  393.         "LIFTSWITCH BE" as "liftswitch_be"
  394.     use Rol_LiftswitchB in team 0 for
  395.         "LIFTSWITCH BF" as "liftswitch_bf"
  396.  
  397.     use Rol_LiftC in team 0 for
  398.         "LIFT C" as "Lift_C"
  399.     use Rol_LiftCB in team 0 for
  400.         "LIFT CB" as "Lift_CB"
  401.     use Rol_LiftCC in team 0 for
  402.         "LIFT CC" as "Lift_CC"
  403.  
  404.     use Rol_LiftD in team 0 for
  405.         "LIFT D" as "Lift_D"
  406.     use Rol_LiftDB in team 0 for
  407.         "LIFT DB" as "Lift_DB"
  408.     use Rol_LiftDC in team 0 for
  409.         "LIFT DC" as "Lift_DC"
  410.  
  411.     use Rol_LiftswitchD in team 0 for
  412.         "LIFTSWITCH D" as "liftswitch_d"
  413.     use Rol_LiftswitchB in team 0 for
  414.         "LIFTSWITCH DB" as "liftswitch_db"
  415.     use Rol_LiftswitchB in team 0 for
  416.         "LIFTSWITCH DC" as "liftswitch_dc"
  417.     use Rol_LiftswitchB in team 0 for
  418.         "LIFTSWITCH DD" as "liftswitch_dd"
  419.     use Rol_LiftswitchB in team 0 for
  420.         "LIFTSWITCH DE" as "liftswitch_de"
  421.     use Rol_LiftswitchB in team 0 for
  422.         "LIFTSWITCH DF" as "liftswitch_df"
  423.  
  424.  
  425.     // GARBAGE PILES
  426.  
  427.     use Rol_Garbage_E in team 0 for
  428.     "GARBAGE E" as "GARBAGE_E"
  429.     use Rol_Garbage_E in team 0 for
  430.     "GARBAGE EB" as "GARBAGE_EB"
  431.     use Rol_Garbage_E in team 0 for
  432.     "GARBAGE EC" as "GARBAGE_EC"
  433.     use Rol_Garbage_E in team 0 for
  434.     "GARBAGE ED" as "GARBAGE_ED"
  435.     use Rol_Garbage_E in team 0 for
  436.     "GARBAGE EE" as "GARBAGE_EE"
  437.     use Rol_Garbage_E in team 0 for
  438.     "GARBAGE EF" as "GARBAGE_EF"
  439.     use Rol_Garbage_E in team 0 for
  440.     "GARBAGE EG" as "GARBAGE_EG"
  441.  
  442.     use Rol_Garbage_F in team 0 for
  443.     "GARBAGE F" as "GARBAGE_F"
  444.     use Rol_Garbage_F in team 0 for
  445.     "GARBAGE FB" as "GARBAGE_FB"
  446.     use Rol_Garbage_F in team 0 for
  447.     "GARBAGE FC" as "GARBAGE_FC"
  448.     use Rol_Garbage_F in team 0 for
  449.     "GARBAGE FD" as "GARBAGE_FD"
  450.     use Rol_Garbage_F in team 0 for
  451.     "GARBAGE FE" as "GARBAGE_FE"
  452.     use Rol_Garbage_F in team 0 for
  453.     "GARBAGE FF" as "GARBAGE_FF"
  454.     use Rol_Garbage_F in team 0 for
  455.     "GARBAGE FG" as "GARBAGE_FG"
  456.  
  457.     use Rol_Junkpile_E in team 0 for
  458.         "JUNKPILE E" as "JUNKPILE_E"
  459.  
  460.     use Rol_Junkpile_E in team 0 for
  461.         "JUNKPILE EB" as "JUNKPILE_EB"
  462.  
  463.     use Rol_Junkpile_E in team 0 for
  464.         "JUNKPILE EC" as "JUNKPILE_EC"
  465.  
  466.     use Rol_Junkpile_E in team 0 for
  467.         "JUNKPILE ED" as "JUNKPILE_ED"
  468.  
  469.     use Rol_Junkpile_E in team 0 for
  470.         "JUNKPILE EE" as "JUNKPILE_EE"
  471.  
  472.     use Rol_Junkpile_E in team 0 for
  473.         "JUNKPILE EF" as "JUNKPILE_EF"
  474.  
  475.     use Rol_Junkpile_E in team 0 for
  476.         "JUNKPILE EG" as "JUNKPILE_EG"    
  477.  
  478.     use Rol_Junkpile_F in team 0 for
  479.         "JUNKPILE F" as "JUNKPILE_F"
  480.  
  481.     use Rol_Junkpile_F in team 0 for
  482.         "JUNKPILE FB" as "JUNKPILE_FB"
  483.  
  484.     use Rol_Junkpile_F in team 0 for
  485.         "JUNKPILE FC" as "JUNKPILE_FC"
  486.  
  487.     use Rol_Junkpile_F in team 0 for
  488.         "JUNKPILE FD" as "JUNKPILE_FD"
  489.  
  490.     use Rol_Junkpile_F in team 0 for
  491.         "JUNKPILE FE" as "JUNKPILE_FE"
  492.  
  493.     use Rol_Junkpile_F in team 0 for
  494.         "JUNKPILE FF" as "JUNKPILE_FF"
  495.  
  496.     use Rol_Junkpile_F in team 0 for
  497.         "JUNKPILE FG" as "JUNKPILE_FG"    
  498. }