How to use #nocompact ??

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
SPZ1
Posts: 256
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

How to use #nocompact ??

Post by SPZ1 »

Well I was updating zspecial.acs with 275:Floor_Stop() and 276:Ceiling_Stop() when I got the message:
Spoiler:
How can I solve this ??
User avatar
Kappes Buur
 
 
Posts: 4120
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to use #nocompact ??

Post by Kappes Buur »

What program did you use to compile the script?
Which mapping format did you use?
Which version of ACC.EXE are you using?
  • To find out, Shift+RMB in the folder and click to open the command window
    Spoiler:
    then append acc.exe -h
    Spoiler:
Instead of us having to guess, you might as well upload the map.

Then there is the WIKI to explain the context of #nocompact:
https://zdoom.org/wiki/Directive
https://zdoom.org/wiki/BEHAVIOR

To update zcommon.acs, zdefs.acs, zspecial.acs, zwvars.acs to the latest state run UPDATEACS and replace the old files
User avatar
SPZ1
Posts: 256
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: How to use #nocompact ??

Post by SPZ1 »

What program did you use to compile the script?
I used ACC for Windows 1.55 from https://zdoom.org/downloads as this is the only ACC I know of.
Which mapping format did you use?
This question is irrelevant since I've been compiling with a .BAT file in the Windows shell but if you must know.. I use GZDoom (Doom in Hexen mode).
Which version of ACC.EXE are you using?
If you would have checked the spoiler in my post, you would have seen I've been using version 1.55
Instead of us having to guess, you might as well upload the map.
Sorry, I'm not uploading my secret project as it is irrelevant to my compiling with batch files in the Windows shell and importing the object file with SLADE
User avatar
Kappes Buur
 
 
Posts: 4120
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: How to use #nocompact ??

Post by Kappes Buur »

Well, you don't seem to accept help graciously, even when a question may be redundant.
All I will tell you is, that Floor_Stop works perfectly, on a linedef or in a script.

Good luck with your project.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: How to use #nocompact ??

Post by Graf Zahl »

I think the problem is usage of 'const:'. This is essentially deprecated for ZDoom ACS.
User avatar
SPZ1
Posts: 256
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: How to use #nocompact ??

Post by SPZ1 »

All I did was add these two lines to zspecial.acs:

Code: Select all

	275:Floor_Stop(1),
	276:Ceiling_Stop(1),
Check it out for yourself !
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: How to use #nocompact ??

Post by Blue Shadow »

SPZ1 wrote:I used ACC for Windows 1.55 from https://zdoom.org/downloads as this is the only ACC I know of.
Try the ACC package from here, the one at the top. It's newer than the one on the ZDoom site.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: How to use #nocompact ??

Post by Graf Zahl »

Yeah, the ACC download link really needs an update.
User avatar
Rachael
Posts: 13558
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: How to use #nocompact ??

Post by Rachael »

Considering ACC hasn't had an official release for a long time now, I just went ahead and did a git version. I asked Randi about the possibility of transferring the repo, or at least doing additional invites to make it easier to do releases.
User avatar
SPZ1
Posts: 256
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: How to use #nocompact ??

Post by SPZ1 »

Blue Shadow wrote:Try the ACC package from here, the one at the top. It's newer than the one on the ZDoom site.
This works splendidly! Not only did it compile but Floor/Ceiling_Stop works as well. Thank you!
Post Reply

Return to “Scripting”