dydo 2.1.3 builds power plant too late

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

dydo 2.1.3 builds power plant too late

Post by themac »

While playing around with the dydo 2.1.3 mod I see that the dydo AI builds the power plant too late. It builds up a lot of things first and then it is no power left to build at least one power plant. o.O
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by DylanDog »

themac wrote:While playing around with the dydo 2.1.3 mod I see that the dydo AI builds the power plant too late. It builds up a lot of things first and then it is no power left to build at least one power plant. o.O
I modified the part of the AI script which controls the first minutes of building, possibly the new script causes issues on certain maps...on which one have you played?, please open a ticket for this and indicate the map(s) where this is happening.

I noticed this also on a map where the oilRes where put outside the map limits...in this case DyDo has never started harvesting -> no derricks no needs of power plants.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by themac »

Hello, I was playing with dydo on the map named "Ziggurat". I decided to write on your website, but even if I filled in all needed data, the site told me something was missing, the - also filled in - email address I think. O.o
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by DylanDog »

themac wrote:Hello, I was playing with dydo on the map named "Ziggurat". I decided to write on your website, but even if I filled in all needed data, the site told me something was missing, the - also filled in - email address I think. O.o
I tried just now on Ziggurat starting with no bases - medium power and all DyDo AIs have been able to build a power generator.

FYI - yes...I have not received any message on the DyDo website.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by themac »

There is something I have forgotton to tell about: I let the AI play in teams of two!
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by DylanDog »

themac wrote:There is something I have forgotton to tell about: I let the AI play in teams of two!
you mean 4 teams with two players each? I just tried this (with LOW POWER!!) and DyDo also managed to build power generators...
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by themac »

Yes! That is strange! Most of the AIs (or were it all of them?) did nearly nothing because they had no power left.
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by themac »

I ran some more tests. It seems like if the priority of building up structures is set a bit critical. If the last power plant gets lost, the AI often likes to build up anything else, maybe another cyborg factory, no matter if the power is too low for that. Maybe the AI has begun to build a power plant before, but the building up procedure has been interrupted, then the AI does not go to finish that power plant and likes to build up something else - until eternity while power is still too low without a power plant.
Last edited by themac on 08 May 2010, 19:56, edited 1 time in total.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: dydo 2.1.3 builds power plant too late

Post by Per »

The semperfi AI also used to have a problem with building power plant too late. I had to make sure it would never start building or upgrading multiple power plants at the same time, or it would risk running out of power.
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by DylanDog »

I am working on DyDo 2.1.4 the building sequence and speed has been improved: Trucks try to work together to complete one structure before starting a new one (not always). It should never happen any more that power generators are built too late.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by themac »

Hello, this are great news. :-) While playing around with dydo I see that dydo is pumping a lot of units, but all these units are waiting in the bases most of the time. Why doesn´t dydo use them to attack? I remember a game where 1 big tank was strong enough to kill all enemy bases, but the AI let wait hundred of cyborgs in the base not attacking any opponents. The tank that was able to kill everything alone was driven by myself in manual. The AI seems to be ab bit lazy. O.o
Last edited by themac on 09 May 2010, 17:18, edited 1 time in total.
User avatar
Black Project
Regular
Regular
Posts: 751
Joined: 04 Apr 2008, 20:53

Re: dydo 2.1.3 builds power plant too late

Post by Black Project »

themac wrote:Hello, this are great news. :-) While playing around with dydo I see that dydo is pumping a lot of units, but all thst units are waiting in the bases most of the time. Why doesn´t dydo use them to attack?
Since DyDo don't build defenses in the first minutes in T1 Nobases (About 10 minutes), they guard DyDo base instead of sending all their combat units to their deaths, preventing from getting overrun and killed early, until DyDo have sure that got units enough to attack and defend (When DyDo build defeses, it can contribute too in it's survival in-game)

Correct me if i'm wrong, it's just a opinion ;)

BP
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: dydo 2.1.3 builds power plant too late

Post by KukY »

Black Project wrote:
themac wrote:Hello, this are great news. :-) While playing around with dydo I see that dydo is pumping a lot of units, but all thst units are waiting in the bases most of the time. Why doesn´t dydo use them to attack?
Since DyDo don't build defenses in the first minutes in T1 Nobases (About 10 minutes), they guard DyDo base instead of sending all their combat units to their deaths, preventing from getting overrun and killed early, until DyDo have sure that got units enough to attack and defend (When DyDo build defeses, it can contribute too in it's survival in-game)

Correct me if i'm wrong, it's just a opinion ;)

BP
That hapened once to me, after 2 hours of play.
Dydo had tons of cyborgs in base waiting, lots of defenses around the base, and instedad of atacking with them, it attacked with Tiger tanks.

So, I think you're wrong.
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: dydo 2.1.3 builds power plant too late

Post by themac »

I am waiting for hours too. dydo did not build too much defences, but is pumping tons of cyborgs that are waiting in the base forever O.o