diff --git a/maps/ff_ksour.lua b/maps/ff_ksour.lua index fc3ccac..366964e 100644 --- a/maps/ff_ksour.lua +++ b/maps/ff_ksour.lua @@ -6,6 +6,10 @@ FLAG_RETURN_TIME = 60; INITIAL_ROUND_DELAY = 45; TEAM_SWITCH_DELAY = 4 NUM_PHASES = 4 + +DEFENDERS_OBJECTIVE_ONCAP = true +DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried +DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS ----------------------------------------------------------------------------- -- sounds, right? @@ -18,10 +22,6 @@ end function startup() SetGameDescription("Invade Defend") - DEFENDERS_OBJECTIVE_ONCAP = true - DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried - DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS - -- set up team limits local team = GetTeam( Team.kBlue ) team:SetPlayerLimit( 0 ) diff --git a/maps/ff_napoli.lua b/maps/ff_napoli.lua index c5584d4..e548c5d 100644 --- a/maps/ff_napoli.lua +++ b/maps/ff_napoli.lua @@ -8,6 +8,10 @@ TEAM_SWITCH_DELAY = 4 NUM_PHASES = 3 NONINITIAL_ROUND_DELAY = 45; RESPAWN_AFTER_CAP = false + +DEFENDERS_OBJECTIVE_ONCAP = true +DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried +DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS ----------------------------------------------------------------------------- function respawnall() BroadCastMessage( "Area Captured. Respawning..." ) @@ -24,10 +28,6 @@ end function startup() SetGameDescription("Invade Defend") - DEFENDERS_OBJECTIVE_ONCAP = true - DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried - DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS - -- set up team limits local team = GetTeam( Team.kBlue ) team:SetPlayerLimit( 0 ) diff --git a/maps/ff_palermo.lua b/maps/ff_palermo.lua index ca5d851..61cb4c4 100644 --- a/maps/ff_palermo.lua +++ b/maps/ff_palermo.lua @@ -8,13 +8,17 @@ IncludeScript("base_id"); IncludeScript("base_respawnturret"); IncludeScript("base_location"); +----------------------------------------------------------------------------- +-- globals +----------------------------------------------------------------------------- + +DEFENDERS_OBJECTIVE_ONCAP = true +DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried +DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS + function startup() SetGameDescription( "Invade Defend" ) - DEFENDERS_OBJECTIVE_ONCAP = true - DEFENDERS_OBJECTIVE_ONCARRIER = false --set to true to follow flag when carried - DEFENDERS_OBJECTIVE_ONFLAG = false --set to true to follow flag ALWAYS - -- set up team limits local team = GetTeam( Team.kBlue ) team:SetPlayerLimit( 0 )