home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 95 / XENIATGM95.iso / Gunlok / data1.cab / Program_Executable_Files / scripts / level12.gls < prev    next >
Text File  |  2000-08-22  |  10KB  |  603 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 "gunlok.gsh"
  14. #include "hark.gsh"
  15. #include "frend.gsh"
  16. #include "elint.gsh"
  17. #include "maskelyn.gsh"
  18.  
  19. // bad guys
  20.  
  21. #include "drone.gsh"
  22.  
  23. // neutral things
  24.  
  25. #include "tumbleweed.gsh"
  26. #include "crate.gsh"
  27. #include "wall_multifrag.gsh"
  28. #include "technobox_multifrag.gsh"
  29.  
  30. // fires
  31.  
  32. #include "carfire.gsh"
  33. #include "oilfire.gsh"
  34.  
  35. /*********/
  36. /* NOTES */
  37. /*********/
  38.  
  39. /**********/
  40. /* SHAPES */
  41. /**********/
  42. shape Shp_van
  43. {
  44.     file "objects\van.rif"
  45.     name "van"
  46. }
  47. shape Shp_car
  48. {
  49.     file "objects\new car.rif"
  50.     name "new car"
  51. }
  52. shape Shp_VW_bus
  53. {
  54.     file "objects\VW bus.rif"
  55.     name "VW camper"
  56. }
  57. shape Shp_estate_car
  58. {
  59.     file "objects\new car 3.rif"
  60.     name "new car 3"
  61. }
  62. shape Shp_nodea
  63. {
  64.     file "levels\level12.rif"
  65.     name "nodea"
  66. }
  67. shape Shp_nodeb
  68. {
  69.     file "levels\level12.rif"
  70.     name "nodeb"
  71. }
  72. shape Shp_nodec
  73. {
  74.     file "levels\level12.rif"
  75.     name "nodec"
  76. }
  77. shape Shp_noded
  78. {
  79.     file "levels\level12.rif"
  80.     name "noded"
  81. }
  82. shape Shp_slide
  83. {
  84.     file "levels\level12.rif"
  85.     name "slide"
  86. }
  87. shape Shp_swinga
  88. {
  89.     file "levels\level12.rif"
  90.     name "swinga"
  91. }
  92. shape Shp_swingb
  93. {
  94.     file "levels\level12.rif"
  95.     name "swingb"
  96. }
  97. shape Shp_swingc
  98. {
  99.     file "levels\level12.rif"
  100.     name "swingc"
  101. }
  102. shape Shp_swingd
  103. {
  104.     file "levels\level12.rif"
  105.     name "swingd"
  106. }
  107. shape Shp_swinge
  108. {
  109.     file "levels\level12.rif"
  110.     name "swinge"
  111. }
  112. shape Shp_swingf
  113. {
  114.     file "levels\level12.rif"
  115.     name "swingf"
  116. }
  117. shape Shp_swingg
  118. {
  119.     file "levels\level12.rif"
  120.     name "swingg"
  121. }
  122. shape Shp_roundabout
  123. {
  124.     file "levels\level12.rif"
  125.     name "roundabout"
  126. }
  127. shape Shp_carriagea
  128. {
  129.     file "levels\level12.rif"
  130.     name "carriagea"
  131. }
  132. shape Shp_carriageb
  133. {
  134.     file "levels\level12.rif"
  135.     name "carriageb"
  136. }
  137. shape Shp_carriagec
  138. {
  139.     file "levels\level12.rif"
  140.     name "carriagec"
  141. }
  142. shape Shp_skeletons
  143. {
  144.     file "objects/skeleton.rif"
  145.     name "skeletons"
  146. }
  147. shape Shp_stand_in
  148. {
  149.     file "levels/level12.rif"
  150.     name "stand in"
  151. }
  152.  
  153. /********GARBAGE PICKUPS*/
  154.  
  155. shape Shp_Garbage_A
  156. {
  157.     file "objects\GARBAGE A.rif"
  158.     name "garbage A"
  159. }
  160. shape Shp_Garbage_B
  161. {
  162.     file "objects\GARBAGE B.rif"
  163.     name "garbage B"
  164. }
  165. shape Shp_Garbage_C
  166. {
  167.     file "objects\GARBAGE C.rif"
  168.     name "garbage C"
  169. }
  170. shape Shp_Garbage_D
  171. {
  172.     file "objects\GARBAGE D.rif"
  173.     name "garbage D"
  174. }
  175. shape Shp_Garbage_E
  176. {
  177.     file "objects\GARBAGE E.rif"
  178.     name "garbage E"
  179. }
  180. shape Shp_Garbage_F
  181. {
  182.     file "objects\GARBAGE F.rif"
  183.     name "garbage F"
  184. }
  185. shape Shp_Garbage_G
  186. {
  187.     file "objects\GARBAGE G.rif"
  188.     name "garbage G"
  189. }
  190. shape Shp_Garbage_H
  191. {
  192.     file "objects\GARBAGE H.rif"
  193.     name "garbage H"
  194. }
  195. shape Shp_Garbage_I
  196. {
  197.     file "objects\GARBAGE I.rif"
  198.     name "garbage I"
  199. }
  200. shape Shp_Garbage_J
  201. {
  202.     file "objects\GARBAGE J.rif"
  203.     name "garbage J"
  204. }
  205. shape Shp_Garbage_K
  206. {
  207.     file "objects\GARBAGE K.rif"
  208.     name "garbage K"
  209. }
  210. shape Shp_Garbage_L
  211. {
  212.     file "objects\GARBAGE L.rif"
  213.     name "garbage L"
  214. }
  215.  
  216. // world objects
  217.  
  218.  
  219. /**********/
  220. /* ROLES  */
  221. /**********/
  222.  
  223. // world objects
  224.  
  225. role Rol_van: Rol_PlacedObject
  226. {
  227.     shape Shp_van
  228.     ai    blocker
  229. }
  230. role Rol_car: Rol_PlacedObject
  231. {
  232.     shape Shp_car
  233.     ai    blocker
  234. }
  235. role Rol_VW_bus: Rol_PlacedObject
  236. {
  237.     shape Shp_VW_bus
  238.     ai    blocker
  239. }
  240. role Rol_Estate_car: Rol_PlacedObject
  241. {
  242.     shape Shp_estate_car
  243.     ai    blocker
  244. }
  245. role Rol_nodea : Rol_PlacedObject
  246. {
  247.     shape Shp_nodea
  248.     ai    track object
  249.     hit test ignore yes
  250.  
  251. }
  252. role Rol_nodeb : Rol_PlacedObject
  253. {
  254.     shape Shp_nodeb
  255.     ai    track object
  256.     hit test ignore yes
  257. }
  258. role Rol_nodec : Rol_PlacedObject
  259. {
  260.     shape Shp_nodec
  261.     ai    track object
  262.     hit test ignore yes
  263. }
  264. role Rol_noded : Rol_PlacedObject
  265. {
  266.     shape Shp_noded
  267.     ai    track object
  268.     hit test ignore yes
  269. }
  270. role Rol_slide : Rol_PlacedObject
  271. {
  272.     shape Shp_slide
  273. }
  274. role Rol_swinga : Rol_PlacedObject
  275. {
  276.     shape Shp_swinga
  277. }
  278. role Rol_swingb : Rol_PlacedObject
  279. {
  280.     shape Shp_swingb
  281. }
  282. role Rol_swingc : Rol_PlacedObject
  283. {
  284.     shape Shp_swingc
  285. }
  286. role Rol_swingd : Rol_PlacedObject
  287. {
  288.     shape Shp_swingd
  289. }
  290. role Rol_swinge : Rol_PlacedObject
  291. {
  292.     shape Shp_swinge
  293. }
  294. role Rol_swingf : Rol_PlacedObject
  295. {
  296.     shape Shp_swingf
  297. }
  298. role Rol_swingg : Rol_PlacedObject
  299. {
  300.     shape Shp_swingg
  301. }
  302. role Rol_roundabout : Rol_PlacedObject
  303. {
  304.     shape Shp_roundabout
  305. }
  306. role Rol_carriagea : Rol_PlacedObject
  307. {
  308.     shape Shp_carriagea
  309. }
  310. role Rol_carriageb : Rol_PlacedObject
  311. {
  312.     shape Shp_carriageb
  313. }
  314. role Rol_carriagec : Rol_PlacedObject
  315. {
  316.     shape Shp_carriagec
  317. }
  318. role Rol_skeletons : Rol_PlacedObject
  319. {
  320.     shape Shp_skeletons
  321.     hit test ignore yes
  322. }
  323. role Rol_stand_in : Rol_PlacedObject
  324. {
  325.     shape Shp_stand_in
  326.     ai pickup
  327.     destination selectable yes
  328. }
  329.  
  330. /********GARBAGE PICKUPS*/
  331.  
  332. role Rol_Garbage_A : Rol_DefaultGarbage
  333. {
  334.     shape    Shp_Garbage_A
  335. }
  336. role Rol_Garbage_B : Rol_DefaultGarbage
  337. {
  338.     shape    Shp_Garbage_B
  339. }
  340. role Rol_Garbage_C : Rol_DefaultGarbage
  341. {
  342.     shape    Shp_Garbage_C
  343. }
  344. role Rol_Garbage_D : Rol_DefaultGarbage
  345. {
  346.     shape    Shp_Garbage_D
  347. }
  348. role Rol_Garbage_E : Rol_DefaultGarbage
  349. {
  350.     shape    Shp_Garbage_E
  351. }
  352. role Rol_Garbage_F : Rol_DefaultGarbage
  353. {
  354.     shape    Shp_Garbage_F
  355. }
  356. role Rol_Garbage_G : Rol_DefaultGarbage
  357. {
  358.     shape    Shp_Garbage_G
  359. }
  360. role Rol_Garbage_H : Rol_DefaultGarbage
  361. {
  362.     shape    Shp_Garbage_H
  363. }
  364. role Rol_Garbage_I : Rol_DefaultGarbage
  365. {
  366.     shape    Shp_Garbage_I
  367. }
  368. role Rol_Garbage_J : Rol_DefaultGarbage
  369. {
  370.     shape    Shp_Garbage_J
  371. }
  372. role Rol_Garbage_K : Rol_DefaultGarbage
  373. {
  374.     shape    Shp_Garbage_K
  375. }
  376. role Rol_Garbage_L : Rol_DefaultGarbage
  377. {
  378.     shape    Shp_Garbage_L
  379. }
  380.  
  381. /***********/
  382. /* THE MAP */
  383. /***********/
  384.  
  385. map /* _THE_ map - doesnt need a label */
  386. {
  387.     file "levels\level12.rif"
  388.     name "Land"
  389.     bitmap "bitmaps\\LEVEL12.rim"
  390.     camera plane none
  391.     max camera distance 100 // TBD exactly
  392.     shadow object rif "levels\level12_shadow.rif"
  393.     shadow object name "Land"
  394.  
  395.     // PLAYERS TROOPS
  396.  
  397.     use Rol_GunLok in team 1 for
  398.         "goodieb" as "gunlok"
  399.  
  400.     use Rol_Hark in team 1 for
  401.         "goodiea" as "hark"
  402.  
  403.     use Rol_Frend in team 1 for
  404.         "goodiec" as "frend"
  405.     use Rol_Elint in team 1 for
  406.         "goodied" as "elint"
  407.  
  408.     // AI'S TROOPS
  409.  
  410.     // NEUTRAL OBJECTS
  411.  
  412. use Rol_van in team 0 for 
  413. "vanA" and
  414. "vanB" and
  415. "vanC" and
  416. "vanD" and
  417. "vanE" and
  418. "vanF" and
  419. "vanG" and
  420. "vanH" and
  421. "vanI" and
  422. "vanJ" and
  423. "vanK" and
  424. "vanL" and
  425. "vanM" and
  426. "vanN" and
  427. "vanO" 
  428. use Rol_Estate_car in team 0 for
  429. "Estate CarA" and
  430. "Estate CarB" and
  431. "Estate CarC" and
  432. "Estate CarD" and
  433. "Estate CarE" and
  434. "Estate CarF" and
  435. "Estate CarG" and
  436. "Estate CarH" and
  437. "Estate CarI" and
  438. "Estate CarJ" and
  439. "Estate CarK" and
  440. "Estate CarL" and
  441. "Estate CarM" and
  442. "Estate CarN" and
  443. "Estate CarO" and
  444. "Estate CarP" and
  445. "Estate CarQ" and
  446. "Estate CarR" and
  447. "Estate CarS" and
  448. "Estate CarT" and
  449. "Estate CarU" and
  450. "Estate CarV" and
  451. "Estate CarW" and
  452. "Estate CarX" and
  453. "Estate CarY" 
  454. use Rol_VW_bus in team 0 for
  455. "VW camperA" and
  456. "VW camperB" and
  457. "VW camperC" and
  458. "VW camperD" and
  459. "VW camperE" and
  460. "VW camperF" 
  461. use Rol_car in team 0 for
  462. "carA" and
  463. "carB" and
  464. "carC" and
  465. "carD" and
  466. "carE" and
  467. "carF" and
  468. "carG" and
  469. "carH" and
  470. "carI" and
  471. "carJ" and
  472. "carK" and
  473. "carL" and
  474. "carM" and
  475. "carN" and
  476. "carO" and
  477. "carP" and
  478. "carQ" and
  479. "carR" and
  480. "carS" and
  481. "carT" and
  482. "carU" and
  483. "carV" and
  484. "carW" and
  485. "carX" and
  486. "carY" and
  487. "carZ" 
  488. use Rol_nodea in team 0 for
  489. "nodea" as "nodea"
  490. use Rol_nodeb in team 0 for
  491. "nodeb" as "nodeb"
  492. use Rol_nodec in team 0 for
  493. "nodec" as "nodec"
  494. use Rol_noded in team 0 for
  495. "noded" as "noded"
  496. use Rol_slide in team 0 for
  497. "slide"
  498. use Rol_swinga in team 0 for
  499. "swinga"
  500. use Rol_swingb in team 0 for
  501. "swingb"
  502. use Rol_swingc in team 0 for
  503. "swingc"
  504. use Rol_swingd in team 0 for
  505. "swingd"
  506. use Rol_swinge in team 0 for
  507. "swinge"
  508. use Rol_swingf in team 0 for
  509. "swingf"
  510. use Rol_swingg in team 0 for
  511. "swingg"
  512. use Rol_roundabout in team 0 for
  513. "roundabout"
  514. use Rol_carriagea in team 0 for
  515. "carriagea"
  516. use Rol_carriageb in team 0 for
  517. "carriageb"
  518. use Rol_carriagec in team 0 for
  519. "carriagec"
  520. use Rol_skeletons in team 0 for
  521. "skeletons"
  522. use Rol_stand_in in team 0 for
  523. "stand in" as "stand_in"
  524.  
  525.     /********GARBAGE PICKUPS*/
  526.  
  527.     use Rol_Garbage_A in team 0 for
  528.         "garbageAA" as "garbageaa"
  529.     use Rol_Garbage_A in team 0 for
  530.         "garbageAB" as "garbageab"
  531.     use Rol_Garbage_A in team 0 for
  532.         "garbageAC" as "garbageac"
  533.     use Rol_Garbage_A in team 0 for
  534.         "garbageAD" as "garbagead"
  535.     use Rol_Garbage_A in team 0 for
  536.         "garbageAE" as "garbageae"
  537.  
  538.     use Rol_Garbage_B in team 0 for
  539.         "garbageBA" as "garbageba"
  540.     use Rol_Garbage_B in team 0 for
  541.         "garbageBB" as "garbagebb"
  542.     use Rol_Garbage_B in team 0 for
  543.         "garbageBC" as "garbagebc"
  544.     use Rol_Garbage_B in team 0 for
  545.         "garbageBD" as "garbagebd"
  546.     use Rol_Garbage_B in team 0 for
  547.         "garbageBE" as "garbagebe"
  548.     use Rol_Garbage_B in team 0 for
  549.         "garbageBF" as "garbagebf"
  550.     use Rol_Garbage_B in team 0 for
  551.         "garbageBG" as "garbagebg"
  552.  
  553.     use Rol_Garbage_C in team 0 for
  554.         "garbageCA" as "garbageca"
  555.     use Rol_Garbage_C in team 0 for
  556.         "garbageCB" as "garbagecb"
  557.     use Rol_Garbage_C in team 0 for
  558.         "garbageCC" as "garbagecc"
  559.     use Rol_Garbage_C in team 0 for
  560.         "garbageCD" as "garbagecd"
  561.     use Rol_Garbage_C in team 0 for
  562.         "garbageCE" as "garbagece"
  563.     use Rol_Garbage_C in team 0 for
  564.         "garbageCF" as "garbagecf"
  565.     use Rol_Garbage_C in team 0 for
  566.         "garbageCG" as "garbagecg"
  567.  
  568.     use Rol_Garbage_G in team 0 for
  569.         "garbageGA" as "garbagega"
  570.     use Rol_Garbage_G in team 0 for
  571.         "garbageGB" as "garbagegb"
  572.     use Rol_Garbage_G in team 0 for
  573.         "garbageGC" as "garbagegc"
  574.     use Rol_Garbage_G in team 0 for
  575.         "garbageGD" as "garbagegd"
  576.  
  577.     use Rol_Garbage_I in team 0 for
  578.         "garbageIA" as "garbageia"
  579.     use Rol_Garbage_I in team 0 for
  580.         "garbageIB" as "garbageib"
  581.     use Rol_Garbage_I in team 0 for
  582.         "garbageIC" as "garbageic"
  583.     use Rol_Garbage_I in team 0 for
  584.         "garbageID" as "garbageid"
  585.  
  586.     use Rol_Garbage_J in team 0 for
  587.         "garbageJA" as "garbageja"
  588.     use Rol_Garbage_J in team 0 for
  589.         "garbageJB" as "garbagejb"
  590.     use Rol_Garbage_J in team 0 for
  591.         "garbageJC" as "garbagejc"
  592.     use Rol_Garbage_J in team 0 for
  593.         "garbageJD" as "garbagejd"
  594.  
  595.  
  596.  
  597. }
  598.  
  599. camera track
  600. {
  601.     file "levels\level12.rif"
  602.     name "scene 22"
  603. }