Difference between revisions of "Editing AI code"

From VsWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Editing AI Code. AI code for most events will be handled with sexps simple expressions.
 
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.
 
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.
 +
[[Image:sexp1.png]]

Latest revision as of 04:20, 15 April 2008

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