AI's don't play cards

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
(simplified)
 
(2 intermediate revisions by one user 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:
== 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:
+
 
*[[Blockade card]]
 
*[[Blockade card]]
 
*[[Emergency Blockade Card]]
 
*[[Emergency Blockade Card]]
Line 16: Line 16:
 
*[[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]]
+
All other cards are played as normal.
 +
 
 +
== See also ==
 +
* [[AIs don't deploy]]
 +
* [[AIs don't attack]]
  
== Other pages ==
+
[[Category:Mods]]
*[[cards]]
+
*[[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