Jump to content

SU-34 Hates Survivors


juandayz

Recommended Posts

*This jet Start in Krasnostav Airfield and fly around a specifics waypoints droping fake bombs.

*Can be set in Air To Air combat too.

*Can`t be defeated. but u can set it to be defeated.

*Bomb exploit in a defined area. Therefore its more a scare than a danger.

Install:

1-open your init.sqf and paste at very bottom:

Spoiler

//Su34 hates survivors
[] execVM "custom\su34.sqf";

2-Create a new sqf file and paste into:  (To remove JET NO DAMAGE: Delete lines in red////// \\\\\\To add AIR-AIR COMBAT: Delete lines in blue.)

Spoiler

/////********SU-34 HATES SURVIVORS********///// 

if (isServer) then {

_this = createCenter east;
_center_1 = _this;

_group_1 = createGroup _center_1;


//PILOT 1/// can`t be killed

_unit_1 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["Ins_Soldier_Pilot", [12533.064, 12569.429], [], 0, "CAN_COLLIDE"];
  _unit_1 = _this;
  _this setDir -105.85972;
  _this setVehicleVarName "pilot1";
  pilot1 = _this;
  _this addEventHandler ["handleDamage", {false}];
  _this setUnitAbility 0.60000002;
  if (true) then {_group_1 selectLeader _this;};
};

//PILOT 2// can`t be killed

_unit_2 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["Ins_Soldier_Pilot", [12525.443, 12538.768], [], 0, "CAN_COLLIDE"];
  _unit_2 = _this;
  _this setVehicleVarName "pilot2";
  pilot2 = _this;
  _this addEventHandler ["handleDamage", {false}];
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

//su34// can´t be destroyed

