Summary
Limits the number of vehicles that can be deployed through the Campaign Building system.
Description
Features:
NEW:
Each player can have only one active helicopter at a time; all helicopter requests remain disabled until the current helicopter is decommissioned or destroyed. Players are notified when the restriction is active, with a short cooldown to prevent message spam.
Building UI integration
Vehicle cards are automatically disabled when a limit is reached
No vehicle preview for blocked vehicles
Existing notification system
Ground vehicle limits
Helicopter limits
Individual prefab limits
Prefab group limits
Per-faction or global limits
Pre-placed map vehicles are ignored
Game Master is not affected
Configuration reloads automatically
Example config:
{
"faction_a_ground_limit": 12,
"faction_b_ground_limit": 12,
"faction_a_helicopter_limit": 4,
"faction_b_helicopter_limit": 4,
"prefab_limits": [
{
"prefab": "{GUID}Prefabs/Vehicles/Helicopters/UH1H/UH1H_Conflict.et",
"limit": 2,
"per_faction": true
}
],
"prefab_groups": [
{
"name": "Heavy Armor",
"limit": 1,
"per_faction": true,
"prefabs": [
"{GUID}Prefabs/Vehicles/BMP/BMP_Conflict.et",
"{GUID}Prefabs/Vehicles/T72/T72_Conflict.et",
"{GUID}Prefabs/Vehicles/M1A1/M1A1_Conflict.et"
]
}
]
}
Notes:
Prefab limits apply only to the specified vehicle.
Prefab groups allow multiple vehicles to share a common limit.
Only vehicles spawned through the Building system are counted.
Vehicles placed on the map are ignored.License
Arma Public License (APL)