Page 2 of 2

Re: Oolite AIs

Posted: Wed Jun 15, 2011 10:22 am
by m4r35n357
Excellent, got them thanks!
[EDIT] Seems to be only the core game AIs, looks like I misunderstood . . .

Re: Oolite AIs

Posted: Wed Jun 15, 2011 10:42 am
by another_commander
m4r35n357 wrote:
Ahruman wrote:
There’s also the generate-ai-graphviz hidden setting, which makes graphs of the possible state transitions in each AI that’s loaded. Have I mentioned that I like graphs? ;-)
Anyone know where these files are created, I have yet to locate one - it's either missing, or absent . . . ?
The files are saved as <AIname>.dot inside the Logs folder. To view them, you must have Graphviz or use an online viewer like http://graphviz-dev.appspot.com/ where you can copy/paste the contents of the dot files and have the graphs generated online.

Re: Oolite AIs

Posted: Wed Jun 15, 2011 10:46 am
by m4r35n357
I have graphviz, and can see the dotfiles, but there are none of my AIs there.

Re: Oolite AIs

Posted: Wed Jun 15, 2011 10:51 am
by another_commander
Spawn your ship via JS Console or script and your AI's dot file will be generated.

Re: Oolite AIs

Posted: Wed Jun 15, 2011 11:31 am
by m4r35n357
Excellent, they are there now, thanks for the tip ;)