_vehicle_0 = objNull;
if (true) then
{
  _this = createVehicle ["Su34", [12538.105, 12574.021], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir -69.253487;
  _this setVehicleVarName "bomber";
  bomber = _this;
  _this addEventHandler ["handleDamage", {false}];
  _this setVehicleAmmo 0;
  _this setVehicleLock "LOCKED";
  _this setPos [12538.105, 12574.021];
};

//Pilots get in jet!!!

_this = _group_1 addWaypoint [[12527.354, 12569.374, -0.00010681152], 0];
_this setWaypointType "GETIN NEAREST";
_waypoint_0 = _this;

_this = _group_1 addWaypoint [[12247.22, 9480.1494], 0];
_waypoint_1 = _this;

///////LETS TO DROPS SOME BOMBS////

//BEREZINO tar0//

_this = createMarker ["tar0", [12246.701, 9482.5576]];
_this setMarkerText "tar0";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_0 = _this;

_this = createTrigger ["EmptyDetector", [12248.406, 9482.3203]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar0""", ""];
_trigger_0 = _this;

//SOLSNICHY tar1//

_this = _group_1 addWaypoint [[13457.958, 6240.8247, 0], 0];
_waypoint_2 = _this;

_this = createMarker ["tar1", [13459.365, 6241.3862, 0]];
_this setMarkerText "tar1";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Flag";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_2 = _this;

_this = createTrigger ["EmptyDetector", [13458.156, 6242.0454, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar1""", ""];
_trigger_1 = _this;

//ELECTRO tar2//

_this = _group_1 addWaypoint [[10487.097, 2312.2595, 0], 0];
_waypoint_3 = _this;

_this = createMarker ["tar2", [10489.746, 2313.1558, 0]];
_this setMarkerText "tar2";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_3 = _this;

_this = createTrigger ["EmptyDetector", [10487.799, 2314.9272, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar2""", ""];
_trigger_2 = _this;

//CHERNO tar3//

_this = _group_1 addWaypoint [[6812.8403, 2655.6938, 0], 0];
_waypoint_4 = _this;

_this = createMarker ["tar3", [6811.4854, 2658.3975, 0]];
_this setMarkerText "tar3";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_4 = _this;

_this = createTrigger ["EmptyDetector", [6813.3481, 2658.6172, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar3""", ""];
_trigger_3 = _this;

//BALOTA AIR tar4//

_this = _group_1 addWaypoint [[4745.2124, 2546.7554, 0], 0];
_waypoint_5 = _this;

_this = createMarker ["tar4", [4745.1421, 2548.0618, 0]];
_this setMarkerText "tar4";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_5 = _this;

_this = createTrigger ["EmptyDetector", [4744.3364, 2546.7837, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar4""", ""];
_trigger_4 = _this;

//ZELENOGORSK tar5//

_this = _group_1 addWaypoint [[2558.3843, 5026.7246, 0], 0];
_waypoint_6 = _this;

_this = createMarker ["tar5", [2557.2573, 5029.4277, 0]];
_this setMarkerText "tar5";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_6 = _this;

_this = createTrigger ["EmptyDetector", [2555.6313, 5029.9189, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar5""", ""];
_trigger_5 = _this;

//VYBOR tar6//

_this = _group_1 addWaypoint [[3806.7676, 8870.5732, 0], 0];
_waypoint_7 = _this;

_this = createMarker ["tar6", [3810.0413, 8865.4766, 0]];
_this setMarkerText "tar6";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_7 = _this;

_this = createTrigger ["EmptyDetector", [3810.8284, 8868.7627, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar6""", ""];
_trigger_6 = _this;

//BASH AIRFIELD tar7//

_this = _group_1 addWaypoint [[4812.0015, 10139.251, 0], 0];
_waypoint_8 = _this;

_this = createMarker ["tar7", [4817.292, 10141.295, 0]];
_this setMarkerText "tar7";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_8 = _this;

_this = createTrigger ["EmptyDetector", [4816.4219, 10138.631, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar7""", ""];
_trigger_7 = _this;

//NOVY SOBOR tar8//

_this = _group_1 addWaypoint [[7074.4092, 7685.2314, 0], 0];
_waypoint_9 = _this;

_this = createMarker ["tar8", [7077.3062, 7686.8335, 0]];
_this setMarkerText "tar8";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_9 = _this;

_this = createTrigger ["EmptyDetector", [7078.3818, 7685.1602, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar8""", ""];
_trigger_8 = _this;

//MOGILEVKA tar9//

_this = _group_1 addWaypoint [[7427.729, 5153.7515, 0], 0];
_waypoint_10 = _this;

_this = createMarker ["tar9", [7433.3867, 5150.0767, 0]];
_this setMarkerText "tar9";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_10 = _this;

_this = createTrigger ["EmptyDetector", [7432.5024, 5152.2612, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar9""", ""];
_trigger_9 = _this;

//GORKA tar10//

_this = _group_1 addWaypoint [[10420.615, 8876.7734, 0], 0];
_waypoint_11 = _this;

_this = createMarker ["tar10", [10423.525, 8870.5869, 0]];
_this setMarkerText "tar10";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_11 = _this;

_this = createTrigger ["EmptyDetector", [10423.953, 8874.8691, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar10""", ""];
_trigger_10 = _this;

//GVOZDNO tar11//

_this = _group_1 addWaypoint [[8653.5479, 11871.676, 0], 0];
_waypoint_12 = _this;

_this = createMarker ["tar11", [8650.9258, 11871.831, 0]];
_this setMarkerText "tar11";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Move";
_this setMarkerColor "ColorRedFaded25";
_this setMarkerBrush "Solid";
_marker_12 = _this;

_this = createTrigger ["EmptyDetector", [8652.2451, 11870.479, 0]];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerTimeout [2, 2, 2, false];
_this setTriggerStatements ["this", "bomb = ""Bo_GBU12_LGB"" createVehicle getmarkerPos ""tar11""", ""];
_trigger_11 = _this;

//RECOON FLY///

_this = _group_1 addWaypoint [[10446.214, 9882.209, 0], 0];
_waypoint_13 = _this;

_this = _group_1 addWaypoint [[10791.042, 8095.0562, 0], 0];
_waypoint_14 = _this;

_this = _group_1 addWaypoint [[10162.571, 5495.7661, 0], 0];
_waypoint_15 = _this;

_this = _group_1 addWaypoint [[12017.029, 7107.6226, 0], 0];
_waypoint_16 = _this;

_this = _group_1 addWaypoint [[11295.813, 12196.617, 0], 0];
_waypoint_17 = _this;

_this = _group_1 addWaypoint [[12361.648, 12486.496, 0], 0];
_waypoint_18 = _this;

///NOW LETS START AGAIN//

_this = _group_1 addWaypoint [[12515.548, 12555.265, 0], 0];
_this setWaypointType "CYCLE";
_waypoint_19 = _this;

};
};

 

3-Save as "su34.sqf" and drop  into your MPMISSION/Chernarus_11/custom/      folder.

TEST:

Restart your Server

Go to Berezino , at market in north.

Jet must be fly over the market and drop first bomb in 1 or 2 minutes.

heres the location for first bomb:http://postimg.org/image/7zed2dzg1/

 

Link to comment
Share on other sites

  • 3 years later...

I know this is a old post but I got everything working and love this script but when I remove the _this addEventHandler ["handleDamage", {false}]; So players can shoot it down it does not spawn the jet.

Has anyone found a fix for this??  It would also be great to have it mark the jet on the map so players can see where it is :)

Thanks,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...