Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Project Shadowcat

ZDoom For Dummies and Wizzies

Recommended Posts

Where the hell can I find some documentation on how to code scripts with ACS, strictly for ZDoom in Hexen format? (ie, Doom Arcade, Escape from Phobos)

Extracting the entries and examining one script doesn't seem to be helping me in finding out how to make a good map incorporating a script.

Excuse me for acting like a stupid idiot, but some of us are not as gifted in seeing the lines of code within those screenshots as the rest of you.

Share this post


Link to post

If you're using Doom Builder and your map is in Hexen format, then go to the Scripts menu and click on Edit BEHAVIOR Lump. It will show you the script editor.

For ZDoom, you put this at the top:

#Include "zcommon.acs"
Each script you write is, in programming terms, a "method". A simple Hello World would look like this:
#Include "zcommon.acs"

Script 1 Open
{
	Print(s:"Hello World!");
}
For more information on the available functions and other ACS stuff, see the the ZDoom Wiki. In Doom Builder's script editor, you can use CTLR+SPACE to AutoComplete function names (also helps you looking for available functions) and if you put your cursor in a function (for example, like this: Pri|nt) and press F1, it will show you the corresponding Wiki page with more information about the function.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×