rules.js - AI implants for humans :)

For AI and campaign script related discussions and questions
Post Reply
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

rules.js - AI implants for humans :)

Post by aubergine »

So, I've just realised that rules.js could be turned in to an AI that assists human players. Each human gets their own rules.js running alongside them in their player slot.

This opens up some interesting possibilities:

1. Task assistance

For example the human could in-game message themselves (by prefixing the message with their player number if I understand correctly) and their rules.js AI will be able to hear that message and act on it. For example, if I'm player 1 I could:

Code: Select all

1 research vtol
(are player specific messages 0-indexed or 1-indexed?)

And rules.js could start researching me towards VTOL tech and let me know when I can start building VTOLs.

2. Status reports

rules.js could tell me about enemy activity - not just that my building was attacked (like it does already) but warnings when enemy VTOLs are spotted, or when an enemy is attacking my oil derrick, etc.

3. Advice / Training

rules.js could have a feature that players could turn on to get advice/training - for example it could recommend an improved building order at the start of the game, or it could recommend which droids/defences to use based on what the enemy is attacking with.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: rules.js - AI implants for humans :)

Post by Berg »

All this AI talk is confusing and I cant wait to see the final result but as your on a wish kick.
I would like a AI that the player has to help fight like a general AI ... to champion base defences or attack the enemy.
you give them units and a goal.
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: rules.js - AI implants for humans :)

Post by aubergine »

That sort of thing will likely only be possible in Warzone 3.2 when the full chat functionality (and loads of other useful stuff) is exposed to scripts. But that's certainly an intention of mine once those scripting features are available in public releases.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
Mirefrost00
Greenhorn
Posts: 7
Joined: 09 Aug 2010, 04:05

Re: rules.js - AI implants for humans :)

Post by Mirefrost00 »

aubergine wrote:That sort of thing will likely only be possible in Warzone 3.2 when the full chat functionality (and loads of other useful stuff) is exposed to scripts. But that's certainly an intention of mine once those scripting features are available in public releases.
I pitched that idea a while back, in this thread. The ideas in my post might give you a good way to set it into the game properly, and just might change how most people feel about commanders in MP. I'd certainly love to see it happen. :D
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: rules.js - AI implants for humans :)

Post by aubergine »

I hope to see that sort of thing in the future, but there's quite a lot still left to do to make it reality.

I'd encourage you to post some of your commander ideas (or a link to them) in this recent topic: viewtopic.php?f=30&t=9119
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
Post Reply