.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old June 3rd, 2007, 10:57 PM
AngleWyrm's Avatar

AngleWyrm AngleWyrm is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
AngleWyrm is on a distinguished road
Default Ship AIs that talk to each other

Ever notice how, in the typical RTS, a hoard of units (Scorpion Spam, Zerglings, etc) require micromanagement in order to focus their fire properly? Even then, a player is usually forced by time constraints to bandbox their entire herd, and sequentially target enemies. A waste of firepower in both scenarios. So...What if units could communicate with each other? How could this help? I think best with examples:

Red advances a carrier group onto Blue's planet, with the goal of invading the planet. So we have two lists of combatants, Red and Blue. Red team starts by sorting his enemies list in order of closest to the enemy, and then begins with the conversing:

Red[1] is the lead gun ship, (fighters haven't been released yet), and closest to the nearest enemy, a blue gun ship. Red[1] calculates that it will take five volleys for him to destroy the enemy, and will expose himself to significant return fire doing so. Red[1] examines Red fleet and finds that there is enough firepower to take out that enemy. So Red[1] announces to his fleet that his is now taking bids for a contract on Blue's lead gunship. The contract requires a total of five of his volleys to decimate the enemy in one go.

Next up, Red[2]. Red two first examines the contract board and finds one available (Red[1] did this too, but there weren't any). So Red[2] makes a tentative bid for the contract, offering his firepower as the unit of measure. Then Red[3] gets a turn, and so on through their fleet.

When Red[1] comes up again, he sorts the bids according to firepower (possibly by range as well), and selects the top ones that can make it happen. Then he sends a message to each Red team member who has been selected, making it a binding contract. Then he marks the contract closed on the message board.

When it comes time for a ship to move, it first checks to see if it's in a binding contract, and if so it attacks that target.

Also, if any member of the contract's team loses some firepower (or dies), they flag the contract as 're-evaluate'. the the next member to do evaluations will re-examine if they can still pull it off. If not, that ship announces the contract is null and void, and works on maybe announcing a new contract.

--
This thought gleaned from reading Multi-agent systems, a Modern Approach
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:26 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.