AI directory changes
Moderators: hoijui, Moderators
Re: AI directory changes
Sometimes its good to point out utter absurdities in the hope they might get fixed, but don't read any angst or heartache into it.
Re: AI directory changes
in spring 0.79, the whole interface architecture changed.
some of the changes include:
before it was:
now it is:
Some parts of this (eg the common dir) are not available through the Legacy Interface (except through some ugly tweacks, using the pure C callback). they are available to the rest of the Ais.
some of the changes include:
- GlobalAIs/Bot-libs are now called SkirmishAIs
- It is possible to write Skirmish AIs in various languages. so far, C, C++, Java, Groovy, C# (beta)
- It is possible to add plugins for supporting other languages
- for native AIs, devs can use the compiler of their choice
- folder architecture changed dramatically, see below
- no more Helper AIs (also called GroupAIs) -> use Lua widgets instead
- backwards compatibility wrapper (Legacy C++ AI) is available
- mayor reword of the wiki documentation (still in progress, eg tutorials still missing)
before it was:
Code: Select all
${springExecDir}/AI/MyAI.dll
${springExecDir}/AI/MyAI/config.txt
${springExecDir}/AI/MyAI/log.txt
Code: Select all
${readableDataDir}/AI/Skirmish/MyAI/0.123/SkirmishAI.dll
${readableDataDir}/AI/Skirmish/MyAI/0.123/AIInfo.lua
${readableDataDir}/AI/Skirmish/MyAI/0.123/AIOptions.lua
${readableDataDir}AI/Skirmish/MyAI/common/versionIndependentConfig.txt
${readableDataDir}AI/Skirmish/MyAI/0.123/config.txt
${writeableDataDir}AI/Skirmish/MyAI/0.123/log.txt
-
- Posts: 2
- Joined: 11 Mar 2007, 18:51
Re: AI directory changes
Would this change have something to do with the fact that in 0.97.1 / lobby 0.46 when I try to add a bot there are no AI DLLs listed?
Before updating to 0.97.1 I renamed the AI directory to avoid confusing myself with old AI versions, so it's effectively a clean slate.
ETA: Never mind, I found this which hopefully answers my question...
Before updating to 0.97.1 I renamed the AI directory to avoid confusing myself with old AI versions, so it's effectively a clean slate.
ETA: Never mind, I found this which hopefully answers my question...