I am running Spring + XTA in Ubuntu 9.04, and after I let the Update Manager install the updates for Spring recently, I am not able to select an difficulty level for KAI, RAI, or AAI anymore. I was looking through the files, and noticed that the AIOptions.lua files for those AIs are basically empty. I tried installing the latest version of spring for Windows on a separate PC, and noticed the same thing.
Prior to that, I was using KAI and setting it to 5, which it played just about how I wanted it to. On setting "3," which appears to be the default setting -- and the one that it is using now? -- it doesn't play very well. Currently, the AI does one decent rush, and then gets a construction vehicle stuck in the vehicle plant, after which it does nothing.
I don't know how the AIOptions.lua files were before the update dated 10/23, I never looked. Currently, they are pretty much blank. Example:
--
-- Custom Options Definition Table format
--
-- A detailed example of how this format works can be found
-- in the spring source under:
-- AI/Skirmish/NullAI/data/AIOptions.lua
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local options = {
}
return options
What do I need to do to get the AI difficulty setting back?
No AI difficulty settings after latest update
Moderator: Moderators
Re: No AI difficulty settings after latest update
:D :D
that was fun! :D
i am sorry to disappoint you, but the difficulty setting was never considered by any of the AIs, and still is not. so it did not matter what you set it to. i just added it to all the AIs, so we could get/test lobby support for AI Options (that was way back in the beginning of the year somewhen). As they are now visible, i removed them from all but NullAI (where it.. of course, does not have an effect either).
in other words, you had to wait for an AI to implement such a setting, and then the AI dev would add it to the AIOptions.lua file, and then it would actually do something (if he did it right).
that was fun! :D
i am sorry to disappoint you, but the difficulty setting was never considered by any of the AIs, and still is not. so it did not matter what you set it to. i just added it to all the AIs, so we could get/test lobby support for AI Options (that was way back in the beginning of the year somewhen). As they are now visible, i removed them from all but NullAI (where it.. of course, does not have an effect either).
in other words, you had to wait for an AI to implement such a setting, and then the AI dev would add it to the AIOptions.lua file, and then it would actually do something (if he did it right).
-
- Posts: 2
- Joined: 27 Jun 2007, 17:20
Re: No AI difficulty settings after latest update
Really! Well, that explains it, at least. Thank you for answering.
Re: No AI difficulty settings after latest update
I'm so gonna use that as soon as I figure out the syntax to add custom options to LuaAI. Does TASClient support it yet?