Need help figuring out the AI and its functions

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
StormWing0
Greenhorn
Posts: 10
Joined: 13 Jun 2018, 17:45

Need help figuring out the AI and its functions

Post by StormWing0 »

I've got a couple of questions,
  • First where's a good list that shows all the builtin commands in the script the AI has in the game so far?
  • Second is it possible to make the AI generate its own unit templates?
Last edited by Berserk Cyborg on 13 Jun 2018, 18:08, edited 1 time in total.
Reason: Fix list display
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Need help figuring out the AI and its functions

Post by Berg »

User avatar
WZ2100ModsFAn
Trained
Trained
Posts: 371
Joined: 15 Apr 2018, 17:25
Location: United States.

Re: Need help figuring out the AI and its functions

Post by WZ2100ModsFAn »

The AI tutorial is outdated
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Need help figuring out the AI and its functions

Post by NoQ »

Your question sounds to me as if you're looking for in-game chat commands with which you can control an allied AI. Nexus AI only supports "help!". NullBot AI chat commands are documented in the first message of the respective thread.

If you're actually looking for AI script documentation, see the Scripting sub-forum's sticky threads. That'd give you info about the modern JavaScript API that was used for developing NullBot. The original/old API is pretty much deprecated by now, and kept around only for historical reasons, you shouldn't spend time with trying to code with it because it's a pain.
StormWing0
Greenhorn
Posts: 10
Joined: 13 Jun 2018, 17:45

Re: Need help figuring out the AI and its functions

Post by StormWing0 »

Ya the current AI documentation is what I was looking for.
User avatar
Prot
Trained
Trained
Posts: 242
Joined: 29 Nov 2010, 12:41

Re: Need help figuring out the AI and its functions

Post by Prot »

I'm using this https://warzone.atlassian.net/wiki/spaces/GO, if you looked JS API descriptions..
StormWing0
Greenhorn
Posts: 10
Joined: 13 Jun 2018, 17:45

Re: Need help figuring out the AI and its functions

Post by StormWing0 »

I'll see what I can find in there and compare it to what I'm seeing in the AI to see if anything is missing. Speaking of AIs is there a way to get around that 10 AI display limit floating around on the forum somewhere?
User avatar
Prot
Trained
Trained
Posts: 242
Joined: 29 Nov 2010, 12:41

Re: Need help figuring out the AI and its functions

Post by Prot »

Only first 10 AI can be displayed when you set bot-player, this is hardcoded in WZ. If you not see some of yours installed AI, then just remove several AI from game mods..
User avatar
WZ2100ModsFAn
Trained
Trained
Posts: 371
Joined: 15 Apr 2018, 17:25
Location: United States.

Re: Need help figuring out the AI and its functions

Post by WZ2100ModsFAn »

There is one AI i want to try on the 3.2 series it's called DyDo

However the developer never updated it since the failed-3.0 series

so the only ai that is a better option now is just nullbot

not sure what the difference is between both of them Nullbot and DyDo

the functions however do not work properly on DyDo anymore...

so the best option is nullbot
Post Reply