Testing AI Mods

Discussions about AI types, units, tactics & strategy.
Post Reply
OFelix
Rookie
Rookie
Posts: 25
Joined: 01 Jul 2015, 22:36

Testing AI Mods

Post by OFelix »

Hi,

I've been making a few changes to an AI personality, starting with NoQ's nullbot-2-11-extras.wz and then making it play the game in my personal style.

What's the best/easiest way to compare my AI against other versions?
Is there an online AI battle arena?
Is there a map designed to not have a human player which I can play on my PC?

Thanks
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Testing AI Mods

Post by Per »

You can type 'autogame on' in debug mode. This makes the default AI take control of your player. Then you can watch it fight your AI. Type 'deity' to see everything.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Testing AI Mods

Post by NoQ »

I set up a game where i'm on a side (or in a specially crafted spectator position), allied with one of the two AIs, and kill myself with cheats.
OFelix
Rookie
Rookie
Posts: 25
Joined: 01 Jul 2015, 22:36

Re: Testing AI Mods

Post by OFelix »

Great!

Is there any way I can see what 'my' AI (for example player 2) is researching?

I have started using the 'autogame on' method will this finish when player 0 is eliminated from the game?

NoQ, what cheats do you use to kill yourself? Does this avoid the (possible) problem of the game ending when the 'human' player is eliminated?

Thanks
OFelix
Rookie
Rookie
Posts: 25
Joined: 01 Jul 2015, 22:36

Re: Testing AI Mods

Post by OFelix »

Had something strange happen today ...

I've been modifying and testing builOrder32 for the past few days.
But today when I run the game it is using buildOrder instead!

It took me ages to work out why my mods weren't working! :-(

Any suggestions as to why this might have happened?

Thanks
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Testing AI Mods

Post by NoQ »

Ally yourself with your ai friend to share vision. Conjure yourself a lab to see hearts on what he's researching (ctrl+o). Kill yourself by selecting stuff and klicking (alt+k). See the wiki on cheats for more info.

Also conjure a command center to get a radar. Better use a campaign-only cc because othherwise nullbot will react on your position (eg refuse to take oils near it).

buildOrder32 is what will be used in version 3.2 of the game.
Post Reply