<< Back to Help Forum   Search

Posts 1 - 4 of 4   
Teaming up with AI, setting to use cards?: 12/20/2018 12:58:36

Jose
Level 47
Report
Just wondering if there is a setting to enable the AI to use cards. In some levels, there are situations where it's better for the AI partner to use a card (ie: reinforcements) instead of myself, but as far as I can tell, the only way to allow it is to use a card combo (ie: reinforcements for ally AI require Reinforcements and airlift)

Just wanted to know if there is a way to enable the AI to use the team's cards. If yes, how can I do it.

Also, noticed that the AI auto discards the airlift card, but the logic seems simple for use (move a non transfer/attack army to a territory adjacent to an enemy army count the airlift group could resist/survive an attack,for simplicity, the highest possible candidate to the highest possible site. Thanks for the guidance
Teaming up with AI, setting to use cards?: 12/20/2018 14:48:09


DanWL 
Level 62
Report
When AIs are in teams with humans (and there’s at least one human that hasn’t been voted then turned into an AI), they never use cards.

If AIs were on the same team, the AIs take their turn to play cards. For example:
T1 AI1, T2 AI2, and so on.

If an AI was on their own, it would use cards whenever it can/has to.
Teaming up with AI, setting to use cards?: 12/30/2018 13:52:57


Tristan 
Level 58
Report
When AIs are in teams with humans (and there’s at least one human that hasn’t been voted then turned into an AI), they never use cards.

Au contraire.

https://www.warzone.com/MultiPlayer?GameID=10472125

Skip to turn 39. StaticShielding committed his turn before his AI teammate and AI 3 grabbed the reinforcement card and used it. I guess you just have commit your turn faster than the AI teammate to push them to use cards. 😲
Teaming up with AI, setting to use cards?: 12/30/2018 18:35:26


Norman 
Level 58
Report
I guess you just have commit your turn faster than the AI teammate to push them to use cards.

That is correct:
https://github.com/FizzerWL/WarLight.AI/blob/master/Prod/MakeOrders/PlayCards.cs (line 13 and 14)

If AIs were on the same team, the AIs take their turn to play cards. For example:
T1 AI1, T2 AI2, and so on.


According to the code it's first come first serve. However it's possible that you are right and the framework let's the bots play their turns in an alternating order, leading to your described behaviour. I assumed the AIs were running concurent but thinking about them operating on the same card pool, them running sequentially makes actually way more sense.

Edited 12/30/2018 18:41:04
Posts 1 - 4 of 4