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

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
No edit summary
DanWL60 (talk | contribs)
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
|creatorToken=42131172405
|creatorToken=42131172405
|creatorName=Just_A_Dutchman_
|creatorName=Just_A_Dutchman_
|tags=#Convenience<br>#Diplomacy<br>#Strategic
|madePublicOnYear=2021
|madePublicOnMonth=11
|madePublicOnDay=09
|madePublicOnRef={{ref|https://www.warzone.com/Forum/586816-new-mod-ais-play-cards-already-public}}
|category=Standard
|tags={{modtag|Convenience}}<br>{{modtag|Diplomacy}}<br>{{modtag|Strategic}}
|source=https://github.com/JustMe003/WarzoneMods/tree/main/AIs_dont_play_cards
|source=https://github.com/JustMe003/WarzoneMods/tree/main/AIs_dont_play_cards
}}
}}


== 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 21:
*[[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 ==
* [[AI Central]]
* [[AIs don't deploy]]
* [[AIs don't deploy]]
* [[AIs don't attack]]
* [[AIs don't attack]]
[[Category:Mods]]

Latest revision as of 11:42, 3 October 2024

Mod name AI's don't play cards
Creator Just_A_Dutchman_
Made public on 2021-11-09 [1]
Category Standard
Tags #Convenience
#Diplomacy
#Strategic
Runs on Warzone version 4.14.2+
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.

See also