Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload

Previous topic :: Next topic
AI is so stupid
Author Message
huntard

Joined: 02 Mar 2016
Posts: 2
Posted: 2016-03-02, 19:34   AI is so stupid

Hi i have problem i just downloaded
clean version of Heroes 3 Complete(gog version) and VCMI the latest version.
The problem is... AI is just so dumb, generally AI just create more than 5 heroes and build nearly nothing also not fighting with minions.

What to do now?
 
     
Tooandorisu 


Age: 29
Joined: 02 Apr 2013
Posts: 87
Posted: 2016-03-02, 19:38   Re: AI is so stupid

huntard wrote:
Hi i have problem i just downloaded
clean version of Heroes 3 Complete(gog version) and VCMI the latest version.
The problem is... AI is just so dumb, generally AI just create more than 5 heroes and build nearly nothing also not fighting with minions.

What to do now?


AI isn't finished yet. Still work in progress.
 
     
huntard

Joined: 02 Mar 2016
Posts: 2
Posted: 2016-03-02, 19:58   Re: AI is so stupid

Tooandorisu wrote:
huntard wrote:
Hi i have problem i just downloaded
clean version of Heroes 3 Complete(gog version) and VCMI the latest version.
The problem is... AI is just so dumb, generally AI just create more than 5 heroes and build nearly nothing also not fighting with minions.

What to do now?


AI isn't finished yet. Still work in progress.


so there is no such way to play vcmi with ai just?
 
     
lonelywolf

Joined: 22 Jul 2010
Posts: 44
Posted: 2016-03-02, 22:41   Re: AI is so stupid

huntard wrote:
Tooandorisu wrote:
huntard wrote:
Hi i have problem i just downloaded
clean version of Heroes 3 Complete(gog version) and VCMI the latest version.
The problem is... AI is just so dumb, generally AI just create more than 5 heroes and build nearly nothing also not fighting with minions.

What to do now?


AI isn't finished yet. Still work in progress.


so there is no such way to play vcmi with ai just?


You can play against AI but it is very buggy atm, the only reason from real heroes 3 is that the AI was cheating and vcmi is trying to make AI a little cleaver if i remember correct.
 
     
SXX 
VCMI programmer

Age: 25
Joined: 04 Jul 2014
Posts: 387
Posted: 2016-03-03, 01:13   Re: AI is so stupid

First of all make sure to set "Neutral AI" in launcher to "BattleAI". Currently that option not work as needed and VCAI heroes become controlled by StupidAI in battle that make them a lot less competitive. In future we should make it that BattleAI used for computer players and StupidAI for neutral creatures.

lonelywolf wrote:
You can play against AI but it is very buggy atm, the only reason from real heroes 3 is that the AI was cheating and vcmi is trying to make AI a little cleaver if i remember correct.
Let's be real there is many things that simply not implemented in VCMI and that is main reason why it's suck.

Though H3 AI see all map from start and there also resources bonuses for difficulty. And that not include many small situations where it's ignore game mechanics rules (e.g can spawn heroes when they all disabled in map options).
 
     
Galaad 

Joined: 23 Feb 2014
Posts: 32
Posted: 2016-11-08, 16:21   

Hm, I'm wondering, would it be possible to implement original h3 AI as placeholder before VCMI AI is fully operational?

Or I don't know, console also tells me this:

Code:
Initialized logging system based on settings successfully.
[log level] ai => not set


Is highlighted in green so I'm wondering if it's normal? Maybe I messed up something somewhere? Because even though I haven't had time to play much, I didn't see difference with older versions.
 
     
Warmonger 
VCMI programmer


Age: 28
Joined: 07 Jun 2008
Posts: 1545
Location: Warsaw, Poland
Posted: 2016-11-08, 16:49   

Do you have original H3 implementation somewhere in your backyard? :P

As far as I know, it's simple factoring, giving each object a fixed value. This in fact could be implemented on top of existing VCAI, not instead.
There are missing features like AI trying to run away from player - this won't implement itself on its own, even if we wanted to follow OH3.
_________________
Think twice if you really need to send me private message. Use public forum for general questions.
DJ Warmonger blog
beegee wrote:
Warmonger, you are the best!
 
 
     
Galaad 

Joined: 23 Feb 2014
Posts: 32
Posted: 2016-11-08, 21:31   

Arf ok haha I'm a bit clueless how it works, I guess you're aware but biggest issue to me is it doesn't hire troops nor defend castles, no idea how to help here, all the best for next of development.
 
     
Macron1 

Joined: 02 Apr 2013
Posts: 578
Posted: 2016-11-09, 19:24   

Galaad wrote:
Arf ok haha I'm a bit clueless how it works, I guess you're aware but biggest issue to me is it doesn't hire troops nor defend castles, no idea how to help here, all the best for next of development.


