El' Rabito 164 Posted February 18, 2020 Description: You can now flip vehicles even if the engine is still running (as last driver) and the vehicle flips a bit higher to avoid clipping into the ground. The Safezone Wastedump exploit should be fixed aswell with these changes. * Different flip height for ground/air vehicles and a special case for vehicles that like explode when you flip them like the 3CB Coyote and Jackal. (ExileClient_object_vehicle_flip change or add the classnames in _specialflipcases). ################################################################################Installation: Make two CfgExileCustomCode overrides for the following files with the code below. ################################################################################ ExileClient_object_vehicle_interaction_show.sqf /** * ExileClient_object_vehicle_interaction_show * * Exile Mod * www.exilemod.com * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ (alive ExileClientInteractionObject) && !(locked ExileClientInteractionObject isEqualTo 2) ExileClient_object_vehicle_flip.sqf /** * ExileClient_object_vehicle_flip * * Exile Mod * www.exilemod.com * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_vehicle","_pos"]; _vehicle = _this select 0; _vehicleType = typeof _vehicle; _specialflipcases = ["UK3CB_BAF_Coyote_Passenger_L111A1_W","UK3CB_BAF_Jackal2_L111A1_W","UK3CB_BAF_Jackal2_L111A1_G"]; if !(local _vehicle) exitWith {["ErrorTitleOnly", ["Only the last driver can flip this vehicle!"]] call ExileClient_gui_toaster_addTemplateToast; false;}; if ((locked _vehicle) isEqualTo 2) exitWith {["ErrorTitleOnly", ["You can't flip a locked vehicle!"]] call ExileClient_gui_toaster_addTemplateToast; false;}; if (local _vehicle) then { if (_vehicle iskindof "Air") then { _pos = getPosATL _vehicle; _pos set [2,(_pos select 2) + 1.0]; _vehicle setPosATL _pos; _vehicle setVectorUp [0, 0, 1] }; if (_vehicleType in _specialflipcases) then { _pos = getPosATL _vehicle; _pos set [2,(_pos select 2) + 3.75]; _vehicle setPosATL _pos; _vehicle setVectorUp [0, 0, 1]; } else { if !(_vehicle iskindof "Air") then { _pos = getPosATL _vehicle; _pos set [2,(_pos select 2) + 2.5]; _vehicle setPosATL _pos; _vehicle setVectorUp [0, 0, 1]; }; }; } else { ["flipVehRequest",[netId _vehicle]] call ExileClient_system_network_send; }; true 4 Share this post Link to post Share on other sites
El' Rabito 164 Posted October 2, 2020 Updated. * Changed: Different flip height for ground/air vehicles and a special case for vehicles that like explode when you flip them like the 3CB Coyote and Jackal. (ExileClient_object_vehicle_flip change or add the classnames in _specialflipcases). 1 Share this post Link to post Share on other sites