Page 1 of 1

help acc script p_startscript: Unknow script 100

Posted: Thu Jan 08, 2015 9:04 am
by [zheg]
hi, i've been reading about the acc script and that but im in trouble
every time i press R for "reload" it says: p_startscript Unknow script 100

i already have this:
Image
in CMDS.txt i have this:

Code: Select all

#library "CMDS"
#include "zcommon.acs"

Script 100 (VOID) NET
{
 GiveInventory("Reloading", 1);
}
and finally the script compiled with acc.exe (v1.54)

and then i have the code:

Code: Select all

addmenukey "Reload" reloader
alias reloader "puke 100"
defaultbind R reloader
and everything its not working and i dont know why, i been searching trough the web and i cant find a proper answer, can somebody help me what im doing wrong?
nvm it worked now
gg

RE: help acc script p_startscript: Unknow script 100

Posted: Thu Jan 08, 2015 10:49 pm
by false_chicken
Isnt LOADACS supposed to be in the root of the PK3 not in the ACS folder? I am new at this but it looks like you might be using a WAD file. I do not usually deal with those unless its an individual map inside of a PK3 maps folder but in my WWII mod PK3 LOADACS is in the root of the PK3 then my libraries/acs are in the ACS sub folder.

Just my two cents that are probably wrong.

RE: help acc script p_startscript: Unknow script 100

Posted: Thu Jan 08, 2015 11:01 pm
by Arctangent
false_chicken wrote: it looks like you might be using a WAD file
:neutral:

Anyway, yeah try putting the LOADACS lump in the root folder. The /acs folder is just for compiled scripts, and LOADACS isn't actually ACS; it's an entirely separate lump that points Zandronum towards what ACS lumps to load on every map.

Also, you don't need the A_START / A_END markers, as those are how .wads find ACS scripts. They're redundant since your compiled ACS is already in the /acs folder, meaning Zandronum already knows they're there.

RE: help acc script p_startscript: Unknow script 100

Posted: Sun Jan 11, 2015 8:49 am
by Zheg
Ohhh nice tip
Thx i love you guys