How do I add "zcommon" to Doom builder(Zdoom)

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
mayson
Posts: 43
Joined: Sun Dec 04, 2005 10:59 am
Location: Why!

How do I add "zcommon" to Doom builder(Zdoom)

Post by mayson »

I keep getting a error saying "P_STARTSCRIPT:UKNOWN_SCRIPT with every script I try.How do I add "zcommon" to Doom builder(Zdoom).
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

Right at the top of your scripts lump write in:

#include "zcommon.acs"

and you'll be fine.
User avatar
mayson
Posts: 43
Joined: Sun Dec 04, 2005 10:59 am
Location: Why!

Post by mayson »

Phobus wrote:Right at the top of your scripts lump write in:

#include "zcommon.acs"

and you'll be fine.
I did and it still dosen't work
User avatar
Enjay
 
 
Posts: 27201
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Is zcommon.acs in the same directory as the file you are compiling?
User avatar
mayson
Posts: 43
Joined: Sun Dec 04, 2005 10:59 am
Location: Why!

Post by mayson »

Enjay wrote:Is zcommon.acs in the same directory as the file you are compiling?
what do you mean?which file dose it have to be in?
User avatar
Enjay
 
 
Posts: 27201
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

It doesn't have to be in a "file" but I find that my scripts compile just fine when I put acc plus all the files it comes with in the same directory/folder as the acs file I want to compile. The actual directory doesn't seem to matter, just the fact they are all together.
User avatar
mayson
Posts: 43
Joined: Sun Dec 04, 2005 10:59 am
Location: Why!

Post by mayson »

Enjay wrote:It doesn't have to be in a "file" but I find that my scripts compile just fine when I put acc plus all the files it comes with in the same directory/folder as the acs file I want to compile. The actual directory doesn't seem to matter, just the fact they are all together.
ok thanks :lol:
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Post by Apothem »

[offtopic] Wow, that a cool avatar Mayson. what's that from?[/offtopic]

ACC is funny like that.... I'm not entirely sure if you can specify pathnames or not when including the files. I think you can, and I remember having to do that, but it's been a while.
User avatar
justin024
Posts: 379
Joined: Sun Nov 14, 2004 1:29 am
Location: Illinois
Contact:

Post by justin024 »

Yes, you can specify paths. (edit) For the location of libraries at least.
Last edited by justin024 on Sun Dec 04, 2005 12:19 pm, edited 2 times in total.
User avatar
mayson
Posts: 43
Joined: Sun Dec 04, 2005 10:59 am
Location: Why!

Post by mayson »

Apothem wrote:[offtopic] Wow, that a cool avatar Mayson. what's that from?[/offtopic]

ACC is funny like that.... I'm not entirely sure if you can specify pathnames or not when including the files. I think you can, and I remember having to do that, but it's been a while.
your avatar is also cool

but Zcommon still dosent work. do i have to put in in the same file that zdoom is in or doom builder?
User avatar
Enjay
 
 
Posts: 27201
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

I don't use doombuilder but in answer to the question - my zcommon is not in the same folder as my editor (DeePsea) or zdoom. It's in a folder called f:\doom\zdoomutils and so are all the other files that came with acc, acc itself and the scripts I compile.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

If you are compiling the script with Doom Builder, then it should be in the program directory of Doom Builder. If you are not using DB to compile, then all you need to do is put the acc.exe, the wad and all needed .acs files in the same folder.

EDIT - Well, if that works for Enjay, then maybe they don't need to be in the same folder :|
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

ACC really should have an include path option.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

Apothem wrote:[offtopic] Wow, that a cool avatar Mayson. what's that from?[/offtopic]
That's Alucard from Castlevania: Symphony of the Night.
User avatar
mayson
Posts: 43
Joined: Sun Dec 04, 2005 10:59 am
Location: Why!

Post by mayson »

man it still doesnt work

can some one give me a step by step method you used when you downloaded zdoom
Locked

Return to “Editing (Archive)”