AI's don't play cards: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
DanWL60 (talk | contribs)
No edit summary
Line 1: Line 1:
{{Mod infobox
|name=AI's don't play cards
|creatorToken=42131172405
|creatorName=Just_A_Dutchman_
|tags=#Convenience<br>#Diplomacy<br>#Strategic
|source=https://github.com/JustMe003/WarzoneMods/tree/main/AIs_dont_play_cards
}}
== Mod description ==
== Mod description ==
Prevents AI's from playing cards, configurable for all (except reinforcement) cards AI's play. Note that checking a checkbox allows an AI to play that card
Prevents [[AI]]s from playing [[cards]], configurable for all (except reinforcement) cards AI's play. Note that checking a checkbox allows an AI to play that card


== How does it work ==
== How does it work ==
This mod prevents AI from playing cards. It simply checks every order in the order list when a turn gets processed. When the mod finds a card being played by an AI, it checks if the AI is allowed to play the card (configurable in the mod configuration) and cancels the order if the AI is not allowed to play it. If a player gets booted but returns it will find (unless the AI decided to discard some cards) all his cards untouched.
This [[mod]] prevents AI from playing cards. It simply checks every order in the order list when a turn gets processed. When the mod finds a card being played by an AI, it checks if the AI is allowed to play the card (configurable in the mod configuration) and cancels the order if the AI is not allowed to play it. If a player gets booted but returns it will find (unless the AI decided to discard some cards) all his cards untouched.




Line 9: Line 17:
When adding the mod to the game you’ll get the mod configuration. Here you’re able to specify for each AI playable card if AIs are allowed to play the card or not. Note that when adding the mod all the settings are on their default False value, when you want AIs to play a certain card (eg. the blockade card) you should tick the corresponding checkbox which will allow the AIs to play that card.
When adding the mod to the game you’ll get the mod configuration. Here you’re able to specify for each AI playable card if AIs are allowed to play the card or not. Note that when adding the mod all the settings are on their default False value, when you want AIs to play a certain card (eg. the blockade card) you should tick the corresponding checkbox which will allow the AIs to play that card.


These 5 cards AIs play can be configured:
These 5 [[cards]] AIs play can be configured:
*[[Blockade card]]
*[[Blockade card]]
*[[Emergency Blockade Card]]
*[[Emergency Blockade Card]]
Line 16: Line 24:
*[[Bomb card]]
*[[Bomb card]]


Note that AIs always play reinforcement cards, but canceling this is way more difficult due to the way warzone handles these cards. For a better explanation see [[AI's don't play cards: How does it work]]
Note that AIs always play [[reinforcement card]]s, but cancelling this is way more difficult due to the way warzone handles these cards.


== Other pages ==
[[Category:Mods]]
*[[cards]]
*[[mods]]
[[category:mods]]

Revision as of 22:35, 12 November 2023

Mod name AI's don't play cards
Creator Just_A_Dutchman_
Made public on ????-??-??
Category Experimental
Tags #Convenience
#Diplomacy
#Strategic
Runs on Warzone version 4.14.2+
Source code GitHub

Mod description

Prevents AIs from playing cards, configurable for all (except reinforcement) cards AI's play. Note that checking a checkbox allows an AI to play that card

How does it work

This mod prevents AI from playing cards. It simply checks every order in the order list when a turn gets processed. When the mod finds a card being played by an AI, it checks if the AI is allowed to play the card (configurable in the mod configuration) and cancels the order if the AI is not allowed to play it. If a player gets booted but returns it will find (unless the AI decided to discard some cards) all his cards untouched.


How to set up

When adding the mod to the game you’ll get the mod configuration. Here you’re able to specify for each AI playable card if AIs are allowed to play the card or not. Note that when adding the mod all the settings are on their default False value, when you want AIs to play a certain card (eg. the blockade card) you should tick the corresponding checkbox which will allow the AIs to play that card.

These 5 cards AIs play can be configured:

Note that AIs always play reinforcement cards, but cancelling this is way more difficult due to the way warzone handles these cards.