home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4.4 / 1998-10_Disc_4.4.iso / sindemo / sin_demo.exe / DATA / base / Pak0.pak / maps / bank.scr < prev    next >
Text File  |  1998-07-26  |  109KB  |  4,007 lines

  1. setdialogscript dialog/dialog_bank.scr
  2.  
  3. $fountain_flood hide
  4. $fountain_spill1 hide
  5. $fountain_spill2 hide
  6.  
  7. wait 1
  8.  
  9. // Lord modifications -----------------------------------------------------
  10. // Lord modifications -----------------------------------------------------
  11. // Lord modifications -----------------------------------------------------
  12. // Lord modifications -----------------------------------------------------
  13. thread repel_thugs_init_thread
  14. thread random_noise_init_thread
  15.  
  16. $thug2 item Health  20
  17. $thug8a item Health  50
  18. $thug12 item Health 20
  19. $thug16 item Health 20
  20.  
  21.  
  22. // Pat modifications ------------------------------------------------------
  23. // Pat modifications ------------------------------------------------------
  24. // Pat modifications ------------------------------------------------------
  25. // Pat modifications ------------------------------------------------------
  26. level.HostagesKilled = 0
  27.  
  28. thread bank_finished_thread
  29. thread security_key_thread
  30. thread security_room_entered_thread
  31. thread hostage_init_thread
  32.  
  33. $pat_thug2 thread pat_thug2_node1_thread
  34.  
  35. $thug_miniboss1 health 100
  36. $thug_miniboss1 item RiotHelmet 100
  37. $thug_miniboss1 item FlakJacket 100
  38. $thug_miniboss1 item FlakPants 100
  39.  
  40. $thug8 remove
  41. $thug9 remove
  42.  
  43. $thug_10 health 100
  44. $thug_10 item RiotHelmet 100
  45. $thug_10 item FlakJacket 100
  46. $thug_10 item FlakPants 100
  47.  
  48.  
  49. // Wieder modifications ---------------------------------------------------
  50. // Wieder modifications ---------------------------------------------------
  51. // Wieder modifications ---------------------------------------------------
  52. // Wieder modifications ---------------------------------------------------
  53.  
  54. // Got rid of old security_console_thread
  55. thread SecMenu_Thread
  56.  
  57. // Got rid of old atm1_loop_thread
  58. thread ATM_SetupLoop_Thread
  59.  
  60. // Wieder modifications ---------------------------------------------------
  61. // Wieder modifications ---------------------------------------------------
  62. // Wieder modifications ---------------------------------------------------
  63. // Wieder modifications ---------------------------------------------------
  64.  
  65.  
  66. //game.intro_roof_break1 = 2
  67. //game.intro_ground_entrance = 2
  68. //---------------------
  69. thread bank_init
  70. thread billboard_thread
  71. thread revolving_door_thread
  72. thread revolving_door2_thread
  73. thread revolving_door_glass_thread
  74. thread revolving_door2_glass_thread
  75. thread vault_thread
  76. thread vault_switch1_thread
  77. thread vault_switch2_thread
  78. thread receptacle1_thread
  79. thread receptacle2_thread
  80. thread clock_thread
  81. thread clock_hour_thread
  82. //thread elev_thread
  83. thread teller_thread
  84. thread safety_deposit_drawer_thread
  85. thread tele_thread
  86. thread escalator_thread
  87. thread locker_door1_thread
  88. thread locker_door2_thread
  89. thread painting1_thread
  90. thread painting2_thread
  91. thread painting3_thread
  92. thread painting4_thread
  93. thread painting5_thread
  94. thread painting6_thread
  95. thread roof_break1_thread
  96. thread light_spark_thread
  97. thread sign1_thread
  98. thread sign2_thread
  99. thread table_init_thread
  100.  
  101.  
  102. thread furniture_break1_thread
  103. thread furniture_break2_thread
  104. thread furniture_break3_thread
  105. thread furniture_break4_thread
  106. thread plant_break1_thread
  107. thread quarter_dialog_thread
  108. thread identcard_dialog_thread
  109. thread cash1_dialog_thread
  110. thread cash2_dialog_thread
  111. thread no_exit_thread
  112. thread jc_warn_dialog2_thread
  113. thread end_sequence_thread
  114. thread helicopter_sound_thread
  115.  
  116.  
  117. wait .1
  118. $thug1 thread thug1_patrol_thread
  119. //$thug1a thread thug1a_thread
  120. $thug2 thread thug2_patrol_thread
  121. //$thug2a thread thug2a_thread
  122. $thug3 thread thug3_patrol_thread
  123. $thug4 thread thug4_patrol_thread
  124. //$thug4a thread thug4a_patrol_thread
  125. $thug5 thread thug5_patrol_thread
  126. $thug6 thread thug6_patrol_thread
  127. $thug7 thread thug7_patrol_thread
  128. $htug8a thread thug8a_thread
  129. $thug9 thread thug9_thread
  130. $thug10 thread thug10_thread
  131. $thug11 thread thug11_thread
  132. $thug12 thread thug12_thread
  133. $thug13 thread thug13_thread
  134. $thug14 thread thug14_thread
  135. $thug15 thread thug15_thread
  136. $thug16 thread thug16_thread
  137.  
  138. $hostage1 thread hostage1_thread
  139. $mancini thread mancini_thread
  140. $mancini2 thread mancini2_thread
  141.  
  142.  
  143. end
  144.  
  145.  
  146.  
  147.  
  148. bank_init:
  149.  
  150. $fountain_flood time 0
  151. $fountain_flood moveDown 10
  152. waitFor $fountain_flood
  153.  
  154. $sky1 notsolid
  155. $sky1 hide
  156. $sky2 notsolid
  157. $sky2 hide
  158.  
  159. $portal_open1 open
  160.  
  161. $furniture_break1 notsolid
  162. $furniture_break2 notsolid
  163. $furniture_break3 notsolid
  164. $furniture_break4 notsolid
  165. $plant_break1 notsolid
  166. $thug1_patrol_trigger notsolid
  167. $quarter_dialog notsolid
  168. $identcard_dialog notsolid
  169. $vault_trigger notsolid
  170. $warn_dialog_trigger notsolid
  171. $end_sequence notsolid
  172. $helicopter_sound notsolid
  173.  
  174. //*1 give FlakJacket 100
  175. //*1 give FlakPants 100
  176. //*1 give RiotHelmet 100
  177.  
  178. level.SecurityDoorsUnlockedOnce = 0
  179. level.SecurityDoorsOpenedOnce = 0
  180. level.VaultOpenedOnce = 0
  181.  
  182. wait 2
  183.  
  184. thread dialog::jc_clear_bank_out
  185. local.waitforthread = parm.previousthread
  186. waitForThread local.waitforthread
  187.  
  188. // Mission Objective States
  189. // 0 not accomplished 1 = success 2 = fail 3 = not available
  190. level.PObjective1 = 0 // Disable Hostile Threat
  191. level.PObjective2 = 0 // Locate Security Office Key
  192. level.PObjective3 = 3 // Gain Access To Security Room
  193. level.PObjective4 = 3 // Gain Access To The Vault
  194. level.PObjective5 = 3 // Capture Mancini
  195. level.SObjective1 = 0 // Unlock All Security Doors
  196. level.SObjective2 = 0 // Minimize Hostage Casualties
  197.  
  198. thread BankMissionComputer
  199. thread dialog::StatusUpdated
  200.  
  201. game.BankInitialized = 1
  202.  
  203. end
  204.  
  205.  
  206. revolving_door_thread:
  207. $revolving_door1 joinTeam $revolving_door2
  208.  
  209. $revolving_door1 time 4
  210. $revolving_door2 time 4
  211.  
  212. revolving_start:
  213.  
  214. level.revolving_door2_removed ifequal 1 goto revolving_start_broken
  215.  
  216. $revolving_door1 ontouch revolving_sequence
  217. $revolving_door2 ontouch revolving_sequence
  218. pause
  219.  
  220. revolving_sequence:
  221. $revolving_door1 notouch
  222. $revolving_door2 notouch
  223. $revolving_door1 playsound environment/levelsnds/bank/rvlv001.wav 2.0
  224. $revolving_door1 rotateYup 180
  225. $revolving_door2 rotateYup 180
  226. $revolving_door1 stopsound
  227. waitFor $revolving_door1
  228. goto revolving_start
  229.  
  230. revolving_start_broken:
  231. $revolving_door1 ontouch revolving_sequence_broken
  232. pause
  233.  
  234. revolving_sequence_broken:
  235. $revolving_door1 notouch
  236. $revolving_door1 playsound environment/levelsnds/bank/rvlv001.wav 2.0
  237. $revolving_door1 rotateYup 180
  238. waitFor $revolving_door1
  239. $revolving_door1 stopsound
  240. goto revolving_start_broken
  241. end
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250. revolving_door2_thread:
  251. $revolving_door3 joinTeam $revolving_door4
  252.  
  253. $revolving_door3 time 4
  254. $revolving_door4 time 4
  255.  
  256. revolving2_start:
  257.  
  258. level.revolving_door4_removed ifequal 1 goto revolving2_start_broken
  259.  
  260. $revolving_door3 ontouch revolving2_sequence
  261. $revolving_door4 ontouch revolving2_sequence
  262. pause
  263.  
  264. revolving2_sequence:
  265. $revolving_door3 notouch
  266. $revolving_door4 notouch
  267. $revolving_door3 playsound environment/levelsnds/bank/rvlv001.wav 2.0
  268. $revolving_door3 rotateYup 180
  269. $revolving_door4 rotateYup 180
  270. waitFor $revolving_door3
  271. $revolving_door3 stopsound
  272. goto revolving2_start
  273.  
  274. revolving2_start_broken:
  275.  
  276. $revolving_door3 ontouch revolving2_sequence_broken
  277. pause
  278.  
  279. revolving2_sequence_broken:
  280. $revolving_door3 notouch
  281. $revolving_door3 playsound environment/levelsnds/bank/rvlv001.wav 3.0
  282. $revolving_door3 rotateYup 180
  283. waitFor $revolving_door3
  284. $revolving_door3 stopsound
  285. goto revolving2_start_broken
  286.  
  287. end
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295. revolving_door_glass_thread:
  296.  
  297. $revolving_door2 ondamage revolving_door2_break
  298. pause
  299.  
  300. revolving_door2_break:
  301. $revolving_door1 quitTeam $revolving_door2
  302. $revolving_door2 shatter "0 0 0" 25 10 35 .25 0
  303. $revolving_door2 remove
  304. level.revolving_door2_removed = 1
  305. end
  306.  
  307. revolving_door2_glass_thread:
  308.  
  309. $revolving_door4 ondamage revolving_door4_break
  310. pause
  311.  
  312. revolving_door4_break:
  313. $revolving_door3 quitTeam $revolving_door4
  314. $revolving_door4 shatter "0 0 0" 25 10 35 .25 0
  315. $revolving_door4 remove
  316. level.revolving_door4_removed = 1
  317. end
  318.  
  319.  
  320.  
  321. door1g_thread:
  322. $door1g time .6
  323. $door1ga time .6
  324. $door1gb time .6
  325.  
  326. door1g_sequence:
  327.  
  328. $door1ga onuse door1ga_sequence
  329. $door1gb onuse door1gb_sequence
  330. pause
  331.  
  332. door1ga_sequence:
  333. $door1ga nouse
  334. $door1gb nouse
  335. $doorg1 rotateYup 90
  336. $door1ga rotateYup 90
  337. $door1gb rotateYup 90
  338. waitFor $door1ga
  339. wait 3
  340. $door1g rotateYdown 90
  341. $door1ga rotateYdown 90
  342. $door1gb rotateYdown 90
  343. waitFor $door1gb
  344. goto door1g_sequence
  345.  
  346.  
  347.  
  348. door1gb_sequence:
  349. $door1ga nouse
  350. $door1gb nouse
  351. $door1g rotateYdown 90
  352. $door1ga rotateYdown 90
  353. $door1gb rotateYdown 90
  354. waitFor $door1ga
  355. wait 3
  356. $door1g rotateYup 90
  357. $door1ga rotateYup 90
  358. $door1gb rotateYup 90
  359. waitFor $door1gb
  360. goto door1g_sequence
  361. end
  362.  
  363. door2g_thread:
  364. $door2g time .6
  365. $door2ga time .6
  366. $door2gb time .6
  367.  
  368. door2g_sequence:
  369.  
  370. $door2ga onuse door2ga_sequence
  371. $door2gb onuse door2gb_sequence
  372. pause
  373.  
  374. door2ga_sequence:
  375. $door2ga nouse
  376. $door2gb nouse
  377. $door2g rotateYup 90
  378. $door2ga rotateYup 90
  379. $door2gb rotateYup 90
  380. waitFor $door2ga
  381. wait 3
  382. $door2g rotateYdown 90
  383. $door2ga rotateYdown 90
  384. $door2gb rotateYdown 90
  385. waitFor $door2gb
  386. goto door2g_sequence
  387.  
  388. door2gb_sequence:
  389. $door2ga nouse
  390. $door2gb nouse
  391. $door2g rotateYdown 90
  392. $door2ga rotateYdown 90
  393. $door2gb rotateYdown 90
  394. waitFor $door2ga
  395. wait 3
  396. $door2g rotateYup 90
  397. $door2ga rotateYup 90
  398. $door2gb rotateYup 90
  399. waitFor $door2gb
  400. goto door2g_sequence
  401. end
  402.  
  403. vault_switch1_thread:
  404. level.vault_switch1_position = 1
  405.  
  406. vault_switch1_sequence:
  407. $vault_switch1 onuse vault_switch1_rotate
  408. pause
  409.  
  410. vault_switch1_rotate:
  411. $vault_switch1 nouse
  412. $vault_switch1 rotateZdown 45
  413. waitFor $vault_switch1
  414. $vault_switch1 playsound environment/cabinet/glasscab/latch12.wav 1.0
  415. level.vault_switch1_position += 1
  416. level.vault_switch1_position ifequal 9 level.vault_switch1_position = 1
  417. goto vault_switch1_sequence
  418. end
  419.  
  420. vault_switch2_thread:
  421. level.vault_switch2_position = 1
  422.  
  423. vault_switch2_sequence:
  424. $vault_switch2 onuse vault_switch2_rotate
  425. pause
  426.  
  427. vault_switch2_rotate:
  428. $vault_switch2 nouse
  429. $vault_switch2 rotateZdown 45
  430. waitFor $vault_switch2
  431. $vault_switch2 playsound environment/cabinet/glasscab/latch12.wav 1.0
  432. level.vault_switch2_position += 1
  433. level.vault_switch2_position ifequal 9 level.vault_switch2_position = 1
  434. goto vault_switch2_sequence
  435. end
  436.  
  437. vault_thread:
  438.  
  439. $vault_door time 3
  440. $vault_switch1 time 1
  441. $vault_switch2 time 1
  442. $vault_button time .2
  443. $vault_handle time 1
  444. level.jc_warn = 0
  445.  
  446. $vault_handle bind $vault_door
  447. wait .1
  448.  
  449. //open door for mancini's sequence
  450. $vault_portal open
  451. $vault_handle rotateZdown 60
  452. waitFor $vault_handle
  453. $vault_door rotateYup 75
  454. waitFor $vault_door
  455.  
  456. $vault_trigger ontrigger vault_door_close_for_mancini
  457. pause
  458.  
  459. vault_door_close_for_mancini:
  460. $vault_trigger notrigger
  461.  
  462. $vault_door playsound environment/levelsnds/bank/bankdoo2.wav 1.0
  463. $vault_door rotateYdown 75
  464. waitFor $vault_door
  465. $vault_door playsound impact/metal/drm2.wav 1.0
  466. $vault_handle playsound environment/doors/metal/mtldoor1.wav 1.0
  467. $vault_handle rotateZup 60
  468. waitFor $vault_handle
  469. $vault_portal close
  470. $camgun1 activate
  471. $camgun2 activate
  472. $vault_door time 6
  473.  
  474. vault_begin:
  475.  
  476. $vault_handle onuse check_vault_combo
  477. $vault_handle ondamage check_vault_combo
  478. pause
  479.  
  480. check_vault_combo:
  481. $vault_handle nouse
  482. $vault_handle nodamage
  483. level.vault_switch1_position ifequal level.VaultCombo1 goto check_vault_combo2
  484. level.description ifequal 0 goto vault_begin
  485. $camgun1 activate
  486. $camgun2 activate
  487. level.jc_warn ifequal 0 thread jc_warn_dialog_thread
  488. wait 5
  489. $camgun1 deactivate
  490. $camgun2 deactivate
  491. goto vault_begin
  492. check_vault_combo2:
  493. level.vault_switch2_position ifequal level.VaultCombo2 goto vault_open
  494. level.description ifequal 0 goto vault_begin
  495. $camgun1 activate
  496. $camgun2 activate
  497. level.jc_warn ifequal 0 thread jc_warn_dialog_thread
  498. wait 5
  499. $camgun1 deactivate
  500. $camgun2 deactivate
  501. goto vault_begin
  502.  
  503.  
  504. vault_open:
  505.  
  506. level.VaultOpenedOnce ifequal 0 thread vault_open_completed
  507.  
  508. $vault_portal open
  509. $vault_handle playsound environment/doors/metal/mtldoor1.wav 1.0
  510. $vault_handle rotateZdown 60
  511. waitFor $vault_handle
  512. $vault_door playsound environment/levelsnds/bank/bankdoo2.wav 1.0
  513. $vault_door rotateYup 75
  514. waitFor $vault_door
  515. $vault_door playsound impact/metal/drm2.wav 1.0
  516.  
  517. $vault_handle onuse vault_closed
  518. $vault_handle ondamage vault_closed
  519. pause
  520.  
  521. vault_closed:
  522. $vault_handle nouse
  523. $vault_handle nodamage
  524. $vault_door playsound environment/levelsnds/bank/bankdoo2.wav 1.0
  525. $vault_door rotateYdown 75
  526. waitFor $vault_door
  527. $vault_door playsound impact/metal/drm2.wav 1.0
  528. $vault_handle playsound environment/doors/metal/mtldoor1.wav 1.0
  529. $vault_handle rotateZup 60
  530. waitFor $vault_handle
  531. $vault_portal close
  532. goto vault_begin
  533. end
  534.  
  535.  
  536. vault_open_completed:
  537.  
  538. level.VaultOpenedOnce = 1
  539.  
  540. level.PObjective4 = 1 // Gain Access To The Vault
  541. level.PObjective5 = 0 // Capture Mancini
  542. thread BankMissionComputer
  543. thread dialog::PObjectiveComplete
  544.  
  545. end // vault_open_completed
  546.  
  547. jc_warn_dialog_thread:
  548. level.jc_warn = 1
  549.  
  550. wait 2
  551.  
  552. thread dialog::jneed_to_shut_down_sec1
  553. end
  554.  
  555. jc_warn_dialog2_thread:
  556.  
  557. $warn_dialog_trigger ontrigger jc_warn_dialog2_sequence
  558. pause
  559.  
  560. jc_warn_dialog2_sequence:
  561. $warn_dialog_trigger notrigger
  562.  
  563. thread dialog::need_to_shut_down_sec2
  564. end
  565.  
  566.  
  567.  
  568. receptacle1_thread:
  569. $receptacle1_rim time .3
  570. $receptacle1 time .3
  571. $receptacle1 notsolid
  572.  
  573. receptacle1_begin:
  574.     
  575. $receptacle1_rim onuse receptacle1_sequence
  576. $receptacle1_rim ondamage receptacle1_break
  577. pause
  578.  
  579. receptacle1_sequence:
  580. $receptacle1_rim nouse
  581. $receptacle1 rotateXup 60
  582. waitFor $receptacle1
  583. $receptacle1 rotateXdown 90
  584. waitFor $receptacle1
  585. $receptacle1 rotateXup 45
  586. waitFor $receptacle1
  587. $receptacle1 rotateXdown 22
  588. waitFor $receptacle1
  589. $receptacle1 rotateXup 7
  590. waitFor $receptacle1
  591.  
  592. goto receptacle1_begin
  593.  
  594. receptacle1_break:
  595. trigger $g5
  596. $receptacle1 hide
  597. $receptacle1_rim notsolid
  598. $receptacle1_rim hide
  599. end
  600.  
  601.  
  602. receptacle2_thread:
  603. $receptacle2_rim time .3
  604. $receptacle2 time .3
  605. $receptacle2 notsolid
  606.  
  607. receptacle2_begin:
  608.  
  609. $receptacle2_rim onuse receptacle2_sequence
  610. $receptacle2_rim ondamage receptacle2_break
  611. pause
  612.  
  613. receptacle2_sequence:
  614. $receptacle2_rim nouse
  615. $receptacle2 rotateXdown 60
  616. waitFor $receptacle2
  617. $receptacle2 rotateXup 90
  618. waitFor $receptacle2
  619. $receptacle2 rotateXdown 45
  620. waitFor $receptacle2
  621. $receptacle2 rotateXup 22
  622. waitFor $receptacle2
  623. $receptacle2 rotateXdown 7
  624. waitFor $receptacle2
  625. goto receptacle2_begin
  626.  
  627. receptacle2_break:
  628. trigger $g3
  629. $receptacle2 hide
  630. $receptacle2_rim notsolid
  631. $receptacle2_rim hide
  632. end
  633.  
  634. clock_thread:
  635. $longhand time 1
  636. $shorthand time 1
  637.  
  638. $shorthand rotateXdown 180
  639. waitFor $shorthand
  640.  
  641. clock_sequence:
  642. wait 60
  643. $longhand rotateXdown 6
  644. $shorthand rotateXdown .5
  645. waitFor $longhand
  646. goto clock_sequence
  647.  
  648. clock_hour_thread:
  649.  
  650. clock_hour_sequence:
  651.  
  652. wait 3600
  653. $longhand playsound misc/bell.wav 1.0
  654. wait 2
  655. $longhand playsound misc/bell.wav 1.0
  656. wait 2
  657. $longhand playsound misc/bell.wav 1.0
  658. wait 2
  659. $longhand playsound misc/bell.wav 1.0
  660. goto clock_hour_sequence
  661.  
  662.  
  663.  
  664. door_thread:
  665. local.doorindex = 3
  666.  
  667. doorloop:
  668. parm.door string "$door"
  669. parm.door appendint local.doorindex
  670. parm.door notsolid
  671. parm.door hide
  672. local.doorindex += 1
  673. local.doorindex ifequal 4 local.doorindex += 1
  674. local.doorindex iflessequal 10 goto doorloop
  675. end
  676.  
  677.  
  678. door4_thread:
  679. $door4a time .6
  680. $door4b time .6
  681. $portal4 close
  682.  
  683. door4_sequence:
  684.  
  685. $door4a onuse door4a_sequence
  686. $door4b onuse door4b_sequence
  687. pause
  688.  
  689. door4a_sequence:
  690. $door4a nouse
  691. $door4b nouse
  692. $portal4 open
  693. $door4a rotateYup 90
  694. $door4b rotateYup 90
  695. waitFor $door4b
  696. wait 3
  697. $door4a rotateYdown 90
  698. $door4b rotateYdown 90
  699. waitFor $door4b
  700. $portal4 close
  701. goto door4_sequence
  702.  
  703. door4b_sequence:
  704. $door4a nouse
  705. $door4b nouse
  706. $portal4 open
  707. $door4a rotateYdown 90
  708. $door4b rotateYdown 90
  709. waitFor $door4b
  710. wait 3
  711. $door4a rotateYup 90
  712. $door4b rotateYup 90
  713. waitFor $door4b
  714. $portal4 close
  715. goto door4_sequence
  716. end
  717.  
  718.  
  719. door12_thread:
  720. $door12a time .6
  721. $door12b time .6
  722. $portal12 close
  723.  
  724. door12_sequence:
  725.  
  726. $door12a onuse door12a_sequence
  727. $door12b onuse door12b_sequence
  728. pause
  729.  
  730. door12a_sequence:
  731. $door12a nouse
  732. $door12b nouse
  733. $portal12 open
  734. $door12a rotateYup 90
  735. $door12b rotateYup 90
  736. waitFor $door12b
  737. wait 3
  738. $door12a rotateYdown 90
  739. $door12b rotateYdown 90
  740. waitFor $door12b
  741. $portal12 close
  742. goto door12_sequence
  743.  
  744. door12b_sequence:
  745. $door12a nouse
  746. $door12b nouse
  747. $portal12 open
  748. $door12a rotateYdown 90
  749. $door12b rotateYdown 90
  750. waitFor $door12b
  751. wait 3
  752. $door12a rotateYup 90
  753. $door12b rotateYup 90
  754. waitFor $door12b
  755. $portal12 close
  756. goto door12_sequence
  757. end
  758.  
  759.  
  760.  
  761.  
  762.  
  763. billboard_thread:
  764. $billboard2 bind $billboard
  765.  
  766. game.intro_billboard_fall ifequal 2 goto billboard_fall_sequence_left_quick
  767. game.intro_billboard_fall ifequal 3 goto billboard_fall_sequence_right_quick
  768.  
  769. $billboard_left ondamage billboard_fall_sequence2_left
  770. $billboard_right ondamage billboard_fall_sequence2_right
  771. pause
  772.  
  773. billboard_fall_sequence_left_quick:
  774.  
  775. $billboard time .1
  776.  
  777. $billboard moveEast 96
  778.  
  779. $billboard rotateXdown 56
  780. $billboard moveWest 64
  781. $billboard moveDown 30
  782. waitFor $billboard
  783.  
  784. $billboard rotateXdown 98
  785. $billboard rotateZup 5
  786. $billboard moveDown 495
  787. $billboard moveSouth 16
  788. $billboard moveWest 128
  789. waitFor $billboard
  790.  
  791. $billboard rotateXdown 85
  792. $billboard rotateZup 5
  793. $billboard moveDown 495
  794. $billboard moveSouth 16
  795. $billboard moveWest 128
  796. waitFor $billboard
  797.  
  798. $billboard rotateXdown 71
  799. $billboard rotateZup 5
  800. $billboard moveDown 490
  801. $billboard moveSouth 16
  802. $billboard moveWest 107
  803. waitFor $billboard
  804.  
  805. $window_bar2 time .1
  806. $window_bar2 moveDown 368
  807. $window_bar2 rotateXup 22
  808. $window_bar2 rotateYup 30
  809. $window_bar2 moveWest 16
  810. waitFor $window_bar2
  811. $glass1 remove
  812. $glass2 remove
  813. $glass3 remove
  814.  
  815. $billboard playsound impact/crates/crate3.wav 3.0
  816. goto bottom
  817.  
  818.  
  819. billboard_fall_sequence_right_quick:
  820.  
  821. $billboard time 0
  822. $window_bar1 time 0
  823. $window_bar2 time 0
  824.  
  825. $billboard moveEast 96
  826.  
  827. $billboard rotateXdown 56
  828. $billboard moveWest 64
  829. $billboard moveDown 30
  830. waitFor $billboard
  831.  
  832. $billboard rotateXdown 98
  833. $billboard rotateZup 5
  834. $billboard moveDown 495
  835. $billboard moveSouth 16
  836. $billboard moveWest 128
  837. waitFor $billboard
  838.  
  839. $billboard rotateXdown 85
  840. $billboard rotateZup 5
  841. $billboard moveDown 495
  842. $billboard moveSouth 16
  843. $billboard moveWest 128
  844. waitFor $billboard
  845.  
  846. $billboard rotateXdown 71
  847. $billboard rotateZup 5
  848. $billboard moveDown 490
  849. $billboard moveSouth 16
  850. $billboard moveWest 107
  851. waitFor $billboard
  852.  
  853. $glass1 remove
  854. $glass2 remove
  855. $glass3 remove
  856. $billboard playsound impact/crates/crate3.wav 3.0
  857.  
  858. $window_bar1 moveDown 368
  859. $window_bar1 rotateXup 22
  860. $window_bar1 rotateYdown 15
  861. $window_bar1 moveWest 16
  862. $window_bar2 moveDown 368
  863. $window_bar2 rotateXup 22
  864. $window_bar2 rotateYup 30
  865. $window_bar2 moveWest 16
  866. $billboard moveDown 356
  867. $billboard rotateXup 20
  868. $billboard rotateZdown 20
  869. waitFor $billboard
  870. $billboard playsound impact/crates/crate3.wav 3.0
  871.  
  872. $fountain_break notsolid
  873. $fountain_break hide
  874. $fountain_spill1 show
  875. $fountain_spill2 show
  876. $fountain_flood moveUp 10
  877. $fountain_flood show
  878. waitFor $fountain_flood
  879.  
  880. goto bottom
  881.  
  882.  
  883.  
  884. billboard_fall_sequence2_left:
  885. $billboard_right nodamage
  886. $billboard_left nodamage
  887. $billboard time .4
  888.  
  889. wait .3
  890.  
  891. $billboard rotateXdown 56
  892. $billboard moveWest 64
  893. $billboard moveDown 30
  894. waitFor $billboard
  895.  
  896. $billboard time .7
  897.  
  898. $billboard rotateXdown 98
  899. $billboard rotateZup 5
  900. $billboard moveDown 495
  901. $billboard moveSouth 16
  902. $billboard moveWest 96
  903. waitFor $billboard
  904.  
  905. $billboard time .5
  906.  
  907. $billboard rotateXdown 85
  908. $billboard rotateZup 5
  909. $billboard moveDown 495
  910. $billboard moveSouth 16
  911. $billboard moveWest 96
  912. waitFor $billboard
  913.  
  914. $billboard time .4
  915.  
  916. $billboard rotateXdown 71
  917. $billboard rotateZup 5
  918. $billboard moveDown 490
  919. $billboard moveSouth 16
  920. $billboard moveWest 75
  921. waitFor $billboard
  922.  
  923. $glass1 shatter "0 0 0" 75 10 75 .25 0
  924. $glass2 shatter "0 0 0" 75 10 75 .25 0
  925. $glass3 shatter "0 0 0" 75 10 75 .25 0
  926. $glass1 remove
  927. $glass2 remove
  928. $glass3 remove
  929. $billboard playsound impact/crates/crate3.wav 3.0
  930.  
  931. $window_bar2 time .5
  932. $window_bar2 moveDown 368
  933. $window_bar2 rotateXup 22
  934. $window_bar2 rotateYup 30
  935. $window_bar2 moveWest 16
  936. waitFor $window_bar2
  937.  
  938. goto bottom
  939.  
  940. billboard_fall_sequence2_right:
  941. $billboard_right nodamage
  942. $billboard_left nodamage
  943. $billboard time .4
  944.  
  945.  
  946. wait .3
  947.  
  948. $billboard rotateXdown 56
  949. $billboard moveWest 64
  950. $billboard moveDown 30
  951. waitFor $billboard
  952.  
  953. $billboard time .7
  954.  
  955. $billboard rotateXdown 98
  956. $billboard rotateZup 5
  957. $billboard moveDown 495
  958. $billboard moveSouth 16
  959. $billboard moveWest 96
  960. waitFor $billboard
  961.  
  962. $billboard time .5
  963.  
  964. $billboard rotateXdown 85
  965. $billboard rotateZup 5
  966. $billboard moveDown 495
  967. $billboard moveSouth 16
  968. $billboard moveWest 96
  969. waitFor $billboard
  970.  
  971. $billboard time .4
  972.  
  973. $billboard rotateXdown 71
  974. $billboard rotateZup 5
  975. $billboard moveDown 490
  976. $billboard moveSouth 16
  977. $billboard moveWest 75
  978. waitFor $billboard
  979.  
  980. $glass1 shatter "0 0 0" 75 10 75 .25 0
  981. $glass2 shatter "0 0 0" 75 10 75 .25 0
  982. $glass3 shatter "0 0 0" 75 10 75 .25 0
  983. $glass1 remove
  984. $glass2 remove
  985. $glass3 remove
  986. $billboard playsound impact/crates/crate3.wav 3.0
  987.  
  988. wait .2
  989.  
  990. $billboard time .7
  991. $window_bar1 time .7
  992. $window_bar2 time .7
  993.  
  994. $window_bar1 moveDown 368
  995. $window_bar1 rotateXup 22
  996. $window_bar1 rotateYdown 15
  997. $window_bar1 moveWest 16
  998. $window_bar2 moveDown 368
  999. $window_bar2 rotateXup 22
  1000. $window_bar2 rotateYup 30
  1001. $window_bar2 moveWest 16
  1002. $billboard moveDown 356
  1003. $billboard rotateXup 20
  1004. $billboard rotateZdown 20
  1005. waitFor $billboard
  1006. $billboard playsound impact/crates/crate3.wav 3.0
  1007.  
  1008. $fountain_break notsolid
  1009. $fountain_break hide
  1010. wait .1
  1011. $fountain_spill1 show
  1012. wait .1
  1013. $fountain_spill2 show
  1014. $fountain_flood show
  1015. $fountain_flood moveUp 2
  1016. waitFor $fountain_flood
  1017. $fountain_flood time 15
  1018. $fountain_flood moveUp 8
  1019. waitFor $fountain_flood
  1020.  
  1021. bottom:
  1022. thread dialog::blade_destroys_property8
  1023. end
  1024.  
  1025. elev_thread:
  1026. $elev time 10
  1027. $elev_left1 time .5
  1028. $elev_left2 time .5
  1029. $elev_right1 time .5
  1030. $elev_right2 time .5
  1031. $elev_call time .5
  1032. $elev_call_pressed time .5
  1033. $elev_button time .5
  1034. $elev_button_pressed time .5
  1035.  
  1036. $elev_call_pressed notsolid
  1037. $elev_call_pressed hide
  1038. $elev_button_pressed notsolid
  1039. $elev_button_pressed hide
  1040.  
  1041. $elev_call onuse elev_call_sequence
  1042. pause
  1043.  
  1044. elev_call_sequence:
  1045. $elev_call nouse
  1046. $elev_call notsolid
  1047. $elev_call hide
  1048. $elev_call_pressed solid
  1049. $elev_call_pressed show
  1050.  
  1051. //playsound
  1052. wait 5
  1053.  
  1054.  
  1055. $elev_left1 moveEast 20
  1056. $elev_right1 moveWest 20
  1057. waitFor $elev_left1
  1058.  
  1059. $elev_left1 time 1
  1060. $elev_left2 time 1
  1061. $elev_right1 time 1
  1062. $elev_right2 time 1
  1063.  
  1064. $elev_left1 moveEast 40
  1065. $elev_right1 moveWest 40
  1066. $elev_left2 moveEast 60
  1067. $elev_right2 moveWest 60
  1068. waitFor $elev_left1
  1069.  
  1070. $elev_call_pressed notsolid
  1071. $elev_call_pressed hide
  1072. $elev_call show
  1073. $elev_call solid
  1074.  
  1075. $elev_button onuse elev_move_sequence
  1076. pause
  1077.  
  1078. elev_move_sequence:
  1079.  
  1080. $elev_button notsolid
  1081. $elev_button hide
  1082. $elev_button_pressed show
  1083. $elev_button_pressed solid
  1084.  
  1085.  
  1086. $elev_left1 time .5
  1087. $elev_left2 time .5
  1088. $elev_right1 time .5
  1089. $elev_right2 time .5
  1090.  
  1091.  
  1092. $elev_left1 moveWest 20
  1093. $elev_right1 moveEast 20
  1094. waitFor $elev_left1
  1095.  
  1096. $elev_left1 time 1
  1097. $elev_left2 time 1
  1098. $elev_right1 time 1
  1099. $elev_right2 time 1
  1100.  
  1101. $elev_left1 moveWest 40
  1102. $elev_right1 moveEast 40
  1103. $elev_left2 moveWest 60
  1104. $elev_right2 moveEast 60
  1105. waitFor $elev_left1
  1106.  
  1107. $elev_left2 time 10
  1108. $elev_right2 time 10
  1109. $elev_button_pressed time 10
  1110.  
  1111. $elev moveUp 512
  1112. $elev_left2 moveUp 512
  1113. $elev_right2 moveUp 512
  1114. $elev_button_pressed moveUp 512
  1115. waitFor $elev
  1116.  
  1117. $elev_button_pressed notsolid
  1118. $elev_button_pressed hide
  1119. $elev_button show
  1120. $elev_button solid
  1121.  
  1122.  
  1123. elev_start:
  1124.  
  1125. $elev_call onuse elev_call_sequence2
  1126. pause
  1127.  
  1128. elev_call_sequence2:
  1129. $elev_call nouse
  1130. $elev_call notsolid
  1131. $elev_call hide
  1132. $elev_call_pressed solid
  1133. $elev_call_pressed show
  1134.  
  1135. $elev moveDown 512
  1136. $elev_left2 moveDown 512
  1137. $elev_right2 moveDown 512
  1138. $elev_button_pressed moveDown 512
  1139. waitFor $elev
  1140.  
  1141. $elev_left1 time .5
  1142. $elev_right1 time .5
  1143.  
  1144. $elev_left1 moveEast 20
  1145. $elev_right1 moveWest 20
  1146. waitFor $elev_left1
  1147.  
  1148. $elev_left1 time 1
  1149. $elev_left2 time 1
  1150. $elev_right1 time 1
  1151. $elev_right2 time 1
  1152.  
  1153. $elev_left1 moveEast 40
  1154. $elev_right1 moveWest 40
  1155. $elev_left2 moveEast 60
  1156. $elev_right2 moveWest 60
  1157. waitFor $elev_left1
  1158.  
  1159. $elev_call_pressed notsolid
  1160. $elev_call_pressed hide
  1161. $elev_call show
  1162. $elev_call solid
  1163.  
  1164. $elev_button onuse elev_move_sequence2
  1165. pause
  1166.  
  1167. elev_move_sequence2:
  1168.  
  1169. $elev_button notsolid
  1170. $elev_button hide
  1171. $elev_button_pressed show
  1172. $elev_button_pressed solid
  1173.  
  1174.  
  1175. $elev_left1 time .5
  1176. $elev_left2 time .5
  1177. $elev_right1 time .5
  1178. $elev_right2 time .5
  1179.  
  1180. $elev_left1 moveWest 20
  1181. $elev_right1 moveEast 20
  1182. waitFor $elev_left1
  1183.  
  1184. $elev_left1 time 1
  1185. $elev_left2 time 1
  1186. $elev_right1 time 1
  1187. $elev_right2 time 1
  1188.  
  1189. $elev_left1 moveWest 40
  1190. $elev_right1 moveEast 40
  1191. $elev_left2 moveWest 60
  1192. $elev_right2 moveEast 60
  1193. waitFor $elev_left1
  1194.  
  1195. $elev_left2 time 10
  1196. $elev_right2 time 10
  1197. $elev_button_pressed time 10
  1198.  
  1199. $elev moveUp 512
  1200. $elev_left2 moveUp 512
  1201. $elev_right2 moveUp 512
  1202. $elev_button_pressed moveUp 512
  1203. waitFor $elev
  1204.  
  1205. $elev_button_pressed notsolid
  1206. $elev_button_pressed hide
  1207. $elev_button show
  1208. $elev_button solid
  1209.  
  1210. goto elev_start
  1211. end
  1212.  
  1213. teller_thread:
  1214.  
  1215. $dollar1 bind $teller2
  1216. $dollar2 bind $teller2
  1217. $dollar3 bind $teller2
  1218. wait .1
  1219.  
  1220. local.tellerindex = 1
  1221.  
  1222. teller_loop:
  1223.  
  1224. parm.teller string "$teller"
  1225. parm.teller appendint local.tellerindex
  1226. thread teller_setup_thread
  1227.  
  1228. local.tellerindex += 1
  1229. local.tellerindex iflessequal 2 goto teller_loop
  1230. end
  1231.  
  1232. teller_setup_thread:
  1233. local.teller string parm.teller
  1234. local.teller time 1
  1235. local.teller moveNorth 22
  1236. waitFor local.teller
  1237.  
  1238. teller_start:
  1239. local.teller onuse teller_open
  1240. pause
  1241.  
  1242. teller_open:
  1243. local.teller nouse
  1244. local.teller playsound environment/cabinet/drawer/cab11.wav 1.0
  1245. local.teller moveSouth 22
  1246. waitFor local.teller
  1247.  
  1248. local.teller onuse teller_close
  1249. pause
  1250.  
  1251. teller_close:
  1252. local.teller nouse
  1253. local.teller playsound environment/cabinet/drawer/cab12.wav 1.0
  1254. local.teller moveNorth 22
  1255. waitFor local.teller
  1256. goto teller_start
  1257. end
  1258.  
  1259.  
  1260. //==================================
  1261.  
  1262. safety_deposit_drawer_thread:
  1263.  
  1264. $safe_drawer time 1
  1265. $safe_drawer moveEast 32
  1266. waitFor $safe_drawer
  1267.  
  1268. safe_drawer_start:
  1269. $safe_drawer onuse safe_drawer_open
  1270. pause
  1271.  
  1272. safe_drawer_open:
  1273. $safe_drawer nouse
  1274. $safe_drawer playsound environment/cabinet/drawer/cab11.wav 1.0
  1275. $safe_drawer moveWest 32
  1276. waitFor $safe_drawer
  1277.  
  1278. $safe_drawer onuse safe_drawer_close
  1279. pause
  1280.  
  1281. safe_drawer_close:
  1282. $safe_drawer nouse
  1283. $safe_drawer playsound environment/cabinet/drawer/cab12.wav 1.0
  1284. $safe_drawer moveEast 32
  1285. waitFor $safe_drawer
  1286. goto safe_drawer_start
  1287. end
  1288.  
  1289.  
  1290.  
  1291. tele_thread:
  1292.  
  1293. $tele1 key coin
  1294. $tele2 key coin
  1295.  
  1296. tele_start:
  1297. $tele1 onuse tele1_sequence
  1298. $tele2 onuse tele2_sequence
  1299. pause
  1300.  
  1301. tele1_sequence:
  1302. $tele1 nouse
  1303. $tele2 nouse
  1304. local.other take local.key
  1305.  
  1306. //$tele1 playsound environment/levelsnds/bank/dialtone.wav 2.0
  1307. parm.phone string "$tele1"
  1308. thread dialog::phone_bruno
  1309.  
  1310. end
  1311.  
  1312. tele2_sequence:
  1313. $tele1 nouse
  1314. $tele2 nouse
  1315. local.other take local.key
  1316.  
  1317. parm.phone string "$tele2"
  1318. thread dialog::phone_cinema
  1319.  
  1320. end
  1321.  
  1322.  
  1323.  
  1324. escalator_thread:
  1325.  
  1326. $escalator_button time .5
  1327. local.escalator_speed = 16
  1328.  
  1329. escalator_sequence:
  1330.  
  1331. $escalator_button onuse escalator_off
  1332. pause
  1333.  
  1334. escalator_off:
  1335. $escalator_button nouse
  1336. $escalator_button playsound environment/cabinet/glasscab/latch12.wav 1.0
  1337. $escalator_button moveNorth 1
  1338. waitFor $escalator_button
  1339. trigger $escalator_sound
  1340. $escalator_button moveSouth 1
  1341. waitFor $escalator_button
  1342.  
  1343. escalator_slow_down:
  1344. local.escalator_speed -= 1
  1345. wait .1
  1346. @escalator trans_mag local.escalator_speed
  1347. local.escalator_speed ifgreater 0 goto escalator_slow_down
  1348.  
  1349.  
  1350. $escalator_button onuse escalator_on
  1351. pause
  1352.  
  1353. escalator_on:
  1354. $escalator_button nouse
  1355. $escalator_button playsound environment/cabinet/glasscab/latch12.wav 1.0
  1356. $escalator_button moveNorth 1
  1357. waitFor $escalator_button
  1358. trigger $escalator_sound
  1359. $escalator_button moveSouth 1
  1360. waitFor $escalator_button
  1361.  
  1362. escalator_speed_up:
  1363. wait .1
  1364. @escalator trans_mag local.escalator_speed
  1365. local.escalator_speed += 1
  1366. local.escalator_speed iflessequal 16 goto escalator_speed_up
  1367.  
  1368.  
  1369. goto escalator_sequence
  1370. end
  1371.  
  1372.  
  1373. locker_door1_thread:
  1374. level.locker_dialog = 0
  1375.  
  1376. $locker_door1 time 1
  1377. locker_door1_sequence:
  1378.  
  1379. $locker_door1 onuse locker_door1_open
  1380. pause
  1381.  
  1382. locker_door1_open:
  1383. $locker_door1 nouse
  1384. level.locker_dialog ifequal 0 thread locker_dialog_thread
  1385. $locker_door1 rotateYdown 90
  1386. waitFor $locker_door1
  1387.  
  1388. $locker_door1 onuse locker_door1_close
  1389. pause
  1390.  
  1391. locker_door1_close:
  1392. $locker_door1 nouse
  1393. $locker_door1 rotateYup 90
  1394. waitFor $locker_door1
  1395. goto locker_door1_sequence
  1396. end
  1397.  
  1398.  
  1399. locker_door2_thread:
  1400.  
  1401. $locker_door2 time 1
  1402. locker_door2_sequence:
  1403.  
  1404. $locker_door2 onuse locker_door2_open
  1405. pause
  1406.  
  1407. locker_door2_open:
  1408. $locker_door2 nouse
  1409. level.locker_dialog ifequal 0 thread locker_dialog_thread
  1410. $locker_door2 rotateYup 90
  1411. waitFor $locker_door2
  1412.  
  1413. $locker_door2 onuse locker_door2_close
  1414. pause
  1415.  
  1416. locker_door2_close:
  1417. $locker_door2 nouse
  1418. $locker_door2 rotateYdown 90
  1419. waitFor $locker_door2
  1420. goto locker_door2_sequence
  1421. end
  1422.  
  1423. level.locker_dialog ifequal 0 thread locker_dialog_thread
  1424.  
  1425. locker_dialog_thread:
  1426. level.locker_dialog = 1
  1427. wait .5
  1428. thread dialog::jc_handy1
  1429. end
  1430.  
  1431. painting1_thread:
  1432. $painting1 time .8
  1433. $safe_door time .8
  1434.  
  1435. painting1_sequence_begin:
  1436. $painting1 onuse painting1_sequence
  1437. $safe_door onuse painting1_sequence
  1438. pause
  1439.  
  1440. painting1_sequence:
  1441. $painting1 nouse
  1442. $safe_door nouse
  1443.  
  1444. $painting1 moveEast 80
  1445. waitFor $painting1
  1446. $safe_door rotateYdown 95
  1447. waitFor $safe_door
  1448.  
  1449. $painting1 onuse painting1_sequence2
  1450. $safe_door onuse painting1_sequence2
  1451. pause
  1452.  
  1453. painting1_sequence2:
  1454. $painting1 nouse
  1455. $safe_door nouse
  1456.  
  1457. $safe_door rotateYup 95
  1458. waitFor $safe_door
  1459. $painting1 moveWest 80
  1460. waitFor $painting1
  1461.  
  1462. goto painting1_sequence_begin
  1463. end
  1464.  
  1465.  
  1466. painting2_thread:
  1467. $painting2 time .4
  1468.  
  1469. $painting2 ondamage painting2_sequence
  1470. pause
  1471.  
  1472. painting2_sequence:
  1473. $painting2 nodamage
  1474. wait .2
  1475. $painting2 rotateZdown 20
  1476. waitFor $painting2
  1477. $painting2 rotateZup 8
  1478. waitFor $painting2
  1479. $painting2 rotateZdown 3
  1480. waitFor $painting2
  1481.  
  1482. //$painting2 time .7
  1483. //wait .2
  1484. //$painting2 rotateXup 60
  1485. //$painting2 moveEast 40
  1486. //$painting2 moveDown 64
  1487. //waitFor $painting2
  1488.  
  1489. end
  1490.  
  1491. painting3_thread:
  1492. $painting3 time .4
  1493.  
  1494. $painting3 ondamage painting3_sequence
  1495. pause
  1496.  
  1497. painting3_sequence:
  1498. $painting3 nodamage
  1499. wait .2
  1500. $painting3 rotateZup 30
  1501. waitFor $painting3
  1502. $painting3 rotateZdown 8
  1503. waitFor $painting3
  1504. $painting3 rotateZup 3
  1505. waitFor $painting3
  1506. end
  1507.  
  1508. painting4_thread:
  1509. $painting4 time .4
  1510.  
  1511. $painting4 ondamage painting4_sequence
  1512. pause
  1513.  
  1514. painting4_sequence:
  1515. $painting4 nodamage
  1516. wait .2
  1517. $painting4 rotateZdown 40
  1518. waitFor $painting4
  1519. $painting4 rotateZup 12
  1520. waitFor $painting4
  1521. $painting4 rotateZdown 5
  1522. waitFor $painting4
  1523. end
  1524.  
  1525. painting5_thread:
  1526. $painting5 time .4
  1527.  
  1528. $painting5 ondamage painting5_sequence
  1529. pause
  1530.  
  1531. painting5_sequence:
  1532. $painting5 nodamage
  1533. wait .2
  1534. $painting5 rotateXdown 20
  1535. waitFor $painting5
  1536. $painting5 rotateXup 8
  1537. waitFor $painting5
  1538. $painting5 rotateXdown 4
  1539. waitFor $painting5
  1540. end
  1541.  
  1542. painting6_thread:
  1543. $painting6 time .4
  1544.  
  1545. $painting6 ondamage painting6_sequence
  1546. pause
  1547.  
  1548. painting6_sequence:
  1549. $painting6 nodamage
  1550. wait .2
  1551. $painting6 rotateXdown 20
  1552. waitFor $painting6
  1553. $painting6 rotateXup 8
  1554. waitFor $painting6
  1555. $painting6 rotateXdown 4
  1556. waitFor $painting6
  1557. end
  1558.  
  1559.  
  1560.  
  1561. roof_break1_thread:
  1562.  
  1563. game.intro_roof_break1 iflessequal 1 goto roof_break1_not_broken
  1564.  
  1565. roof_break1_sequence:
  1566.  
  1567. $roof_light1 lightstyle "RgGhBm"
  1568. $roof_break1 notsolid
  1569. $roof_break1 hide
  1570. $roof_railing1 notsolid
  1571. $roof_railing1 hide
  1572. goto roof_break1_end
  1573.  
  1574. roof_break1_not_broken:
  1575.  
  1576. $roof_light1 lightstyle "a"
  1577. $roof_debris1 notsolid
  1578. $roof_debris1 hide
  1579. $roof_debris2 notsolid
  1580. $roof_debris2 hide
  1581.  
  1582. $roof_railing1 ondamage roof_railing1_shatter
  1583. pause
  1584.  
  1585. roof_railing1_shatter:
  1586. $roof_railing1 nodamage
  1587. $roof_railing1 shatter "0 0 0" 25 10 35 .25 0
  1588. $roof_railing1 notsolid
  1589. $roof_railing1 hide
  1590.  
  1591. roof_break1_end:
  1592. end
  1593.  
  1594.  
  1595. light_spark_thread:
  1596.  
  1597. local.spark_num = 7
  1598.  
  1599. light_spark_loop:
  1600.  
  1601. parm.light_spark string "$light_sparks"
  1602. parm.spark string "$sparks"
  1603. parm.light_spark appendint local.spark_num
  1604. parm.spark appendint local.spark_num
  1605.  
  1606. thread light_spark_setup_thread
  1607.  
  1608. local.spark_num += 1
  1609. local.spark_num iflessequal 14 goto light_spark_loop
  1610. end
  1611.  
  1612. light_spark_setup_thread:
  1613. local.light_spark string parm.light_spark
  1614. local.spark string parm.spark
  1615. local.light_spark ondamage light_spark_sequence
  1616. pause
  1617.  
  1618. light_spark_sequence:
  1619. local.light_spark nodamage
  1620. trigger local.spark
  1621. end
  1622.  
  1623.  
  1624. sign1_thread:
  1625.  
  1626. $sign1 time .4
  1627.  
  1628. $sign1 ondamage sign1_sequence
  1629. pause
  1630.  
  1631. sign1_sequence:
  1632. $sign1 nodamage
  1633.  
  1634. $sign1 rotateXup 20
  1635. waitFor $sign1
  1636. $sign1 rotateXdown 8
  1637. waitFor $sign1
  1638. $sign1 rotateXup 4
  1639. waitFor $sign1
  1640. end
  1641.  
  1642. sign2_thread:
  1643.  
  1644. $sign2 time .4
  1645.  
  1646. $sign2 ondamage sign2_sequence
  1647. pause
  1648.  
  1649. sign2_sequence:
  1650. $sign2 nodamage
  1651.  
  1652. $sign2 rotateZup 20
  1653. waitFor $sign2
  1654. $sign2 rotateZdown 8
  1655. waitFor $sign2
  1656. $sign2 rotateZup 4
  1657. waitFor $sign2
  1658. end
  1659.  
  1660.  
  1661. no_exit_thread:
  1662.  
  1663. no_exit_start:
  1664. $no_exit ontrigger no_exit_sequence
  1665. pause
  1666.  
  1667. no_exit_sequence:
  1668. $no_exit notrigger
  1669.  
  1670. thread dialog::jc_sightseeing
  1671. local.waitforthread = parm.previousthread
  1672. waitForThread local.waitforthread
  1673. wait 5
  1674. goto no_exit_start
  1675. end
  1676.  
  1677.  
  1678.  
  1679. end_sequence_thread:
  1680.  
  1681. $end_sequence ontrigger end_sequence_begin
  1682. pause
  1683.  
  1684. end_sequence_begin:
  1685. $end_sequence notrigger
  1686. thread dialog::end_of_level
  1687. local.waitforthread = parm.previousthread
  1688. waitForThread local.waitforthread
  1689.  
  1690. end
  1691.  
  1692.  
  1693. quarter_dialog_thread:
  1694.  
  1695. $quarter_dialog ontrigger quarter_dialog_sequence
  1696. pause
  1697.  
  1698. quarter_dialog_sequence:
  1699. $quarter_dialog notrigger
  1700.  
  1701. thread dialog::blade_finds_quarter1
  1702. end
  1703.  
  1704.  
  1705. identcard_dialog_thread:
  1706.  
  1707. $identcard_dialog ontrigger identcard_dialog_sequence
  1708. pause
  1709.  
  1710. identcard_dialog_sequence:
  1711. $identcard_dialog notrigger
  1712.  
  1713. //thread dialog::jc_handy1
  1714. thread dialog::jc_interesting1
  1715.  
  1716. end
  1717.  
  1718. cash1_dialog_thread:
  1719.  
  1720. $cash1_dialog ontrigger cash1_dialog_sequence
  1721. pause
  1722.  
  1723. cash1_dialog_sequence:
  1724. $cash1_dialog notrigger
  1725.  
  1726. thread dialog::blade_takes_money1
  1727. end
  1728.  
  1729.  
  1730. cash2_dialog_thread:
  1731.  
  1732. $cash2_dialog ontrigger cash2_dialog_sequence
  1733. pause
  1734.  
  1735. cash2_dialog_sequence:
  1736. $cash2_dialog notrigger
  1737.  
  1738. thread dialog::blade_takes_money2
  1739. end
  1740.  
  1741.  
  1742. furniture_break1_thread:
  1743.  
  1744. $furniture_break1 ontrigger furniture_break1_sequence
  1745. pause
  1746.  
  1747. furniture_break1_sequence:
  1748. $furniture_break1 notrigger
  1749. wait 2
  1750. thread dialog::blade_destroys_furniture2
  1751. end
  1752.  
  1753. furniture_break2_thread:
  1754.  
  1755. $furniture_break2 ontrigger furniture_break2_sequence
  1756. pause
  1757.  
  1758. furniture_break2_sequence:
  1759. $furniture_break2 notrigger
  1760. wait 2
  1761. thread dialog::blade_destroys_furniture4
  1762. end
  1763.  
  1764. furniture_break3_thread:
  1765.  
  1766. $furniture_break3 ontrigger furniture_break3_sequence
  1767. pause
  1768.  
  1769. furniture_break3_sequence:
  1770. $furniture_break3 notrigger
  1771. wait 2
  1772. thread dialog::blade_destroys_property8
  1773. end
  1774.  
  1775. furniture_break4_thread:
  1776.  
  1777. $furniture_break4 ontrigger furniture_break4_sequence
  1778. pause
  1779.  
  1780. furniture_break4_sequence:
  1781. $furniture_break4 notrigger
  1782. wait 2
  1783. thread dialog::blade_destroys_property2
  1784. end
  1785.  
  1786. plant_break1_thread:
  1787.  
  1788. $plant_break1 ontrigger plant_break1_sequence
  1789. pause
  1790.  
  1791. plant_break1_sequence:
  1792. $plant_break1 notrigger
  1793.  
  1794. wait 2
  1795. thread dialog::blade_destroys_plant
  1796. end
  1797.  
  1798.  
  1799. helicopter_sound_thread:
  1800.  
  1801. $helicopter_sound playsound vehicle/helicopt/flyloop.wav 3.0
  1802. wait .6
  1803. $helicopter_sound playsound vehicle/helicopt/flyloop.wav 2.0
  1804. wait .3
  1805. $helicopter_sound playsound vehicle/helicopt/flyloop.wav 1.0
  1806. wait .3
  1807. $helicopter_sound playsound vehicle/helicopt/flyloop.wav .5
  1808. wait .3
  1809. $helicopter_sound playsound vehicle/helicopt/flyloop.wav .25
  1810. wait .3
  1811. $helicopter_sound stopsound
  1812. end
  1813.  
  1814.  
  1815. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1816. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1817. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1818. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1819. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1820. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1821. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1822. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1823. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1824. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1825. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1826. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1827. //&&&&&&&&&&&&&&&&&&#################!!!!!!!!!!!!!!!!!!!!
  1828.  
  1829.  
  1830. table_init_thread:
  1831. $table1 time .3
  1832.  
  1833. $table1 ontrigger table1_rotate_sequence
  1834. pause
  1835.  
  1836. table1_rotate_sequence:
  1837. $table1 notrigger
  1838. $table1 rotateXup 75
  1839. waitFor $table1
  1840.  
  1841. $table1 ondamage table1_damage_sequence
  1842. pause
  1843.  
  1844. table1_damage_sequence:
  1845.  
  1846. $table1 nodamage
  1847. trigger $h1
  1848. $table1 notsolid
  1849. $table1 hide
  1850. end
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856. thug1_patrol_thread:
  1857.  
  1858. local.self respondto act_killed thug1a_spawn
  1859. local.self respondto act_activated thug1_patrol_loop
  1860. pause
  1861.  
  1862. thug1_patrol_loop:
  1863. local.self ignore act_activated
  1864. local.self walkto $node2
  1865. waitFor local.self
  1866. local.self walkto $node3
  1867. waitFor local.self
  1868. local.self walkto $node4
  1869. waitFor local.self
  1870. local.self anim guerilla_talk
  1871. wait 5
  1872. local.self walkto $node3
  1873. waitFor local.self
  1874. local.self walkto $node2
  1875. waitFor local.self
  1876. local.self walkto $node1
  1877. waitFor local.self
  1878. goto thug1_patrol_loop
  1879.  
  1880. thug1a_spawn:
  1881. *1 playsound snd_taunt1
  1882. //trigger $thug1a_trigger
  1883. //wait .1
  1884. $thug1a thread thug1a_thread
  1885. end
  1886.  
  1887.  
  1888. thug1a_thread:
  1889.  
  1890. local.self respondto act_idle thug1a_patrol_loop
  1891. local.self state act_idle
  1892. pause
  1893.  
  1894. thug1a_patrol_loop:
  1895. local.self walkto $node2
  1896. waitFor local.self
  1897. local.self walkto $node1
  1898. waitFor local.self
  1899. local.self walkto $node2
  1900. waitFor local.self
  1901. thug1a_patrol2_loop:
  1902. local.self walkto $node3
  1903. waitFor local.self
  1904. local.self walkto $node4
  1905. waitFor local.self
  1906. wait 1
  1907. goto thug1a_patrol2_loop
  1908.  
  1909. end
  1910.  
  1911.  
  1912. thug2_patrol_thread:
  1913.  
  1914. wait 4
  1915.  
  1916. local.self respondto act_idle thug2_patrol_loop
  1917. //local.self respondto act_killed thug2a_spawn
  1918. local.self state act_idle
  1919. pause
  1920.  
  1921.  
  1922. thug2_patrol_loop:
  1923. local.self walkto $node5
  1924. waitFor local.self
  1925. local.self walkto $node6
  1926. waitFor local.self
  1927. local.self walkto $node7
  1928. waitFor local.self
  1929. local.self walkto $node6
  1930. waitFor local.self
  1931. goto thug2_patrol_loop
  1932. end
  1933.  
  1934. thug2a_spawn:
  1935. *1 playsound snd_taunt2
  1936. trigger $thug2a_trigger
  1937. wait .1
  1938. $thug2a thread thug2a_thread
  1939. end
  1940.  
  1941. thug2a_thread:
  1942.  
  1943. local.self respondto act_idle thug2a_patrol_loop
  1944. local.self state act_idle
  1945. pause
  1946.  
  1947. thug2a_patrol_loop:
  1948. local.self walkto $node5
  1949. waitFor local.self
  1950. local.self walkto $node6
  1951. waitFor local.self
  1952. local.self walkto $node7
  1953. waitFor local.self
  1954. goto thug2a_patrol2_loop
  1955.  
  1956. end
  1957.  
  1958.  
  1959.  
  1960. thug3_patrol_thread:
  1961.  
  1962. game.intro_roof_break1 iflessequal 1 goto thug3_patrol_start
  1963.  
  1964. $thug3 remove
  1965. $dead_thug3 kill
  1966.  
  1967. goto thug3_patrol1_bottom
  1968.  
  1969. thug3_patrol_start:
  1970.  
  1971. $dead_thug3 remove
  1972.  
  1973. local.self respondto act_idle thug3_patrol_loop
  1974. local.self state act_idle
  1975.  
  1976. thug3_patrol_loop:
  1977. local.self walkto $node11
  1978. waitFor local.self
  1979. local.self turnto 180
  1980. wait 2
  1981. local.self walkto $node10
  1982. waitFor local.self
  1983. local.self walkto $node9
  1984. waitFor local.self
  1985. local.self turnto 90
  1986. waitFor local.self
  1987. wait 2
  1988. local.self walkto $node10
  1989. waitFor local.self
  1990. goto thug3_patrol_loop
  1991.  
  1992. thug3_patrol1_bottom:
  1993. end
  1994.  
  1995. thug4_patrol_thread:
  1996.  
  1997. wait 4
  1998.  
  1999. local.self respondto act_idle thug4_patrol_loop
  2000. local.self respondto act_killed spawn_thug4a
  2001. local.self state act_idle
  2002. pause
  2003.  
  2004. thug4_patrol_loop:
  2005. local.self walkto $node12
  2006. waitFor local.self
  2007. local.self turnto 0
  2008. waitFor local.self
  2009. wait 2
  2010. local.self walkto $node13
  2011. waitFor local.self
  2012. local.self walkto $node14
  2013. waitFor local.self
  2014. local.self turnto 270
  2015. waitFor local.self
  2016. wait 2
  2017. local.self walkto $node13
  2018. waitFor local.self
  2019. goto thug4_patrol_loop
  2020. end
  2021.  
  2022. spawn_thug4a:
  2023. *1 playsound snd_taunt3
  2024. trigger $thug4a_trigger
  2025. $thug4a thread thug4a_patrol_thread
  2026. end
  2027.  
  2028.  
  2029. thug4a_patrol_thread:
  2030.  
  2031. local.self respondto act_idle thug4a_patrol_loop
  2032. local.self state act_idle
  2033.  
  2034. thug4a_patrol_loop:
  2035. local.self walkto $node19
  2036. waitFor local.self
  2037. local.self walkto $node18
  2038. waitFor local.self
  2039. goto thug4a_patrol_loop
  2040. end
  2041.  
  2042.  
  2043. thug5_patrol_thread:
  2044.  
  2045. local.self respondto act_activated thug5_patrol_loop_start
  2046. pause
  2047.  
  2048. thug5_patrol_loop_start:
  2049. local.self ignore act_activated
  2050. local.self runto $node15
  2051. waitFor local.self
  2052. local.self runto $node16
  2053. waitFor local.self
  2054. local.self runto $node17
  2055. waitFor local.self
  2056.  
  2057. thug5_patrol_loop:
  2058. local.self walkto $node18
  2059. waitFor local.self
  2060. local.self walkto $node19
  2061. waitFor local.self
  2062. goto thug5_patrol_loop
  2063. end
  2064.  
  2065.  
  2066. thug6_patrol_thread:
  2067.  
  2068. local.self respondto act_activated thug6_patrol_loop
  2069. pause
  2070.  
  2071. thug6_patrol_loop:
  2072. local.self walkto $node20
  2073. waitFor local.self
  2074. local.self walkto $node21
  2075. waitFor local.self
  2076. local.self walkto $node22
  2077. waitFor local.self
  2078. local.self walkto $node23
  2079. waitFor local.self
  2080. goto thug6_patrol_loop
  2081. end
  2082.  
  2083.  
  2084. thug7_patrol_thread:
  2085.  
  2086. local.self respondto act_activated thug7_patrol_loop_start
  2087. pause
  2088.  
  2089. thug7_patrol_loop_start:
  2090. local.self walkto $node25
  2091. waitFor local.self
  2092.  
  2093. thug7_patrol_loop:
  2094. local.self walkto $node26
  2095. waitFor local.self
  2096. local.self turnto 180
  2097. waitFor local.self
  2098. wait 2
  2099. local.self walkto $node25
  2100. waitFor local.self
  2101. local.self walkto $node24
  2102. waitFor local.self
  2103. local.self turnto 180
  2104. waitFor local.self
  2105. wait 2
  2106. local.self walkto $node25
  2107. waitFor local.self
  2108. goto thug7_patrol_loop
  2109. end
  2110.  
  2111.  
  2112. thug8a_thread:
  2113. local.self ignore act_runtoarea
  2114. pause
  2115. end
  2116.  
  2117.  
  2118. mancini_thread:
  2119. local.self ignoreall
  2120. local.self respondto act_activated mancini_runaway
  2121. local.self respondto act_idle mancini_idle
  2122. local.self state act_idle
  2123. pause
  2124.  
  2125. mancini_idle:
  2126. local.self anim idle_giving_orders
  2127. pause
  2128. end
  2129.  
  2130. mancini_runaway:
  2131. local.self ignore act_activated
  2132. local.self ignore act_idle
  2133.  
  2134. thread mancini_dialog1_thread
  2135.  
  2136. wait 1
  2137. local.self ignore act_runtoarea
  2138. local.self runto $node27a
  2139. waitFor local.self
  2140. $door4_mancini open
  2141. local.self runto $node27b
  2142. waitFor local.self
  2143. local.self runto $node28
  2144. waitFor local.self
  2145. local.self runto $node29
  2146. waitFor local.self
  2147.  
  2148. $door4_mancini close
  2149. $door4_mancini lock
  2150. $mancini_clip remove
  2151.  
  2152. local.self anim idle_tantrum
  2153. local.self respondto act_activated mancini_runaway2
  2154.  
  2155. level.PObjective5 = 0 // Capture Mancini
  2156. thread BankMissionComputer
  2157. thread dialog::StatusUpdated
  2158.  
  2159. pause
  2160. end
  2161.  
  2162. mancini_runaway2:
  2163. thread mancini_dialog2_thread
  2164. trigger $vault_trigger
  2165. wait 1
  2166.  
  2167. local.self ignore act_activated
  2168. local.self runto $node30
  2169. waitFor local.self
  2170. local.self runto $node31
  2171. waitFor local.self
  2172.  
  2173. wait 3
  2174. thread dialog::blade_needs_vault_combo
  2175.  
  2176. $mancini remove
  2177. end
  2178.  
  2179.  
  2180. mancini_dialog1_thread:
  2181. parm.mancini1 string "$mancini"
  2182. thread dialog::mancini_damn_blade
  2183. local.waitforthread = parm.previousthread
  2184. waitForThread local.waitforthread
  2185. parm.mancini1 string "$mancini"
  2186. parm.thug1 string $thug8a
  2187. thread dialog::mancini_dont_stand_kill
  2188. trigger $thug5_relay
  2189. end
  2190.  
  2191. mancini_dialog2_thread:
  2192. parm.mancini1 string "$mancini"
  2193. thread dialog::mancini_dont_let_him_thru
  2194. local.waitforthread = parm.previousthread
  2195. waitForThread local.waitforthread
  2196. parm.mancini1 string "$mancini"
  2197. thread dialog::mancini_hurry
  2198. end
  2199.  
  2200.  
  2201. mancini2_thread:
  2202.  
  2203. local.self ignoreall
  2204. local.self respondto act_activated mancini_runaway3
  2205. local.self respondto act_idle mancini_idle2
  2206. local.self state act_idle
  2207. pause
  2208.  
  2209. mancini_idle2:
  2210. local.self anim idle_giving_orders
  2211. pause
  2212. end
  2213.  
  2214. mancini_runaway3:
  2215.  
  2216. thread mancini2_dialog1_thread
  2217.  
  2218. //trigger $thug9
  2219. trigger $thug10
  2220. // say, get him?
  2221. wait 1.5
  2222. // jump him into the hole
  2223. local.self    anim    jump_in_hole
  2224. waitFor local.self
  2225. $mancini2 remove
  2226. pause
  2227. end
  2228.  
  2229. mancini2_dialog1_thread:
  2230. parm.thug1 string "$thug9"
  2231. thread dialog::thug_leave_now
  2232. local.waitforthread = parm.previousthread
  2233. waitForThread local.waitforthread
  2234. parm.mancini1 string "$mancini2"
  2235. thread dialog::mancini_call_chopper
  2236. //thread dialog::mancini_call_backup
  2237. end
  2238.  
  2239.  
  2240.  
  2241. thug9_thread:
  2242.  
  2243. local.self ignoreall
  2244. local.self respondto act_activated thug9_sequence
  2245. pause
  2246.  
  2247. thug9_sequence:
  2248. wait .5
  2249. local.self walkto $node33
  2250. waitFor local.self
  2251. local.self ignore act_runtoarea
  2252. pause
  2253. end
  2254.  
  2255. thug10_thread:
  2256.  
  2257. local.self respondto act_activated thug10_patrol_sequence
  2258. pause
  2259.  
  2260. thug10_patrol_sequence:
  2261.  
  2262. local.self walkto $node33
  2263. waitFor local.self
  2264. local.self walkto $node34
  2265. waitFor local.self
  2266. goto thug10_patrol_sequence
  2267.  
  2268. end
  2269.  
  2270.  
  2271. hostage1_thread:
  2272.  
  2273. local.self    ignoreall
  2274.  
  2275. local.self    respondto    act_activated hostage1_run_for_help
  2276. local.self    respondto    act_killed hostage1_killed
  2277. local.self    respondto    act_idle hostage1_idle
  2278. local.self    state        act_idle
  2279. pause
  2280.  
  2281.  
  2282. hostage1_run_for_help:
  2283. $hostage1_door open
  2284. local.self runto $node35
  2285. waitFor local.self
  2286. $thug11 state act_activated
  2287. local.self runto $node36
  2288. waitFor local.self
  2289. $hostage1_door close
  2290.  
  2291. local.self    ignoreall
  2292. local.self    respondto    act_killed hostage1_killed
  2293. local.self    respondto    act_idle hostage1_idle
  2294. local.self    state        act_idle
  2295.  
  2296. end
  2297.  
  2298. hostage1_idle:
  2299. local.self    anim    civfem_cowering
  2300. waitFor local.self
  2301. pause
  2302. goto hostage1_idle
  2303.  
  2304. hostage1_killed:
  2305. level.HostagesKilled += 1
  2306. thread check_hostagebodycount_thread
  2307. end
  2308.  
  2309.  
  2310. thug11_thread:
  2311.  
  2312. local.self respondto act_activated thug11_kill_hostage1
  2313. pause
  2314.  
  2315. thug11_kill_hostage1:
  2316. local.self runto $node35a
  2317. waitFor local.self
  2318. slocal.self runto $node35
  2319. waitFor local.self
  2320. local.self attack $hostage1
  2321. end
  2322.  
  2323.  
  2324. thug12_thread:
  2325.  
  2326. local.self respondto act_activated thug12_duck_and_shoot
  2327. pause
  2328.  
  2329. thug12_duck_and_shoot:
  2330. trigger $table1
  2331. end
  2332.  
  2333. thug13_thread:
  2334.  
  2335. local.self ignore act_runtoarea
  2336.  
  2337. local.self respondto act_activated thug13_duck_and_shoot
  2338. pause
  2339.  
  2340. thug13_duck_and_shoot:
  2341. end
  2342.  
  2343.  
  2344. thug14_thread:
  2345.  
  2346. local.self respondto act_activated thug14_patrol_sequence
  2347. pause
  2348.  
  2349. thug14_patrol_sequence:
  2350.  
  2351. local.self walkto $node37
  2352. waitFor local.self
  2353. local.self walkto $node38
  2354. waitFor local.self
  2355. goto thug14_patrol_sequence
  2356. end
  2357.  
  2358.  
  2359. thug15_thread:
  2360.  
  2361. local.self respondto act_killed thug15_killed_sequence
  2362. pause
  2363.  
  2364. thug15_killed_sequence:
  2365. *1 playsound snd_taunt4
  2366. trigger $thug15a_trigger
  2367. wait .1
  2368. $thug15a thread thug15a_thread
  2369. end
  2370.  
  2371. thug15a_thread:
  2372.  
  2373. local.self respondto act_idle thug15a_patrol_sequence
  2374. local.self state act_idle
  2375. pause
  2376.  
  2377. thug15a_patrol_sequence:
  2378.  
  2379. local.self walkto $node4
  2380. waitFor local.self
  2381. local.self walkto $node3
  2382. waitFor local.self
  2383. local.self walkto $node2
  2384. waitFor local.self
  2385. local.self walkto $node3
  2386. waitFor local.self
  2387. goto thug15a_patrol_sequence
  2388. end
  2389.  
  2390.  
  2391.  
  2392. thug16_thread:
  2393.  
  2394. local.self respondto act_killed thug16_killed_sequence
  2395. pause
  2396.  
  2397. thug16_killed_sequence:
  2398. *1 playsound snd_taunt3
  2399. trigger $thug16a_trigger
  2400. wait .1
  2401. $thug16a thread thug16a_thread
  2402. end
  2403.  
  2404. thug16a_thread:
  2405.  
  2406. local.self respondto act_idle thug16a_patrol_sequence
  2407. local.self state act_idle
  2408. pause
  2409.  
  2410. thug16a_patrol_sequence:
  2411.  
  2412. local.self walkto $node10
  2413. waitFor local.self
  2414. local.self walkto $node11
  2415. waitFor local.self
  2416. local.self walkto $node10
  2417. waitFor local.self
  2418. local.self walkto $node9
  2419. waitFor local.self
  2420. goto thug16a_patrol_sequence
  2421. end
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428. //$flee1
  2429. //$flee6
  2430. //$node15
  2431. //$node18
  2432. //$flee7
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451. //=====================
  2452. repel_thugs_init_thread:
  2453.  
  2454. local.index = 1
  2455.  
  2456. repel_thugs_init_loop:
  2457.  
  2458. parm.thugname string    "$repel_thug"
  2459. parm.thugname appendint local.index
  2460. thread repel_thug_thread
  2461.  
  2462. local.index += 1
  2463.  
  2464. local.index iflessequal 11 goto repel_thugs_init_loop
  2465.  
  2466. end
  2467. //=====================
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475. //===============
  2476. repel_thug_thread:
  2477.  
  2478. local.thugname string parm.thugname
  2479. local.rope  string local.thugname
  2480. local.rope  append "_rope"
  2481.  
  2482. local.rope hide
  2483. local.rope notsolid
  2484.  
  2485. local.rope ontrigger cast_repeller
  2486. pause
  2487.  
  2488. cast_repeller:
  2489.  
  2490. local.rope notrigger
  2491.  
  2492. parm.thugname string local.thugname
  2493. local.thugname thread repel_thug
  2494. end
  2495. //=====
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501. //=========
  2502. repel_thug:
  2503.  
  2504. local.thugname string parm.thugname
  2505.  
  2506. local.node1 string local.thugname
  2507. local.node1 append "_node1"
  2508. local.node2 string local.thugname
  2509. local.node2 append "_node2"
  2510. local.node3 string local.thugname
  2511. local.node3 append "_node3"
  2512. local.rope  string local.thugname
  2513. local.rope  append "_rope"
  2514. local.glass string local.thugname
  2515. local.glass append "_glass"
  2516.  
  2517. local.self ignore act_sightenemy
  2518. local.self ignore act_weaponsound act_movementsound act_painsound
  2519. local.self ignore act_deathsound act_breakingsound
  2520. local.self ignore act_doorsound act_mutantsound act_voicesound
  2521. local.self ignore act_machinesound act_radiosound
  2522. local.self ignore act_activated act_use
  2523. local.self respondto repel repel_waitfortrigger
  2524. local.self state repel
  2525.  
  2526. repel_waitfortrigger:
  2527.  
  2528. local.thugname runto local.node1
  2529. waitFor local.thugname
  2530.  
  2531. wait 0.1
  2532.  
  2533. local.rope show
  2534. //local.rope solid
  2535.  
  2536. local.thugname behavior Repel "repel1" local.node3 48
  2537. waitFor local.thugname
  2538.  
  2539. wait 0.1
  2540.  
  2541. //local.rope hide
  2542. //local.rope notsolid
  2543.  
  2544. local.self behavior FireFromCover "run"
  2545. waitFor local.self
  2546.  
  2547. local.self state act_idle
  2548.  
  2549. local.self ifstrequal "repel_thug5" goto setup_repel_thug5
  2550. local.self ifstrequal "repel_thug6" goto setup_repel_thug6
  2551. local.self ifstrequal "repel_thug6" goto setup_repel_thug7
  2552. goto repel_done
  2553.  
  2554. setup_repel_thug5:
  2555. local.self ignore act_runtoarea
  2556. pause
  2557. goto repel_done
  2558.  
  2559. setup_repel_thug6:
  2560. local.self ignore act_runtoarea
  2561. pause
  2562. goto repel_done
  2563.  
  2564. setup_repel_thug7:
  2565. local.self ignore act_runtoarea
  2566. local.self attack *1
  2567. pause
  2568. goto repel_done
  2569.  
  2570. repel_done:
  2571.  
  2572. end
  2573. //======
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606. //======================
  2607. random_noise_init_thread:
  2608.  
  2609. local.index = 1
  2610.  
  2611. random_noise_init_loop:
  2612.  
  2613. parm.index = local.index
  2614.  
  2615. thread random_noise_thread
  2616.  
  2617. local.index += 1
  2618.  
  2619. local.index iflessequal 6 goto random_noise_init_loop
  2620.  
  2621. end
  2622. //=====================
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630. //=================
  2631. random_noise_thread:
  2632.  
  2633. local.index = parm.index
  2634.  
  2635. random_noise_loop:
  2636.  
  2637. parm.actor1 string    "$random_noise0"
  2638. parm.actor1 appendint local.index
  2639. parm.actor2 string    "$random_noise0"
  2640. parm.actor2 appendint local.index
  2641.  
  2642. thread dialog::combat_three
  2643. waitForThread parm.previousthread
  2644.  
  2645. local.hangtime randomint 120
  2646.  
  2647. wait local.hangtime
  2648.  
  2649. parm.actor1 string    "$random_noise0"
  2650. parm.actor1 appendint local.index
  2651. parm.actor2 string    "$random_noise0"
  2652. parm.actor2 appendint local.index
  2653. thread dialog::combat_five
  2654. waitForThread parm.previousthread
  2655.  
  2656. local.hangtime randomint 120
  2657.  
  2658. wait local.hangtime
  2659.  
  2660. parm.actor1 string    "$random_noise0"
  2661. parm.actor1 appendint local.index
  2662. parm.actor2 string    "$random_noise0"
  2663. parm.actor2 appendint local.index
  2664. thread dialog::combat_seven
  2665. waitForThread parm.previousthread
  2666.  
  2667. local.hangtime randomint 120
  2668.  
  2669. wait local.hangtime
  2670.  
  2671. parm.actor1 string    "$random_noise0"
  2672. parm.actor1 appendint local.index
  2673. parm.actor2 string    "$random_noise0"
  2674. parm.actor2 appendint local.index
  2675.  
  2676. thread dialog::combat_one
  2677. waitForThread parm.previousthread
  2678.  
  2679. local.hangtime randomint 120
  2680.  
  2681. wait local.hangtime
  2682.  
  2683. parm.actor1 string    "$random_noise0"
  2684. parm.actor1 appendint local.index
  2685. parm.actor2 string    "$random_noise0"
  2686. parm.actor2 appendint local.index
  2687. thread dialog::combat_two
  2688. waitForThread parm.previousthread
  2689.  
  2690. local.hangtime randomint 120
  2691.  
  2692. wait local.hangtime
  2693.  
  2694. parm.actor1 string    "$random_noise0"
  2695. parm.actor1 appendint local.index
  2696. parm.actor2 string    "$random_noise0"
  2697. parm.actor2 appendint local.index
  2698. thread dialog::combat_four
  2699. waitForThread parm.previousthread
  2700.  
  2701. local.hangtime randomint 120
  2702.  
  2703. wait local.hangtime
  2704.  
  2705. parm.actor1 string    "$random_noise0"
  2706. parm.actor1 appendint local.index
  2707. parm.actor2 string    "$random_noise0"
  2708. parm.actor2 appendint local.index
  2709. thread dialog::combat_six
  2710. waitForThread parm.previousthread
  2711.  
  2712. local.hangtime randomint 120
  2713.  
  2714. wait local.hangtime
  2715.  
  2716. goto random_noise_loop
  2717.  
  2718. end
  2719. //======
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733. // Pat modifications ------------------------------------------------------
  2734. // Pat modifications ------------------------------------------------------
  2735. // Pat modifications ------------------------------------------------------
  2736. // Pat modifications ------------------------------------------------------
  2737. //---------------------------------------------------------------
  2738. // bank_finished_thread
  2739. //---------------------------------------------------------------
  2740. bank_finished_thread:
  2741.  
  2742. $bank_finished ontrigger bank_finished
  2743. pause
  2744.  
  2745. bank_finished:
  2746. $bank_finished notrigger
  2747.  
  2748. //fadeout 1 0 0 0
  2749. wait 1
  2750. menu outtro
  2751.  
  2752. end // bank_finished_thread
  2753.  
  2754.  
  2755. //---------------------------------------------------------------
  2756. // security_key_thread
  2757. //---------------------------------------------------------------
  2758. security_key_thread:
  2759.  
  2760. $security_key_found ontrigger security_key_found
  2761. pause
  2762.  
  2763. security_key_found:
  2764. $security_key_found notrigger
  2765.  
  2766. level.PObjective2 = 1 // Locate Security Office Key
  2767. level.PObjective3 = 0 // Gain Access To Security Room
  2768. thread BankMissionComputer
  2769.  
  2770. thread dialog::PObjectiveComplete
  2771. local.waitforthread = parm.previousthread
  2772. waitForThread local.waitforthread
  2773.  
  2774. thread dialog::StatusUpdated
  2775.  
  2776. end // security_key_thread
  2777.  
  2778.  
  2779. //---------------------------------------------------------------
  2780. // security_room_entered_thread
  2781. //---------------------------------------------------------------
  2782. security_room_entered_thread:
  2783.  
  2784. $security_room_entered ontrigger security_room_entered
  2785. pause
  2786.  
  2787. security_room_entered:
  2788. $security_room_entered notrigger
  2789.  
  2790. level.PObjective3 = 1 // Gain Access To Security Room
  2791. level.PObjective4 = 0 // Gain Access To The Vault
  2792. thread BankMissionComputer
  2793.  
  2794. thread dialog::PObjectiveComplete
  2795. local.waitforthread = parm.previousthread
  2796. waitForThread local.waitforthread
  2797.  
  2798. thread dialog::StatusUpdated
  2799.  
  2800.  
  2801. end // security_room_entered_thread
  2802.  
  2803.  
  2804. //---------------------------------------------------------------
  2805. // security_doors_unlocked_thread
  2806. //---------------------------------------------------------------
  2807. security_doors_unlocked_thread:
  2808.  
  2809. level.SecurityDoorsUnlockedOnce = 1
  2810.  
  2811. level.SObjective1 = 1 // Unlock All Security Doors
  2812. thread BankMissionComputer
  2813. thread dialog::StatusUpdated
  2814.  
  2815. end // security_doors_unlocked_thread
  2816.  
  2817.  
  2818. //---------------------------------------------------------------
  2819. // hostage_init_thread
  2820. //---------------------------------------------------------------
  2821. hostage_init_thread:
  2822.  
  2823. // hostage1 thread is handled elsewhere in the script
  2824. $hostage2 thread hostage2_thread
  2825. $hostage3 thread hostage3_thread
  2826. $hostage4 thread hostage4_thread
  2827. $hostage5 thread hostage5_thread
  2828. $hostage6 thread hostage6_thread
  2829. $hostage7 thread hostage7_thread
  2830.  
  2831. end // hostage_init_thread
  2832.  
  2833.  
  2834. //---------------------------------------------------------------
  2835. // hostage2_thread
  2836. //---------------------------------------------------------------
  2837. hostage2_thread:
  2838. local.self    ignoreall
  2839.  
  2840. local.self    respondto    act_killed    hostage2_killed
  2841. local.self    respondto    act_idle    hostage2_idle
  2842. local.self    state        act_idle    hostage2_idle
  2843. pause
  2844.  
  2845. hostage2_idle:
  2846. local.self    anim    civfem_cowering
  2847. waitFor local.self
  2848. pause
  2849. goto hostage2_idle
  2850.  
  2851. hostage2_killed:
  2852. level.HostagesKilled += 1
  2853. thread check_hostagebodycount_thread
  2854.  
  2855. end // hostage2_thread
  2856.  
  2857.  
  2858. //---------------------------------------------------------------
  2859. // hostage3_thread
  2860. //---------------------------------------------------------------
  2861. hostage3_thread:
  2862. local.self    ignoreall
  2863.  
  2864. local.self    respondto    act_killed    hostage3_killed
  2865. local.self    respondto    act_idle    hostage3_idle
  2866. local.self    state        act_idle    hostage3_idle
  2867. pause
  2868.  
  2869. hostage3_idle:
  2870. local.self    anim    civfem_cowering
  2871. waitFor local.self
  2872. pause
  2873. goto hostage3_idle
  2874.  
  2875. hostage3_killed:
  2876. level.HostagesKilled += 1
  2877. thread check_hostagebodycount_thread
  2878.  
  2879. end // hostage3_thread
  2880.  
  2881.  
  2882. //---------------------------------------------------------------
  2883. // hostage4_thread
  2884. //---------------------------------------------------------------
  2885. hostage4_thread:
  2886. local.self    ignoreall
  2887.  
  2888. local.self    respondto    act_killed    hostage4_killed
  2889. local.self    respondto    act_idle    hostage4_idle
  2890. local.self    state        act_idle    hostage4_idle
  2891. pause
  2892.  
  2893. hostage4_idle:
  2894. local.self    anim    idle
  2895. waitFor local.self
  2896. pause
  2897. goto hostage4_idle
  2898.  
  2899. hostage4_killed:
  2900. level.HostagesKilled += 1
  2901. thread check_hostagebodycount_thread
  2902.  
  2903. end // hostage4_thread
  2904.  
  2905.  
  2906. //---------------------------------------------------------------
  2907. // hostage5_thread
  2908. //---------------------------------------------------------------
  2909. hostage5_thread:
  2910. local.self    ignoreall
  2911.  
  2912. local.self    respondto    act_killed    hostage5_killed
  2913. local.self    respondto    act_idle    hostage5_idle
  2914. local.self    state        act_idle    hostage5_idle
  2915. pause
  2916.  
  2917. hostage5_idle:
  2918. local.self    anim    idle
  2919. waitFor local.self
  2920. pause
  2921. goto hostage5_idle
  2922.  
  2923. hostage5_killed:
  2924. level.HostagesKilled += 1
  2925. thread check_hostagebodycount_thread
  2926.  
  2927. end // hostage5_thread
  2928.  
  2929.  
  2930. //---------------------------------------------------------------
  2931. // hostage6_thread
  2932. //---------------------------------------------------------------
  2933. hostage6_thread:
  2934. local.self    ignoreall
  2935.  
  2936. local.self    respondto    act_killed    hostage6_killed
  2937. local.self    respondto    act_idle    hostage6_idle
  2938. local.self    state        act_idle    hostage6_idle
  2939. pause
  2940.  
  2941. hostage6_idle:
  2942. local.self    anim    civfem_cowering
  2943. waitFor local.self
  2944. pause
  2945. goto hostage6_idle
  2946.  
  2947. hostage6_killed:
  2948. level.HostagesKilled += 1
  2949. thread check_hostagebodycount_thread
  2950.  
  2951. end // hostage6_thread
  2952.  
  2953.  
  2954. //---------------------------------------------------------------
  2955. // hostage7_thread
  2956. //---------------------------------------------------------------
  2957. hostage7_thread:
  2958. local.self    ignoreall
  2959.  
  2960. local.self    respondto    act_killed    hostage7_killed
  2961. local.self    respondto    act_idle    hostage7_idle
  2962. local.self    state        act_idle    hostage7_idle
  2963. pause
  2964.  
  2965. hostage7_idle:
  2966. local.self    anim    idle
  2967. waitFor local.self
  2968. pause
  2969. goto hostage7_idle
  2970.  
  2971. hostage7_killed:
  2972. level.HostagesKilled += 1
  2973. thread check_hostagebodycount_thread
  2974.  
  2975. end // hostage7_thread
  2976.  
  2977.  
  2978. //---------------------------------------------------------------
  2979. // check_hostagebodycount_thread
  2980. //---------------------------------------------------------------
  2981. check_hostagebodycount_thread:
  2982.  
  2983. level.HostagesKilled += 1
  2984.  
  2985. local.skilllevel getcvar skill
  2986. local.AllowKilled = 4
  2987. local.AllowKilled -= local.skilllevel
  2988.  
  2989. level.HostagesKilled ifless local.AllowKilled goto hostage_killed_done
  2990.  
  2991. level.SObjective2 = 2 // Minimize Hostage Casualties
  2992. thread BankMissionComputer
  2993. thread dialog::SObjectiveFailed
  2994.  
  2995. hostage_killed_done:
  2996.  
  2997. end // check_hostagebodycount_thread
  2998.  
  2999.  
  3000. //---------------------------------------------------------------
  3001. // pat_thug2_node1_thread
  3002. //---------------------------------------------------------------
  3003. pat_thug2_node1_thread:
  3004.  
  3005. local.self respondto act_activated pat_thug2_respond
  3006. pause
  3007.  
  3008. pat_thug2_respond:
  3009. local.self runto $pat_thug2_node1
  3010. waitFor local.self
  3011.  
  3012. end // pat_thug2_node1_thread
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018. // Wieder modifications ---------------------------------------------------
  3019. // Wieder modifications ---------------------------------------------------
  3020. // Wieder modifications ---------------------------------------------------
  3021. // Wieder modifications ---------------------------------------------------
  3022.  
  3023. // Wieder modifications ---------------------------------------------------
  3024. // Wieder modifications ---------------------------------------------------
  3025. // Wieder modifications ---------------------------------------------------
  3026. // Wieder modifications ---------------------------------------------------
  3027.  
  3028. // Wieder modifications ---------------------------------------------------
  3029. // Wieder modifications ---------------------------------------------------
  3030. // Wieder modifications ---------------------------------------------------
  3031. // Wieder modifications ---------------------------------------------------
  3032.  
  3033. //---------------------------------------------------------------
  3034. // SecMenu_Thread
  3035. //---------------------------------------------------------------
  3036. SecMenu_Thread:
  3037. wait 3
  3038. level.VaultCombo1 randomint 8
  3039. level.VaultCombo1 += 1
  3040. level.VaultCombo2 randomint 8
  3041. level.VaultCombo2 += 1
  3042. level.description = 0
  3043. level.doors_locked = 0
  3044. $door_locked1 lock
  3045. $door_locked2 lock
  3046. $door_locked3 lock
  3047. $door_locked4 lock
  3048. $door_locked5 lock
  3049.  
  3050. local.sec_console string "con_security"
  3051. local.sec_consoleobject string "%con_security"
  3052. local.sec_consoleobject confraction .3
  3053. goto SecMenu_Main_Input
  3054.  
  3055. //---------------------------------------------------------------
  3056. SecMenu_Main_Input:
  3057. local.CustomerName string "--------"
  3058. local.CustomerNumber string "--------"
  3059. local.CustomerPIN string "--------"
  3060. local.sec_consoleobject conclear
  3061. local.sec_consoleobject confraction .3
  3062. local.sec_consoleobject conmenufile "menus/bank.001"
  3063. local.PrintString string "xl 280 yt -350 fc 0.5 0.5 0.5 1 string \""
  3064. level.doors_locked ifequal 0 local.PrintString append "LOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3065. level.doors_locked ifequal 1 local.PrintString append "UNLOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3066. level.description ifequal 0 local.PrintString append "HIGH\""
  3067. level.description ifequal 1 local.PrintString append "LOW\""
  3068. local.sec_consoleobject conlayout local.PrintString
  3069. local.sec_consoleobject focus menu
  3070. waitForConsole local.sec_console
  3071. local.secinput coninput local.sec_console
  3072. goto SecMenu_Main_ProcessInput
  3073.  
  3074. SecMenu_Main_ProcessInput:
  3075. local.secinput ifequal 1 goto SecMenu_Doors_Input
  3076. local.secinput ifequal 2 goto SecMenu_Vault_Input
  3077. local.secinput ifequal 3 goto SecMenu_Account_Input
  3078. local.secinput ifequal 4 goto SecMenu_Prompt_Input
  3079. goto SecMenu_Main_Input
  3080.  
  3081. //---------------------------------------------------------------
  3082. SecMenu_Doors_Input:
  3083. local.sec_consoleobject conclear
  3084. level.doors_locked ifequal 0 local.sec_consoleobject conmenufile "menus/bank.002"
  3085. level.doors_locked ifequal 1 local.sec_consoleobject conmenufile "menus/bank.003"
  3086. local.PrintString string "xl 280 yt -350 fc 0.5 0.5 0.5 1 string \""
  3087. level.doors_locked ifequal 0 local.PrintString append "LOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3088. level.doors_locked ifequal 1 local.PrintString append "UNLOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3089. level.description ifequal 0 local.PrintString append "HIGH\""
  3090. level.description ifequal 1 local.PrintString append "LOW\""
  3091. local.sec_consoleobject conlayout local.PrintString
  3092. waitForConsole local.sec_console
  3093. local.secinput coninput local.sec_console
  3094. goto SecMenu_Doors_ProcessInput
  3095.  
  3096. SecMenu_Doors_ProcessInput:
  3097. local.secinput ifequal 2 goto SecMenu_Main_Input
  3098. level.doors_locked *= -1
  3099. level.doors_locked += 1
  3100. level.SecurityDoorsUnlockedOnce ifequal 0 thread security_doors_unlocked_thread
  3101. level.doors_locked ifequal 1 $door_locked1 unlock
  3102. level.doors_locked ifequal 1 $door_locked2 unlock
  3103. level.doors_locked ifequal 1 $door_locked3 unlock
  3104. level.doors_locked ifequal 1 $door_locked4 unlock
  3105. level.doors_locked ifequal 1 $door_locked5 unlock
  3106. level.doors_locked ifequal 1 $door4_mancini unlock
  3107. level.doors_locked ifequal 0 $door_locked1 lock
  3108. level.doors_locked ifequal 0 $door_locked2 lock
  3109. level.doors_locked ifequal 0 $door_locked3 lock
  3110. level.doors_locked ifequal 0 $door_locked4 lock
  3111. level.doors_locked ifequal 0 $door_locked5 lock
  3112. level.doors_locked ifequal 0 $door4_mancini lock
  3113. goto SecMenu_Doors_Input
  3114.  
  3115. //---------------------------------------------------------------
  3116. SecMenu_Vault_Input:
  3117. local.sec_consoleobject conclear
  3118. level.description ifequal 0 local.sec_consoleobject conmenufile "menus/bank.004"
  3119. level.description ifequal 1 local.sec_consoleobject conmenufile "menus/bank.005"
  3120. local.PrintString string "xl 280 yt -350 fc 0.5 0.5 0.5 1 string \""
  3121. level.doors_locked ifequal 0 local.PrintString append "LOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3122. level.doors_locked ifequal 1 local.PrintString append "UNLOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3123. level.description ifequal 0 local.PrintString append "HIGH\""
  3124. level.description ifequal 1 local.PrintString append "LOW\""
  3125. local.sec_consoleobject conlayout local.PrintString
  3126. waitForConsole local.sec_console
  3127. local.secinput coninput local.sec_console
  3128. goto SecMenu_Vault_ProcessInput
  3129.  
  3130. SecMenu_Vault_ProcessInput:
  3131. local.secinput ifequal 2 goto SecMenu_Vault_ViewPasscode
  3132. local.secinput ifequal 3 goto SecMenu_Main_Input
  3133. level.description *= -1
  3134. level.description += 1
  3135. level.description ifequal 0 $camgun1 activate
  3136. level.description ifequal 0 $camgun2 activate
  3137. level.description ifequal 1 $camgun1 deactivate
  3138. level.description ifequal 1 $camgun2 deactivate
  3139. goto SecMenu_Vault_Input
  3140.  
  3141. SecMenu_Vault_ViewPasscode:
  3142. local.sec_consoleobject conclear
  3143. local.sec_consoleobject conmenufile "menus/bank.006"
  3144. local.PrintString string "xl 140 yt -210 fc 0.5 0.5 0.5 1 string \"                     "
  3145. local.PrintString appendint level.VaultCombo1
  3146. local.PrintString append "\" xl 140 yt -240 fc 0.5 0.5 0.5 1 string \"                     "
  3147. local.PrintString appendint level.VaultCombo2
  3148. local.PrintString append "\" xl 280 yt -350 fc 0.5 0.5 0.5 1 string \""
  3149. level.doors_locked ifequal 0 local.PrintString append "LOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3150. level.doors_locked ifequal 1 local.PrintString append "UNLOCKED\" xl 280 yt -400 fc 0.5 0.5 0.5 1 string \""
  3151. level.description ifequal 0 local.PrintString append "HIGH\""
  3152. level.description ifequal 1 local.PrintString append "LOW\""
  3153. local.sec_consoleobject conlayout local.PrintString
  3154. waitForConsole local.sec_console
  3155. local.secinput coninput local.sec_console
  3156. goto SecMenu_Vault_Input
  3157.  
  3158. //---------------------------------------------------------------
  3159. SecMenu_Account_Input:
  3160. local.sec_consoleobject conclear
  3161. local.sec_consoleobject conmenufile "menus/bank.007"
  3162. local.PrintString string "xl 260 yt -230 fc 0.5 0.5 0.5 1 string \""
  3163. local.PrintString append local.CustomerName
  3164. local.PrintString append "\" xl 260 yt -260 fc 0.5 0.5 0.5 1 string \""
  3165. local.PrintString append local.CustomerNumber
  3166. local.PrintString append "\" xl 260 yt -290 fc 0.5 0.5 0.5 1 string \""
  3167. local.PrintString append local.CustomerPIN
  3168. local.PrintString append "\""
  3169. local.sec_consoleobject conlayout local.PrintString
  3170. local.sec_consoleobject focus console
  3171. waitForConsole local.sec_console
  3172. local.secinput coninput local.sec_console
  3173. goto SecMenu_Account_ProcessInput
  3174.  
  3175. SecMenu_Account_ProcessInput:
  3176. local.secinput ifstrequal "Blade" goto SecMenu_Account_Blade
  3177. local.secinput ifstrequal "blade" goto SecMenu_Account_Blade
  3178. local.secinput ifstrequal "BLADE" goto SecMenu_Account_Blade
  3179. local.secinput ifstrequal "Sinclaire" goto SecMenu_Account_Sinclaire
  3180. local.secinput ifstrequal "sinclaire" goto SecMenu_Account_Sinclaire
  3181. local.secinput ifstrequal "SINCLAIRE" goto SecMenu_Account_Sinclaire
  3182. local.secinput ifstrequal "Exit" goto SecMenu_Main_Input
  3183. local.secinput ifstrequal "exit" goto SecMenu_Main_Input
  3184. local.secinput ifstrequal "EXIT" goto SecMenu_Main_Input
  3185. local.CustomerName string "Invalid Handle"
  3186. local.CustomerNumber string "--------"
  3187. local.CustomerPIN string "--------"
  3188. goto SecMenu_Account_Input
  3189.  
  3190. SecMenu_Account_Blade:
  3191. local.CustomerName string "John R. Blade"
  3192. local.CustomerNumber string "010345"
  3193. local.CustomerPIN string "2019"
  3194. goto SecMenu_Account_Input
  3195.  
  3196. SecMenu_Account_Sinclaire:
  3197. local.CustomerName string "Elexis Sinclaire"
  3198. local.CustomerNumber string "010333"
  3199. local.CustomerPIN string "6969"
  3200. goto SecMenu_Account_Input
  3201.  
  3202. //---------------------------------------------------------------
  3203. SecMenu_Prompt_Input:
  3204. local.CurrentDir string "fcbsec"
  3205. local.sec_consoleobject conclear
  3206. local.sec_consoleobject conclearlayout
  3207. local.sec_consoleobject conmenufile "menus/bank.008"
  3208. local.sec_consoleobject confraction .9
  3209. local.sec_consoleobject focus console
  3210. local.PrintString string "Ultralarge(R) Doorways 36(TM)\n"
  3211. local.PrintString append "(C) Copyright 2015-2037 Ultralarge Corp.\n\n"
  3212. goto SecMenu_Prompt_Input_Loop
  3213.  
  3214. SecMenu_Prompt_Input_Loop:
  3215. local.sec_consoleobject conprint local.PrintString
  3216. waitForConsole local.sec_console
  3217. local.secinput coninput local.sec_console
  3218. goto SecMenu_Prompt_ProcessInput
  3219.  
  3220. SecMenu_Prompt_ProcessInput:
  3221. local.secinput ifstrequal "dir" goto SecMenu_Prompt_Dir
  3222. local.secinput ifstrequal "cd .." goto SecMenu_Prompt_CDDotDot
  3223. local.secinput ifstrequal "cd.." goto SecMenu_Prompt_CDDotDot
  3224. local.secinput ifstrequal "cd fcbsec" goto SecMenu_Prompt_CDUpTo_fcbsec
  3225. local.secinput ifstrequal "cd data" goto SecMenu_Prompt_CDUpTo_fcbsec_data
  3226. local.secinput ifstrequal "cd doorways" goto SecMenu_Prompt_Denied
  3227. local.secinput ifstrequal "type fcbsec.ini" goto SecMenu_Prompt_Type_fcbsecini
  3228. local.secinput ifstrequal "type fcbsec01.pwd" goto SecMenu_Prompt_Type_fcbsec01pwd
  3229. local.secinput ifstrequal "type fcbsec02.pwd" goto SecMenu_Prompt_Type_fcbsec02pwd
  3230. local.secinput ifstrequal "type fcbsec03.pwd" goto SecMenu_Prompt_Type_fcbsec03pwd
  3231. local.secinput ifstrequal "type fcbsec04.pwd" goto SecMenu_Prompt_Type_fcbsec04pwd
  3232. local.secinput ifstrequal "type fcbsec.exe" goto SecMenu_Prompt_Type_fcbsecexe
  3233. local.secinput ifstrequal "type autoexec.bat" goto SecMenu_Prompt_Type_autoexec
  3234. local.secinput ifstrequal "type config.sys" goto SecMenu_Prompt_Type_config
  3235. local.secinput ifstrequal "autoexec" goto SecMenu_Main_Input
  3236. local.secinput ifstrequal "autoexec.bat" SecMenu_Main_Input
  3237. local.secinput ifstrequal "fcbsec" goto SecMenu_Main_Input
  3238. local.secinput ifstrequal "fcbsec.exe" goto SecMenu_Main_Input
  3239. local.secinput ifstrequal "cls" goto SecMenu_Prompt_Cls
  3240. local.secinput ifstrequal "" goto SecMenu_Prompt_Empty
  3241. local.secinput ifstrequal "date" goto SecMenu_Prompt_Date
  3242. local.secinput ifstrequal "help" goto SecMenu_Prompt_Help
  3243. local.secinput ifstrequal "exit" goto SecMenu_Main_Input
  3244. goto SecMenu_Prompt_Invalid
  3245.  
  3246. SecMenu_Prompt_Dir:
  3247. local.CurrentDir ifstrequal "fcbsec_data" goto SecMenu_Prompt_Dir_fcbsec_data
  3248. local.CurrentDir ifstrequal "fcbsec" goto SecMenu_Prompt_Dir_fcbsec
  3249. local.CurrentDir ifstrequal "root" goto SecMenu_Prompt_Dir_root
  3250.  
  3251. SecMenu_Prompt_Dir_fcbsec_data:
  3252. local.CurrentDir string "fcbsec_data"
  3253. local.PrintString string "C:\\>"
  3254. local.PrintString append local.secinput
  3255. local.PrintString append "\n\n"
  3256. local.PrintString append "Volume in drive C is FCBX040\n"
  3257. local.PrintString append "Directory of C:\\fcbsec\\data\n\n"
  3258. local.PrintString append ".            <DIR>         06-24-35 9:12a\n"
  3259. local.PrintString append "..           <DIR>         06-24-35 9:12a\n"
  3260. local.PrintString append "fcbsec01.pwd          110  01-01-37 4:45p\n"
  3261. local.PrintString append "fcbsec02.pwd          110  01-01-37 4:45p\n"
  3262. local.PrintString append "fcbsec03.pwd          110  01-01-37 4:45p\n"
  3263. local.PrintString append "fcbsec04.pwd           12  01-01-37 4:45p\n"
  3264. local.PrintString append "fcbsec.ini             97  01-01-37 4:45p\n\n"
  3265. goto SecMenu_Prompt_Input_Loop
  3266.  
  3267. SecMenu_Prompt_Dir_fcbsec:
  3268. local.CurrentDir string "fcbsec"
  3269. local.PrintString string "C:\\>"
  3270. local.PrintString append local.secinput
  3271. local.PrintString append "\n\n"
  3272. local.PrintString append "Volume in drive C is FCBX040\n"
  3273. local.PrintString append "Directory of C:\\fcbsec\n\n"
  3274. local.PrintString append ".            <DIR>         06-24-35 9:12a\n"
  3275. local.PrintString append "..           <DIR>         06-24-35 9:12a\n"
  3276. local.PrintString append "data         <DIR>         03-10-36 7:55p\n"
  3277. local.PrintString append "fcbsec.exe         21,710  03-10-36 7:57p\n\n"
  3278. goto SecMenu_Prompt_Input_Loop
  3279.  
  3280. SecMenu_Prompt_Dir_root:
  3281. local.CurrentDir string "root"
  3282. local.PrintString string "C:\\>"
  3283. local.PrintString append local.secinput
  3284. local.PrintString append "\n\n"
  3285. local.PrintString append "Volume in drive C is FCBX040\n"
  3286. local.PrintString append "Directory of C:\\n\n"
  3287. local.PrintString append "doorways     <DIR>         06-22-35 3:32a\n"
  3288. local.PrintString append "fcbsec       <DIR>         03-10-36 7:54p\n"
  3289. local.PrintString append "autoexec.bat          156  06-22-35 8:32p\n"
  3290. local.PrintString append "config.sys            145  06-22-35 8:33p\n\n"
  3291. goto SecMenu_Prompt_Input_Loop
  3292.  
  3293. SecMenu_Prompt_CDDotDot:
  3294. local.CurrentDir ifstrequal "fcbsec_data" goto SecMenu_Prompt_CDDownto_fcbsec
  3295. local.CurrentDir ifstrequal "fcbsec" goto SecMenu_Prompt_CDDownto_root
  3296. local.CurrentDir ifstrequal "root" goto SecMenu_Prompt_CDDownto_root
  3297.  
  3298. SecMenu_Prompt_CDUpTo_fcbsec_data:
  3299. local.CurrentDir ifstrnotequal "fcbsec" goto SecMenu_Prompt_Invalid
  3300. local.PrintString string "C:\\>"
  3301. local.PrintString append local.secinput
  3302. local.PrintString append "\n\n"
  3303. local.CurrentDir string "fcbsec_data"
  3304. goto SecMenu_Prompt_Input_Loop
  3305.  
  3306. SecMenu_Prompt_CDUpTo_fcbsec:
  3307. local.CurrentDir ifstrnotequal "root" goto SecMenu_Prompt_Invalid
  3308. local.PrintString string "C:\\>"
  3309. local.PrintString append local.secinput
  3310. local.PrintString append "\n\n"
  3311. local.CurrentDir string "fcbsec"
  3312. goto SecMenu_Prompt_Input_Loop
  3313.  
  3314. SecMenu_Prompt_CDDownto_fcbsec:
  3315. local.PrintString string "C:\\>"
  3316. local.PrintString append local.secinput
  3317. local.PrintString append "\n\n"
  3318. local.CurrentDir string "fcbsec"
  3319. goto SecMenu_Prompt_Input_Loop
  3320.  
  3321. SecMenu_Prompt_CDDownto_root:
  3322. local.PrintString string "C:\\>"
  3323. local.PrintString append local.secinput
  3324. local.PrintString append "\n\n"
  3325. local.CurrentDir string "root"
  3326. goto SecMenu_Prompt_Input_Loop
  3327.  
  3328. SecMenu_Prompt_Type_fcbsecexe:
  3329. local.PrintString string "C:\\>"
  3330. local.PrintString append local.secinput
  3331. local.PrintString append "\n"
  3332. local.PrintString append "mz fUfi%fu(    <&wRiEeDdEeIrW"
  3333. $warn_dialog_trigger playsound "environment/computer/beeps/cmpbp1.wav" 3
  3334. local.sec_consoleobject conprint local.PrintString
  3335. wait 0.5
  3336. local.PrintString string "iL!@ $$nNtX*%=\n"
  3337. local.PrintString append "frfuflfefs*u0=eN2eiv0       "
  3338. $warn_dialog_trigger playsound "environment/computer/beeps/reject1.wav" 3
  3339. local.sec_consoleobject conprint local.PrintString
  3340. wait 0.5
  3341. local.PrintString string "EISA&f;u\n"
  3342. local.PrintString append "viQif\n"
  3343. local.PrintString append "uZ<e-\\<u^<e-<$vi+Qi[f\n\n"
  3344. goto SecMenu_Prompt_Input_Loop
  3345.  
  3346. SecMenu_Prompt_Type_autoexec:
  3347. local.CurrentDir ifstrnotequal "root" goto SecMenu_Prompt_Invalid
  3348. local.PrintString string "C:\\>"
  3349. local.PrintString append local.secinput
  3350. local.PrintString append "\n"
  3351. local.PrintString append "@ECHO OFF\n"
  3352. local.PrintString append "C:\\DOORS36\\MSCDEX.EXE /D:ASPICD0\n"
  3353. local.PrintString append "PROMPT $G\n"
  3354. local.PrintString append "PATH C:\\DOORS36;C:\\FCBSEC;C:\\\n"
  3355. local.PrintString append "SET TEMP=C:\\DOORS36\n"
  3356. local.PrintString append "REM C:\\DOORS36\\MOUSE.EXE\n"
  3357. local.PrintString append "C:\\FCBSEC\\FCBSEC.EXE\n\n"
  3358. goto SecMenu_Prompt_Input_Loop
  3359.  
  3360. SecMenu_Prompt_Type_config:
  3361. local.CurrentDir ifstrnotequal "root" goto SecMenu_Prompt_Invalid
  3362. local.PrintString string "C:\\>"
  3363. local.PrintString append local.secinput
  3364. local.PrintString append "\n"
  3365. local.PrintString append "DEVICE=C:\\SCSI\\ASPI8DOORS.SYS /D\n"
  3366. local.PrintString append "DEVICE=C:\\SCSI\\ASPICD.SYS /D:ASPICD0\n"
  3367. local.PrintString append "DEVICE=C:\\DOORS36\\SETVER.EXE\n"
  3368. local.PrintString append "DEVICE=C:\\DOORS36\\HIMEM.SYS\n"
  3369. local.PrintString append "DOORS36=HIGH\n\n"
  3370. goto SecMenu_Prompt_Input_Loop
  3371.  
  3372. SecMenu_Prompt_Type_fcbsecini:
  3373. local.CurrentDir ifstrnotequal "fcbsec_data" goto SecMenu_Prompt_Invalid
  3374. local.PrintString string "C:\\>"
  3375. local.PrintString append local.secinput
  3376. local.PrintString append "\n"
  3377. local.PrintString append "BRANCH=FREEPORT\n"
  3378. local.PrintString append "WALLPAPER=C:\\DOORWAYS\\JLH-IS-HOT.BMP\n"
  3379. local.PrintString append "QTDVIDEO=0x0001\n"
  3380. local.PrintString append "MCIXSND=0x0001\n"
  3381. local.PrintString append "GDANIM=0x0001\n\n"
  3382. goto SecMenu_Prompt_Input_Loop
  3383.  
  3384. SecMenu_Prompt_Type_fcbsec01pwd:
  3385. local.CurrentDir ifstrnotequal "fcbsec_data" goto SecMenu_Prompt_Invalid
  3386. local.PrintString string "C:\\>"
  3387. local.PrintString append local.secinput
  3388. local.PrintString append "\n"
  3389. local.PrintString append "$303195@6666\n"
  3390. local.PrintString append "$845724@9157\n"
  3391. local.PrintString append "$010333@6969\n"
  3392. local.PrintString append "$060571@8303\n"
  3393. local.PrintString append "$601571@6672\n"
  3394. local.PrintString append "$010345@2019\n"
  3395. local.PrintString append "$002215@2635\n"
  3396. local.PrintString append "$873282@2635\n\n"
  3397. goto SecMenu_Prompt_Input_Loop
  3398.  
  3399. SecMenu_Prompt_Type_fcbsec02pwd:
  3400. local.CurrentDir ifstrnotequal "fcbsec_data" goto SecMenu_Prompt_Invalid
  3401. local.PrintString string "C:\\>"
  3402. local.PrintString append local.secinput
  3403. local.PrintString append "\n"
  3404. local.PrintString append "$112029@2029\n"
  3405. local.PrintString append "$042171@5811\n"
  3406. local.PrintString append "$101505@5769\n"
  3407. local.PrintString append "$??????@????\n"
  3408. local.PrintString append "$443344@4444\n"
  3409. local.PrintString append "$123456@1234\n"
  3410. local.PrintString append "$100372@3265\n"
  3411. local.PrintString append "$070677@5316\n\n"
  3412. goto SecMenu_Prompt_Input_Loop
  3413.  
  3414. SecMenu_Prompt_Type_fcbsec03pwd:
  3415. local.CurrentDir ifstrnotequal "fcbsec_data" goto SecMenu_Prompt_Invalid
  3416. local.PrintString string "C:\\>"
  3417. local.PrintString append local.secinput
  3418. local.PrintString append "\n"
  3419. local.PrintString append "$081296@0000\n"
  3420. local.PrintString append "$021977@5334\n"
  3421. local.PrintString append "$272727@2727\n"
  3422. local.PrintString append "$052881@6275\n"
  3423. local.PrintString append "$032079@2361\n"
  3424. local.PrintString append "$041384@2663\n"
  3425. local.PrintString append "$020298@5334\n"
  3426. local.PrintString append "$422907@8252\n\n"
  3427. goto SecMenu_Prompt_Input_Loop
  3428.  
  3429. SecMenu_Prompt_Type_fcbsec04pwd:
  3430. local.CurrentDir ifstrnotequal "fcbsec_data" goto SecMenu_Prompt_Invalid
  3431. local.PrintString string "C:\\>"
  3432. local.PrintString append local.secinput
  3433. local.PrintString append "\n"
  3434. local.PrintString append "$012671@2600\n"
  3435. local.PrintString append "$642753@9084\n"
  3436. local.PrintString append "$050480@1984\n\n"
  3437. goto SecMenu_Prompt_Input_Loop
  3438.  
  3439. SecMenu_Prompt_Help:
  3440. local.PrintString string "C:\\>"
  3441. local.PrintString append local.secinput
  3442. local.PrintString append "\n"
  3443. local.PrintString append "Available commands:\n\n"
  3444. local.PrintString append "cd   Change current directory.\n"
  3445. local.PrintString append "cls  Clears the screen.\n"
  3446. local.PrintString append "date Print the current date.\n"
  3447. local.PrintString append "dir  View the current directory contents\n"
  3448. local.PrintString append "type Displays the contents of a text file. \n"
  3449. local.PrintString append "exit Exit the command prompt.\n\n"
  3450. goto SecMenu_Prompt_Input_Loop
  3451.  
  3452. SecMenu_Prompt_Empty:
  3453. local.PrintString string "C:\\>\n"
  3454. goto SecMenu_Prompt_Input_Loop
  3455.  
  3456. SecMenu_Prompt_Cls:
  3457. local.PrintString string ""
  3458. local.sec_consoleobject conclear
  3459. goto SecMenu_Prompt_Input_Loop
  3460.  
  3461. SecMenu_Prompt_Date:
  3462. local.PrintString string "C:\\>"
  3463. local.PrintString append local.secinput
  3464. local.PrintString append "\n"
  3465. local.PrintString append "Current Date is: Thu 06/23/37\n\n"
  3466. goto SecMenu_Prompt_Input_Loop
  3467.  
  3468. SecMenu_Prompt_Denied:
  3469. local.PrintString string "C:\\>"
  3470. local.PrintString append local.secinput
  3471. local.PrintString append "\n"
  3472. local.PrintString append "Access Denied.\n\n"
  3473. goto SecMenu_Prompt_Input_Loop
  3474.  
  3475. SecMenu_Prompt_Invalid:
  3476. local.PrintString string "C:\\>"
  3477. local.PrintString append local.secinput
  3478. local.PrintString append "\n"
  3479. local.PrintString append "Bad command or file name\n\n"
  3480. goto SecMenu_Prompt_Input_Loop
  3481.  
  3482. end
  3483.  
  3484.  
  3485.  
  3486.  
  3487. //---------------------------------------------------------------
  3488. // ATM_SetupLoop_Thread
  3489. //---------------------------------------------------------------
  3490. ATM_SetupLoop_Thread:
  3491.  
  3492. local.atmindex = 1
  3493. //game.bank_balance ifequal 0 game.bank_balance = 2
  3494. game.bank_balance = 0
  3495.  
  3496. atm_loop:
  3497.  
  3498. parm.atm_console string "con_atm"
  3499. parm.atm_console appendint local.atmindex
  3500.  
  3501. thread ATM_Thread
  3502.  
  3503. local.atmindex += 1
  3504. local.atmindex ifequal 2 goto con_atm2_check_shortout
  3505. local.atmindex iflessequal 2 goto atm_loop
  3506. goto con_atm_bottom
  3507.  
  3508. con_atm2_check_shortout:
  3509. game.intro_billboard_fall ifequal 3 trigger $atm_sparks
  3510. game.intro_billboard_fall ifequal 3 local.atmindex += 1
  3511. goto atm_loop
  3512. con_atm_bottom:
  3513. end
  3514.  
  3515. //---------------------------------------------------------------------------
  3516. ATM_Thread:
  3517.  
  3518. local.ElexisAccount string "010333"
  3519. local.ElexisPIN string "6969"
  3520. local.ElexisChecking string "$9,390,000.00"
  3521. local.ElexisSavings string "$100,040.00"
  3522.  
  3523. local.BladeAccount string "010345"
  3524. local.BladePIN string "2019"
  3525. local.BladeChecking string "$0.00"
  3526. local.BladeSavings string "$0.00"
  3527.  
  3528. local.Egg1Account string "303195"
  3529. local.Egg1PIN string "6666"
  3530. local.Egg1Checking string "$-10,000,000.00"
  3531. local.Egg1Savings string "$0.00"
  3532.  
  3533. local.Egg2Account string "845724"
  3534. local.Egg2PIN string "9157"
  3535. local.Egg2Checking string "$357.01"
  3536. local.Egg2Savings string "$5,000.99"
  3537.  
  3538. local.Egg3Account string "060571"
  3539. local.Egg3PIN string "8303"
  3540. local.Egg3Checking string "$403.71"
  3541. local.Egg3Savings string "$1.99"
  3542.  
  3543. local.Egg4Account string "601571"
  3544. local.Egg4PIN string "6672"
  3545. local.Egg4Checking string "$2,753.65"
  3546. local.Egg4Savings string "$2,500.00"
  3547.  
  3548. local.Egg5Account string "002215"
  3549. local.Egg5PIN string "2635"
  3550. local.Egg5Checking string "$256.03"
  3551. local.Egg5Savings string "$109.19"
  3552.  
  3553. local.Egg6Account string "873282"
  3554. local.Egg6PIN string "2635"
  3555. local.Egg6Checking string "$20,000.70"
  3556. local.Egg6Savings string "$2,500.00"
  3557.  
  3558. local.Egg7Account string "112029"
  3559. local.Egg7PIN string "2029"
  3560. local.Egg7Checking string "$42,276.00"
  3561. local.Egg7Savings string "$22.00"
  3562.  
  3563. local.Egg8Account string "042171"
  3564. local.Egg8PIN string "5811"
  3565. local.Egg8Checking string "$-32,000.00"
  3566. local.Egg8Savings string "Yeah, Right!!"
  3567.  
  3568. local.Egg9Account string "101505"
  3569. local.Egg9PIN string "5769"
  3570. local.Egg9Checking string "$14,022.00"
  3571. local.Egg9Savings string "$65,536.00"
  3572.  
  3573. local.Egg10Account string "??????"
  3574. local.Egg10PIN string "????"
  3575. local.Egg10Checking string "$???,???.??"
  3576. local.Egg10Savings string "$???,???.??"
  3577.  
  3578. local.Egg11Account string "443344"
  3579. local.Egg11PIN string "4444"
  3580. local.Egg11Checking string "$5.45"
  3581. local.Egg11Savings string "$0.00"
  3582.  
  3583. local.Egg12Account string "123456"
  3584. local.Egg12PIN string "1234"
  3585. local.Egg12Checking string "$1,234,567.89"
  3586. local.Egg12Savings string "$9,876,543.21"
  3587.  
  3588. local.Egg13Account string "100372"
  3589. local.Egg13PIN string "3265"
  3590. local.Egg13Checking string "$0.00"
  3591. local.Egg13Savings string "$0.00"
  3592.  
  3593. local.Egg14Account string "070677"
  3594. local.Egg14PIN string "5316"
  3595. local.Egg14Checking string "$16,000,000.00"
  3596. local.Egg14Savings string "$17,500,000.00"
  3597.  
  3598. local.Egg15Account string "422907"
  3599. local.Egg15PIN string "8252"
  3600. local.Egg15Checking string "$69,907.00"
  3601. local.Egg15Savings string "$8.00"
  3602.  
  3603. local.Egg16Account string "272727"
  3604. local.Egg16PIN string "2727"
  3605. local.Egg16Checking string "$27,000.00"
  3606. local.Egg16Savings string "$27,000.00"
  3607.  
  3608. local.Egg17Account string "052881"
  3609. local.Egg17PIN string "6275"
  3610. local.Egg17Checking string "$2,954.00"
  3611. local.Egg17Savings string "$14,326.00"
  3612.  
  3613. local.Egg18Account string "032079"
  3614. local.Egg18PIN string "2361"
  3615. local.Egg18Checking string "$-9,000.00"
  3616. local.Egg18Savings string "$0.00"
  3617.  
  3618. local.Egg19Account string "041384"
  3619. local.Egg19PIN string "2663"
  3620. local.Egg19Checking string "$0.00"
  3621. local.Egg19Savings string "$20,000.00"
  3622.  
  3623. local.Egg20Account string "020298"
  3624. local.Egg20PIN string "5334"
  3625. local.Egg20Checking string "$2,090.21"
  3626. local.Egg20Savings string "$0.00"
  3627.  
  3628. local.Egg21Account string "021977"
  3629. local.Egg21PIN string "5334"
  3630. local.Egg21Checking string "$2,090.21"
  3631. local.Egg21Savings string "$0.00"
  3632.  
  3633. local.Egg22Account string "081296"
  3634. local.Egg22PIN string "0000"
  3635. local.Egg22Checking string "$250,000.00"
  3636. local.Egg22Savings string "$0.00"
  3637.  
  3638. local.Egg23Account string "050480"
  3639. local.Egg23PIN string "1984"
  3640. local.Egg23Checking string "$66,082.00"
  3641. local.Egg23Savings string "$28,064.00"
  3642.  
  3643. local.Egg24Account string "642753"
  3644. local.Egg24PIN string "9084"
  3645. local.Egg24Checking string "$65,302.00"
  3646. local.Egg24Savings string "$29,053.00"
  3647.  
  3648. local.Egg25Account string "012671"
  3649. local.Egg25PIN string "2600"
  3650. local.Egg25Checking string "Not Enough!"
  3651. local.Egg25Savings string "Too Much!"
  3652.  
  3653. local.atm_console string parm.atm_console
  3654. local.atm_consoleobject string "%"
  3655. local.atm_consoleobject append local.atm_console
  3656. local.atm_consoleobject confraction .3
  3657. local.MainScreenInvalid = 0
  3658. goto ATM_Main_Input
  3659.  
  3660. ATM_Main_Input:
  3661. local.atm_consoleobject conclear
  3662. local.atm_consoleobject conclearlayout
  3663. local.MainScreenInvalid ifequal 0 local.atm_consoleobject conmenufile "menus/bank.009"
  3664. local.MainScreenInvalid ifequal 1 local.atm_consoleobject conmenufile "menus/bank.010"
  3665. local.atm_consoleobject focus console
  3666. waitForConsole local.atm_console
  3667. local.atminput coninput local.atm_console
  3668. goto ATM_Main_ProcessInput
  3669.  
  3670. ATM_Main_ProcessInput:
  3671. local.Account string local.atminput
  3672. local.atminput ifstrequal local.ElexisAccount goto ATM_Pin_Input
  3673. local.atminput ifstrequal local.BladeAccount goto ATM_Pin_Input
  3674. local.atminput ifstrequal local.Egg1Account goto ATM_Pin_Input
  3675. local.atminput ifstrequal local.Egg2Account goto ATM_Pin_Input
  3676. local.atminput ifstrequal local.Egg3Account goto ATM_Pin_Input
  3677. local.atminput ifstrequal local.Egg4Account goto ATM_Pin_Input
  3678. local.atminput ifstrequal local.Egg5Account goto ATM_Pin_Input
  3679. local.atminput ifstrequal local.Egg6Account goto ATM_Pin_Input
  3680. local.atminput ifstrequal local.Egg7Account goto ATM_Pin_Input
  3681. local.atminput ifstrequal local.Egg8Account goto ATM_Pin_Input
  3682. local.atminput ifstrequal local.Egg9Account goto ATM_Pin_Input
  3683. local.atminput ifstrequal local.Egg10Account goto ATM_Pin_Input
  3684. local.atminput ifstrequal local.Egg11Account goto ATM_Pin_Input
  3685. local.atminput ifstrequal local.Egg12Account goto ATM_Pin_Input
  3686. local.atminput ifstrequal local.Egg13Account goto ATM_Pin_Input
  3687. local.atminput ifstrequal local.Egg14Account goto ATM_Pin_Input
  3688. local.atminput ifstrequal local.Egg15Account goto ATM_Pin_Input
  3689. local.atminput ifstrequal local.Egg16Account goto ATM_Pin_Input
  3690. local.atminput ifstrequal local.Egg17Account goto ATM_Pin_Input
  3691. local.atminput ifstrequal local.Egg18Account goto ATM_Pin_Input
  3692. local.atminput ifstrequal local.Egg19Account goto ATM_Pin_Input
  3693. local.atminput ifstrequal local.Egg20Account goto ATM_Pin_Input
  3694. local.atminput ifstrequal local.Egg21Account goto ATM_Pin_Input
  3695. local.atminput ifstrequal local.Egg22Account goto ATM_Pin_Input
  3696. local.atminput ifstrequal local.Egg23Account goto ATM_Pin_Input
  3697. local.atminput ifstrequal local.Egg24Account goto ATM_Pin_Input
  3698. local.atminput ifstrequal local.Egg25Account goto ATM_Pin_Input
  3699. local.MainScreenInvalid = 1
  3700. goto ATM_Main_Input
  3701.  
  3702. ATM_Pin_Input:
  3703. local.MainScreenInvalid = 0
  3704. local.Account ifstrequal local.ElexisAccount local.atm_consoleobject conmenufile "menus/bankac01.001"
  3705. local.Account ifstrequal local.BladeAccount local.atm_consoleobject conmenufile "menus/bankac02.001"
  3706. local.Account ifstrequal local.Egg1Account local.atm_consoleobject conmenufile "menus/bankac03.001"
  3707. local.Account ifstrequal local.Egg2Account local.atm_consoleobject conmenufile "menus/bankac04.001"
  3708. local.Account ifstrequal local.Egg3Account local.atm_consoleobject conmenufile "menus/bankac05.001"
  3709. local.Account ifstrequal local.Egg4Account local.atm_consoleobject conmenufile "menus/bankac06.001"
  3710. local.Account ifstrequal local.Egg5Account local.atm_consoleobject conmenufile "menus/bankac07.001"
  3711. local.Account ifstrequal local.Egg6Account local.atm_consoleobject conmenufile "menus/bankac08.001"
  3712. local.Account ifstrequal local.Egg7Account local.atm_consoleobject conmenufile "menus/bankac09.001"
  3713. local.Account ifstrequal local.Egg8Account local.atm_consoleobject conmenufile "menus/bankac10.001"
  3714. local.Account ifstrequal local.Egg9Account local.atm_consoleobject conmenufile "menus/bankac11.001"
  3715. local.Account ifstrequal local.Egg10Account local.atm_consoleobject conmenufile "menus/bankac12.001"
  3716. local.Account ifstrequal local.Egg11Account local.atm_consoleobject conmenufile "menus/bankac13.001"
  3717. local.Account ifstrequal local.Egg12Account local.atm_consoleobject conmenufile "menus/bankac14.001"
  3718. local.Account ifstrequal local.Egg13Account local.atm_consoleobject conmenufile "menus/bankac15.001"
  3719. local.Account ifstrequal local.Egg14Account local.atm_consoleobject conmenufile "menus/bankac16.001"
  3720. local.Account ifstrequal local.Egg15Account local.atm_consoleobject conmenufile "menus/bankac17.001"
  3721. local.Account ifstrequal local.Egg16Account local.atm_consoleobject conmenufile "menus/bankac18.001"
  3722. local.Account ifstrequal local.Egg17Account local.atm_consoleobject conmenufile "menus/bankac19.001"
  3723. local.Account ifstrequal local.Egg18Account local.atm_consoleobject conmenufile "menus/bankac20.001"
  3724. local.Account ifstrequal local.Egg19Account local.atm_consoleobject conmenufile "menus/bankac21.001"
  3725. local.Account ifstrequal local.Egg20Account local.atm_consoleobject conmenufile "menus/bankac22.001"
  3726. local.Account ifstrequal local.Egg21Account local.atm_consoleobject conmenufile "menus/bankac23.001"
  3727. local.Account ifstrequal local.Egg22Account local.atm_consoleobject conmenufile "menus/bankac24.001"
  3728. local.Account ifstrequal local.Egg23Account local.atm_consoleobject conmenufile "menus/bankac25.001"
  3729. local.Account ifstrequal local.Egg24Account local.atm_consoleobject conmenufile "menus/bankac26.001"
  3730. local.Account ifstrequal local.Egg25Account local.atm_consoleobject conmenufile "menus/bankac27.001"
  3731. waitForConsole local.atm_console
  3732. local.atminput coninput local.atm_console
  3733. goto ATM_Pin_ProcessInput
  3734.  
  3735. ATM_Pin_ProcessInput:
  3736. local.Account ifstrequal local.ElexisAccount goto ATM_PIN_Elexis
  3737. local.Account ifstrequal local.BladeAccount goto ATM_PIN_Blade
  3738. goto ATM_PIN_Eggs
  3739.  
  3740. ATM_PIN_Elexis:
  3741. local.atminput ifstrequal local.ElexisPIN goto ATM_PIN_Elexis_Valid
  3742. local.atm_consoleobject focus menu
  3743. local.atm_consoleobject conmenufile "menus/bank.011"
  3744. waitForConsole local.atm_console
  3745. local.atminput coninput local.atm_console
  3746. goto ATM_Main_Input
  3747.  
  3748. ATM_PIN_Elexis_Valid:
  3749. local.DisplayAccount string local.ElexisAccount
  3750. local.DisplayChecking string local.ElexisChecking
  3751. local.DisplaySavings string local.ElexisSavings
  3752. goto ATM_Account_Input
  3753.  
  3754. ATM_PIN_Blade:
  3755. local.atminput ifstrequal local.BladePIN goto ATM_PIN_Blade_Valid
  3756. local.atm_consoleobject focus menu
  3757. local.atm_consoleobject conmenufile "menus/bank.011"
  3758. waitForConsole local.atm_console
  3759. local.atminput coninput local.atm_console
  3760. goto ATM_Main_Input
  3761.  
  3762. ATM_PIN_Blade_Valid:
  3763. local.DisplayAccount string local.BladeAccount
  3764. local.DisplayChecking string local.BladeChecking
  3765. local.DisplaySavings string local.BladeSavings
  3766. goto ATM_Account_Input
  3767.  
  3768. ATM_PIN_Eggs:
  3769. local.Account ifstrequal local.Egg1Account local.PIN string local.Egg1PIN
  3770. local.Account ifstrequal local.Egg2Account local.PIN string local.Egg2PIN
  3771. local.Account ifstrequal local.Egg3Account local.PIN string local.Egg3PIN
  3772. local.Account ifstrequal local.Egg4Account local.PIN string local.Egg4PIN
  3773. local.Account ifstrequal local.Egg5Account local.PIN string local.Egg5PIN
  3774. local.Account ifstrequal local.Egg6Account local.PIN string local.Egg6PIN
  3775. local.Account ifstrequal local.Egg7Account local.PIN string local.Egg7PIN
  3776. local.Account ifstrequal local.Egg8Account local.PIN string local.Egg8PIN
  3777. local.Account ifstrequal local.Egg9Account local.PIN string local.Egg9PIN
  3778. local.Account ifstrequal local.Egg10Account local.PIN string local.Egg10PIN
  3779. local.Account ifstrequal local.Egg11Account local.PIN string local.Egg11PIN
  3780. local.Account ifstrequal local.Egg12Account local.PIN string local.Egg12PIN
  3781. local.Account ifstrequal local.Egg13Account local.PIN string local.Egg13PIN
  3782. local.Account ifstrequal local.Egg14Account local.PIN string local.Egg14PIN
  3783. local.Account ifstrequal local.Egg15Account local.PIN string local.Egg15PIN
  3784. local.Account ifstrequal local.Egg16Account local.PIN string local.Egg16PIN
  3785. local.Account ifstrequal local.Egg17Account local.PIN string local.Egg17PIN
  3786. local.Account ifstrequal local.Egg18Account local.PIN string local.Egg18PIN
  3787. local.Account ifstrequal local.Egg19Account local.PIN string local.Egg19PIN
  3788. local.Account ifstrequal local.Egg20Account local.PIN string local.Egg20PIN
  3789. local.Account ifstrequal local.Egg21Account local.PIN string local.Egg21PIN
  3790. local.Account ifstrequal local.Egg22Account local.PIN string local.Egg22PIN
  3791. local.Account ifstrequal local.Egg23Account local.PIN string local.Egg23PIN
  3792. local.Account ifstrequal local.Egg24Account local.PIN string local.Egg24PIN
  3793. local.Account ifstrequal local.Egg25Account local.PIN string local.Egg25PIN
  3794. local.atminput ifstrequal local.PIN goto ATM_PIN_Eggs_Valid
  3795. local.atm_consoleobject focus menu
  3796. local.atm_consoleobject conmenufile "menus/bank.011"
  3797. waitForConsole local.atm_console
  3798. local.atminput coninput local.atm_console
  3799. goto ATM_Main_Input
  3800.  
  3801. ATM_PIN_Eggs_Valid:
  3802. local.DisplayAccount string local.Account
  3803. local.Account ifstrequal local.Egg1Account local.DisplayChecking string local.Egg1Checking
  3804. local.Account ifstrequal local.Egg1Account local.DisplaySavings string local.Egg1Savings
  3805. local.Account ifstrequal local.Egg2Account local.DisplayChecking string local.Egg2Checking
  3806. local.Account ifstrequal local.Egg2Account local.DisplaySavings string local.Egg2Savings
  3807. local.Account ifstrequal local.Egg3Account local.DisplayChecking string local.Egg3Checking
  3808. local.Account ifstrequal local.Egg3Account local.DisplaySavings string local.Egg3Savings
  3809. local.Account ifstrequal local.Egg4Account local.DisplayChecking string local.Egg4Checking
  3810. local.Account ifstrequal local.Egg4Account local.DisplaySavings string local.Egg4Savings
  3811. local.Account ifstrequal local.Egg5Account local.DisplayChecking string local.Egg5Checking
  3812. local.Account ifstrequal local.Egg5Account local.DisplaySavings string local.Egg5Savings
  3813. local.Account ifstrequal local.Egg6Account local.DisplayChecking string local.Egg6Checking
  3814. local.Account ifstrequal local.Egg6Account local.DisplaySavings string local.Egg6Savings
  3815. local.Account ifstrequal local.Egg7Account local.DisplayChecking string local.Egg7Checking
  3816. local.Account ifstrequal local.Egg7Account local.DisplaySavings string local.Egg7Savings
  3817. local.Account ifstrequal local.Egg8Account local.DisplayChecking string local.Egg8Checking
  3818. local.Account ifstrequal local.Egg8Account local.DisplaySavings string local.Egg8Savings
  3819. local.Account ifstrequal local.Egg9Account local.DisplayChecking string local.Egg9Checking
  3820. local.Account ifstrequal local.Egg9Account local.DisplaySavings string local.Egg9Savings
  3821. local.Account ifstrequal local.Egg10Account local.DisplayChecking string local.Egg10Checking
  3822. local.Account ifstrequal local.Egg10Account local.DisplaySavings string local.Egg10Savings
  3823. local.Account ifstrequal local.Egg11Account local.DisplayChecking string local.Egg11Checking
  3824. local.Account ifstrequal local.Egg11Account local.DisplaySavings string local.Egg11Savings
  3825. local.Account ifstrequal local.Egg12Account local.DisplayChecking string local.Egg12Checking
  3826. local.Account ifstrequal local.Egg12Account local.DisplaySavings string local.Egg12Savings
  3827. local.Account ifstrequal local.Egg13Account local.DisplayChecking string local.Egg13Checking
  3828. local.Account ifstrequal local.Egg13Account local.DisplaySavings string local.Egg13Savings
  3829. local.Account ifstrequal local.Egg14Account local.DisplayChecking string local.Egg14Checking
  3830. local.Account ifstrequal local.Egg14Account local.DisplaySavings string local.Egg14Savings
  3831. local.Account ifstrequal local.Egg15Account local.DisplayChecking string local.Egg15Checking
  3832. local.Account ifstrequal local.Egg15Account local.DisplaySavings string local.Egg15Savings
  3833. local.Account ifstrequal local.Egg16Account local.DisplayChecking string local.Egg16Checking
  3834. local.Account ifstrequal local.Egg16Account local.DisplaySavings string local.Egg16Savings
  3835. local.Account ifstrequal local.Egg17Account local.DisplayChecking string local.Egg17Checking
  3836. local.Account ifstrequal local.Egg17Account local.DisplaySavings string local.Egg17Savings
  3837. local.Account ifstrequal local.Egg18Account local.DisplayChecking string local.Egg18Checking
  3838. local.Account ifstrequal local.Egg18Account local.DisplaySavings string local.Egg18Savings
  3839. local.Account ifstrequal local.Egg19Account local.DisplayChecking string local.Egg19Checking
  3840. local.Account ifstrequal local.Egg19Account local.DisplaySavings string local.Egg19Savings
  3841. local.Account ifstrequal local.Egg20Account local.DisplayChecking string local.Egg20Checking
  3842. local.Account ifstrequal local.Egg20Account local.DisplaySavings string local.Egg20Savings
  3843. local.Account ifstrequal local.Egg21Account local.DisplayChecking string local.Egg21Checking
  3844. local.Account ifstrequal local.Egg21Account local.DisplaySavings string local.Egg21Savings
  3845. local.Account ifstrequal local.Egg22Account local.DisplayChecking string local.Egg22Checking
  3846. local.Account ifstrequal local.Egg22Account local.DisplaySavings string local.Egg22Savings
  3847. local.Account ifstrequal local.Egg23Account local.DisplayChecking string local.Egg23Checking
  3848. local.Account ifstrequal local.Egg23Account local.DisplaySavings string local.Egg23Savings
  3849. local.Account ifstrequal local.Egg24Account local.DisplayChecking string local.Egg24Checking
  3850. local.Account ifstrequal local.Egg24Account local.DisplaySavings string local.Egg24Savings
  3851. local.Account ifstrequal local.Egg25Account local.DisplayChecking string local.Egg25Checking
  3852. local.Account ifstrequal local.Egg25Account local.DisplaySavings string local.Egg25Savings
  3853. goto ATM_Account_Input
  3854.  
  3855. ATM_Account_Input:
  3856. local.DisplayAccount ifstrequal local.ElexisAccount local.atm_consoleobject conmenufile "menus/bankac01.002"
  3857. local.DisplayAccount ifstrequal local.BladeAccount local.atm_consoleobject conmenufile "menus/bankac02.002"
  3858. local.DisplayAccount ifstrequal local.Egg1Account local.atm_consoleobject conmenufile "menus/bankac03.002"
  3859. local.DisplayAccount ifstrequal local.Egg2Account local.atm_consoleobject conmenufile "menus/bankac04.002"
  3860. local.DisplayAccount ifstrequal local.Egg3Account local.atm_consoleobject conmenufile "menus/bankac05.002"
  3861. local.DisplayAccount ifstrequal local.Egg4Account local.atm_consoleobject conmenufile "menus/bankac06.002"
  3862. local.DisplayAccount ifstrequal local.Egg5Account local.atm_consoleobject conmenufile "menus/bankac07.002"
  3863. local.DisplayAccount ifstrequal local.Egg6Account local.atm_consoleobject conmenufile "menus/bankac08.002"
  3864. local.DisplayAccount ifstrequal local.Egg7Account local.atm_consoleobject conmenufile "menus/bankac09.002"
  3865. local.DisplayAccount ifstrequal local.Egg8Account local.atm_consoleobject conmenufile "menus/bankac10.002"
  3866. local.DisplayAccount ifstrequal local.Egg9Account local.atm_consoleobject conmenufile "menus/bankac11.002"
  3867. local.DisplayAccount ifstrequal local.Egg10Account local.atm_consoleobject conmenufile "menus/bankac12.002"
  3868. local.DisplayAccount ifstrequal local.Egg11Account local.atm_consoleobject conmenufile "menus/bankac13.002"
  3869. local.DisplayAccount ifstrequal local.Egg12Account local.atm_consoleobject conmenufile "menus/bankac14.002"
  3870. local.DisplayAccount ifstrequal local.Egg13Account local.atm_consoleobject conmenufile "menus/bankac15.002"
  3871. local.DisplayAccount ifstrequal local.Egg14Account local.atm_consoleobject conmenufile "menus/bankac16.002"
  3872. local.DisplayAccount ifstrequal local.Egg15Account local.atm_consoleobject conmenufile "menus/bankac17.002"
  3873. local.DisplayAccount ifstrequal local.Egg16Account local.atm_consoleobject conmenufile "menus/bankac18.002"
  3874. local.DisplayAccount ifstrequal local.Egg17Account local.atm_consoleobject conmenufile "menus/bankac19.002"
  3875. local.DisplayAccount ifstrequal local.Egg18Account local.atm_consoleobject conmenufile "menus/bankac20.002"
  3876. local.DisplayAccount ifstrequal local.Egg19Account local.atm_consoleobject conmenufile "menus/bankac21.002"
  3877. local.DisplayAccount ifstrequal local.Egg20Account local.atm_consoleobject conmenufile "menus/bankac22.002"
  3878. local.DisplayAccount ifstrequal local.Egg21Account local.atm_consoleobject conmenufile "menus/bankac23.002"
  3879. local.DisplayAccount ifstrequal local.Egg22Account local.atm_consoleobject conmenufile "menus/bankac24.002"
  3880. local.DisplayAccount ifstrequal local.Egg23Account local.atm_consoleobject conmenufile "menus/bankac25.002"
  3881. local.DisplayAccount ifstrequal local.Egg24Account local.atm_consoleobject conmenufile "menus/bankac26.002"
  3882. local.DisplayAccount ifstrequal local.Egg25Account local.atm_consoleobject conmenufile "menus/bankac27.002"
  3883. local.PrintString string "jr 20 yt -120 fc 0.5 0.5 0.5 1 string \""
  3884. local.PrintString append local.DisplayChecking
  3885. local.PrintString append "\" jr 20 yt -180 fc 0.5 0.5 0.5 1 string \""
  3886. local.PrintString append local.DisplaySavings
  3887. local.PrintString append "\""
  3888. local.atm_consoleobject conlayout local.PrintString
  3889.  
  3890. local.atm_consoleobject focus menu
  3891. waitForConsole local.atm_console
  3892. local.atminput coninput local.atm_console
  3893. goto ATM_Account_ProcessInput
  3894.  
  3895. ATM_Account_ProcessInput:
  3896. local.atminput ifequal 1 goto ATM_Account_Withdrawl
  3897. local.atminput ifequal 2 goto ATM_Account_Deposit
  3898. local.atminput ifequal 3 goto ATM_Account_WireFunds
  3899. local.atminput ifequal 4 goto ATM_Main_Input
  3900.  
  3901. ATM_Account_Withdrawl:
  3902. local.atm_consoleobject conprint " Withdrawls Temporarily Unavailable.\n"
  3903. goto ATM_Account_Input
  3904.  
  3905. ATM_Account_Deposit:
  3906. local.atm_consoleobject conprint " Deposits Temporarily Unavailable.\n"
  3907. goto ATM_Account_Input
  3908.  
  3909. ATM_Account_WireFunds:
  3910. local.DisplayAccount ifstrequal local.ElexisAccount goto ATM_Account_WireFunds_FromElexis
  3911. local.DisplayAccount ifstrequal local.BladeAccount goto ATM_Account_WireFunds_FromBlade
  3912. local.atm_consoleobject conprint " Access Denied On This Account.\n"
  3913. goto ATM_Account_Input
  3914.  
  3915. ATM_Account_WireFunds_FromElexis:
  3916. game.bank_balance ifequal 1 goto ATM_Account_WireFunds_FromElexis_OnHold
  3917. local.atm_consoleobject conprint " Enter Destination Account Number\n"
  3918. local.atm_consoleobject focus console
  3919. waitForConsole local.atm_console
  3920. local.atminput coninput local.atm_console
  3921. local.atminput ifstrequal local.BladeAccount goto ATM_Account_WireFunds_FromElexis_ValidAccount
  3922. local.atminput ifstrequal local.ElexisAccount goto ATM_Account_WireFunds_Denied
  3923. // Put stuff for extra accounts
  3924. local.atm_consoleobject conprint " Invalid Account Number\n"
  3925. goto ATM_Account_Input
  3926.  
  3927. ATM_Account_WireFunds_FromElexis_ValidAccount:
  3928. game.bank_balance ifequal 0 goto ATM_Account_WireFunds_FromElexis_Sufficient
  3929. goto ATM_Account_WireFunds_FromElexis_OnHold
  3930.  
  3931. ATM_Account_WireFunds_FromElexis_OnHold:
  3932. local.atm_consoleobject conprint " Funds On Hold For 48 Hours.\n"
  3933. goto ATM_Account_Input
  3934.  
  3935. ATM_Account_WireFunds_FromElexis_Sufficient:
  3936. game.bank_balance = 1
  3937. local.ElexisChecking string "$0.00"
  3938. local.ElexisSavings string "$0.00"
  3939. local.BladeChecking string "$9,390,000.00"
  3940. local.BladeSavings string "$100,040.00"
  3941. local.atm_consoleobject conprint " $9,490,041.00 Wired To John R. Blade\n"
  3942. goto ATM_Account_Input
  3943.  
  3944. ATM_Account_WireFunds_FromBlade:
  3945. game.bank_balance ifequal 0 goto ATM_Account_WireFunds_FromBlade_Insufficient
  3946. game.bank_balance ifequal 1 goto ATM_Account_WireFunds_FromBlade_OnHold
  3947.  
  3948. ATM_Account_WireFunds_FromBlade_OnHold:
  3949. local.atm_consoleobject conprint " Funds On Hold For 48 Hours.\n"
  3950. goto ATM_Account_Input
  3951.  
  3952. ATM_Account_WireFunds_FromBlade_Insufficient:
  3953. local.atm_consoleobject conprint " Insufficient Funds.\n"
  3954. goto ATM_Account_Input
  3955.  
  3956. ATM_Account_WireFunds_Denied:
  3957. local.atm_consoleobject conprint " Action Denied On Account #"
  3958. local.atm_consoleobject conprint local.atminput
  3959. local.atm_consoleobject conprint "\n"
  3960. goto ATM_Account_Input
  3961.  
  3962. end
  3963.  
  3964.  
  3965. BankMissionComputer:
  3966. // 0 not accomplished 1 = success 2 = fail 3 = not available
  3967. %missioncon conlayout "xv -74 yv 76 fc 0.6 0.6 1 1 string \"Banking On Destruction\""
  3968. %missioncon conapplayout "xv -120 yv 60 fc 0.4 0.4 0.8 1 string \"Primary Objective(s):\""
  3969.  
  3970. level.PObjective1 ifequal 0 %missioncon conapplayout "xv -118 yv 48 spicn b_blank 0.5 0.5 xv -116 yv 48 fc 0.7 0.7 0.7 1 string \" Disable Hostile Threat\""
  3971. level.PObjective2 ifequal 0 %missioncon conapplayout "xv -118 yv 36 spicn b_blank 0.5 0.5 xv -116 yv 36 fc 0.7 0.7 0.7 1 string \" Locate Security Office Key\"" 
  3972. level.PObjective3 ifequal 0 %missioncon conapplayout "xv -118 yv 24 spicn b_blank 0.5 0.5 xv -116 yv 24 fc 0.7 0.7 0.7 1 string \" Gain Access To Security Room\""
  3973. level.PObjective4 ifequal 0 %missioncon conapplayout "xv -118 yv 12 spicn b_blank 0.5 0.5 xv -116 yv 12 fc 0.7 0.7 0.7 1 string \" Gain Access To The Vault\"" 
  3974. level.PObjective5 ifequal 0 %missioncon conapplayout "xv -118 yv 0 spicn b_blank 0.5 0.5 xv -116 yv 0 fc 0.7 0.7 0.7 1 string \" Capture Mancini\"" 
  3975.  
  3976. level.PObjective1 ifequal 1 %missioncon conapplayout "xv -118 yv 48 spicn b_checked 0.5 0.5 xv -116 yv 48 fc 0.2 0.2 0.2 1 string \" Disable Hostile Threat\""
  3977. level.PObjective2 ifequal 1 %missioncon conapplayout "xv -118 yv 36 spicn b_checked 0.5 0.5 xv -116 yv 36 fc 0.2 0.2 0.2 1 string \" Locate Security Office Key\"" 
  3978. level.PObjective3 ifequal 1 %missioncon conapplayout "xv -118 yv 24 spicn b_checked 0.5 0.5 xv -116 yv 24 fc 0.2 0.2 0.2 1 string \" Gain Access To Security Room\""
  3979. level.PObjective4 ifequal 1 %missioncon conapplayout "xv -118 yv 12 spicn b_checked 0.5 0.5 xv -116 yv 12 fc 0.2 0.2 0.2 1 string \" Gain Access To The Vault\"" 
  3980. level.PObjective5 ifequal 1 %missioncon conapplayout "xv -118 yv 0 spicn b_checked 0.5 0.5 xv -116 yv 0 fc 0.2 0.2 0.2 1 string \" Capture Mancini\"" 
  3981.  
  3982. level.PObjective1 ifequal 2 %missioncon conapplayout "xv -118 yv 48 spicn b_notchecked 0.5 0.5 xv -116 yv 48 fc 0.2 0.2 0.2 1 string \" Disable Hostile Threat\""
  3983. level.PObjective2 ifequal 2 %missioncon conapplayout "xv -118 yv 36 spicn b_notchecked 0.5 0.5 xv -116 yv 36 fc 0.2 0.2 0.2 1 string \" Locate Security Office Key\"" 
  3984. level.PObjective3 ifequal 2 %missioncon conapplayout "xv -118 yv 24 spicn b_notchecked 0.5 0.5 xv -116 yv 24 fc 0.2 0.2 0.2 1 string \" Gain Access To Security Room\""
  3985. level.PObjective4 ifequal 2 %missioncon conapplayout "xv -118 yv 12 spicn b_notchecked 0.5 0.5 xv -116 yv 12 fc 0.2 0.2 0.2 1 string \" Gain Access To The Vault\"" 
  3986. level.PObjective5 ifequal 2 %missioncon conapplayout "xv -118 yv 0 spicn b_notchecked 0.5 0.5 xv -116 yv 0 fc 0.2 0.2 0.2 1 string \" Capture Mancini\"" 
  3987.  
  3988. level.PObjective1 ifequal 3 %missioncon conapplayout "xv -116 yv 48 fc 0.2 0.2 0.2 1 string \" ----------------------------\""
  3989. level.PObjective2 ifequal 3 %missioncon conapplayout "xv -116 yv 36 fc 0.2 0.2 0.2 1 string \" ----------------------------\"" 
  3990. level.PObjective3 ifequal 3 %missioncon conapplayout "xv -116 yv 24 fc 0.2 0.2 0.2 1 string \" ----------------------------\""
  3991. level.PObjective4 ifequal 3 %missioncon conapplayout "xv -116 yv 12 fc 0.2 0.2 0.2 1 string \" ----------------------------\"" 
  3992. level.PObjective5 ifequal 3 %missioncon conapplayout "xv -116 yv 0 fc 0.2 0.2 0.2 1 string \" ----------------------------\"" 
  3993.  
  3994. %missioncon conapplayout "xv -120 yv -16 fc 0.4 0.4 0.8 1 string \"Secondary Objective(s):\""
  3995. level.SObjective1 ifequal 0 %missioncon conapplayout "xv -118 yv -28 spicn b_blank 0.5 0.5 xv -116 yv -28 fc 0.7 0.7 0.7 1 string \" Unlock All Security Doors\"" 
  3996. level.SObjective2 ifequal 0 %missioncon conapplayout "xv -118 yv -40 spicn b_blank 0.5 0.5 xv -116 yv -40 fc 0.7 0.7 0.7 1 string \" Minimize Hostage Casualties\""
  3997.  
  3998. level.SObjective1 ifequal 1 %missioncon conapplayout "xv -118 yv -28 spicn b_checked 0.5 0.5 xv -116 yv -28 fc 0.2 0.2 0.2 1 string \" Unlock All Security Doors\"" 
  3999. level.SObjective2 ifequal 1 %missioncon conapplayout "xv -118 yv -40 spicn b_checked 0.5 0.5 xv -116 yv -40 fc 0.2 0.2 0.2 1 string \" Minimize Hostage Casualties\""
  4000.  
  4001. level.SObjective1 ifequal 2 %missioncon conapplayout "xv -118 yv -28 spicn b_notchecked 0.5 0.5 xv -116 yv -28 fc 0.2 0.2 0.2 1 string \" Unlock All Security Doors\"" 
  4002. level.SObjective2 ifequal 2 %missioncon conapplayout "xv -118 yv -40 spicn b_notchecked 0.5 0.5 xv -116 yv -40 fc 0.2 0.2 0.2 1 string \" Minimize Hostage Casualties\""
  4003.  
  4004. level.SObjective1 ifequal 3 %missioncon conapplayout "xv -116 yv -28 fc 0.2 0.2 0.2 1 string \" ----------------------------\""
  4005. level.SObjective2 ifequal 3 %missioncon conapplayout "xv -116 yv -40 fc 0.2 0.2 0.2 1 string \" ----------------------------\""
  4006. end
  4007.