MikeyScoots Posted July 24, 2004 Argh:Line 193: Light_Fade (62, 144, 35*8); String too long > Light_Fade ( > ^ Line 243: printbold(s:"\cgBlue key is now accesible."); Bad character in script text > printbold(s:"\c > ---------------------------------------------------------------------- Script 9 (Void) { Floor_lowerByValue (29, 1, 76); Delay(35*15); Ceiling_LowerAndCrush (27, 75, 255); Thing_Activate (1); printbold(s:"\cbWarning:Power Failure!"); Delay(35*3); Light_Fade (76, 96, 35*10); Delay(35*3); Sector_SetColor (76, 128, 0, 0); Light_Glow (76, 128, 128, 35*1); Thing_Projectile (3, 10, 0, 50, 50); Delay(35*2); Thing_Projectile (8, 10, 0, 50, 50); Delay(35*2); Thing_Projectile (9, 10, 0, 50, 50); Thing_Spawn (10, 5, 180); Thing_Spawn (11, 1, 180); Thing_Spawn (12, 8, 180); Thing_Spawn (13, 19, 90); Thing_Spawn (14, 4, 0); Thing_Spawn (15, 5, 0); printbold(s:"\cbEvacuate base immediatly."); Delay(35*2); printbold(s:"\cbWarning:30 seconds until self destruction sequence."); Delay(35*1); printbold(s:"\cb30."); Delay(35*1); printbold(s:"\cb29."); Delay(35*1); printbold(s:"\cb28."); Delay(35*1); printbold(s:"\cb27."); Delay(35*1); printbold(s:"\cb26."); Delay(35*1); printbold(s:"\cb25."); Delay(35*1); printbold(s:"\cb24."); Delay(35*1); printbold(s:"\cb23."); Delay(35*1); printbold(s:"\cb22."); Delay(35*1); printbold(s:"\cb21."); Delay(35*1); printbold(s:"\cb20."); Delay(35*1); printbold(s:"\cb19."); Delay(35*1); printbold(s:"\cb18."); Delay(35*1); printbold(s:"\cb17."); Delay(35*1); printbold(s:"\cb16."); Delay(35*1); printbold(s:"\cb15."); Delay(35*1); printbold(s:"\cb14."); Delay(35*1); printbold(s:"\cb13."); Delay(35*1); printbold(s:"\cb12."); Delay(35*1); printbold(s:"\cb11."); Delay(35*1); printbold(s:"\cb10."); Delay(35*1); printbold(s:"\cb9."); Delay(35*1); printbold(s:"\cb8."); Delay(35*1); printbold(s:"\cb7."); Delay(35*1); printbold(s:"\cb6."); Delay(35*1); printbold(s:"\cb5."); Delay(35*1); printbold(s:"\cb4."); Delay(35*1); printbold(s:"\cb3."); Delay(35*1); printbold(s:"\cb2."); Delay(35*1); printbold(s:"\cb1."); Delay(35*1); printbold(s:"\cbSorry testers, this script is not yet complete. } Script 11 (Void) { Floor_lowerByValue (58, 10, 119); Floor_lowerByValue (71, 10, 119); Ceiling_RaiseByValue (59, 10, 26); Light_Fade (58, 144, 35*8); Light_Fade (61, 144, 35*8); Light_Fade (62, 144, 35*8); Light_Fade (63, 144, 35*8); Light_Fade (64, 144, 35*8); Light_Fade (65, 144, 35*8); Light_Fade (66, 144, 35*8); Light_Fade (67, 144, 35*8); Light_Fade (70, 144, 35*8); delay(35*3); Pillar_Build (69, 5, 75); delay(35*5); Thing_Activate (7); delay(35*4); Thing_Deactivate (7); Light_Fade (58, 96,35*8); Light_Fade (61, 96,35*8); Light_Fade (62, 96,35*8); Light_Fade (63, 96,35*8); Light_Fade (64, 96,35*8); Light_Fade (65, 96,35*8); Light_Fade (66, 96,35*8); Light_Fade (67, 96,35*8); Light_Fade (70, 96,35*8); Light_Fade (71, 96,35*8); delay(35*8); Thing_Spawn (4, 5, 0); Thing_Spawn (5, 1, 0); Thing_Spawn (6, 20, 0); delay(35*3); Floor_RaiseByValue (61, 5, 8); Floor_RaiseByValue (62, 5, 16); Floor_RaiseByValue (63, 5, 32); Floor_RaiseByValue (64, 5, 40); Floor_RaiseByValue (65, 5, 48); Floor_RaiseByValue (66, 5, 56); Floor_RaiseByValue (67, 5, 64); Light_Fade (58, 144, 35*8); Light_Fade (61, 144, 35*8); Light_Fade (62, 144, 35*8); Light_Fade (63, 144, 35*8); Light_Fade (64, 144, 35*8); Light_Fade (65, 144, 35*8); Light_Fade (66, 144, 35*8); Light_Fade (67, 144, 35*8); Light_Fade (70, 144, 35*8); Light_Fade (71, 160, 35*8); } Script 12 (Void) { ChangeCamera (7, 1, 1); printbold(s:"\cgBlue key is now accesible."); Floor_LowerToNearest (72, 10); } Wtf? 0 Share this post Link to post
Apothem Posted July 24, 2004 Have you tried using a normal print statement? 0 Share this post Link to post
Epyo Posted July 24, 2004 Dude look at the end of script 9, you didn't close that printbold. 0 Share this post Link to post
MikeyScoots Posted July 24, 2004 Fixed that and still had the problem. When I removed all text, the script works. Strangly weird. 0 Share this post Link to post
Cyb Posted July 24, 2004 oh for the love of god that script is ugly as shit. I can't allow something like that to continue to exist Script 9 (void) { Floor_lowerByValue (29, 1, 76); delay(35 * 15); Ceiling_LowerAndCrush (27, 75, 255); Thing_Activate (1); printbold(s:"\cbWarning:Power Failure!"); delay(35 * 3); Light_Fade (76, 96, 35 * 10); delay(35 * 3); Sector_SetColor (76, 128, 0, 0); Light_Glow (76, 128, 128, 35 * 1); Thing_Projectile (3, 10, 0, 50, 50); Delay(35 * 2); Thing_Projectile (8, 10, 0, 50, 50); Delay(35 * 2); Thing_Projectile (9, 10, 0, 50, 50); Thing_Spawn (10, 5, 180); Thing_Spawn (11, 1, 180); Thing_Spawn (12, 8, 180); Thing_Spawn (13, 19, 90); Thing_Spawn (14, 4, 0); Thing_Spawn (15, 5, 0); printbold(s:"\cbEvacuate base immediatly."); delay(35 * 2); printbold(s:"\cbWarning:30 seconds until self destruction sequence."); for(int x = 30; x >= 0; x--) { delay(35); printbold(s:"\cb", d:x); } printbold(s:"\cbSorry testers, this script is not yet complete."); } Script 11 (Void) { int x; Floor_lowerByValue (58, 10, 119); Floor_lowerByValue (71, 10, 119); Ceiling_RaiseByValue (59, 10, 26); Light_Fade (58, 144, 35 * 8); for(x = 58; x <= 70; x++) { if(x == 59 || x == 60) continue; if(x == 68 || x == 69) continue; Light_Fade (x, 144, 35*8); } delay(35 * 3); Pillar_Build (69, 5, 75); delay(35 * 5); Thing_Activate (7); delay(35 * 4); Thing_Deactivate (7); for(x = 58; x <= 71; x++) { if(x == 59 || x == 60) continue; if(x == 68 || x == 69) continue; Light_Fade (x, 96, 35 * 8); } delay(35 * 8); Thing_Spawn (4, 5, 0); Thing_Spawn (5, 1, 0); Thing_Spawn (6, 20, 0); delay(35 * 3); Light_Fade (58, 144, 35 * 8); Light_Fade (70, 144, 35 * 8); Light_Fade (71, 160, 35 * 8); for(x = 61; x <= 67; x++) { Floor_RaiseByValue (x, 5, 8); Light_Fade (x, 144, 35*8); } } Script 12 (Void) { ChangeCamera (7, 1, 1); printbold(s:"\cgBlue key is now accesible."); Floor_LowerToNearest (72, 10); } phew, there. I feel better now 0 Share this post Link to post
boris Posted July 24, 2004 Scuba Steve said:lol @ cyb for being a script nerd The script WAS ugly. Everybody with some programming experience will say that. 0 Share this post Link to post
MikeyScoots Posted July 24, 2004 I don't have programming experience so there ya go. 0 Share this post Link to post