Logo
Spacer News Wiki Features F.A.Q. Team members Screenshots Download Messageboard Bug tracker Submit files
Top divider

AI:RAI

RAI
Developer
Reth
Version
v0.600 (spring v0.76b1)
Mod Support
Supports All Known Mods
Status
Under Active Development
License
-
<- Back to AI page

Contents

[edit] Forum thread

[edit] Download

Mods with incomplete support:

  • BloX (transporters unsupported: can't figure out that guns are attached to the transporters to make a tank)
  • 1944 & Epic Legions (requires a unique method of destroying parts of the enemy base)
  • Fibre - units are controlled differently than RAI expected, AI-Events do not occur in the way that is expected
  • generally, any mod that does not have controllable mobile attack units

Known Crashes:

  • None

[edit] How to compile on Linux

  • download spring sources here, and extract it somewhere
  • download RAI sources here, and save it into the {spring source}/AI/Global/ folder
  • install the glew development package - on Ubuntu it's sudo apt-get install libglew1.5-dev
  • open the project in CodeBlocks - there's a project file for CB provided in the RAI/CodeBlocks directory
  • then edit the sources a bit to have them be more cross-platform friendly - atm they use a windows function to create folders.
    • in v0.553: RAI/Global.cpp, edit line 4 to say #include <sys/stat.h> instead
    • for v0.600: this is RAI/RAI.cpp, line 10
    • in v0.553: RAI/Global.cpp, edit lines 157-158 to say:
      • mkdir( "AI/RAI", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
      • mkdir( "AI/RAI/Metal", S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH );
    • for v0.600: this is RAI/RAI.cpp, lines 1086-1089
  • at this point, it'll compile fine, but give some warnings about int floats. The problem is that it doesn't generate a .so somehow though, so some voodoo magic needs to be done
    • Go to project properties, and under Build Targets, enable 'auto generate extension'.
  • now use clean the project, and recompile the whole thing. You should get a RAI.so in the CodeBlocks directory.
  • to test, put the .so into ~/.spring/AI/Bot-libs/, and since SpringLobby will see it right away, try a single player game.

[edit] Version History

v0.551-v0.553 (spring v0.75b2-v0.76b1)

  • Fixes

v0.55 (spring v0.75b2)

  • Assault units now use basic attack groups
  • Remembering enemy positions outside of LOS/Radar
  • Restrict hovercraft on certain maps & mods
  • Player given orders are now followed until completion
  • Unit support added: nano turrets
  • Basic building placement added: defenses
  • Minor Changes/Fixes

v0.50 (spring v0.74b3)

  • Basic hub support & improved build list detection
  • Units will now use capture/resurrect/high trajectory and are more willing to reclaim
  • Builders will now upgrade extractors/geos
  • Expands a little more intelligently
  • A bit quicker expansion, slowly seizing available (metal/geo spots)
  • Minor Changes/Fixes

v0.40 (spring v0.74b2-v0.74b3)

  • Minor Changes/Fixes

v0.355 (spring v0.74b1)

  • Fixes

v0.350 (spring v0.73b1)

  • Improvements to Building Decisions.
  • Support for Water Units/Maps.
  • Minor Changes/Fixes

v0.300 (spring v0.73b1)

  • First Release

<- Back to AI page

Retrieved from "http://spring.clan-sy.com/wiki/AI:RAI"

This page has been accessed 4,825 times. This page was last modified 22:11, 24 July 2008.