Does the AI have to cheat?

Other talk that doesn't fit elsewhere.
This is for General Discussion, not General chat.
Post Reply
User avatar
Asgorath
Trained
Trained
Posts: 153
Joined: 10 Dec 2010, 16:45
Location: Hamburg, Germany

Does the AI have to cheat?

Post by Asgorath »

I mostly like to play games offline. Therefore a good AI is very important.
Why does the AI in Warzone cheat? It spoils the party if you know that for the AI oil derricks are mostly unimportant or when you see that after 4 minutes the AI already upgrades its factory.

Is it possible to overhaul the AI so that on easy, medium and hard the AI doesn´t need to cheat? And like in StarCraft II on insane only gatheres more ressources but sticks to game rules as well?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Does the AI have to cheat?

Post by NoQ »

DyDo doesn't really cheat, as far as i know (apart from a few really unessential details). Also, as far as i remember, in Starcraft 2, insane AI only has full visibility, but doesn't cheat in any other way (DyDo there also has full visibility).
User avatar
Asgorath
Trained
Trained
Posts: 153
Joined: 10 Dec 2010, 16:45
Location: Hamburg, Germany

Re: Does the AI have to cheat?

Post by Asgorath »

NoQ wrote:DyDo doesn't really cheat, as far as i know (apart from a few really unessential details). Also, as far as i remember, in Starcraft 2, insane AI only has full visibility, but doesn't cheat in any other way (DyDo there also has full visibility).
For then I will test DyDo-AI. But of course it would be great if no AI would cheat. Does the AI cheat since the original Warzone or since this OS-Project?

As far as I know WBFs of insane AI in StarCraft II gather +2 minerals which means +7 from blue minerals and +9 from gold minerals.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Does the AI have to cheat?

Post by Per »

In 2.3.x, you can turn off the cheating yourself by setting the difficulty setting to the lowest possible. In master, we are in the process of phasing out the AI cheating (except for the 'Insane' difficulty). The semperfi AI does not cheat.

Dydo cheats (by default, at least). The original AI also cheated.
User avatar
Asgorath
Trained
Trained
Posts: 153
Joined: 10 Dec 2010, 16:45
Location: Hamburg, Germany

Re: Does the AI have to cheat?

Post by Asgorath »

Per wrote:In 2.3.x, you can turn off the cheating yourself by setting the difficulty setting to the lowest possible. In master, we are in the process of phasing out the AI cheating (except for the 'Insane' difficulty). The semperfi AI does not cheat.

Dydo cheats (by default, at least). The original AI also cheated.
Sounds very good, thank you! Specially that you are in the process of phasing out the AI cheating :)
By doing that will you also improve the AI behaviour? Because often it happens that the AI attacks the same amount of defense with the same number of units again and again and fails every time. By now AI doesn´t learn from its mistakes / changes its tactics.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Does the AI have to cheat?

Post by Zarel »

Asgorath wrote:Does the AI cheat since the original Warzone or since this OS-Project?
The AI in the original Warzone did a lot of cheating. We've done nothing but try to phase it out since then.
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Does the AI have to cheat?

Post by Iluvalar »

I believe teaching the AI new and brighter research paths would help a lot.
Heretic 2.3 improver and proud of it.
User avatar
Asgorath
Trained
Trained
Posts: 153
Joined: 10 Dec 2010, 16:45
Location: Hamburg, Germany

Re: Does the AI have to cheat?

Post by Asgorath »

Per wrote:In master, we are in the process of phasing out the AI cheating (except for the 'Insane' difficulty). The semperfi AI does not cheat.
Just a thought but why not take Semperfi-AI, improve it and make it standard-AI?
Sounds far easier than to workaround the existing AI with a lot of known problems.
Furthermore the game wouldn´t have 3 different AIs but 1 very good one.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Does the AI have to cheat?

Post by Per »

Semperfi is based on the standard AI, and I port changes that I make to semperfi that I think are well-tested and work well over to the standard AI eventually.
User avatar
Asgorath
Trained
Trained
Posts: 153
Joined: 10 Dec 2010, 16:45
Location: Hamburg, Germany

Re: Does the AI have to cheat?

Post by Asgorath »

Per wrote:Semperfi is based on the standard AI, and I port changes that I make to semperfi that I think are well-tested and work well over to the standard AI eventually.
I didn´t test Semperfi-AI before and in the first game I was positively surprised by the fact that the Semperfi-AI builds MG-Turrets besides enemy oil derricks to destroy them and secure the place for an own oil derrick.

But I still don´t understand why you try to improve the old AI if you have a new (not cheating) AI basing on the old AI. Why not improve the new one and skip the old?
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Does the AI have to cheat?

Post by Per »

I just have not gotten around to testing the latest semperfi properly yet. It tries a few really sneaky things, like sending the starting trucks to rush the closest non-built oil derricks of an enemy in full base mode, and then try to choke that player in with hardpoints, that failed miserably on some maps last I tested it. Maybe it is fixed now, though. I did make some changes to it. It works really well on eg Highground. The VTOL design and attack run code is also mostly new.

Basically, all I need at this point is for you or someone else to carry out some proper testing of semperfi, then tell me that it is better than standard, and without any serious regressions, then I can replace the standard with current semperfi. And then I can add (even) more crazy stuff to semperfi later ;-)
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Does the AI have to cheat?

Post by Buginator »

Per wrote:Semperfi is based on the standard AI, and I port changes that I make to semperfi that I think are well-tested and work well over to the standard AI eventually.
I don't think that is a good idea.
We can just call the original AI "Pumpkin's best", and have another AI be "standard" (default).
and it ends here.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Does the AI have to cheat?

Post by Zarel »

Buginator wrote:I don't think that is a good idea.
We can just call the original AI "Pumpkin's best", and have another AI be "standard" (default).
Well, we have a 1.10 mod... we can just stick the original AI in there. I see no reason why we should maintain an outdated AI in the official distribution of Warzone.
Post Reply