|
|
|
|
|
December 27th, 2010, 12:45 AM
|
Corporal
|
|
Join Date: Nov 2007
Posts: 132
Thanks: 1
Thanked 20 Times in 7 Posts
|
|
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.
|
December 27th, 2010, 06:38 AM
|
|
Corporal
|
|
Join Date: Mar 2010
Posts: 65
Thanks: 4
Thanked 4 Times in 3 Posts
|
|
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...
|
December 27th, 2010, 10:56 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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!)
|
December 27th, 2010, 08:40 PM
|
|
Major
|
|
Join Date: Feb 2009
Location: Me a viking
Posts: 1,012
Thanks: 81
Thanked 122 Times in 73 Posts
|
|
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.
__________________
Voice of ***** and her spicy crew!
|
January 2nd, 2011, 07:24 PM
|
|
General
|
|
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
|
|
Quote:
Originally Posted by zlefin
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
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
|
January 2nd, 2011, 07:39 PM
|
|
Corporal
|
|
Join Date: Mar 2010
Posts: 65
Thanks: 4
Thanked 4 Times in 3 Posts
|
|
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
|
January 2nd, 2011, 08:01 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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)
|
January 3rd, 2011, 08:41 AM
|
Private
|
|
Join Date: Nov 2010
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
Re: a simple, way to make the ai much stronger vs scs
Quote:
Originally Posted by NTJedi
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.
|
January 3rd, 2011, 06:55 PM
|
|
Sergeant
|
|
Join Date: Nov 2010
Posts: 388
Thanks: 17
Thanked 24 Times in 22 Posts
|
|
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?
|
January 3rd, 2011, 07:59 PM
|
Private
|
|
Join Date: Nov 2010
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
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).
|
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
|
|
|
|
|