Freeciv development version supports loadable ai modules. I've created
small script to help setup projects to create such ai modules.

Version 0.0.1 is available for download from
http://www.cazfi.net/freeciv/altai-0.0.1.tar.bz2

1. Unpack tarball: tar xjf altai-0.0.1.tar.bz2
2. Run scripts ./create_fcai_project.sh with name of the ai type you
want to create as parameter: ./create_fcai_project.sh cazfiai
3. You get tarball named after your new project containing initial
version of your project. Start developing.

---

 To build you project:

> tar xjf cazfiai.tar.bz2
> cd cazfiai
> ./autogen.sh
> mkdir build
> cd build
> ../configure --with-freeciv=<path to freeciv tree> --prefix=<same as for 
> freeciv installation>
> make install


 - ML

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to