AI:NullJavaAI: Difference between revisions
No edit summary |
mNo edit summary |
||
| Line 22: | Line 22: | ||
=== How to install === | === How to install === | ||
'''The easy way''' | '''The easy way''' | ||
Using Ant:<br> | Using Ant:<br> | ||
Go to ''{spring_source}/AI/Skirmish/NullJavaAI/bin'' and edit ''ant.properties''. then run ''ant dist''. | Go to ''{spring_source}/AI/Skirmish/NullJavaAI/bin'' and edit ''ant.properties''. then run ''ant dist''. | ||
'''The uncomfortable way''' | '''The uncomfortable way''' | ||
install from: ''{spring_source}/AI/Skirmish/NullJavaAI/''<br> | |||
install<br> | |||
from: ''{spring_source}/AI/Skirmish/NullJavaAI/''<br> | |||
to: ''{spring_data_dir}/AI/Skirmish/NullJavaAI/{NullJavaAI-version}/'' | to: ''{spring_data_dir}/AI/Skirmish/NullJavaAI/{NullJavaAI-version}/'' | ||
* copy the created ''ai.jar'' and ''ai-src.jar'' to ''/'' | * copy the created ''ai.jar'' and ''ai-src.jar'' to ''/'' | ||
Revision as of 23:02, 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
possible ways to compile:
- spring build environemnts. either Scons or CMake. refer to Building spring
- OS specific build script: {spring_source}/AI/Skirmish/NullJavaAI/bin/java_compile.(sh|bat)
- Ant build file under {spring_source}/AI/Skirmish/NullJavaAI/bin. First edit ant.properties, then run ant
How to install
The easy way
Using Ant:
Go to {spring_source}/AI/Skirmish/NullJavaAI/bin and edit ant.properties. then run ant dist.
The uncomfortable way
install
from: {spring_source}/AI/Skirmish/NullJavaAI/
to: {spring_data_dir}/AI/Skirmish/NullJavaAI/{NullJavaAI-version}/
- copy the created ai.jar and ai-src.jar to /
- copy data/* to /