Map Database  •  FAQ  •  RSS  •  Login

[Help]Improving AI building process

<<

tno1

Peasant

Posts: 4

Joined: 30 Jul 2015, 16:38

KaM Skill Level: Average

Post 30 Jul 2015, 16:41

[Help]Improving AI building process

Hey folks :p

Not sure wether this is the right place :p

But I has made my own map with infinite ressource gatherings, 2v2 based and I want a better AI, as it will max make 2 Iron Mines even thou there is room for 3 mines, any way I can make sure it can make more? :p :) Thanks for reading, hope you got some thoughts :)
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 02 Aug 2015, 07:36

Re: [Help]Improving AI building process

For AI to make more Mines it needs to have demand in them. To increase demand in mines AI needs more demand in iron. To increase demand in iron AI needs more demand in Iron soldiers. Try increasing AIs iron soldiers desired production rate.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

tno1

Peasant

Posts: 4

Joined: 30 Jul 2015, 16:38

KaM Skill Level: Average

Post 02 Aug 2015, 09:10

Re: [Help]Improving AI building process

Alright thank you very much :) :p the increase rate is the Iron Equip Rate right? and the higher that number is the more soldiers it will make, correct? :p
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 02 Aug 2015, 09:29

Re: [Help]Improving AI building process

In theory - yes.
Enable F11 menu, switch to AI player and enable "Show AI Balance" to see what it thinks it needs to build.

Another, easier solution - just to add a script to force AI to build a mine :-)
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

tno1

Peasant

Posts: 4

Joined: 30 Jul 2015, 16:38

KaM Skill Level: Average

Post 02 Aug 2015, 10:02

Re: [Help]Improving AI building process

Great that script solution was exactly what I was meaning to ask for xD :p :) How can I do that? - I don't mean give me the script finished, just that I has searched the wiki for AI based stuff :p but I can't seem to find it related to building process :p Regards :)

Return to “Dynamic Scripting”

Who is online

Users browsing this forum: No registered users and 8 guests