Map Database  •  FAQ  •  RSS  •  Login

KaM Remake nightly build

<<

Michalpl

Sword Fighter

Posts: 318

Joined: 10 May 2014, 21:46

KaM Skill Level: Fair

Post 06 Jun 2014, 17:32

Re: KaM Remake nightly build

Lewin could you upload it too on the google project page? thx
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 06 Jun 2014, 17:36

Re: KaM Remake nightly build

Lewin could you upload it too on the google project page? thx
Unfortunately Google Code no longer allows hosting downloads.
<<

Michalpl

Sword Fighter

Posts: 318

Joined: 10 May 2014, 21:46

KaM Skill Level: Fair

Post 06 Jun 2014, 20:06

Re: KaM Remake nightly build

New editor tab for AI its needed or not?
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 06 Jun 2014, 21:35

Re: KaM Remake nightly build

- If the AI is forced to build according to the slow/normal/old-fashioned/original building order, it stops building after finishing the inn.
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 07 Jun 2014, 02:43

Re: KaM Remake nightly build

- If the AI is forced to build according to the slow/normal/old-fashioned/original building order, it stops building after finishing the inn.
It seems to work fine for me (tested on Golden Cliffs). Which map did you test it on? And did you apply the default AI builder settings?
<<

Michalpl

Sword Fighter

Posts: 318

Joined: 10 May 2014, 21:46

KaM Skill Level: Fair

Post 07 Jun 2014, 09:54

Re: KaM Remake nightly build

Yea AI works fine i just maked a 1vs1vs1vs1 AI battle
- If the AI is forced to build according to the slow/normal/old-fashioned/original building order, it stops building after finishing the inn.
Map please, so i can see whats is the problem with AI Building
I have noticed you have wrote about new mission could you upload it if the ai problems exists on this map?


Instead of double posting 5 minutes after your previous post, just edit your last post. You've been cautioned about this several times before ~ Lewin
<<

Skypper

Knight

Posts: 436

Joined: 28 Jun 2013, 09:37

KaM Skill Level: Fair

Location: Dutch :D

Post 07 Jun 2014, 10:56

Re: KaM Remake nightly build

I have the same problem
they build stonemason, woodcutter, sawmill, inn, school.
And then they stop for around one hour.
After that one hour they continue building.
Image
this was border rivers 8p


EDIT: On the map across the desert it works good.
They produce more than some randoms
Greets Skypper (Totally Insane)

- Beginning map maker -
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 07 Jun 2014, 11:02

Re: KaM Remake nightly build

Never mind, I found the problem. I forgot to mention it is a single player mission, and the AI starts with 9999 stones. That made Mr. AI think he wouldn't need a stonemason, but he actually did need one in order to be able to build a woodcutter and all other buildings. Reducing the number of stones fixed it.
However, I'm still not sure what is causing the crashes, because these still appear. Maybe it's the rest of the script, although it used to work fine. I'll send my map and scripts to Lewin.

Also, since I do not want to overwrite my static script, I copy/pasted the needed lines and altered them a bit. Actually I probably only need these three:
  Code:
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 250 !SET_AI_DEFEND_ALLIES !SET_AI_UNLIMITED_EQUIP
Do all those new commands work seperately, or do they need their companion code lines? ;)

Oh and Michal please stop double posting. Thanks for offering your help.

@Skypper you might also want to look at the resources you gave to your AI player. :) Edit: I see it was Border Rivers, then I don't know what the problem is...
<<

Michalpl

Sword Fighter

Posts: 318

Joined: 10 May 2014, 21:46

KaM Skill Level: Fair

Post 07 Jun 2014, 11:27

Re: KaM Remake nightly build

If you gave resources to AI example lot of food the AI will not make food it will skip it
Skypper the AI didn't had enough space to build because you can see on left enemy instead of ally maybe change purple friendly with green
Edit Apply agresive AI Builder that will help
Other edit locations are to close so AI will not build on enemy ownership
Last edited by Michalpl on 07 Jun 2014, 11:35, edited 3 times in total.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 07 Jun 2014, 11:30

Re: KaM Remake nightly build

If you gave resources to AI example lot of food the AI will not make food it will skip it
Yeah, I noticed that.
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 07 Jun 2014, 11:38

Re: KaM Remake nightly build

@Skypper: I just tested Border Rivers 8P after applying builder settings in the map editor, and it worked fine. Did you remember to apply builder settings? Anything else you did? If not send me the map that isn't working.
Skypper the AI didn't had enough space to build because you can see on left enemy instead of ally maybe change purple friendly with green
That's not the problem, they would have built the other direction. Also they will build very close to the enemy if there's no other option.

However, I'm still not sure what is causing the crashes, because these still appear. Maybe it's the rest of the script, although it used to work fine. I'll send my map and scripts to Lewin.

Also, since I do not want to overwrite my static script, I copy/pasted the needed lines and altered them a bit. Actually I probably only need these three:
  Code:
!SET_AI_CHARACTER EQUIP_RATE_LEATHER 250 !SET_AI_DEFEND_ALLIES !SET_AI_UNLIMITED_EQUIP
Do all those new commands work seperately, or do they need their companion code lines? ;)
I fixed your crash, it was a bug in the game. I'll make a new nightly today or tomorrow.

Those lines all work separately. Equip rate tells the AI what weapons production it should aim for, and it also limits the speed the AI equips soldiers (big factor in the original campaigns). However, if you set "unlimited equip" (fast equip in the map editor) it means they will equip as fast as possible and only use the equip rate to decide how big their weapons production should be. "Defend allies" should be self explanatory (AI treats ally being attacked as if it was its own unit/house, so defence groups will come to help if it's within their defence radius)
<<

Michalpl

Sword Fighter

Posts: 318

Joined: 10 May 2014, 21:46

KaM Skill Level: Fair

Post 07 Jun 2014, 11:51

Re: KaM Remake nightly build

Should not auto repair be on? on the agresive builder?
<<

andreus

User avatar

Sword Fighter

Posts: 343

Joined: 18 Dec 2011, 12:05

KaM Skill Level: Beginner

Website: https://github.com/andreus791/maps_feedback

Location: Russia

Post 07 Jun 2014, 14:02

Re: KaM Remake nightly build

I'll make a new nightly today or tomorrow.
Nice, I'll upload map updates (which are needed for Battle tournament) then :P
<<

pawel95

Castle Guard Swordsman

Posts: 1912

Joined: 03 Oct 2008, 22:00

KaM Skill Level: Skilled

Location: "Pawel95" on Youtube.com

Post 07 Jun 2014, 19:10

Re: KaM Remake nightly build

I'll make a new nightly today or tomorrow.
Nice, I'll upload map updates (which are needed for Battle tournament) then :P
Would be nice :D
<<

andreus

User avatar

Sword Fighter

Posts: 343

Joined: 18 Dec 2011, 12:05

KaM Skill Level: Beginner

Website: https://github.com/andreus791/maps_feedback

Location: Russia

Post 07 Jun 2014, 19:22

Re: KaM Remake nightly build

Already added ;)

Return to “General / Questions”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests