Severed bunny head
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > F&cking script!
 
Author
All times are GMT. The time now is 12:28. Post New Thread    Post A Reply
Bloodskull
Reputation is a bubble which a man bursts when he tries to blow it for himself.


Posts: 887
Registered: 06-04


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?

Old Post 07-24-04 02:48 #
Bloodskull is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Apothem
Junior Member


Posts: 184
Registered: 03-03


Have you tried using a normal print statement?

Old Post 07-24-04 03:18 #
Apothem is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Epyo
Dude


Posts: 2921
Registered: 06-02


Dude look at the end of script 9, you didn't close that printbold.

__________________
Pacman Doom 2 Play with latest version of ZDoom!

Old Post 07-24-04 04:04 #
Epyo is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Bloodskull
Reputation is a bubble which a man bursts when he tries to blow it for himself.


Posts: 887
Registered: 06-04


Fixed that and still had the problem. When I removed all text, the script works. Strangly weird.

Old Post 07-24-04 04:07 #
Bloodskull is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Cyb


Posts: 2726
Registered: 07-02


oh for the love of god that script is ugly as shit. I can't allow something like that to continue to exist

code:
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

Old Post 07-24-04 06:22 #
Cyb is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Scuba Steve


Posts: 3740
Registered: 11-02


lol @ cyb for being a script nerd

Old Post 07-24-04 06:27 #
Scuba Steve is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3743
Registered: 05-00



Scuba Steve said:
lol @ cyb for being a script nerd

The script WAS ugly. Everybody with some programming experience will say that.

Old Post 07-24-04 08:17 #
boris is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Bloodskull
Reputation is a bubble which a man bursts when he tries to blow it for himself.


Posts: 887
Registered: 06-04


I don't have programming experience so there ya go.

Old Post 07-24-04 16:07 #
Bloodskull is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 12:28. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > F&cking script!

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory