Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Some thoughts on automation

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Some thoughts on automation Page: [1]
Login
Message << Older Topic   Newer Topic >>
Some thoughts on automation - 12/14/2013 12:53:27 PM   
Deathball

 

Posts: 117
Joined: 4/3/2012
Status: offline
So I've had this idea what automation might look like for Distant Worlds 2 and wanted to share it and hear some thoughts.

Instead of having predefined packages in form of different ship roles, i.e. escort, cruiser, etc. the player would be able to define ship roles and their behavioral patterns himself through a set of directives in the form of

when <conditional> <command> <parameter>

A ship class would consist of a list of such directives that the AI would work through from top to bottom. For example a destroyer class could look like this:
when <at war> <attack> <mining bases>
when <always> <attack> <pirate bases>
when <always> <patrol> <colonies>

When creating a ship design the player would then assign it the role "destroyer" and when automated, the ship would check first for enemy mining bases to attack. If the empire is at peace or there are no known enemy mining bases in range it would search for pirate bases to attack. If no pirate bases are found either it will default to patrolling player colonies.

Another example could be a frigate class like this:
when <in fleet> <escort> <ships in fleet>
when <always> <patrol> <mining stations>

This frigate could be a lightly armored missile boat to be put in a fleet with capitals, where it would tag along with a capital to soak up enemy fire supporting it from long range. If not part of a fleet it would default to patrolling mining stations.

To expand on this system there could be a number of additional parameters used in ship AI decisions such as a preferred target size, mission range, etc.

The advantage of this system would be that instead of having a set of ships that all do pretty much the same the player would be able to define his own specialized ship roles using more complex behaviors in accordance with the ship design and player needs. So you could create the above destroyer with long range weaponry to snipe enemy stations, a cruiser with hyperdeny and lots of fuel to hunt freighters in enemy systems, capitals decked out with weapons and shields to seek out enemy combat ships, etc. massively increasing the depth and complexity of the ship design part of the game without being overly complicated.
Post #: 1
RE: Some thoughts on automation - 12/14/2013 4:37:32 PM   
Deathball

 

Posts: 117
Joined: 4/3/2012
Status: offline
37 hits and not one opinion? No yay or nay or anything?

(in reply to Deathball)
Post #: 2
RE: Some thoughts on automation - 12/14/2013 4:54:48 PM   
hardcoregamer

 

Posts: 58
Joined: 5/13/2013
Status: offline

quote:

ORIGINAL: Deathball

37 hits and not one opinion? No yay or nay or anything?


Yay.

(in reply to Deathball)
Post #: 3
RE: Some thoughts on automation - 12/14/2013 5:31:39 PM   
Darkspire


Posts: 1986
Joined: 6/12/2003
From: My Own Private Hell
Status: offline

quote:

ORIGINAL: Deathball

37 hits and not one opinion? No yay or nay or anything?


Nay.

Darkspire

_____________________________


(in reply to Deathball)
Post #: 4
RE: Some thoughts on automation - 12/14/2013 6:42:36 PM   
ckammp

 

Posts: 756
Joined: 5/30/2009
From: Rear Area training facility
Status: offline

quote:

ORIGINAL: Deathball

37 hits and not one opinion? No yay or nay or anything?


Anything.

(in reply to Deathball)
Post #: 5
RE: Some thoughts on automation - 12/15/2013 8:50:42 AM   
Deathball

 

Posts: 117
Joined: 4/3/2012
Status: offline
I'll just take that silence as consent then

(in reply to ckammp)
Post #: 6
RE: Some thoughts on automation - 12/15/2013 9:30:35 PM   
hewwo

 

Posts: 276
Joined: 4/22/2010
Status: offline
hmmm first I thought: dude that's way too much for in a game, but actually it would be really awesome, so yes, I 100% support this idea! Our own little programmable fleet AI.

(in reply to Deathball)
Post #: 7
RE: Some thoughts on automation - 12/16/2013 2:27:08 AM   
Spidey


Posts: 411
Joined: 12/8/2013
Status: offline
Of course it's going to end up being rather complex to make ships do exactly what you want them to do, and then the scripting impaired rookies among us will probably complain about how hard it is to make the automation work.

The concept isn't bad at all, but I'd rather hope the feature wasn't very easy to find and came with plenty of warnings so people don't mess with it for no reason, as well as a rather alien look. It should make you feel like the first time you hit Alt + F11 in Excel and saw the VBA editor fade into existence, only with a much more passive aggressive personality.

"Error. Could not compile line x. You've probably done something stupid."
"Error. Could still not compile line x. You've definitely done something stupid."
"VICTORY!! Managed to compile line x. Thank you for not doing something stupid."

Maybe it's a bit harsh, but I think it's the only way to keep the masses from totally screwing up their AI ships and blaming it on the game.

(in reply to hewwo)
Post #: 8
RE: Some thoughts on automation - 12/16/2013 4:30:15 AM   
Deathball

 

Posts: 117
Joined: 4/3/2012
Status: offline

quote:

ORIGINAL: Spidey

Of course it's going to end up being rather complex to make ships do exactly what you want them to do, and then the scripting impaired rookies among us will probably complain about how hard it is to make the automation work.

The concept isn't bad at all, but I'd rather hope the feature wasn't very easy to find and came with plenty of warnings so people don't mess with it for no reason, as well as a rather alien look. It should make you feel like the first time you hit Alt + F11 in Excel and saw the VBA editor fade into existence, only with a much more passive aggressive personality.

"Error. Could not compile line x. You've probably done something stupid."
"Error. Could still not compile line x. You've definitely done something stupid."
"VICTORY!! Managed to compile line x. Thank you for not doing something stupid."

Maybe it's a bit harsh, but I think it's the only way to keep the masses from totally screwing up their AI ships and blaming it on the game.


Compiler errors are more "Your grammar is awful" since the computer can't actually tell if something makes sense or not. My proposal would just feature a bunch of drop down menus so no actual knowledge of coding or syntax would be required, just some basic logic. And given the audience of Distant Worlds its probably safe to assume they have enough brains not to stab themselves with a fork so they'll probably be able to figure it out. If not there's always automation.

Also if you ever played Dragon Age, that game did pretty much the same thing where you could define party behavior through statements like "when <health below> <20%> <use health potion>" and I didn't hear about anyone who made his computer explode with it.

(in reply to Spidey)
Post #: 9
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Some thoughts on automation Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.578