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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old January 23rd, 2006, 05:03 PM

halfzware halfzware is offline
Private
 
Join Date: Jan 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
halfzware is on a distinguished road
Default Re: Fix to TacAI Decoys

Quote:
Nah, minimum group size is not the way to go. It might seem good on the face of it, but it breaks down. Think about mixing up unit types - how could you possibly even guess what the min group size for it would be?

for each unit in squad
add element unit size to squad moral total
divide squad moral total by number of units

Also known as averaging, if averaging isn't to your liking there are other tools that can be used simply. Standard deviation, etc. Code is very good at handling this kind of thing - and methods for aggregating numbers are many and well known.

Quote:
Arralen is right that the correct fix is to repair the targetting ai. Archers need to look at how much of thier volley in each turn is "wasted". So like 20 archers firing at 1 militia results in massive waste. But 20 archers firing at 50 militia will mean that probably every single arrow will hit and perhaps kill a unit.
I agree that having a targetting AI that behaves as a human controlling it would want it to behave is the best answer. But as you say, the most likely scenario is that people will find methods to abuse the targetting logic here also. There will always be loopholes, which is why its better to prevent worst case abuse at the onset. Minimum unit size is a simple - I dare say elegant way to achieve this.
Reply With Quote
 

Bookmarks


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 10:35 PM.


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