View unanswered posts | View active topics It is currently 26 Nov 2024, 23:14



Reply to topic  [ 5 posts ] 
 AI Shipbuilding Question 
Author Message
Lieutenant Commander
Lieutenant Commander
User avatar

Joined: 20 Sep 2004, 01:00
Posts: 690
Location: UK
Just a quick question with regards to the AI. Obviously the mods that will be developed for this game will range from something as simple as amending a few ships shield ratings, to converting the whole thing to a different universe. My question is this, is there a system developed to enable the AI to intelligently decide which ships to build? I was thinking about this before, if the AI does a calculation to see which is best value for money, perhaps there’s the danger he’ll only build ships of one type?

I’m sure Mike’s got this sussed but was just a little curious.

_________________
Who says there's never a Klingon around when you need one.


08 Dec 2006, 23:45
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
I'm hoping to implement an intelligent building system. A ship gets built when higher levels of the AI determine that a new ship is needed to fill some role, and the ship model to build will be determined based on which ship is the best fit for that role (perhaps with a small random component). For this to work, it will have to compare various stats (i.e. speed, range, weapons, shields) and figure in construction costs (including time).

This is strictly theoretical at this point. I haven't even begun to work on an algorithm yet.


08 Dec 2006, 23:54
Profile WWW
Lieutenant Commander
Lieutenant Commander
User avatar

Joined: 20 Sep 2004, 01:00
Posts: 690
Location: UK
Sounds great, thanks. :D

_________________
Who says there's never a Klingon around when you need one.


09 Dec 2006, 07:22
Profile
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
Here is some thoughts on the AI and Ship Building, point out any mistakes pls it would be appreciated :)


Complex to say the least. The AI needs to be dynamic enough to adapt to differant needs at differant stages of the game, from balancing exploration, colonization, war and economics which can change throughout a games lifetime. To begin with the AI will or should start off like any other player if possible, like any player it will explore, and colonize to begin with as the likelyhood of attack is low. Perhaps a set of hard coded instructions to begin with could be beneficial. For example a ship list consisting of 4 scouts, 2 surveyors a colony ship and transport to begin construction during the first few turns.

How should the AI decide when to build and what to build? considering there doens't seem to be much of a penalty in the number of ships bar money keeping a small sized "Navy" isn't going to be necessary for the AI. In times of peace perhaps it would be best to explore and colonize whlie slowly accumulating ships and scrapping older designs while replacing them with newer ones. If at all possible though no doubt hard the AI should be able to forsee events and prepare for them, generally preparing for War. Normally this can be done by having the AI able to cheat and Know both the number of ships the enemy has and perhaps the relationship towards the AI. However if at all possible having this taken from ingame intel actually gathered by the AI would be a bonus though hard.

Should the balance between colonization and Warship buliding be hardcoded or dynamic and affected by the game. For example it can be hardcoded beforehand into the AI what inputs from the "Environment" trigger what to build. This can be a number accumualted from various sources ie race relations, Ship numbers and Ship types available, differances in technology between Ships built and ship designs available.

A dynamic system would be more artificial intelligence in design, with inputs from the environment still the deciding factor but there output not always the same. For example the effect certain inputs have change with regards to the results of previous runs. Input/Output configurations that give rise to Good results, ie result in good exploration/colonization or perhaps sufficient sized fleets are kept and reinforced. This is a Higher AI so is doubtful to be implemeted any time soon.

Where to build the ships, should be simple enough to begin with, considering the fidelity in the types of shipyards and there availability, ship building should be concentrated on those systems with suitable industry at first. More complex issues such as positioning, availability of training etc can be added later.

What type to build? should the AI be able to descern information gleened from previous battles won or lost.
To begin with a simple system probably based upon size of empire, economics and various other factors such as number of enemies and there ship numbers can help descern the size. The compliment could also just be a simple predefined ratio of scouts/light cruiser/Heavy Cruiser etc, or as mentioned before learnt and adapted throughout the game.

Regards Wolfe


14 Dec 2006, 15:37
Profile
mstrobel wrote:

This is strictly theoretical at this point. I haven't even begun to work on an algorithm yet.


You know its funny... you got a genius here...

and if you go to Brooklyn NY... and ask people what a algorithm is ... they would probably come back as saying ... "a music group?" or something Al Gore related lol


02 Jan 2008, 11:02
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.