Edit file startres.json like this:
Code:
// Starting resources, ordered by difficulty level (0 to 4)
{
    "difficulty":
        [
            {
              "human": { "wood" : 30, "mercury": 15, "ore": 30, "sulfur": 15, "crystal": 15, "gems": 15, "gold": 30000, "mithril": 0 },
              "ai": { "wood" : 500, "mercury": 200, "ore": 500, "sulfur": 200, "crystal": 200, "gems": 200, "gold": 500000, "mithril": 0 }
            },

            {
              "human": { "wood" : 20, "mercury": 10, "ore": 20, "sulfur": 10, "crystal": 10, "gems": 10, "gold": 20000, "mithril": 0 },
              "ai": { "wood" : 1000, "mercury": 400, "ore": 1000, "sulfur": 400, "crystal": 400, "gems": 400, "gold": 750000, "mithril": 0 }
            },

            {
              "human": { "wood" : 15, "mercury": 7, "ore": 15, "sulfur": 7, "crystal": 7, "gems": 7, "gold": 15000, "mithril": 0 },
              "ai": { "wood" : 1500, "mercury": 700, "ore": 1500, "sulfur": 700, "crystal": 700, "gems": 700, "gold": 1000000, "mithril": 0 }
            },

            {
              "human": { "wood" : 10, "mercury": 4, "ore": 10, "sulfur": 4, "crystal": 4, "gems": 4, "gold": 10000, "mithril": 0 },
              "ai": { "wood" : 1500, "mercury": 700, "ore": 1500, "sulfur": 700, "crystal": 700, "gems": 700, "gold": 1000000, "mithril": 0 }
            },

            {
              "human": { "wood" : 0, "mercury": 0, "ore": 0    , "sulfur": 0, "crystal": 0, "gems": 0, "gold": 0, "mithril": 0 },
              "ai": { "wood" : 1500, "mercury": 700, "ore": 1500, "sulfur": 700, "crystal": 700, "gems": 700, "gold": 1000000, "mithril": 0 }
            }
        ]
}



AI don't have sufficient resources
_________________
I'm not a member of VCMI developer group and my posts are not official. I'm just a fan.
 
     
Galaad 

Joined: 23 Feb 2014
Posts: 32
Posted: 2016-11-09, 22:30   

Thanks I'm going to try that

Edit: Ok week 2 I see troops hired from AI, thanks Macron!
 
     
Povelitel 

Joined: 21 Jun 2013
Posts: 293
Posted: 2016-11-21, 11:08   

My opinion we should give AI more resources on default. Because he plays very, very weak. May be in future when he stay better do it at all hohest. But now "king" in vcmi (even with +resourses) = "pawn" in SoD by the power of the game.
_________________
If undertook to do something, do it well!
 
     
Warmonger 
VCMI programmer


Age: 28
Joined: 07 Jun 2008
Posts: 1545
Location: Warsaw, Poland
Posted: 2016-11-26, 18:56   

I just commited a fix which stops AI from spending all money on useless heroes in first weeks.
_________________
Think twice if you really need to send me private message. Use public forum for general questions.
DJ Warmonger blog
beegee wrote:
Warmonger, you are the best!
 
 
     
Povelitel 

Joined: 21 Jun 2013
Posts: 293
Posted: 2016-11-26, 19:33   

A lot of money will allow the AI to line up and buy back at least the troops, and it will create the illusion of the defunct competition. Now he simply "run experience stone" on which it is possible to pump their heroes. I gave money to AI 50 million and 5000 resource that I want to say, he is doing very well so it is - it is being built. Here no claims to it. Capture the Castle, but already there is all built up, well done. In all other aspects, it is all sad. And with no money at all so bad. Construction is bad, and very often are not redeemed by the troops.

He would like the "sense of insecurity" tune. Aggressiveness on the human heroes to kill them and beware of strong heroes, not substituted.
_________________
If undertook to do something, do it well!
 
     
xxswwxx

Joined: 23 Feb 2017
Posts: 2
Posted: 2017-02-23, 17:29   

I posted this on another place but then noticed that the thread was last used 4 years ago. My ai is not build ing in towns or buying ANY troops instead buying crap tons of heroes for the weak armies they start with. All games way too easy.
 
     
misiokles 

Joined: 12 Nov 2015
Posts: 180
Posted: 2017-02-23, 17:47   

Read this topic:
http://forum.vcmi.eu/viewtopic.php?t=1221
 
     
Display posts from previous:   
Reply to topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Add this topic to your bookmarks
Printable version

Jump to:  

Powered by phpBB modified by Przemo © 2003 phpBB Group

Hosting provided by DigitalOcean
Page generated in 0.02 second. SQL queries: 12