home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////////////////////////////////
- // //
- // E1M1 //
- // //
- //////////////////////////////////////////////////////////////////////////////////////////
- //
- // CONVENTIONS::
- //
- // WRKRdick
- // Skinny Worker that is triggered to walk into the round room when you walk up.
- //
- // WRKReven
- // Skinny Worker that is walking along 2nd level of circular room.
- //
- //
- // SCRIPTS:
- // WRKRdick_enter Makes WRKRdick enter room when you walk up (path DICK1)
- // WRKRdick_clipboardpath2 Makes WRKRdick pause, write on clipboard, start path DIKK1
- // WRKRdick_crouch2enter Makes WRKRdick crouch, work, stand, return to path DICK1
- //
- // WRKRevan_patrola Sets WRKRevan on his first path
- // WRKRevan_crouchie Makes WRKRevan go to edge and kneel down to do work
- // WRKRevan_crouchie2 Makes WRKRevan go to other edge and write on clipboard
-
- ////////////////////////////////////////////
- // LEVEL START
- ////////////////////////////////////////////
-
- Level_start
- {
- send_message(WRKRevan, WRKRevan_patrola);
- send_message(WRKRralph, WRKRralph_clip1);
- }
-
- ////////////////////////////////////////////
- // GLOBAL SCRIPTS
- ////////////////////////////////////////////
-
- script swimming
- {
- set_moving_animation(swima);
- }
-
-
- ////////////////////////////////////////////
- // WRKRralph scripts.
- ////////////////////////////////////////////
- script WRKRralph_clip1
- {
- face_angle(0,45,0);
- animate(aaeaa);
- animate(aafaa);
- animate(faaeaa);
- animate(eamba,3);
- animate(eaaead);
- animate(eambd);
- animate(eadeaa);
- animate(eaafaa);
- animate(faaaa);
- set_state(WRKRralph,pathfollow,ralph2);
- }
-
- script WRKRralph_clip2
- {
- face_angle(0,45,0);
- animate(aaeaa);
- animate(aafaa);
- animate(faaeaa);
- animate(eamba,3);
- animate(eaaead);
- animate(eambd);
- animate(eadeaa);
- animate(eaafaa);
- animate(faaaa);
- set_state(WRKRralph,pathfollow,ralph1);
- }
-
- ////////////////////////////////////////////
- // WRKRdick scripts.
- ////////////////////////////////////////////
-
- script WRKRdick_enter WRKRdick
- {
- set_state(WRKRdick,pathfollow,dick1);
- }
-
- script WRKRdick_clipboardpath2
- {
- animate(aaeaa);
- animate(aafaa);
- animate(faaeaa);
- animate(eamba,3);
- animate(eaaead);
- animate(eambd);
- animate(eadeaa);
- animate(eaafaa);
- animate(faaaa);
- set_state(WRKRdick,pathfollow,dikk1);
- }
-
- script WRKRdick_crouch2enter WRKRdick
- {
- animate(eaafaa);
- animate(faaaa);
- animate(aacaa);
- animate(camba);
- animate(cambb,2);
- animate(camba);
- animate(cambb,1);
- // sound(e1/fart4.wav);
- use(fartboy);
- use(hiddenhole);
- animate(camba,5);
- // use(hiddenhole);
- animate(caaaa);
- set_moving_animation(walka);
- set_state(WRKRdick,pathfollow,dick1);
- }
-
- script WRKR_amba
- {
- animate(amba);
- }
-
- ////////////////////////////////////////////
- // WRKRevan scripts.
- ////////////////////////////////////////////
-
- script WRKRevan_patrola
- {
- set_state(WRKRevan,pathfollow,evan1);
- }
-
- script WRKRevan_crouchie WRKRevan
- {
- animate(amba);
- animate(aacaa);
- animate(camba,2);
- animate(cambb);
- animate(camba);
- animate(cambb);
- animate(caaaa);
- animate(amba);
- animate(aaeaa);
- animate(aafaa);
- animate(faaeaa);
- animate(eamba);
- animate(eaaead);
- animate(eambd);
- animate(eadeaa);
- animate(eaafaa);
- animate(faaaa);
- set_state(WRKRevan,pathfollow,evam1);
- }
-
- script WRKRevan_crouchie2 WRKRevan
- {
- animate(amba);
- animate(aaeaa);
- animate(aafaa);
- animate(faaeaa);
- animate(eamba);
- animate(eaaead);
- animate(eambd);
- animate(eadeaa);
- animate(eaafaa);
- animate(faaaa);
- set_state(WRKRevan,pathfollow,evan2);
- }
-