Named script support?

Maps, modifications, add-ons, projects, and other releases for Zandronum. Also includes announcers.
Post Reply
Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

Named script support?

#1

Post by Lollipop » Thu Mar 14, 2013 3:49 pm

Hey.
if there is someone around who knows, then id like to know if its only me getting a crash when using named scripts.
If they do not work with ZA, then id like to see them working at some point :)
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

Stiff
Forum Regular
Posts: 312
Joined: Sun Jul 15, 2012 10:03 am
Location: Location: about 1,4 KM away from xrgman
Contact:

RE: Named script support?

#2

Post by Stiff » Thu Mar 14, 2013 4:52 pm

tried them, dont work.

Probably becouse i use an old acs compiler.
You need atleast ACC v1.51.

EDIT:
Yup downloaded last ACC version and next script(s) worked:


#include "zcommon.acs"

Script "Stiff" (void)
{
Print(s:"Stiff");
}

Script 1 (void)
{
Acs_namedexecute("Stiff",0);
}


You can download latest ACC compiler here (1.53) : http://www.zdoom.org/files/utils/acc/acc153win.zip

Place those files in .../Doombuilder2/Compilers/Zdoom

Or where ever you placed your Compiler/Doombuilder2 files!

Still have problems PM me and i will help you some more.
Last edited by Stiff on Thu Mar 14, 2013 5:00 pm, edited 1 time in total.

Ijon Tichy
Frequent Poster Miles card holder
Posts: 901
Joined: Mon Jun 04, 2012 5:07 am

RE: Named script support?

#3

Post by Ijon Tichy » Thu Mar 14, 2013 6:24 pm

Zandronum does not support named scripts, since it breaks with negative script numbers, which is what named scripts are translated to.

Post Reply