home *** CD-ROM | disk | FTP | other *** search
- START_WLD = ZAP_WLD
- DISKID=1
- DISKAUDIO=$SBARDIR\GENERAL\CHADIS1.WAV
-
- // ID X Y FileName
- CURSOR 0 = 15 15 $SBARDIR\ZZAZZL\CURSORS\NOT.BMP
- CURSOR 1 = 13 1 $SBARDIR\ZZAZZL\CURSORS\ZZAZZL.BMP
- CURSOR 2 = 9 9 $SBARDIR\ZZAZZL\CURSORS\ZOOM.BMP
- CURSOR 5 = 16 1 $SBARDIR\ZZAZZL\CURSORS\LINK.BMP
- CURSOR 6 = 15 15 $SBARDIR\ZZAZZL\CURSORS\WAIT.BMP
- CURSOR 10 = 0 0 $SBARDIR\ZZAZZL\CURSORS\EXIT.BMP
- CURSOR 14 = 0 14 $SBARDIR\ZZAZZL\CURSORS\LEFT.BMP
- CURSOR 15 = 15 0 $SBARDIR\ZZAZZL\CURSORS\UPARROW.BMP
- CURSOR 16 = 31 15 $SBARDIR\ZZAZZL\CURSORS\RIGHT.BMP
- CURSOR 17 = 15 31 $SBARDIR\ZZAZZL\CURSORS\DOWN.BMP
- CURSOR 18 = 16 1 $SBARDIR\ZZAZZL\CURSORS\HUMAN.BMP
- CURSOR 19 = 15 15 $SBARDIR\ZZAZZL\CURSORS\BARNOT.BMP
- CURSOR 20 = 15 15 $SBARDIR\ZZAZZL\CURSORS\BEXIT.BMP
- // Demo: added link cursor for text back to bar -- bar 01-27-97
- CURSOR 24 = 27 1 $SBARDIR\BAR\CURSORS\LINK.BMP
- // Wield cursors -- None needed for Demo -- bar 01-27-97
-
- VAR Z_CURLOC = ZAP
- VAR EGGLOC = ZAP // Egg starts in Great Hall
- VAR EGGROLL = ZZZ // Which room to roll the egg to
- // Demo: removed useless variables. -- bar 01-27-97
- // For Zzazzl telepathic messages
- VAR ZZATEL = FALSE // don't start until chat done
- VAR TELEPATH = 1 // if it's time to play a message
- VAR MESSAGE = 0 // Which message to play
- VAR NUMMESSAGES = 0 // Number of messages to play 1-to-n
- VAR TELCOUNT = 602 // Messages start after a couple of turns
-
- VAR ZTURNCOUNT AS TIMER = 600
-
- // jwl 11.18.96 PDA save state information
- VAR PDAMODE = NOMODE
- VAR PDAPOSITION = DOWN
- VAR PDAINCREMENT = 11
-
- SDEV BPDA_WLD AS PDA {
- SET BKG=$SBARDIR\ZZAZZL\PDA\ZPDA.BMP;
- SET ARE=DEACTIVE[90,70,500,185]{
- RUN COMMAND = DEACTIVATEPDA;
- };
- SET BUT=$SBARDIR\ZZAZZL\PDA\ZMAP.BMP [121,233]+1^100%1;
- SET BUT=$SBARDIR\ZZAZZL\PDA\ZSTASH.BMP [170,233]+1^101%1;
- SET BUT=$SBARDIR\ZZAZZL\PDA\ZZOOM.BMP [223,233]+1^102 %1
- {
- // DEMO: Removed ability to zoom the PDA.
- SET TXT = $SBARDIR\GENERAL\NOTINCL.TXT COLOR 2 AS CAPTION;
- };
- SET BUT=$SBARDIR\ZZAZZL\PDA\ZSYSTEM.BMP [271,233]+1^103%1;
- SET BUT=$SBARDIR\ZZAZZL\PDA\ZLOG.BMP [323,234]+1^104%1;
- SET CHR=$SBARDIR\ZZAZZL\PDA\ZWAND.SMK^WANDANIM LOOP 0[1,32];
- SET TIME=$SBARDIR\ZZAZZL\PDA\ZTIME.BMP[413,188]^CLOCK+11 VALUE ZTURNCOUNT;
- }
-
- SDEV BWIELD_WLD AS WIELD {
- SET BKG=$SBARDIR\ZZAZZL\WIELD\ZZYOU.BMP;
- SET ARE = [1,1,99,99] {
- SET TXT =Soldier_714-Z-367 COLOR 2 SIZE 16 AS TITLE; //%%135
- SET BMP=$SBARDIR\GENERAL\MENUS\WAIT.BMP {
- RUN SND = $SBARDIR\GENERAL\WAIT.WAV;
- RUN COMMAND = UPDATE;
- };
- SET BMP=$SBARDIR\GENERAL\MENUS\SNAPOUT.BMP {
- RUN LNK=$SBARDIR\WLD\BAR.WLD~~BDP_WLD~~SOLDIER_WLD AS CLOSEUP;
- };
- };
- // DEMO: Removed interaction with the snacks.
- // DEMO: Removed interaction with the plunger.
- // DEMO: Removed itneraction with the pike.
- // DEMO: Removed interaction with the spear.
- // DEMO: Removed interaction with the fish.
- // DEMO: Removed interaction with the hairball.
- // DEMO: Removed interaction with the vent access card.
- // DEMO: Removed interaction with the outdoor access card.
- }
-
- SDEV EVT_WLD AS EVENT{
- IF (ZZATEL == TRUE)
- // At the end of a turn
- IF (TELCOUNT < ZTURNCOUNT)
- IF (NUMMESSAGES == 0)
- RUN EXPR = NUMMESSAGES( RANDOM % 5 ); // n is 5 to start
- RUN EXPR = NUMMESSAGES( NUMMESSAGES + 1 ); // 1 to 5 is the range
- ENDIF
- IF ( TELEPATH == 1 )
- RUN EXPR = MESSAGE( RANDOM % 7 );
- // DEMO: Reduced number of zzazzl messages to 1 through 10.
- IF (MESSAGE == 0)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL2.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (MESSAGE == 1)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL3.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (MESSAGE == 2)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL4.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (MESSAGE == 3)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL5.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (MESSAGE == 4)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL7.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (MESSAGE == 5)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL10.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (MESSAGE == 6)
- RUN SND=$SBARDIR\ZZAZZL\EVENTS\ZZTEL23.WAV AS MIX;
- RUN EXPR = NUMMESSAGES( NUMMESSAGES - 1 ); // decrement msg
- ENDIF
- IF (NUMMESSAGES == 0)
- RUN EXPR = TELCOUNT( ZTURNCOUNT + 1 );
- // About 50% of the time
- RUN EXPR = TELEPATH( RANDOM % 2);
- ENDIF
- ENDIF
- ENDIF
- ENDIF
- // DEMO: Removed egg in river support.
- // DEMO: Removed check to see if shuttle bay is flooded.
- // DEMO: Removed check to see if the pool room is flooded.
- // DEMO: Removed check to see if hairball has made it to the downstream pool room
- // DEMO: Removed egg on tracks support.
- }
-
- SDEV MAP_WLD AS BMP RECT[116,108,248,218]{
- SET BKG = $SBARDIR\ZZAZZL\MAP\ZMAP.BMP;
- // Soldier Icon locations
- IF (Z_CURLOC == ZAP)
- SET SPR=$SBARDIR\ZZAZZL\MAP\YOU.BMP[214,97] FRAMERATE 4 +2 %0;
- ENDIF
- // Egg Icon locations
- IF (EGGLOC == ZAP)
- SET SPR=$SBARDIR\ZZAZZL\MAP\EGG.BMP[203,97] FRAMERATE 4 +2 %0;
- ENDIF
- IF (EGGLOC == ZEB)
- SET SPR=$SBARDIR\ZZAZZL\MAP\EGG.BMP[92,78] FRAMERATE 4 +2 %0;
- ENDIF
- // THE WIRE
- SET SPR=$SBARDIR\ZZAZZL\PDA\ZSCREEN.BMP[227,0]+1 %0;
- }
-
- SDEV INV_WLD AS INVWLD RECT [117,110,349,219] {
- SET BKG=$SBARDIR\ZZAZZL\INV\INVBACK.BMP;
- // DEMO: Removed interactions with the snacks.
- // DEMO: Removed interactions with the plunger.
- // DEMO: Removed interactions with the pike.
- // DEMO: Removed interactions with the spear.
- // DEMO: Removed interactions with the fish.
- // DEMO: Removed interactions with the hairball.
- // DEMO: Removed interactions with the vent access card.
- // DEMO: Removed interactions with the outdoor access card.
- }
-
- SDEV LOG_WLD AS LOG RECT[116,108,248,218]{
- SET BKG = $SBARDIR\ZZAZZL\INV\INVBACK.BMP;
- SET TXT = $SBARDIR\ZZAZZL\LOG\ZZALOG.TXT[0,0,200,100] SIZE 12 COLOR 7 AS TITLE ; //%%1300
- }
- //
- // Great Hall
- //
- SDEV ZAP_WLD FILTER 8 {
- SET BKG=$SBARDIR\ZZAZZL\PAN\ZAP.BMP;
- RUN EXPR = Z_CURLOC(ZAP);
- RUN EXPR = ZZATEL( TRUE ); // don't start until chat done
-
- // DEMO: Convert the link to the link to the mess hall to be
- // a link to the txt3_wld and back to the soldier closeup.
- SET ARE=[824,256,938,338]%5{
- RUN LNK = TXT3_WLD;
- };
- // Link to Tapestry closeup
- SET LNK = ZACA_WLD[1220,200,1365,290]^TAPESTRY %2;
-
- // DEMO: Removed the interaction with the liftcall.
- SET ARE = [1855,265,2015,340]^THRONE %1 {
- SET TXT= throne COLOR 2 SIZE 16 AS TITLE; //%%1547
- SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANDEXC1.WAV AS QUEUE *3;
- };
- SET BMP=$SBARDIR\GENERAL\MENUS\SITON.BMP{
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANDSIC1.WAV AS QUEUE *3;
- };
- // DEMO: Removed lookbehind interaction
- // DEMO: Removed plunge interaction
- };
- // DEMO: Removed interaction with the pike in the doors.
- // DEMO: Removed interaction with the doors wooshing shut.
- IF (EGGLOC == ZAP)
- SET CHR = $SBARDIR\ZZAZZL\PANIMS\ZAEG2.SMK[806,326]^EGG %1 LOOP 0{
- SET TXT= egg COLOR 2 SIZE 16 AS TITLE; //%%1653
- SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANAEXC1.WAV AS QUEUE *3;
- };
- SET BMP=$SBARDIR\GENERAL\MENUS\BREAK.BMP{
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANABRC1.WAV AS QUEUE *3;
- };
- // DEMO: Removed the smell interaction
- // DEMO: Removed the plunge interaction
- SET BMP=$SBARDIR\GENERAL\MENUS\ROLL.BMP{
- SET TXT=Roll_the_egg_to... COLOR 4 SIZE 16 AS TITLE; //%%1669
- SET TXT=Mess_Hall COLOR 4 SIZE 16 %1 { //%%1670
- RUN SND=$SBARDIR\ZZAZZL\CHAR\EGG\ZBEA.WAV AS MIX;
- RUN EXPR = EGG~~MODAL( 1 );
- RUN EXPR = EGG~~LOOP( 1 );
- RUN EXPR = EGGROLL( ZZZ );
- // DEMO: Don't transfer the egg to mess hall world.
- // DEMO: Don't remove the hallway from the mess hall
- RUN EXPR = EGGLOC( ZEB );
- };
- IF (ZAP_WLD CONTAINS ZETA)
- SET TXT=the_lift_shaft COLOR 4 SIZE 16 %1 { //%%1680
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANAROC2.WAV AS QUEUE *3;
- };
- ENDIF
- };
- SET BMP=$SBARDIR\GENERAL\MENUS\PICKUP.BMP {
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANATAC1.WAV AS QUEUE *3;
- };
- };
- ENDIF
- }
-
- //
- // Tapestry closeup
- //
- SDEV ZACA_WLD FILTER 8 AS CLOSEUP {
- SET BKG = $SBARDIR\ZZAZZL\CLOSEUP\ZACA\ZACA.BMP;
- SET ARE = [75,70,420,310]^TAPESTRY %1 {
- SET TXT= tapestry COLOR 2 SIZE 16 AS TITLE; //%%1697
- SET BMP=$SBARDIR\GENERAL\MENUS\EXAMINE.BMP{
- RUN SND=$SBARDIR\ZZAZZL\AUDIO\ZANEEXC1.WAV AS QUEUE *3;
- };
- // DEMO: Removed the lookbehind interaction
- // DEMO: Removed the plunge interaction
- // DEMO: Removed the pickup interaction
- };
- }
-
- SDEV TXT3_WLD AS CHAT {
- SET BKG=$SBARDIR\GENERAL\TEXT3.BMP;
- SET ARE=[0,0,639,479] %24 {
- RUN LNK=$SBARDIR\WLD\BAR.WLD~~BDP_WLD~~SOLDIER_WLD AS CLOSEUP;
- };
- }
-