AI:NullJavaAI

From Spring
Revision as of 16:32, 19 December 2008 by Hoijui (talk | contribs) (page created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NullAI
Developer
zenzike & hoijui
Version
v0.1 (spring SVN)
Mod Support
Supports everything / Does nothing
Status
Finnished
License
-
Interface
{{{7}}}
Wrapper
{{{8}}}
<- Back to List of AIs

Description

This Skirmish AI is written in pure C, to prove that the C AI interface works. It consists of only the very minimum that is needed for a spring Skirmish AI to load.

NullAI is an empty implementation, meaning it will load, but do absolutely nothing. It can be used to test the AI interface or for exploring a map if one wants the end game screen not to apear. It can also be used as a template for new C or C++ Skirmish AI projects.

This AI uses the Java AI Interface Library. See also Null Object Oriented Java AI.

Download

It comes with the spring source only.

Known Crashes

  • None

How to compile

  • OS specific build script: {spring_source}/AI/Skirmish/NullJavaAI/bin/java_build.(sh|bat)
  • Ant build file: {spring_source}/AI/Skirmish/NullJavaAI/bin/build.xml

How to install

from source at {spring_source}/AI/Skirmish/NullJavaAI/ :

  • copy ai.jar and ai-src.jar to {spring_data_dir}/AI/Skirmish/NullJavaAI/{NullJavaAI-version}/
  • copy AIInfo.lua and AIOptions.lua to {spring_data_dir}/AI/Skirmish/data/NullAI-0.1/
  • copy data/AIInfo.lua and data/AIOptions.lua to {spring_data_dir}/AI/Skirmish/NullJavaAI/{NullJavaAI-version}/


<- Back to AI page