minor fixes.

This commit is contained in:
iTracerFacer 2024-12-01 14:07:20 -06:00
parent cd0a6a263b
commit 3d388919cb
7 changed files with 31 additions and 8 deletions

View File

@ -32,9 +32,22 @@ for _, zone in ipairs(blueZones) do
end
-- Define the drone using the MOOSE SPAWN class
Blue_Drone = SPAWN:New("BLUE DRONE")
Blue_Drone = SPAWN:New("FAC DRONE")
:InitLimit(1, 99)
:InitRepeatOnLanding()
:SpawnScheduled(1, 0.5)
-- Define FAC Set
BlueFACSet = SET_GROUP:New():FilterPrefixes("FAC"):FilterStart()
BlueDetectionSet = DETECTION_AREAS:New(BlueFACSet, 5000)
BlueAttackSet = SET_GROUP:New():FilterCoalitions("blue"):FilterStart()
BlueDesignator = DESIGNATE:New(US_CC, BlueDetectionSet, BlueAttackSet)
BlueDesignator:SetAutoLase(false)
BlueDesignator:SetThreatLevelPrioritization(true)
BlueDesignator:GenerateLaserCodes(true)

View File

@ -104,20 +104,20 @@ local UPDATE_MARK_POINTS_SCHED = 60 -- Update the map markers for warehouses eve
-- Control Spawn frequency and limits of ground units.
local INIT_RED_INFANTRY = 5 -- Initial number of Red Infantry groups
local MAX_RED_INFANTRY = 100 -- Maximum number of Red Infantry groups
local MAX_RED_INFANTRY = 25 -- Maximum number of Red Infantry groups
local SPAWN_SCHED_RED_INFANTRY = 1800 -- Spawn Red Infantry groups every 1800 seconds
local INIT_RED_ARMOR = 15 -- Initial number of Red Armor groups
local MAX_RED_ARMOR = 200 -- Maximum number of Red Armor groups
local SPAWN_SCHED_RED_ARMOR = 900 -- Spawn Red Armor groups every 300 seconds
local SPAWN_SCHED_RED_ARMOR = 600 -- Spawn Red Armor groups every 300 seconds
local INIT_BLUE_INFANTRY = 5 -- Initial number of Blue Infantry groups
local MAX_BLUE_INFANTRY = 100 -- Maximum number of Blue Infantry groups
local MAX_BLUE_INFANTRY = 25 -- Maximum number of Blue Infantry groups
local SPAWN_SCHED_BLUE_INFANTRY = 1800 -- Spawn Blue Infantry groups every 1800 seconds
local INIT_BLUE_ARMOR = 15 -- Initial number of Blue Armor groups0
local MAX_BLUE_ARMOR = 200 -- Maximum number of Blue Armor groups
local SPAWN_SCHED_BLUE_ARMOR = 900 -- Spawn Blue Armor groups every 300 seconds
local SPAWN_SCHED_BLUE_ARMOR = 60 -- Spawn Blue Armor groups every 300 seconds
local ASSIGN_TASKS_SCHED = 900 -- Assign tasks to groups every 600 seconds. New groups added will wait this long before moving.
@ -228,8 +228,6 @@ local function onWarehouseDestroyed(warehouseName, coalition)
MESSAGE:New(message, 15):ToAll()
USERSOUND:New("beeps-and-clicks.wav"):ToAll()
env.info(message)
end
-- Create an event handler class

View File

@ -64,7 +64,17 @@ local RED_AA_ZONES = {
ZONE:New("RED-AA-27"),
ZONE:New("RED-AA-28"),
ZONE:New("RED-AA-29"),
ZONE:New("RED-AA-30")
ZONE:New("RED-AA-30"),
ZONE:New("RED-AA-31"),
ZONE:New("RED-AA-32"),
ZONE:New("RED-AA-33"),
ZONE:New("RED-AA-34"),
ZONE:New("RED-AA-35"),
ZONE:New("RED-AA-36"),
ZONE:New("RED-AA-37"),
ZONE:New("RED-AA-38"),
ZONE:New("RED-AA-39"),
ZONE:New("RED-AA-40")
}

View File

@ -2,10 +2,12 @@
BlueAWACS = SPAWN:New("BLUE EWR AWACS")
:InitLimit(1, 99)
:InitRepeatOnLanding()
:SpawnScheduled(1, 0.5)
RedAWACS = SPAWN:New("RED EWR AWACS")
:InitLimit(1, 99)
:InitRepeatOnLanding()
:SpawnScheduled(1, 0.5)