diff --git a/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll b/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll index e7f76b4..f57dbb9 100644 Binary files a/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll and b/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll differ diff --git a/src/Unity/Assets/Scripts/Managers/ManagerVerification.cs b/src/Unity/Assets/Scripts/Managers/ManagerVerification.cs index 1157fd3..93471a9 100644 --- a/src/Unity/Assets/Scripts/Managers/ManagerVerification.cs +++ b/src/Unity/Assets/Scripts/Managers/ManagerVerification.cs @@ -61,10 +61,17 @@ namespace CounterDrone.Unity Route = detail.Routes[0], Waypoints = detail.WaypointGroups["default"], }; - var fireUnits = new List - { - new FireUnit { Id = "u0", Type = PlatformType.GroundBased, Position = new AVector3(5000, 0, 50), MuzzleVelocity = 800, TotalMunitions = 1, AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel } }, - }; + var fireUnits = new List(); + for (int i = 0; i < 8; i++) + fireUnits.Add(new FireUnit + { + Id = $"u{i}", + Type = PlatformType.GroundBased, + Position = new AVector3(5000 + i * 50, 0, 50), + MuzzleVelocity = 800, + TotalMunitions = 3, + AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel }, + }); var result = new DefaultDefensePlanner(ammoCatalog).Plan(fireUnits, new List { droneGroup }, detail.Scene); scenarioMgr.SaveCloud(taskId, new CloudDispersal { diff --git a/src/Unity/Assets/Scripts/Managers/SimulationBootstrap.cs b/src/Unity/Assets/Scripts/Managers/SimulationBootstrap.cs index 61ad115..61813b9 100644 --- a/src/Unity/Assets/Scripts/Managers/SimulationBootstrap.cs +++ b/src/Unity/Assets/Scripts/Managers/SimulationBootstrap.cs @@ -74,10 +74,17 @@ namespace CounterDrone.Unity Route = detail.Routes[0], Waypoints = detail.WaypointGroups["default"], }; - var fireUnits = new List - { - new FireUnit { Id = "u0", Type = PlatformType.GroundBased, Position = new AVector3(5000, 0, 50), MuzzleVelocity = 800, TotalMunitions = 1, AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel } }, - }; + var fireUnits = new List(); + for (int i = 0; i < 8; i++) + fireUnits.Add(new FireUnit + { + Id = $"u{i}", + Type = PlatformType.GroundBased, + Position = new AVector3(5000 + i * 50, 0, 50), + MuzzleVelocity = 800, + TotalMunitions = 3, + AmmoTypes = new() { AerosolType.InertGas, AerosolType.ActiveMaterial, AerosolType.ActiveFuel }, + }); var result = planner.Plan(fireUnits, new List { droneGroup }, detail.Scene); scenario.SaveCloudDispersal(taskId, new CloudDispersal {