Page 1 of 1

Co-op game with my friend against AI?

PostPosted: 09 Jul 2013, 08:14
by Hurricane King
Hi everyone!

We've played a few games already (on various maps from various categories) and we've noticed, that AI is either not building an army, or it has an army since the beginning of the game. Is there a way to play a Co-op game against normal AI as we know it from Age of Empires for example?

Thanks in advance!

Re: Co-op game with my friend against AI?

PostPosted: 09 Jul 2013, 08:58
by Bence791
Not yet, because the Remake's AI is unfinished (for now). And atm the project mostly focuses on the right multiplayer balance, and as far as I know, AI programming is quite a hard job. So please don't be impatient, you can play co-op missions against AI's with finished bases, or either play with other players and the feeling will be the same as playing an AI without a village :) (Anyway it makes soldiers if doesn't have any given, but needs some sort of "scripting", which can be done either in the Remake's MapEd, which also allows you to tell the AI to make defence positions for itself, or Lewin's mission editor).

Re: Co-op game with my friend against AI?

PostPosted: 09 Jul 2013, 15:50
by Esthlos
(Anyway it makes soldiers if doesn't have any given, but needs some sort of "scripting", which can be done either in the Remake's MapEd, which also allows you to tell the AI to make defence positions for itself, or Lewin's mission editor).
(by the way, it's quite easy to do so... I've already modified Across the Desert and Cursed Ravine so that AI players would make an army and attack other players, so that I could play co-op with my sister :D )
(only thing that bothers me is that I seem not to be able to "convince" the AI to attack other players when it is set to automatically manage defense positions... if I want the AI to attack, I have to manually set a few "backline" positions; also, I can't understand why it still does not attack unless I tick the "send all" box on the right of the Attack Event window...)

Re: Co-op game with my friend against AI?

PostPosted: 11 Jul 2013, 09:31
by WhiteWolf
I can't understand why it still does not attack unless I tick the "send all" box on the right of the Attack Event window...)
I believe that you need to describe the exact number of soldiers and the exact number of groups. At least that is how I make the AI attack.

Re: Co-op game with my friend against AI?

PostPosted: 11 Jul 2013, 13:52
by Esthlos
I can't understand why it still does not attack unless I tick the "send all" box on the right of the Attack Event window...)
I believe that you need to describe the exact number of soldiers and the exact number of groups. At least that is how I make the AI attack.
Uhm... in the map I tested this on (a modified Across the Desert where one of the player starts with 2 free troops of each type) setting the number of men to 0 and the number of Cavalry units to send to 1 makes the AI send away both cavalry troops, one to a target and the other to another target :?

Re: Co-op game with my friend against AI?

PostPosted: 11 Jul 2013, 13:59
by WhiteWolf
Uhm... in the map I tested this on (a modified Across the Desert where one of the player starts with 2 free troops of each type) setting the number of men to 0 and the number of Cavalry units to send to 1 makes the AI send away both cavalry troops, one to a target and the other to another target :?
The 2 free troops are 2 groups of 1 units or 2 groups of 6/9/12/15/20 units ?

Asuming the 2 groups are both 12 units large (total of 24), I suggest you fill in 2 groups of 'mounted' units and men quantity at 24.

if you want 1 group to attack you fill in 1 group of 'mounted' units and men quantity at 12.

See if that works,

Re: Co-op game with my friend against AI?

PostPosted: 11 Jul 2013, 14:25
by Esthlos
Every troop consists of 8 men.

Set it to send 8 men and 1 cavalry troop, nothing changed.
Set it to send 16 men and 1 cavalry troop, nothing changed.
Set it to send 8 men and 2 cavalry troops, nothing changed.
Set it to send 16 men and 2 cavalry troops, nothing changed.
Checked if the map I was modifying was the same I was testing... :rolleyes:
(It was the same)
Set it to send 8 men and 1 antihorse troop, nothing changed except that the two troops that have been sent were the two Pikemen troops.

Attached it.

Re: Co-op game with my friend against AI?

PostPosted: 11 Jul 2013, 19:55
by WhiteWolf
Every troop consists of 8 men.

Set it to send 8 men and 1 cavalry troop, nothing changed.
Set it to send 16 men and 1 cavalry troop, nothing changed.
Set it to send 8 men and 2 cavalry troops, nothing changed.
Set it to send 16 men and 2 cavalry troops, nothing changed.
Checked if the map I was modifying was the same I was testing... :rolleyes:
(It was the same)
Set it to send 8 men and 1 antihorse troop, nothing changed except that the two troops that have been sent were the two Pikemen troops.

Attached it.
Try my attachment ;) Also, the 'delay' is in seconds so 3600 = 1 hour, 7200 = 2 etc.
I've given all the AI 3 melee, 3 anti horse, 3 ranged and 3 mounted positions. They all set up as groups of 12 (144 in total) after 3600 seconds each AI will repeat attacking with all his units to the closest house so be carefull :P

Just open the map editor and see what i changed.. Or play the map.. :3

Re: Co-op game with my friend against AI?

PostPosted: 12 Jul 2013, 12:48
by Esthlos
Tried in a 3 hours long game (x300 is a great testing tool :P ), the AI never attacked... I think it does not attack until it has the required men. :(
Anyway, thanks a lot for redoing the military settings! :D

Re: Co-op game with my friend against AI?

PostPosted: 12 Jul 2013, 15:06
by WhiteWolf
uhh, wel yeah i don't know how fast the AI will train it's troops, but yeah they wait until they have exactly the amount of troops you order them to use for an attack (in this case 144). You can set each AI to attack with 2 groups of melee, anti horse, ranged and mounted troops and set the number of men to 8x12=96 this will surely shorten the time they need to train troops and launch an attack. same goes for setting them to 1 group of melee, anti horse, ranged and mounted troops and set the number to 4x12=48..

Play with it :3

Re: Co-op game with my friend against AI?

PostPosted: 12 Jul 2013, 17:03
by Bence791
WhiteWolf, just a reminder, for the attacks, only troops on the back line defence positions count. Soldiers on the frontline don't.

Re: Co-op game with my friend against AI?

PostPosted: 12 Jul 2013, 17:18
by Esthlos
WhiteWolf, just a reminder, for the attacks, only troops on the back line defence positions count. Soldiers on the frontline don't.
In the map he attached, every troop is set as backline.

Re: Co-op game with my friend against AI?

PostPosted: 15 Jul 2013, 09:39
by WhiteWolf
I make a lot of maps, just don't post them on the internet because i then would make a fool out of of myself ;P besides i adjust already existing maps like this one instead of building one from 0.

I rethought the co-op map and i think the 'equipment rate' is set to high. Maybe if you adjust it to 30 for iron and 60 to leather they attack sooner.

To play a good co-op map with your friend you could also play the map 'a farmers wish', which is already 'programmed'.

Re: Co-op game with my friend against AI?

PostPosted: 15 Jul 2013, 13:57
by Ben
I make a lot of maps, just don't post them on the internet because i then would make a fool out of of myself ;P

Good idea! I made a bunch of maps in a hurry when the Remake was still young and there were not many maps to chooses from. I wish I never uploaded them, because now I can't take them off, and I am forever shamed by those awful maps :P

Re: Co-op game with my friend against AI?

PostPosted: 15 Jul 2013, 14:38
by WhiteWolf
I make a lot of maps, just don't post them on the internet because i then would make a fool out of of myself ;P

Good idea! I made a bunch of maps in a hurry when the Remake was still young and there were not many maps to chooses from. I wish I never uploaded them, because now I can't take them off, and I am forever shamed by those awful maps :P
Haha yeah well i don't actually create new maps, i adjust already existing maps and make them so that an AI player could fill any location and attack occasionally. So nothing original and would be lame to post a map from someone else under my name >.<

Maybe later~