AI's don't play cards

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
(simplified)
 
Line 7: Line 7:
 
}}
 
}}
  
== Mod description ==
+
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.
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 ==
+
Each of these cards are configurable:
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:
+
 
*[[Blockade card]]
 
*[[Blockade card]]
 
*[[Emergency Blockade Card]]
 
*[[Emergency Blockade Card]]
Line 24: Line 16:
 
*[[Bomb card]]
 
*[[Bomb card]]
  
Note that AIs always play [[reinforcement card]]s, but cancelling this is way more difficult due to the way warzone handles these cards.
+
All other cards are played as normal.
  
 
== See also ==
 
== See also ==

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