Watch/study AI

Felix Natter <[email protected]>
Newsgroups gmane.games.freeciv.general
Message-ID <[email protected]>
hi,

I found this on freeciv-dev:

"Jason Short" <[email protected]> writes:
> You know that you can have a client watch the AI player directly?
>
>    ./civ -a -n foo & ./ser
>    /aitoggle foo
>    /start

in detail (watch one ai in ai vs ai):
- civserver
- server command: "create badguy"
- civclient -a -n goodguy
- server command: "aitoggle goodguy"
- server command: "start"

You can extend this to watch the 2nd (or more) ai (i.e. on different
computers in a network).

This will be pretty fast though. So if you really want to study the
AI, you need a delay or similar option (like specifying certain "pause"
events, i.e. a city production is changed, or a unit is fighting...).
How can I do this?

IMHO this tip (along with the answer to my question) should go into
the FAQ and/or user documentation.

thanks,

-- 
Felix Natter
I love secs... for programming
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.