pluggable AI

Ideas for expansions and improvements to Defcon

Moderator: Defcon moderators

poochiereds
level0
Posts: 8
Joined: Mon Apr 17, 2006 1:51 am

pluggable AI

Postby poochiereds » Wed Oct 04, 2006 5:54 pm

One thing that would give Defcon some possible longevity would be a way to plug in replacement AI. I could see people coding up AI that would change alliances, etc...
courier
level0
Posts: 5
Joined: Wed Oct 04, 2006 7:15 pm
Location: North America

Postby courier » Wed Oct 04, 2006 7:28 pm

Oh my yes, I would be all over that. Adding a few more flavors of AI would make the single-player game less predictable and more replayable, a big advantage to those of us whose slow reflexes and preferences for real-time make us annoying players online or whose schedules demand pausable games (or saveable and reloadable? But that's a different dream...), and so prefer single-player.

A contest for user-generated AIs would also be a delight.
deadbeef
level0
Posts: 1
Joined: Wed Nov 29, 2006 4:33 am
Contact:

Postby deadbeef » Wed Nov 29, 2006 4:38 am

I was going to post the same request

that would be awesome IMHO
User avatar
Mighty Santa
level2
level2
Posts: 150
Joined: Tue Sep 19, 2006 5:10 pm
Location: London, UK
Contact:

Postby Mighty Santa » Wed Nov 29, 2006 11:02 pm

Name suggestions for Advanced AI.

Devious [CPU]
Sick and Twisted [CPU]
Backstabber [CPU]

---
I would hope a few more AIs can be implemented as standard.
4, 8, 15, 16, 23, 42
TheDan
level1
level1
Posts: 51
Joined: Fri Jun 16, 2006 6:55 pm

Postby TheDan » Thu Nov 30, 2006 7:07 pm

Pluggable AI would be a nice add-on for us potential modders with more coding skills than graphical ones

We could even play them off against eachother to see who can write the best defcon AI :D
User avatar
wwarnick
level5
level5
Posts: 1863
Joined: Mon Oct 02, 2006 8:44 pm
Location: Rexburg, ID

Postby wwarnick » Sat Dec 02, 2006 5:40 am

Great idea. However, I think that not only should there be pluggable AI for modders, but I think IV should create some "built-in" AI personalities with this system, such as the extra defensive player, and the reckless offensive player. Or even the loyal player vs. the backstabber (and actually think before voting instead of always abstaining). This would reduce AI exploits dramatically as you'd never be able to predict what they'd do in any particular situation.

wwarnick
MegaDeathKill!
level2
level2
Posts: 206
Joined: Wed Jul 18, 2007 1:36 am
Location: UK

Postby MegaDeathKill! » Wed Jul 18, 2007 1:45 am

Hi all! I'm new to this forum and I'm delighted to see that the community hasn't given up on singleplayer. I'm currently saddled with BT Option 1 (5gb monthly limit) so multiplayer is a no-go for me at the moment. How likely is it that some decent AI could be made? Would it even be possible, I hope so as it would make the game so much better if the CPU was less predictable and acted more like the CPU in good Chess games, where you can't read their next move all the time.
User avatar
PSBirch
level2
level2
Posts: 82
Joined: Thu May 03, 2007 6:22 pm
Location: Seattle, WA

Postby PSBirch » Wed Jul 18, 2007 3:57 am

Mighty Santa wrote:Name suggestions for Advanced AI.

Devious [CPU]
Sick and Twisted [CPU]
Backstabber [CPU]

---
I would hope a few more AIs can be implemented as standard.


Conservative [CPU] <-- esp for Survivor / Diplomacy games
Opportunist [CPU] <-- attacks undefended spots with zeal
Balancer [CPU] <-- defends highest concentration of population
Zealot [CPU] <-- ruthless against anyone who harms their population
User avatar
torq
level3
level3
Posts: 399
Joined: Mon Oct 16, 2006 6:28 pm
Location: Moscow, Russia

Postby torq » Wed Jul 18, 2007 8:29 am

The best choice would be an open script based AI. This way everybody willing may add some twists in the AI's personality and thus making it unique.
It would be great to arrange AI tournament to see which one is the best :)

