Advertisement
ijontichy

tmp.c

May 13th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.46 KB | None | 0 0
  1. script 2 OPEN
  2. {
  3.     Thing_SetGoal (1,2,0,0);
  4.     While (ThingCount (0,8) > 0)
  5.     delay (35);
  6.     SetHudSize(320, 200, 1);
  7.     SetFont ("SMALLFONT");
  8.     HudMessageBold(s:"Uh oh! Here come some Imp Heads!";
  9.     HUDMSG_TYPEON | HUDMSG_LOG, 1, CR_GOLD, 160.0,100.0, 5.0);
  10.     delay (100);
  11.     SpawnSpot ("ImpHead2",7,9,128);
  12.     While (ThingCount (0,9) > 0)
  13.     delay (35);
  14.     SetHudSize(320, 200, 1);
  15.     SetFont ("BIGFONT");
  16.     HudMessageBold(s:"HERE COMES THE FINAL BOSS...";
  17.     HUDMSG_TYPEON | HUDMSG_LOG, 1, CR_RED, 160.0,100.0, 5.0);
  18.     SetMusic ("d_ttfaf",0);
  19.     delay (100);
  20.     SpawnSpot ("GiantImp",18,10,128);
  21.     ACS_Execute (4,7,0,0,0);
  22.     While (ThingCount (0,10) > 0)
  23.     delay (35);
  24.     SetFont ("BIGFONT");
  25.     HudMessageBold(s:"Congratulations, you have beaten the final boss and beaten Imp Dodgeball!";
  26.     HUDMSG_TYPEON | HUDMSG_LOG, 1, CR_LIGHTBLUE, 160.0,100.0, 5.0);
  27.     ACS_Terminate (4,7);
  28.     SetMusic ("d_rave",0);
  29.     Thing_Destroy (1,1);
  30.     delay (100);
  31.     ACS_Execute (3,7,0,0,0);
  32.     ReplaceTextures ("ZZWOLF11","FLAT23",NOT_BOTTOM | NOT_MIDDLE | NOT_TOP | NOT_CEILING);
  33.     ChangeCamera (16,1,0);
  34.     Ceiling_MoveToValue (17,64,64,0);
  35.     Thing_Remove (8); //clear imp corpses
  36.     Thing_Remove (1); //clear imp corpses
  37.     Thing_Remove (10); //remove giant imp corpse
  38.     delay (200);
  39.     SetHudSize(320, 200, 1);
  40.     SetFont ("SMALLFONT");
  41.     HudMessageBold(s:"Press F12 to quit camera";
  42.     HUDMSG_TYPEON | HUDMSG_LOG, 1, CR_LIGHTBLUE, 160.0,100.0, 5.0);
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement