Jump to content

[Solved] Sending custom data to and from the scripting layer


Recommended Posts

Hi, I am testing out a C++ library I've written to add extra functionality to an artificial agent. I have so far implemented the C++ end into the CCmpAIManager to transfer data to and from the Petrabot for testing purposes. As such, I was wondering what scripts I would have to modify on the Javascript end to transfer my custom data to and from the bot and if CCmpAIManager would be the best entry point. Further, if the system yields the desired results I would be interested in developing a dedicated version for a fork of the Petrabot (likely fully in javasript) as I think it could be a great addition to the system. I can't say too much until the results are in, however, I will update if anyone's interested.

 

Regards

Jotunson

Edited by Jotunson
  • Like 1
Link to comment
Share on other sites

There is an old interview with Jonathan Waller (quantumstate) on aigamedev: http://aigamedev.com/open/interview/ai-in-0ad/ . It's almost 4 years old and describes qBot, which is no longer maintained, but Petra (the current 0 A.D. bot) is based on AegisBot which was based on qBot and the general AI architecture should be (mostly?) the same (in particular the AI architecture schema from the article: http://aigamedev.com/wp-content/blogs.dir/5/files/2012/05/Schema.png seems corresponding to what Georg said in the post above).

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...