AI:NullJavaAI: Difference between revisions
From Spring
Jump to navigationJump to search
page created |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{AI| | {{AI|NullJavaAI|hoijui|0.1 (spring SVN)|Supports everything / Does nothing|Finnished|-}} | ||
=== Description === | === Description === | ||
This Skirmish AI is written in pure | 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 apear. 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]]. | ||
| Line 15: | Line 15: | ||
=== How to compile === | === How to compile === | ||
* OS specific build script: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/ | * OS specific build script: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/java_compile.(sh|bat)'' | ||
* Ant build file: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/build.xml'' | * Ant build file: ''{spring_source}/AI/Skirmish/NullJavaAI/bin/build.xml'' | ||
Revision as of 19:58, 19 December 2008
| Developer | |
| Version | |
| Mod Support | |
| Status | |
| License | |
| Interface | |
| Wrapper | |
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 apear. 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 the spring source only.
Known Crashes
- None
How to compile
- OS specific build script: {spring_source}/AI/Skirmish/NullJavaAI/bin/java_compile.(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}/