//========================================================================================== // // fueldump_uv.gm // // Who When What //------------------------------------------------------------------------------------------ // ^4Tardis 03 July 2010 Initial Script // ^4Tardis 08 Aug 2010 Major Fixes , Way-points, More mines, back door fix //========================================================================================== // // used fuledump.gm - Tardis // foot bridge = Antenna bridge - Tardis // added more faceings and nav (way) edited -Tardis //ROUTE_footbridgeRoute2 rename to ROUTE_AntennabridgeRoute2 - Tardis //ROUTE_footbridgeRoute rename to ROUTE_AntennabridgeRoute - Tardis global Map = { Debug = 0, Allied_Command_Post_Dyno = 0, Antenna_Bridge_Dyno = 0, Axis_Command_Post_Dyno = 0, Bridge_Dyno = 0, East_Axis_Base_Fortification_Dyno = 0, Fuel_Dump_Dyno = 0, Road_MG_Dyno = 0, Side_MG_Dyno = 0, Tunnel_MG_Dyno = 0, West_Axis_Base_Fortification_Dyno = 0, Build_Axis_Command_Post = "BUILD_Axis_Command_Post", Build_Bridge = "BUILD_Bridge", Build_East_Axis_Base_Fortification = "BUILD_East_Axis_Base_Fortification", Build_Foot_Bridge = "BUILD_Foot_Bridge", Build_Road_MG = "BUILD_Road_MG", Build_Side_MG = "BUILD_Side_MG", Build_Tank = "BUILD_Tank", Build_Tunnel_MG = "BUILD_Tunnel_MG", Build_West_Axis_Base_Fortification = "BUILD_West_Axis_Base_Fortification", Plant_Allied_Command_Post = "PLANT_Allied_Command_Post", Plant_Axis_Command_Post = "PLANT_Axis_Command_Post", Plant_Bridge = "PLANT_Bridge", Plant_East_Axis_Base_Fortification = "PLANT_East_Axis_Base_Fortification", Plant_Foot_Bridge = "PLANT_Foot_Bridge", Plant_Fuel_Dump = "PLANT_Fuel_Dump", Plant_Road_MG = "PLANT_Road_MG", Plant_Side_MG = "PLANT_Side_MG", Plant_Tunnel_MG = "PLANT_Tunnel_MG", Plant_West_Axis_Base_Fortification = "PLANT_West_Axis_Base_Fortification", Mount_Road_MG = "MOUNTMG42_Road_MG", Mount_Side_MG = "MOUNTMG42_Side_MG", Mount_Side_MG_1 = "MOUNTMG42_Side_MG_1", Mount_Tunnel_MG = "MOUNTMG42_Tunnel_MG", Mount_axisbase_mg42 = "MOUNTMG42_axisbase_mg42", Repair_Road_MG = "REPAIRMG42_Road_MG", Repair_Side_MG = "REPAIRMG42_Side_MG", Repair_Side_MG_1 = "REPAIRMG42_Side_MG_1", Repair_Tunnel_MG = "REPAIRMG42_Tunnel_MG", Repair_axisbase_mg42 = "REPAIRMG42_axisbase_mg42", Mover_tank = "MOVER_tank", DispenseHealthTime = 10.0, DispenseAmmoTime = 1.0, Tunnel_Doors = true, Depot_Gates = true, Tank_Over_Bridge = false, Tank_Near_Bridge = false, Front_Dump = false, Rear_Dump = false, FuelDumpDyno = 0, tbdoorOne = true, //open tbdoorTwo = true, TankStatus = 1, //tank is repaired by default BridgeStatus = 0, //not built AntennaBridgeStatus = 0, // allied covert op on depot roof will always be detected // key = position, value = radius CovertDetectionSpots = { { Vector3(-10829, -6607, 640), 500 }, }, Switches = { tbdoorOne = { WaypointName = "tbdoor1", LimitTeam = 0, LimitClass = (1< 0 ) { Util.EnableGroup( "depotroof", TEAM.AXIS ); } // call arty from further back now Util.DisableGroup( "depotwallarty", TEAM.AXIS ); Util.EnableGroup( "depotarty", TEAM.AXIS ); Util.MapDebugPrint( "depotgates_Destroyed" ); }, depotsidewall_Destroyed = function( trigger ) { // Allied goals sleep( 2 ); SetAvailableMapGoals( TEAM.ALLIES, false, { "ATTACK_Depot_Side_Wall.*", "MOUNT_tank", "ESCORT_tank", "BUILD_Tank", }); SetAvailableMapGoals( TEAM.ALLIES, true, { "ATTACK_Fuel_Dump_[45]", Map.Plant_West_Axis_Base_Fortification, }); // Axis goals SetAvailableMapGoals( TEAM.AXIS, true, "PLANTMINE_rWall.*" ); SetAvailableMapGoals( TEAM.AXIS, false, Map.Build_Side_MG ); Util.MapDebugPrint( "depotsidewall_Destroyed" ); }, tbdoorone = function( trigger ) { if ( !Map.Tunnel_Doors ) { vel = ToVector(trigger.Action); if ( vel[2] < 0 ) { Map.Switches.tbdoorOne.LimitTeam = (1< 0 ) { if ( Map.Depot_Gates ) { Map.Switches.tbdoorOne.LimitTeam = (1< 0 ) { if ( Map.Depot_Gates ) { Map.Switches.tbdoorTwo.LimitTeam = (1<