home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / chasm.EXE / chasm / CSM.BIN / PROCESS.04 < prev    next >
Encoding:
Text File  |  1997-10-17  |  4.2 KB  |  285 lines

  1. #stopani 34
  2.  
  3. ;=================================
  4. ;|  Messages  definition part    |
  5. ;=================================
  6. #mess 01
  7.  Delay   3
  8.  TextA: -1 64  "Hide for a while!"
  9. #end
  10.  
  11. #mess 02
  12.  Delay   3
  13.  TextA: -1 64  "You a need green key."
  14. #end
  15.  
  16. #mess 03
  17.  Delay   3
  18.  TextA: -1 64  "Fences were removed. Go to the Exit."
  19. #end
  20.  
  21. #mess 04
  22.  Delay   3
  23.  TextA: -1 64  "You need the Boss Key."
  24. #end
  25.  
  26.  
  27. ;=================================
  28. ;|  Processes definition part    |
  29. ;=================================
  30.  
  31. #proc 01
  32.  ; Open First Fence
  33.   StartDelay 0
  34.   BackWait   0
  35.   Speed      8
  36.   SfxId      80
  37.   SfxPosxy   32 22
  38.   LinkSwitchAt 28 20
  39.  
  40.  #action
  41.   up 32 22 115
  42. #end
  43.  
  44. #proc 02
  45.  ; Open Second Fence
  46.   StartDelay 0
  47.   BackWait   0
  48.   Speed      8
  49.   SfxId      80
  50.   SfxPosxy   29 22
  51.   LinkSwitchAt 33 20
  52.  
  53.  #action
  54.   up 29 22 115
  55. #end
  56.  
  57. #proc 03
  58.  ; Open Fence to Vent
  59.   StartDelay 0
  60.   BackWait   5
  61.   Speed      8
  62.   SfxId      80
  63.   SfxPosxy   31 23
  64.   LinkSwitchAt 31 20
  65.  
  66.  #action
  67.    up 30 23 115
  68. #end
  69.  
  70. #proc 04
  71.  ; Start Vent process
  72.   LinkSwitchAt 30 24
  73. #action
  74.  playani 34
  75.  NonStop
  76.  Death 30 29 31 30 0 128 200
  77.  Ambient 30 20 31 33 2
  78.  wind 28 21 30 22  2 0
  79.  wind 31 21 33 22 -2 0
  80. ;
  81.  wind 30 27 31 29  0 8
  82.  wind 30 26 31 26  0 7
  83.  wind 30 23 31 25  0 6
  84.  wind 30 20 31 22  0 4
  85. ;
  86.  wind 30 30 31 31  0 3
  87.  wind 30 32 31 32  0 2
  88.  wind 30 33 31 33  0 1
  89.  
  90. #end
  91.  
  92. #proc 05
  93.  ; Open Door to Sarcophagus
  94.   StartDelay 0
  95.   BackWait   0
  96.   Speed      4
  97.   SfxId      81
  98.   SfxPosxy   31 33
  99.   FirstMessage 1
  100.  
  101.  #action
  102.   move 31 31 500 0
  103.   move 30 31 500 0
  104. #end
  105.  
  106.  
  107. #proc 06
  108.  ; Open First (Red) Door from Main Room
  109.   StartDelay 10
  110.   BackWait   0
  111.   Speed      8
  112.   SfxId      80
  113.   SfxPosxy   27 35
  114.  
  115.  #action
  116.   move 26 34 0 500
  117.   move 27 34 0 500
  118.   move 26 36 0 500
  119. #end
  120.  
  121. #proc 07
  122.  ; Open Second Door from Main Room
  123.   StartDelay 0
  124.   BackWait   0
  125.   Speed      8
  126.   SfxId      80
  127.   SfxPosxy   34 35
  128.   LinkSwitchAt 19 25
  129.  
  130.  #action
  131.   move 34 34 0 500
  132.   move 36 36 0 500
  133.   move 35 34 0 500
  134. #end
  135.  
  136. #proc 08
  137.  ; Open Gates to Main Room
  138.   StartDelay 0
  139.   BackWait   3
  140.   Speed      3
  141.   SfxId      80
  142.   SfxPosxy   30 40
  143.   LinkSwitchAt 30 40
  144.   GreenKey
  145.   LockMessage 2
  146.  
  147.  #action
  148.   WaitOut 7936 10368 356
  149.   move 29 40 -196 0
  150.   move 30 41 -196 0
  151.   move 30 39 -196 0
  152.  
  153.   move 31 40 196 0
  154.   move 31 39 196 0
  155.   move 31 41 196 0
  156.  
  157.   move 30 38 -500 0 s:12
  158.   move 31 38 -500 0 s:12
  159.   move 31 37 -500 0 s:12
  160. #end
  161.  
  162. #proc 09
  163.  ; Open trick before Green Key
  164.   StartDelay 0
  165.   Speed      8
  166.   LightReMap
  167.  
  168.  #action
  169.   move 35 51 0 -512
  170. #end
  171.  
  172. #proc 10
  173.  ; Get card, open fences, open trick for faust.
  174.   Speed      8
  175.  
  176.  #action
  177.   up 35 43 120
  178.   up 35 47 120
  179.   up 41 42 120
  180.   up 42 46 120
  181.  
  182.   move 26 51 0 -512
  183. #end
  184.  
  185. #proc 11
  186.  ; Start Wind process (lava room2)
  187. #action
  188.  NonStop
  189.  Death 36 42 37 47 0 20 5
  190.  Death 39 42 40 47 0 20 5
  191.  
  192.  wind 36 43 40 43 -4 0
  193.  wind 36 44 40 44  4 0
  194.  wind 36 45 40 45 -4 0
  195.  wind 36 46 40 46  4 0
  196. #end
  197.  
  198. #proc 12
  199.  ; Exit
  200.   SfxId      81
  201.   SfxPosxy   28 32
  202.   LightReMap
  203.   Speed      2
  204.   LockMessage 4
  205.   RedKey
  206. #action
  207.   Death 27 31 27 31 0 128 50
  208.   move 28 32 -400 -400
  209. #end
  210.  
  211.  
  212. #proc 13
  213.  ; Fences up to Exit
  214.   SfxId      82
  215.   SfxPosxy   33 30
  216.   Speed      8
  217.   LinkSwitchAt 28 28
  218.   OnMessage 3
  219.  
  220.  #action
  221.   up 30 32 120
  222.   up 28 35 120
  223. #end
  224.  
  225. #proc 14
  226.  ; Lava room1 (start)
  227. #action
  228.  NonStop
  229.  Death 32 54 47 55 0 20 7
  230. #end
  231.  
  232. #proc 15
  233.  ; Open / close first tricks
  234.   SfxId 80
  235.   Sfxposxy 42 55
  236.   Speed 8
  237. #action
  238.   move 42 53 0 256
  239.   move 42 56 0 -256
  240.   move 32 56 0 512
  241. #end
  242.  
  243. #proc 16
  244.  ; Get GreenCard , start wind
  245. #action
  246.   NonStop
  247.   wind 38 41 38 43 0 4
  248. #end
  249.  
  250. #proc 20
  251.  EndDelay 0.1
  252. #action
  253. #end
  254.  
  255. ;============================================
  256. ;|  Link switches and objects to processes: |
  257. ;|  Format: "LINK  swx swy   Nproc"         |
  258. ;============================================
  259.  
  260. #links
  261.  link 28 20 1
  262.  link 33 20 2
  263.  link 31 20 3
  264.  link 30 24 4
  265.  link 31 35 5
  266.  link 31 35 6
  267.  link 19 25 7
  268.  floor 30 42 8
  269.  floor 31 42 8
  270.  floor 30 44 9
  271.  floor 31 44 9
  272.  link 37 41 10
  273.  floor 38 49 11
  274.  floor 28 32 12
  275.  floor 28 28 13
  276.  floor 33 54 14
  277.  floor 38 54 15
  278.  floor 38 55 15
  279.  link 37 41 16
  280.  
  281.  floor 27 31 20
  282. #end
  283. .
  284.  
  285.