Official Release of Insurgent Sandstorm 2.0 - Ripped out all of the old CTLD, put in all of my new scripts, updating those where needed for bugs and portability.

This commit is contained in:
iTracerFacer
2025-11-16 14:25:37 -06:00
parent 7dfe72afc6
commit bb57d306b4
21 changed files with 2932 additions and 222 deletions

View File

@@ -201,8 +201,9 @@ end
-- ==========================================
-- Storage for all zone capture objects and metadata
local zoneCaptureObjects = {}
local zoneNames = {}
-- NOTE: These are exported as globals for plugin compatibility (e.g., Moose_DynamicGroundBattle_Plugin.lua)
zoneCaptureObjects = {} -- Global: accessible by other scripts
zoneNames = {} -- Global: accessible by other scripts
local zoneMetadata = {} -- Stores coalition ownership info
-- Function to initialize all zones from configuration
@@ -1054,7 +1055,9 @@ end
local function SetupZoneStatusCommands()
-- Add F10 radio menu commands for BLUE coalition
if US_CC then
local USMenu = MENU_COALITION:New( coalition.side.BLUE, "Zone Control" )
-- Use MenuManager to create zone control menu under Mission Options
local USMenu = MenuManager and MenuManager.CreateCoalitionMenu(coalition.side.BLUE, "Zone Control")
or MENU_COALITION:New( coalition.side.BLUE, "Zone Control" )
MENU_COALITION_COMMAND:New( coalition.side.BLUE, "Get Zone Status Report", USMenu, BroadcastZoneStatus )
MENU_COALITION_COMMAND:New( coalition.side.BLUE, "Check Victory Progress", USMenu, function()
@@ -1086,7 +1089,9 @@ local function SetupZoneStatusCommands()
-- Add F10 radio menu commands for RED coalition
if RU_CC then
local RUMenu = MENU_COALITION:New( coalition.side.RED, "Zone Control" )
-- Use MenuManager to create zone control menu under Mission Options
local RUMenu = MenuManager and MenuManager.CreateCoalitionMenu(coalition.side.RED, "Zone Control")
or MENU_COALITION:New( coalition.side.RED, "Zone Control" )
MENU_COALITION_COMMAND:New( coalition.side.RED, "Get Zone Status Report", RUMenu, BroadcastZoneStatus )
MENU_COALITION_COMMAND:New( coalition.side.RED, "Check Victory Progress", RUMenu, function()