The major drawback that I see in this idea that not many would be able to actually script something that would play better than the current AI :)
And scripting itself requires skills that are unavalable for many people.
NMO
User avatar
bert_the_turtle
level5
level5
Posts: 4795
Joined: Fri Oct 13, 2006 6:11 pm
Location: Cologne
Contact:

Postby bert_the_turtle » Wed Jul 18, 2007 9:40 am

Unfortunately, the AI code is currently executed on the client; which means that AI scripts would need to be distributed to all clients in a game and executed there, which means the scripts need to be sandboxed for security and be 100% portable. Running the AI on only one of the clients is no real option; it heightens the risk of sock puppet AIs that one player uses to flatten enemy installations so he can go for the people.
I know you're talking about the single player mode only, but the architecture is multiplayer, and anything that works in singleplayer mode should also work in multiplayer mode or there's a stream of questions like "WTF? WHY CANT I GET BTTR CPU PLAYRS IN MULTYPLR GAMS?"
User avatar
torq
level3
level3
Posts: 399
Joined: Mon Oct 16, 2006 6:28 pm
Location: Moscow, Russia

Postby torq » Wed Jul 18, 2007 10:49 am

bert_the_turtle wrote:Unfortunately, the AI code is currently executed on the client; which means that AI scripts would need to be distributed to all clients in a game and executed


Why? Let it just issue regular commands and that's all.

Running the AI on only one of the clients is no real option; it heightens the risk of sock puppet AIs that one player uses to flatten enemy installations so he can go for the people.


You know, writing a sock puppet AI script is many times harder than writing the normal one. And any AI, no matter how tough, would never be equal to humans, so put your mind at rest. The script language itself can bar any attempts to cheat with them. Say there wouldn't be ways of knowing which player plays for which continent.

I know you're talking about the single player mode only, but the architecture is multiplayer, and anything that works in singleplayer mode should also work in multiplayer mode or there's a stream of questions like "WTF? WHY CANT I GET BTTR CPU PLAYRS IN MULTYPLR GAMS?"


No, I'm talking about AI's championship :) Who will create a kickass AI
NMO
User avatar
prophile
level5
level5
Posts: 1541
Joined: Fri Feb 18, 2005 4:17 pm
Location: Southampton, UK
Contact:

Postby prophile » Wed Jul 18, 2007 11:15 am

Integrate scripting in some language (say Lua), have a dropdown of possible AI types, and allow them to be added via mods. If people want a different AI type, everyone has to have that mod.
User avatar
KingAl
level5
level5
Posts: 4138
Joined: Sun Sep 10, 2006 7:42 am

Postby KingAl » Wed Jul 18, 2007 11:28 am

torq wrote:And any AI, no matter how tough, would never be equal to humans, so put your mind at rest.


Generalising much?
Gentlemen, you can't fight in here: this is the War Room!
Ultimate Uplink Guide
Latest Patch
User avatar
torq
level3
level3
Posts: 399
Joined: Mon Oct 16, 2006 6:28 pm
Location: Moscow, Russia

Postby torq » Wed Jul 18, 2007 11:36 am

KingAl wrote:
torq wrote:And any AI, no matter how tough, would never be equal to humans, so put your mind at rest.


Generalising much?


I mean human, not the mouse clicker
NMO
User avatar
KingAl
level5
level5
Posts: 4138
Joined: Sun Sep 10, 2006 7:42 am

Postby KingAl » Wed Jul 18, 2007 11:41 am

Nevertheless. It's probably true that any AI someone coded for Defcon wouldn't be better than all humans, but that doesn't mean it isn't theoretically possible for an AI to do better. It all depends on how narrowly you define AI, really.
Last edited by KingAl on Wed Jul 18, 2007 11:59 am, edited 1 time in total.
Gentlemen, you can't fight in here: this is the War Room!

Ultimate Uplink Guide

Latest Patch

Return to “Think Tank”

Who is online

Users browsing this forum: No registered users and 2 guests