|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  |  
	
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 01:52 AM
			
			
			
		 |  
	| 
		
			
			| 
 Major General |  | 
					Join Date: Mar 2008 Location: Serbia 
						Posts: 2,245
					 Thanks: 48 
		
			
				Thanked 84 Times in 46 Posts
			
		
	      |  |  
    
	| 
				 AI - The Artificial Idiot 
 Does anyone know exactly how the battle mechanics work, how the AI determines which battlefield spells to choose? I was under the impression that the most powerful spells researched were used, but that theory fell in water just now.
 I had a rather big battle as MA Ermor, which involved 16 communion slaves and at least that much communion masters.
 After the initial scripting the AI chose to cast only banishment and paralyze for some reason( enemy army mainly consisted of unfrozens, archers and a few tarts), which inevitably led to me being slapped by a far lesser army.
 Now, given that the communion gave each communion master theurg a S5D5 magic base, and that I had every spell researched, I come to wonder why the AI chose to, well throw the battle?
 |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 02:50 AM
			
			
			
		 |  
	| 
		
			
			| 
 Second Lieutenant |  | 
					Join Date: Apr 2008 
						Posts: 533
					 Thanks: 2 
		
			
				Thanked 18 Times in 14 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 They were bribed by the enemy. |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 07:13 AM
			
			
			
		 |  
	| 
		
			
			| 
 Sergeant |  | 
					Join Date: Apr 2010 Location: Dushanbe, Tajikistan 
						Posts: 286
					 Thanks: 16 
		
			
				Thanked 21 Times in 14 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 A nice feature to add would be a "preferred spell" the mage would try to cast after scripting is over. Oh well. |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 10:26 AM
			
			
			
		 |  
	| 
		
			|  | 
 Second Lieutenant |  | 
					Join Date: Mar 2007 Location: Holbrook,AZ 
						Posts: 456
					 Thanks: 3 
		
			
				Thanked 11 Times in 11 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 Lots of times the AI will go with something sub-optimal. Without going in to the whole making the ai better debate the best thing to do is to script the win before the AI takes over    
Now, just from the description of the fight, Banish doesnt sound like a horrible spell. 16 slaves means your masters had +4 to holy level. Spamming level 6 and 7 banish doesnt sound like too terrible a spell to cast. Thats +2 penetration with 0 fatigue and a huge area. Paralyze would also seem to be a good spell to pick if targetting the Tarts.
 
Saying that, I think unfrozen are the best summons in the game and are often underestimated especially in a cold dominion. Good hits, superb MR, good damage(some even come with magic weapons) If your opponent had cast just an antimagic that boosts their MR to 20 and they are gonna walk thru even serious banishment spam.
 
Of course the better spell the ai could have switched to instead of banish is witherbones.
 
Depending on what type of troops you have as blockers you can rarely go wrong with stellar cascade spammed with 32+ mages.
			
			
			
			
				  |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 11:11 AM
			
			
			
		 |  
	| 
		
			
			| 
 BANNED USER |  | 
					Join Date: Nov 2007 Location: San Francisco, nr Wales 
						Posts: 1,539
					 Thanks: 226 
		
			
				Thanked 296 Times in 136 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 I have a fair idea how the casting AI operates (currently working on a mod dealing with this exact issue). But I'm not going to go into the details of the matter here. Since I don't want the (guaranteed) hassle from any of the *individuals in* the community, and who think they know better based on some random game they played six months ago while watching a fast-forwarded battle replay. (so you can thank them for the reason why I, and other experienced players, no longer share detailed knowledge very often)
 But I will say that friendly fire is one of the most overriding issues with regards casting AI spell choice. As in short, a useful rule to remember is that if there's any chance at all of your troops being negatively affected by a spell, then nine times out of ten the casting AI just won't cast it (and it'll often override any such spell even if scripted). Although fatigue spells seem to operate under a different rule set.
 
 And expecting the casting AI to cast Wither Bones as LA/MA Ermor = Epic Fail
 (unless you somehow have no undead units on the battlefield yourself)
 
                 Last edited by Ballbarian; December 11th, 2010 at 03:56 AM..
                    
                    
                        Reason: Removed troll bait.
 |  
	
		
			| The Following 2 Users Say Thank You to Calahan For This Useful Post: |  |  |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 11:17 AM
			
			
			
		 |  
	| 
		
			
			| 
 First Lieutenant |  | 
					Join Date: May 2005 
						Posts: 660
					 Thanks: 63 
		
			
				Thanked 75 Times in 31 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 Especially under darkness with non-undead mages. |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 11:33 AM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Oct 2003 Location: Vacaville, CA, USA 
						Posts: 13,736
					 Thanks: 341 
		
			
				Thanked 479 Times in 326 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 The AI does extensive thinking, and any more would cause more complaints than now.
 If you want to see the AI going thru the process then just turn on debug with a -dd switch to your game, and view the logs. Come up with some suggestions on how you would change what you see so that we can discuss it. The offer has been out there since before Dom3 was released but very few have actually bothered to look at it.
 
 And if you want to check out how the computer player does vanilla scripting, or purchases troops, then use the (more recently released) --comptrn switch to be able to view turn files for AI players.
 |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 12:51 PM
			
			
			
		 |  
	| 
		
			
			| 
 Major General |  | 
					Join Date: Mar 2008 Location: Serbia 
						Posts: 2,245
					 Thanks: 48 
		
			
				Thanked 84 Times in 46 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 Hm, interesting idea regarding FF Calahan. But that seems wrong from my point of view as I had undead (longdead) chaff and the enemy had unfrozens. Both susceptible to banishment, actually mine were quite more susceptible to it.  
And yes, the battle was under darkness so shouldn't have the AI used higher precision spells? 
I'm still rather confused.
 
I'm still happy to hear any ideas regarding how the AI works as to try and prevent future AI betrayals. 
 
I wasn't hoping for wither bones, I didn't even expect undead troops, but I can think of a dozen spells other that could have brought me victory.
 
Gandalf, If I had any idea about a thing what you're suggesting I'd gladly do it, however I find myself in a complete lack of programing skills and I'd rather not get involved in things I don't understand. 
 
Rytek, paralyze is a horrible spell if you only have chaff, and yes we know how much you love unfrozens and you're glad they won  |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 01:35 PM
			
			
			
		 |  
	| 
		
			
			| 
 General |  | 
					Join Date: Oct 2007 
						Posts: 3,007
					 Thanks: 171 
		
			
				Thanked 206 Times in 159 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 And it's things like this that have spurred Dread Lord Calahan to attempt to create a mod to improve the spellcasting AI. 
				__________________"Easy-slay(TM) is a whole new way of marketing violence. It cuts down on all the red tape and just butchers people. As a long-time savagery enthusiast myself, I'm very excited about the synergies that the easy-slay(TM) approach brings to the entire enterprise." -Dr DrP
 |  
	
		
	
	
	| 
			
			 
			
				December 9th, 2010, 01:41 PM
			
			
			
		 |  
	| 
		
			
			| 
 National Security Advisor |  | 
					Join Date: Nov 2006 Location: Oxford, UK 
						Posts: 5,921
					 Thanks: 194 
		
			
				Thanked 855 Times in 291 Posts
			
		
	      |  |  
    
	| 
				 Re: AI - The Artificial Idiot 
 
	Quote: 
	
		| The offer has been out there since before Dom3 was released but very few have actually bothered to look at it. |  I don't understand Gandalf - what offer? |  
	
		
	
	
	
	
	
	
	| 
	|  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 
 |  |  |  |  |