Editing AI code

From VsWiki
Revision as of 04:20, 15 April 2008 by Darkmage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Editing AI Code. AI code for most events will be handled with sexps simple expressions. This is the method freespace 2's FRED2 uses, and it allows a user through the use of dropdown menus to construct logical arguments as trees. These arguments will need to be predefined in classes and a list of required functions is available. In addition to simple tree editing, an option will be provided whereby the sexp editing window will be greyed out and replaced with a text editing box. This text editing box will accept raw python code, and is provided for programmers who know howto script directly rather than relying upon the predefined code. File:Sexp1.png