Difference between revisions of "Scripting"
PeeWeeRotA (Talk | contribs) (→Scripting Tutorials) |
PeeWeeRotA (Talk | contribs) (→Commands) |
||
Line 16: | Line 16: | ||
Below are a list of scripting commands with examples. (More added as examples are made) | Below are a list of scripting commands with examples. (More added as examples are made) | ||
− | |||
* [[ScriptAreaSound|AreaSound]] | * [[ScriptAreaSound|AreaSound]] | ||
+ | * [[ScriptChangeSideTexture|ChangeSideTexture]] |
Revision as of 17:32, 21 February 2014
Installation Instructions
The script compiler is available on GitHub. Currently you will need to have a C++ compiler in order to build it. (MSVC++ 2010 Express is free and is compatible with the provided project files)
https://github.com/ExiguusEntertainment/AAScriptCompiler
Scripting Tutorials
Scripts are written in .SRC files. These contain the script's source which is compiled into .SRP files by the A&A Script Compiler utility. BLANK.SRC, TEMPLATE.SRC, and L1.SRC are provided to show examples of scripting methods and layout. The L1.SRC is the source for Quest 1's first map (L30.MAP). This can be opened in Doom Builder 2 using the [Classic Editor" | Classic Editor].
Remember, compiled script files are formatted S###.SRP as opposed to all of the other level data files that begin with an "L". You will need to rename the outputted .SRP file using this format so that the game will be able to locate the file by map number.
Commands
Below are a list of scripting commands with examples. (More added as examples are made)