AI improver gadget - new version 1.01
Posted: 15 Oct 2007, 17:31
How it works:
- AI economy runs at 1.5x speed. This means that it needs 1.5x less time to construct anything and it also gets 1.5x more metal&energy.
- AI units start more experienced (equal to rank 2 from Rank Icons widget). This means that they have more HP.
- AI team starts with 2x more resources.
- AIs can be rushed easily so there's rush protection - it has doubled income for first 2 minutes
Plans for next version:
Nice lua dialog for hosting player (yes, it will pop out only if there are AI teams):
The game is paused. Please choose your difficulty setting:
Easy
Medium
Hard
Once you click, the settings will be applied and the game unpaused.
This can't be done properly* until next version of Spring is out, so you'll have to wait
.
*trepan
How to tweak this:
Install instructions:
Extract into your Spring folder - not into LuaUI
To enable it in-game:
Starts automatically if included in a mod, otherwise you must type these commands in correct order:
.cheat
.devlua
.luarules reload
You should see this message if you did everything correctly: "AI Improver ENABLED"
Credits:
Credits go to authors of AIs. I'm just a guy who was bored while on train and wrote this simple gadget.
Changelog:
- AIs are now aware of increased income (will fight better in long games)
- AIs cheat less
Download:
http://www.unknown-files.net/3698/AI_Improver_101/
- AI economy runs at 1.5x speed. This means that it needs 1.5x less time to construct anything and it also gets 1.5x more metal&energy.
- AI units start more experienced (equal to rank 2 from Rank Icons widget). This means that they have more HP.
- AI team starts with 2x more resources.
- AIs can be rushed easily so there's rush protection - it has doubled income for first 2 minutes
Plans for next version:
Nice lua dialog for hosting player (yes, it will pop out only if there are AI teams):
The game is paused. Please choose your difficulty setting:
Easy
Medium
Hard
Once you click, the settings will be applied and the game unpaused.
This can't be done properly* until next version of Spring is out, so you'll have to wait

*trepan

How to tweak this:
Code: Select all
local defaultSettings = {
buildModifier = 1 / 1.5,
makeModifier = 1.5,
xpModifier = 2 -- 0 - not experienced, 4 - "star"
}
local rushProtection = true
local rushProtectionTime = 30
local startResourcesModifier = 4
local rushProtectionSettings = {
buildModifier = 1 / 2,
makeModifier = 2,
xpModifier = 4
}
Extract into your Spring folder - not into LuaUI
To enable it in-game:
Starts automatically if included in a mod, otherwise you must type these commands in correct order:
.cheat
.devlua
.luarules reload
You should see this message if you did everything correctly: "AI Improver ENABLED"
Credits:
Credits go to authors of AIs. I'm just a guy who was bored while on train and wrote this simple gadget.
Changelog:
- AIs are now aware of increased income (will fight better in long games)
- AIs cheat less
Download:
http://www.unknown-files.net/3698/AI_Improver_101/