AI:NullJavaAI: Difference between revisions

From Spring
Jump to navigationJump to search
Hoijui (talk | contribs)
page created
 
Hoijui (talk | contribs)
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{AI|NullAI|zenzike & hoijui|v0.1 (spring SVN)|Supports everything / Does nothing|Finnished|-}}
{{AI|NullJavaAI|[[User:hoijui|hoijui]]|0.1|Supports everything / Does nothing|Finnished|GNU GPL V2|Java|-}}


=== Description ===
== Null Java AI ==
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.
==== Description ====
This Skirmish AI is written in pure Java, to prove that the Java AI interface works. It consists of only the very minimum that is needed for a spring Java Skirmish AI to load.
 
NullJavaAI is an empty implementation, meaning it will load, but do absolutely nothing. It can be used to test the Java AI interface 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 using the [[AI:NullOOJavaAI|NullOOJavaAI]] as a template instead of this one.


This AI uses the [[AIInterface:Java|Java AI Interface Library]]. See also [[AI:NullOOJavaAI|Null Object Oriented Java AI]].
This AI uses the [[AIInterface:Java|Java AI Interface Library]]. See also [[AI:NullOOJavaAI|Null Object Oriented Java AI]].


=== Download ===
==== Download ====
It comes with the spring source only.
It comes with spring source. Reffer to [[Building_spring#Obtaining_the_Source|Obtaining the Source]].
 
==== Bugs ====
'''Known Crashes:'''
* None
 
Please report bugs under
[http://springrts.com/mantis/ Mantis]
to the AI subproject.


=== Known Crashes ===
==== How to compile ====
*None
multiple ways:
* Spring build environments: either SCons or CMake; refer to [[Building_spring|Building spring]].
* OS specific build script: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/java_compile.(sh|bat)''


=== How to compile ===
==== How to install ====
* OS specific build script: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/java_build.(sh|bat)''
from: ''{spring_source}/AI/Skirmish/NullJavaAI/''<br>
* Ant build file: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/build.xml''
to: ''{spring_data_dir}/AI/Skirmish/NullJavaAI/{NullJavaAI-version}/''
* copy the created ''SkirmishAI.jar'' and ''SkirmishAI-src.jar'' to ''./''
* copy ''data/*'' to ''./''


=== 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}/''


'''[[AI:Skirmish:List|<- Back to AI page]]'''


''' [[AIs|<- Back to AI page]]'''
[[Category: AI]]
[[Category:AI]]

Latest revision as of 11:27, 8 June 2009

NullJavaAI
Developer
hoijui
Version
0.1
Mod Support
Supports everything / Does nothing
Status
Finnished
License
GNU GPL V2
Interface
Java
Wrapper
-
<- Back to List of AIs

Null Java AI

Description

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

NullJavaAI is an empty implementation, meaning it will load, but do absolutely nothing. It can be used to test the Java AI interface 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 using the NullOOJavaAI as a template instead of this one.

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

Download

It comes with spring source. Reffer to Obtaining the Source.

Bugs

Known Crashes:

  • None

Please report bugs under Mantis to the AI subproject.

How to compile

multiple ways:

  • Spring build environments: either SCons or CMake; refer to Building spring.
  • OS specific build script: {spring_source}/AI/Skirmish/NullJavaAI/bin/java_compile.(sh|bat)

How to install

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

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


<- Back to AI page