Icon of Sin / Baphomet
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 > I'm having extreme trouble with Wad Author's ACS compiler!
 
Author
All times are GMT. The time now is 05:26. Post New Thread    Post A Reply
Lazer
Member


Posts: 362
Registered: 03-01


I have a sector that I want to have blue lighting. I tagged it 1, and put in this script (which happens to be the only script I have put in my level so far):

#include "zcommon.acs"

script 1 OPEN
{

//Blue
Sector_SetColor (const:1, 0, 0, 255);

}

I hit compile and it compiles. Next, I save my map and then test it. The script never activates, so, the sector never turns blue. I've also tried using an OPEN script to try to create sparks at the beginning of the level, again, nothing.

Old Post 11-06-01 02:17 #
Lazer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
X-DOOM
Junior Member


Posts: 127
Registered: 07-00


this is very strange !

work fine for me !

Old Post 11-06-01 03:18 #
X-DOOM is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3626
Registered: 05-00


Press "Show" after it compiled. Maybe there was some error while trying to do so. If anything went wrong, there should be a error message in the box at the bottom of the script dialog.

Old Post 11-06-01 05:39 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Lazer
Member


Posts: 362
Registered: 03-01


Nothing appears in the "show" box.

EDIT: I believe I know what the problem is. I took an example level that only showed off lighting and tried making slight changes to that with WA. Like, I changed the:

Sector_SetColor (const:1, 0, 0, 255);
to
Sector_SetColor (const:2, 0, 0, 255);

When I started it up, the sector that was tagged with 1, was still blue! This means that somehow WA is not applying the changes even though it said it compiled. Even after I have saved and exitted WA, when I come back it shows the changes I made. This is very strange...

Old Post 11-06-01 13:22 #
Lazer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3626
Registered: 05-00


Well, looks like it doesn't save the compiled script to the wad. This can be caused by errors while compiling (yes, I know that it does not show any errors). Unfortunately I've got no idea how to fix it :/

Old Post 11-06-01 14:03 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Lazer
Member


Posts: 362
Registered: 03-01


Are there any other editors I could use then?

Old Post 11-06-01 14:12 #
Lazer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
deep
as in Deepsea


Posts: 1066
Registered: 09-01


Check your path for "long" file names. I'm pretty sure it has something to do with some configuration issue:)

But since you ask, yes ZETH and DeePsea can both handle ZDOOM levels - slightly better since they both let you directly access to the extended SECTOR and LINEDEF flags (without hex hacking).

If you are a WA prefab person, then use the prefabs in DeePsea. Same thing, only the prefabs are interactive - you can place and size them in real time, plus it's much easier to drag and split linedefs. Toolbars are the easiest way to select prefabs. Customize to your taste:)

PS: I did your scripts as posted and they worked fine.

Old Post 11-06-01 16:14 #
deep is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Lazer
Member


Posts: 362
Registered: 03-01


I don't know what was wrong, but I semi-fixed it. I copied WA into a new folder. From there, I was able to use it fine. The only problem I ran into was that some commands such as "Sector_SetColor" give me this type of error:

Error #48: Identifier has not been declared.
> Sector_SetColor
> ^
Identifier: sector_setcolor
Host byte order: LITTLE endian

What is this all about? If it didn't give me this error, I would be able to add colored lighting at the start! I've also tried opening other wads that use Sector_SetColor and it gives me the same error when I try hitting compile.

Old Post 11-06-01 18:12 #
Lazer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6381
Registered: 12-00


This looks like the kind of error you might get if one of the required files are missing.

Make sure you have the following files in the correct directory (that should be the same one as the script you are compiling - at least that works for me with DeePsea - maybe you will need to have them in the ACC directory instead - try both).

zcommon.acs
zspecial.acs
zdefs.acs
zwvars.acs

Old Post 11-06-01 18:33 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Lazer
Member


Posts: 362
Registered: 03-01


THANK YOU!!!!!!!!

Old Post 11-06-01 19:11 #
Lazer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 05:26. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > I'm having extreme trouble with Wad Author's ACS compiler!

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.