Loading...
  OR  Zero-K Name:    Password:   

Access CAI Debug/Drawing Utilities in normal Zero-K

5 posts, 164 views
Post comment
Filter:    Player:  
sort

7 months ago
I'm interested in learning more about how the Circuit AI works, especially now that the bleeding edge releases are changing things up a bit. Unfortunately I have a Linux OS which makes installing & building the developer version impossible (chobby won't load and spring can never find a single file or package I feed to it).

Can you just release Zero-K with the debug/developer options tab available?

I just want to have access to the debug drawing utilities in ai_CAI.lua so I can see what is actually going on under the hood.
+0 / -0

7 months ago
There's an #ai channel on the Zero-K discord for discussing AI development.

You don't need to compile anything to access developer tab (quoting Shaman):
quote:
create devmode as a text file (txt) in your zero-k install folder



If you (still) want to run your own engine build without chobby, you need to create a springsettings.txt file for it with "SpringData=<PATH>" line. <PATH> should point to a Zero-K folder, best to make a copy. To launch you can give it a script.txt file, (look at _script.txt in Zero-K dir for last played match).


ai_CAI.lua looks like CAI, not Circuit AI. For Circuit AI look at https://github.com/rlcevg/CircuitAI/tree/zk
+0 / -0

7 months ago
Thank you very much for the help!
+0 / -0

7 months ago
Can you link the post by Shaman on creating the devmode.txt file? Just need to know what the contents need to be.
+0 / -0

7 months ago
I have enabled devmode through the custom mode selection in the advanced options when creating a new skirmish game. Unfortunately the gadget for calling draw options doesn't respond when I type commands like 'caiscout'.

I saw in the CircuitAI github page there and there isn't anything like the CAI chat-based commands in it.

How do you access the drawing utilities in Devmode?
+0 / -0