AI:NullOOJavaAI

From Spring
Revision as of 23:05, 19 December 2008 by Hoijui (talk | contribs) (page created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NullOOJavaAI
Developer
hoijui
Version
0.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 Java, to prove that the Java Object Oriented Wrapper works. It consists of only the very minimum that is needed for a spring Java OO Skirmish AI to load.

NullOOJavaAI is an empty implementation, meaning it will load, but do absolutely nothing. It can be used to test the Java OO wrapper or for exploring a map if one wants the end game screen not to appear. If you want to write your own Java AI, we recommend you to use this AI as a template.

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

Download

It comes with the spring source only.

Known Crashes

  • None

How to compile

possible ways to compile:

  • spring build environemnts. either Scons or CMake. refer to Building spring
  • OS specific build script: {spring_source}/AI/Skirmish/NullOOJavaAI/bin/java_compile.(sh|bat)
  • Ant build file under {spring_source}/AI/Skirmish/NullOOJavaAI/bin. First edit ant.properties, then run ant

How to install

The easy way

Using Ant:
Go to {spring_source}/AI/Skirmish/NullOOJavaAI/bin and edit ant.properties. then run ant dist.

The uncomfortable way

from: {spring_source}/AI/Skirmish/NullOOJavaAI/
to: {spring_data_dir}/AI/Skirmish/NullOOJavaAI/{NullOOJavaAI-version}/

  • copy the created ai.jar and ai-src.jar to /
  • copy data/* to /


<- Back to AI page