diff --git a/mods/cnc/maps/nod06a/nod06a.lua b/mods/cnc/maps/nod06a/nod06a.lua index 700109e3c8..835076fe23 100644 --- a/mods/cnc/maps/nod06a/nod06a.lua +++ b/mods/cnc/maps/nod06a/nod06a.lua @@ -6,8 +6,20 @@ the License, or (at your option) any later version. For more information, see COPYING. ]] -NodStartUnitsRight = { 'ltnk', 'bike', 'e1', 'e1', 'e3', 'e3' } -NodStartUnitsLeft = { 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3' } +NodStartUnitsRight = +{ + tough = { 'ltnk', 'bike', 'e1', 'e1', 'e3', 'e3' }, + hard = { 'ltnk', 'bike', 'e1', 'e1', 'e3', 'e3', 'e3' }, + normal = { 'ltnk', 'bike', 'bike', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3' }, + easy = { 'ltnk', 'ltnk', 'bike', 'bike', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3' } +} +NodStartUnitsLeft = +{ + tough = { 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3' }, + hard = { 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3' }, + normal = { 'ltnk', 'ltnk', 'bggy', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3', 'e3' }, + easy = { 'ltnk', 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3', 'e3' } +} Chn1Units = { 'e1', 'e1', 'e1', 'e1', 'e1' } Chn2Units = { 'e2', 'e2', 'e2', 'e2', 'e2' } Obj2Units = { 'ltnk', 'bike', 'e1', 'e1', 'e1' } @@ -120,6 +132,10 @@ MovementAndHunt = function(unit, waypoints) end InsertNodUnits = function() + local difficulty = Map.LobbyOption("difficulty") + NodStartUnitsRight = NodStartUnitsRight[difficulty] + NodStartUnitsLeft = NodStartUnitsLeft[difficulty] + Camera.Position = UnitsRallyRight.CenterPosition Media.PlaySpeechNotification(player, "Reinforce") @@ -168,7 +184,7 @@ WorldLoaded = function() OnAnyDamaged(Atk2ActorTriggerActivator, Atk2TriggerFunction) - if Map.LobbyOption("difficulty") == "hard" then + if Map.LobbyOption("difficulty") == "tough" then Trigger.OnDamaged(Atk3Activator, Atk3TriggerFunction) end diff --git a/mods/cnc/maps/nod06a/rules.yaml b/mods/cnc/maps/nod06a/rules.yaml index 303129bfda..06a2b1a3c5 100644 --- a/mods/cnc/maps/nod06a/rules.yaml +++ b/mods/cnc/maps/nod06a/rules.yaml @@ -13,8 +13,10 @@ World: ID: difficulty Label: Difficulty Values: + easy: Easy normal: Normal hard: Hard + tough: Real tough guy Default: normal Player: