| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
		  | 
	
	 | 
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				November 21st, 2007, 03:03 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Aug 2003 
					Location: Sweden 
					
					
						Posts: 4,463
					 
					 
	Thanks: 25 
	
		
			
				Thanked 92 Times in 43 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		The AI calculates the greatest loss in HP (other factors are probably included) when deciding what and where to target a spell. Thus soul slay mainly hits big units and AoE spells targets a HP-dense location with low protection density (unless the spell is AN). 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 21st, 2007, 03:30 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				First Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2007 
					Location: Reading, PA 
					
					
						Posts: 724
					 
					 
	Thanks: 93 
	
		
			
				Thanked 37 Times in 27 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				Kristoffer O said: 
The AI calculates the greatest loss in HP (other factors are probably included) when deciding what and where to target a spell. Thus soul slay mainly hits big units and AoE spells targets a HP-dense location with low protection density (unless the spell is AN).  
			
		 | 
	 
	 
 Thanks KO.  Very useful explanation of spell casting targeting.  
		
	
		
		
		
		
		
		
			
				__________________ 
				Men do not quit playing because they grow old; they grow old because they quit playing.  
Oliver Wendell Holmes 
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 21st, 2007, 03:56 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Second Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2006 
					
					
					
						Posts: 465
					 
					 
	Thanks: 10 
	
		
			
				Thanked 16 Times in 14 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		As a slight different idea... 
 
Is there any way to code the AI so that it targets spells based on 'greatest loss of combat effectiveness'?  As an example, say you have 10 Caelian High Seraphs on a battlefield opposing 30 HI and 70 Archers.  One of the Seraphs has a Staff of Storms, and they all have Air Shield on items (i.e., they don't have to cast it). 
 
The threat of the archers is practically 0.  Therefore, if I'm throwing, say, Thunder Strikes, could the AI be programmed to go after the HI preferentially over the Archers? 
 
(I'm not saying the current system is broken.  I'm just looking at ways of tweaking it.) 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 21st, 2007, 04:14 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Apr 2005 
					
					
					
						Posts: 3,327
					 
					 
	Thanks: 4 
	
		
			
				Thanked 133 Times in 117 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		It would be nice to have a little more situational awareness.  
 
Ignoring archers during a storm with Air Shield up is one example. Prioritizing Air Shield if there are arrows falling around you would be another. Or casting Resist Lightning when Wrathful Skies goes up.  
 
It's not a simple task though. Lots of things to think of and check for. It seems obvious, but really isn't and could easily introduce even weirder behavior. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 26th, 2008, 06:08 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Second Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Mar 2008 
					
					
					
						Posts: 448
					 
					 
	Thanks: 0 
	
		
			
				Thanked 4 Times in 4 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		Hmm... if the system were really optimized to cut enemy effectiveness, wouldn't it kill all the enemy mages first?    
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				April 6th, 2008, 09:49 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				First Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2008 
					Location: Reno, Nevada 
					
					
						Posts: 605
					 
					 
	Thanks: 11 
	
		
			
				Thanked 5 Times in 5 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		First, I'd like to start by declaring that American Football shall henceforth be known as simply 'Football.'  Everything else formerly called Football is hereby to be called Gayball. 
 
Secondly, is there a way to optimize the AI to target spells based on gain to society as a whole? 
 
The first thing we do, let's kill all the lawyers. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				April 7th, 2008, 08:52 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2008 
					
					
					
						Posts: 341
					 
					 
	Thanks: 3 
	
		
			
				Thanked 10 Times in 9 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				Renojustin said: 
First, I'd like to start by declaring that American Football shall henceforth be known as simply 'Football.'  Everything else formerly called Football is hereby to be called Gayball. 
  
			
		 | 
	 
	 
 Cant use that, the name is copyrighted. It is what rugby players call the NFL game becouse of the armor, helmet and heavy protections     
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				April 7th, 2008, 10:05 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				First Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2008 
					Location: Reno, Nevada 
					
					
						Posts: 605
					 
					 
	Thanks: 11 
	
		
			
				Thanked 5 Times in 5 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		That's like a naked slinger calling the heavy infantry cowards for wearing their helmets, shields, armor, and swords... 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				April 7th, 2008, 11:05 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				National Security Advisor 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Sep 2003 
					Location: Eastern Finland 
					
					
						Posts: 7,110
					 
					 
	Thanks: 145 
	
		
			
				Thanked 153 Times in 101 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				Renojustin said: 
That's like a naked slinger calling the heavy infantry cowards for wearing their helmets, shields, armor, and swords...  
			
		 | 
	 
	 
 And then proceeding to kill the heavily-armed Goliath and decapitate him with his own sword.  
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				April 7th, 2008, 03:08 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Lieutenant General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Sep 2007 
					
					
					
						Posts: 2,691
					 
					 
	Thanks: 5 
	
		
			
				Thanked 39 Times in 31 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: The Art of Placement
			 
             
			
		
		
		
		obviously rugby is a game for the more skilled and brave... home of the brave...hahaha 
		
	
		
		
		
		
		
		
			
				__________________ 
				Want a blend of  fantasy and  sci-fi? Try the total conversion   Dominions 3000  mod  with a new and fully modded solar system map. 
Dragons wanted? Try the  Dragons, Magic Incarnate nation. 
New and different undead nation? Try  Souls of Shiar. Including new powerfull holy magic. 
In for a whole new sort of game? Then try my scenario map   Gang Wars.
			  
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		  Linear Mode 
		
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is On 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |