Testing AI Mods

Discussions about AI types, units, tactics & strategy.

Testing AI Mods

Postby OFelix » 01 Jul 2015, 22:43

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
OFelix
Greenhorn
 
Posts: 6
Joined: 01 Jul 2015, 22:36

Re: Testing AI Mods

Postby Per » 01 Jul 2015, 23:34

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.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
 
Posts: 3625
Joined: 03 Aug 2006, 19:39

Re: Testing AI Mods

Postby NoQ » 02 Jul 2015, 07:49

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.
User avatar
NoQ
Special
Special
 
Posts: 6090
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Testing AI Mods

Postby OFelix » 02 Jul 2015, 21:21

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
Greenhorn
 
Posts: 6
Joined: 01 Jul 2015, 22:36

Re: Testing AI Mods

Postby OFelix » 02 Jul 2015, 23:04

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
OFelix
Greenhorn
 
Posts: 6
Joined: 01 Jul 2015, 22:36

Re: Testing AI Mods

Postby NoQ » 04 Jul 2015, 08:02

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.
User avatar
NoQ
Special
Special
 
Posts: 6090
Joined: 24 Dec 2009, 11:35
Location: /var/zone


Return to Skirmish / Multiplay