I'm trying to script the rotation (restarting same mission) of server missions every 2 hrs. The mission restarts OK, but it appears that existing planes are not destroyed before launching the mssion again. This leads to an excess of planes sitting around the airfields radius. Can anyone suggest how to correct this. Here's the comand scripts I'm using, I start the server with using
f start1.cmd.
START1.CMD
Code:
battles stop
difficulty AntropomorphicControl 0
difficulty ComplexEManagement 1
difficulty TorqueGyroEffects 1
difficulty EngineTemperatureEffects 1
difficulty FlutterEffects 1
difficulty WindTurbulence 1
difficulty StallSpins 1
difficulty Vulnerabilty 1
difficulty BlackoutsRedouts 1
difficulty Realisticgunnery 1
difficulty RealisticBombing 1
difficulty LimitedAmmo 1
difficulty LimitedFuel 1
difficulty CockpitAlwaysOn 0
difficulty NoOutsideViews 0
difficulty HeadShake 1
difficulty NoIcons 1
difficulty NoPadlock 1
difficulty Clouds 1
difficulty TakeoffLanding 1
difficulty RealisticLandings 1
difficulty NoMapIcons 1
difficulty NoMinimapPath 1
difficulty NoAutopilot 1
difficulty NoReplacementPlace 0
difficulty NoReplacement 0
difficulty NoSelect 0
difficulty NoReplacementArmy 0
difficulty NoSelectArmy 0
difficulty NoCreate 0
missLoad "missions\Multi\Dogfight\aus1\main.mis"
REM === 5 min message ===============
timeout 180.00 chat Welcome to AUS_Nations@War server ALL
timeout 200.00 chat please report problems to salmo@netspace.net.au ALL
timeout 340.00 chat Map restarts every 2 hours ALL
REM === 1/2 hr message ===============
timeout 1800.00 chat Welcome to AUS_Nations@War server ALL
timeout 1920.00 chat please report problems to salmo@netspace.net.au ALL
timeout 1860.00 chat Map restarts every 2 hours ALL
REM === 1 hr message ===============
timeout 3600.00 chat Welcome to AUS_Nations@War server ALL
timeout 3620.00 chat please report problems to salmo@netspace.net.au ALL
timeout 3660.00 chat Map restarts every 2 hours ALL
REM === 1 & 1/2 hr message ===============
timeout 5400.00 chat Welcome to AUS_Nations@War server ALL
timeout 5420.00 chat please report problems to salmo@netspace.net.au ALL
timeout 5460.00 chat Map restarts every 2 hours ALL
REM === 2 hr message ===============
timeout 6960.000 chat Map will change in 5 minutes ALL
timeout 7140.000 chat Map will change in 2 minutes ALL
timeout 7200.000 chat Map will change in 1 minutes ALL
timeout 7255.000 chat Map will change in 5 seconds ALL
battle start
timeout 7260.000 f stop.cmd
STOP.CMD
Code:
battle stop
file start1.cmd