CPU: A simple AI for simple games

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
Post Reply
User avatar
iddi01
Rookie
Rookie
Posts: 28
Joined: 20 Sep 2022, 06:34
Location: You can't guess ;)

CPU: A simple AI for simple games

Post by iddi01 » 24 Sep 2022, 09:31

Of course, not just CPU, but "Ceuper" CPU. "Ceuper" is Super replacing the S with Ce. :lol2:

How to use this AI:
After getting into the game, click "Options", then click "Open configuration folder" on the bottom left.
Once you got into the folder, double click mods, then your game version, then autoload. Place the downloaded file there.
Then you can choose "Ceuper CPU" from the AI menu.

Very important: the AI versions in this post is not recommended for download. Scroll down two posts to download recommended AI versions.
Note: the 1.0-beta1 and later versions are newer than beta6.

Features:
- Simplicity. Which means this AI is less likely to have e.g. unexpected behaviour.
-- :lecture: To be honest, no adaptation is better than Nullbot's adaptation.
- Great initiative in capturing oil.
- Focus on repairing and does it well.
- Uses Vtols earlier than most other AIs.
- Features a great challenge for turtling players... because of heavy use of artillery.
- The code is simple. Anyone with knowledge of the API and Javascript can make a fork out of this.

Changelog pre1.0:
- AI now does better when starting with no bases
- Makes better use out of cyborgs
- Tweaked many stats to improve performance
- Fixed a problem with choosing Vtols
- More focus on anti-structure weapons
- It is most likely this version would be the same as 1.0
- Because no one commented during this period of time, it is the same as 1.0

Changelog 1.0-beta2:
- Improved construction
- Improved initiative of capturing oil
- This the last version before the stable 1.0. Please test it out so i can make a better CPU AI 1.0.

Changelog 1.0-beta1:
- Fixed oil-capturing method
- Fixed research
- Fixed a problem with repairing (though the repairing program is still not complete)

Changelog beta6:
- Slight improvement in research/production
- Increase action speed because AI was too slow
- AI is now able to use Vtols correctly
- Fixed several performance issues

Changelog beta5:
- Fixed build order
- Improve research a bit
- Still not fully able to use Vtols until beta6
- Found the crash only occurs on some maps...

Changelog beta4:
- Some further confusion removed
- AI is now able to use Vtols (untested, gonna test in beta5)
- Tweaked some stats to improve performance
- This version have a probability to crash after playing for several minutes. Please investigate.

Changelog beta3:
- Lots of confusion removed
- Greatly improve the AI in research, construction, etc.

Changelog beta2:
- Now working on 4.x versions
- Changed main file name to prevent confusion
Attachments
cpuAI-pre1.0.wz
(8.55 KiB) Downloaded 10 times
cpuAI-1.0-beta2.wz
(8.31 KiB) Downloaded 10 times
cpuAI-1.0-beta1.wz
(8.17 KiB) Downloaded 10 times
Last edited by iddi01 on 02 Dec 2022, 09:29, edited 9 times in total.
The latest version is not the best. Some mods and AIs needs older versions.

User avatar
iddi01
Rookie
Rookie
Posts: 28
Joined: 20 Sep 2022, 06:34
Location: You can't guess ;)

Re: Preparing for a powerful AI

Post by iddi01 » 03 Nov 2022, 11:23

Before i update my AI, use this for a small break:

- This AI give you 2.5 minutes of preparation time before you face 150 machinegunner cyborgs.
- Later updates of this will include:
-- All types of cyborgs to choose from (with the proper preparation time.)
-- Changing of preparation time according to game settings.
:)
Attachments
modpic.png
ClgAICybSpmmr.wz
(1.36 KiB) Downloaded 16 times
The latest version is not the best. Some mods and AIs needs older versions.

User avatar
iddi01
Rookie
Rookie
Posts: 28
Joined: 20 Sep 2022, 06:34
Location: You can't guess ;)

Re: CPU: A simple AI for simple games

Post by iddi01 » 02 Dec 2022, 09:32

Alright, first non-beta version of this AI (1.0):

(A slight notice: the coding style of this AI is a bit messy. Will improve in the next version, which i'll put in a seperate thread.)
Please don't let the notice stop you from downloading. A messy coding style doesn't mean the AI don't perform well!
Attachments
cpuAI-1.0.wz
CC0, working on 4.x
(8.55 KiB) Downloaded 18 times
The latest version is not the best. Some mods and AIs needs older versions.

Post Reply