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.

How to use #nocompact ??

Postby SPZ1 » Sat Oct 21, 2017 3:09 pm

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
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: How to use #nocompact ??

Postby Kappes Buur » Sat Oct 21, 2017 11:21 pm

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
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to use #nocompact ??

Postby SPZ1 » Sun Oct 22, 2017 9:38 am

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
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: How to use #nocompact ??

Postby Kappes Buur » Sun Oct 22, 2017 11:03 am

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
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to use #nocompact ??

Postby Graf Zahl » Sun Oct 22, 2017 1:52 pm

I think the problem is usage of 'const:'. This is essentially deprecated for ZDoom ACS.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to use #nocompact ??

Postby SPZ1 » Sun Oct 22, 2017 2:58 pm

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

Code: Select allExpand view
   275:Floor_Stop(1),
   276:Ceiling_Stop(1),


Check it out for yourself !
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois

Re: How to use #nocompact ??

Postby Blue Shadow » Sun Oct 22, 2017 10:16 pm

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
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: How to use #nocompact ??

Postby Graf Zahl » Mon Oct 23, 2017 12:34 am

Yeah, the ACC download link really needs an update.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: How to use #nocompact ??

Postby Rachael » Mon Oct 23, 2017 2:21 am

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
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support

Re: How to use #nocompact ??

Postby SPZ1 » Mon Oct 23, 2017 7:09 am

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!
User avatar
SPZ1
 
Joined: 02 Aug 2017
Location: Illinois


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests