AI's don't play cards

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
(simplified)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Mod description ==
+
{{Mod infobox
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
+
|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
 +
}}
  
== How does it work ==
+
This [[mod]] allows game creators to specify which of the built-in [[cards]] [[AI]]s can play. If an AI plays a card that it shouldn't, the order will be skipped. If a player became an AI (by being booted or by surrendering), the same card restrictions will apply. Card discard orders are not skipped.
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.
+
  
 +
Each of these cards are configurable:
 +
*[[Blockade card]]
 +
*[[Emergency Blockade Card]]
 +
*[[Sanction card]]
 +
*[[Diplomacy card]]
 +
*[[Bomb card]]
  
== How to set up ==
+
All other cards are played as normal.
  
== Other pages ==
+
== See also ==
*[[AI's don't play cards: How to set up]]
+
* [[AIs don't deploy]]
*[[cards]]
+
* [[AIs don't attack]]
*[[mods]]
+
 
[[category:mods]]
+
[[Category:Mods]]

Latest revision as of 17:31, 18 November 2023

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



This mod allows game creators to specify which of the built-in cards AIs can play. If an AI plays a card that it shouldn't, the order will be skipped. If a player became an AI (by being booted or by surrendering), the same card restrictions will apply. Card discard orders are not skipped.

Each of these cards are configurable:

All other cards are played as normal.

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox