Difference between revisions of "Scripting"

From Amulets & Armor Wiki
Jump to: navigation, search
(Scripting Tutorials)
(Scripting Tutorials)
Line 8: Line 8:
 
== Scripting Tutorials ==
 
== 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 [[http://wiki.amuletsandarmor.com/index.php?title=Main_Page#A&A Classic Editor|Classic Editor]].
+
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|http://wiki.amuletsandarmor.com/index.php?title=Main_Page#A&A Classic Editor]].
  
 
=== Commands ===
 
=== Commands ===

Revision as of 15:55, 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 http://wiki.amuletsandarmor.com/index.php?title=Main_Page#A&A Classic Editor.

Commands

Below are a list of scripting commands with examples. (More added as examples are made)

ChangeSideTexture