.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 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #29  
Old October 6th, 2007, 01:24 AM
Jazzepi's Avatar

Jazzepi Jazzepi is offline
Major General
 
Join Date: Jan 2004
Location: Columbus, OH
Posts: 2,204
Thanks: 67
Thanked 49 Times in 31 Posts
Jazzepi is on a distinguished road
Default Re: Dark Knight

Quote:
Kristoffer O said:
From a thematic point of view it feels ridiculous to have archers fire at three gyus up close, when there is a whole bunch of threatening archers firing at you from the enemy ranks.

I dislike the current possibility to place an arrow-magnet up front just to disable the first enemy arbalest volley, making them practically useless.

There is no easy fix tho the problem, but I think the targeting system is less intent on 'THE' closest nowdays. The order 'fire at - none' is less likely to target stray archers and can be used if you are expecting decoys.
I have a really simple solution. The targeting AI could just look at each squad that it's considering to fire upon for "fire closest" then the AI would compare the size of that squad to the size of the army, and possibly with other squads nearby. If the size of the squad they're firing at is found lacking RELATIVE to that of both the opposing army, and the alternate squads, then they would simply ignore the tiny squads up front.

I don't think this would be difficult to code. All you need to do is...

-Gather up all the targets within range
-Compare relative sizes of squads with those of the army they're with
-Select a target out of the available based on that information

Jazzepi
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 06:24 PM.


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