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

This Month's Specials

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

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old December 27th, 2010, 12:45 AM

zlefin zlefin is offline
Corporal
 
Join Date: Nov 2007
Posts: 132
Thanks: 1
Thanked 20 Times in 7 Posts
zlefin is on a distinguished road
Default a simple, way to make the ai much stronger vs scs

have the ai forge and equip a fair deal of the anti-sc ranged weapons; ensuring that there are often one or more such units in larger armies. (generally a scout or a some mage with a +prec spell).
Choice items are: bow of botulf, vision's foe, fire bola, vine bow, and maybe an ethereal xbow.

Having guys with those items set to fire large monsters can really mess up alot of scs and thugs quite badly.
Reply With Quote
  #2  
Old December 27th, 2010, 06:38 AM
adder83's Avatar

adder83 adder83 is offline
Corporal
 
Join Date: Mar 2010
Posts: 65
Thanks: 4
Thanked 4 Times in 3 Posts
adder83 is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

You provide only a first step in a long run how to improve it! The problem is to code your idea which is not simple at all...
Reply With Quote
  #3  
Old December 27th, 2010, 10:56 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

Im not sure if he meant it as something for the developers to change in the game (unlikely to happen) or a suggestion to the community for a modded action (more likely to happen)
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #4  
Old December 27th, 2010, 08:40 PM
Fantomen's Avatar

Fantomen Fantomen is offline
Major
 
Join Date: Feb 2009
Location: Me a viking
Posts: 1,012
Thanks: 81
Thanked 122 Times in 73 Posts
Fantomen is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

You could always forge those weapons yourself and send it to the AI:s you're fighting, no idea if it would use it though.
Reply With Quote
  #5  
Old January 2nd, 2011, 07:24 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default

Quote:
Originally Posted by zlefin View Post
have the ai forge and equip a fair deal of the anti-sc ranged weapons; ensuring that there are often one or more such units in larger armies.
If you're suggesting the developers change the AI code it's not going to happen... more important AI code such as AI opponents sending pretenders to the arena death match or mages wearing heavy plate remain unfixed.
If you're suggesting map makers provide starting AI opponents these type of units they will most likely not survive long enough to meet the SCs. My experience has been placing one AI opponent far away with its own SCs at the start of the game works best for fighting a human with SCs later.

Quote:
Originally Posted by Fantomen View Post
You could always forge those weapons yourself and send it to the AI:s you're fighting, no idea if it would use it though.
I can't see anyone willing to waste gems on the random chance the AI will equip a useful commander. Even if these are sent to the AI opponents they are placed almost completely randomly on commanders/mages.
My suggestion to Illwinter: Allow the AI code to be made available to the community or beta testers which can examine/test/improve the code for AI opponents. I'm sure Gandalf will be more than happy to help.... banning pretenders from the arena death match should be easy since those units have the pretender flag.

Last edited by NTJedi; January 2nd, 2011 at 07:25 PM.. Reason: bold print
Reply With Quote
  #6  
Old January 2nd, 2011, 07:39 PM
adder83's Avatar

adder83 adder83 is offline
Corporal
 
Join Date: Mar 2010
Posts: 65
Thanks: 4
Thanked 4 Times in 3 Posts
adder83 is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

i think Kref already made a major step solving the problem:

http://forum.shrapnelgames.com/showthread.php?t=46856
Reply With Quote
  #7  
Old January 2nd, 2011, 08:01 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

The code is more or less visible already, in the debug logs or using the --comptrn switch to view AI turn files. Some suggestions based on that have been turned in and discussed.

As far as pretenders to arena, thats not as bad as its usually painted. The AI does actually try to recognize SCs, Rainbows, and Leader pretenders. Its treats them each accordingly. Sending SC's to war and to arenas actually is the games logical action. Of course, everything has its pros and cons. Giving the game its widest range of tactics gives it the ability to sometimes surprise players. But it also tends toward stupidity so giving the AI preset gods and settings can insure that the AI is in the upper range (SemiRand program can do that)
Reply With Quote
  #8  
Old January 3rd, 2011, 08:41 AM

Awund Awund is offline
Private
 
Join Date: Nov 2010
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Awund is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

Quote:
Originally Posted by NTJedi View Post
My suggestion to Illwinter: Allow the AI code to be made available to the community or beta testers which can examine/test/improve the code for AI opponents. I'm sure Gandalf will be more than happy to help.... banning pretenders from the arena death match should be easy since those units have the pretender flag.
An improved AI might even be possible without any help from Illwinter. I'm currently trying to decode the .2h and .trn file formats. I can read most of the data in the .2h files already without needing the official client. If I succeed in also reading .trn files it should be possible to create an AI as an external program that generates a .2h file given any .trn file.
Using such an AI would require the player to set up a multiplayer game and mark also the AI companies as "human", but instead of doing the turns them self let them be played by the AI program.
Don't count on any results too soon though. Decoding the .2h files was doable, decoding the format of the .trn files will be notable harder. After that is done the massive effort of actually writing a reasonable AI will start.

On this note: if anyone knows the algorithm for computing the checksum at the end of the .2h/.trn files I'd be very grateful.
Reply With Quote
  #9  
Old January 3rd, 2011, 06:55 PM
Corinthian's Avatar

Corinthian Corinthian is offline
Sergeant
 
Join Date: Nov 2010
Posts: 388
Thanks: 17
Thanked 24 Times in 22 Posts
Corinthian is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

The problem with decoding the checksum at the end might be that it would make it easier to cheat undetected. I've never experienced it myself but I've read about people that changed their h2 files to give them self more gems in Dominions 2. This has presumably been fixed, but still.

Are you sure it generates a checksum if you turn off cheat detection by the way?
Reply With Quote
  #10  
Old January 3rd, 2011, 07:59 PM

Awund Awund is offline
Private
 
Join Date: Nov 2010
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Awund is on a distinguished road
Default Re: a simple, way to make the ai much stronger vs scs

Dominions3 doesn't seem to check the checksum of .2h files, only of .trn files. Turning cheat detection off makes no difference for the checksum.

You can change the number of gems or gold you have in your .2h file, than load it with the normal client and you'll be able to use those gems / gold. It'll even fix the checksum for you once you click end turn. However this will be detected and all players will get "Message from host, player x has unexpected wealth, this could be caused by cheating". I guess you won't get this message if you turn cheat detection off (but I also see no sane reason to turn it off except when you're debugging something).
Reply With Quote
Reply

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 11:55 AM.


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