Map Database  •  FAQ  •  RSS  •  Register  •  Login

Setting up AI army plans

<<

Krom

User avatar

KaM Remake Developer

Posts: 3138

Joined: 09 May 2006, 22:00

Location: Russia

KaM Skill Level: Fair

Post 11 Aug 2017, 05:51

Setting up AI army plans

For the KP I'm looking into setting AI army plans in a more convenient way that is in KaM (equip rate + type).

Typical aim is 75min session where AI gets an army of a few hundreds
That's roughly starting at 1 warrior per minute and ending with 10.
Let's average that to 5.

Now there are roughly 10 warrior types which could be trained
So on high end we might have requirements of 8 melee per min. On low end we could have 1 siege per 20 min

- Higher numbers naturally feel like more (instead of EquipRate which goes in reverse)
- It's more intuitive to set this in an integer format

So my proposed plan is:
- set army demand in form of "WarriorType per hour" for each warrior type
- allow to change this from dynamic script

This way AI could be set to train exact army proportions (e.g. a lot of swordsman and bows, or all in into militia and a couple of catapults, or just a few pikemen for remote villages)

What do you think about this feature?
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
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2090

Joined: 29 Aug 2007, 22:00

Location: In his dark thunderstormy castle

KaM Skill Level: Veteran

Post 11 Aug 2017, 11:21

Re: Setting up AI army plans

Sounds good to me!
<<

Krom

User avatar

KaM Remake Developer

Posts: 3138

Joined: 09 May 2006, 22:00

Location: Russia

KaM Skill Level: Fair

Post 11 Aug 2017, 12:59

Re: Setting up AI army plans

I've started to implement this feature and while doing so had a back thought - perhaps it would be better to set up by "group types" (i.e. melee, ranged, mounted, siege) rather than "unit types". This way AI might have better chance of control over using available wood/iron resources.
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
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2090

Joined: 29 Aug 2007, 22:00

Location: In his dark thunderstormy castle

KaM Skill Level: Veteran

Post 13 Aug 2017, 11:41

Re: Setting up AI army plans

Sounds like less control for map makers... :P
<<

Krom

User avatar

KaM Remake Developer

Posts: 3138

Joined: 09 May 2006, 22:00

Location: Russia

KaM Skill Level: Fair

Post 13 Aug 2017, 13:56

Re: Setting up AI army plans

I started implementing that today`s morning and first approach was working out better - so it will likely remain )
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
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2090

Joined: 29 Aug 2007, 22:00

Location: In his dark thunderstormy castle

KaM Skill Level: Veteran

Post 13 Aug 2017, 16:03

Re: Setting up AI army plans

Cool :)

Return to Knights Province Development

Who is online

Users browsing this forum: No registered users and 1 guest