From b84a8b467e4921fc280d4830d59069aca904cd80 Mon Sep 17 00:00:00 2001 From: DarthRogue Date: Sun, 19 Apr 2015 11:06:11 -0500 Subject: [PATCH] Instructions and BE Filters Added install instructions and BE filters necessary for installation --- BE Filters.txt | 11 +++++++++++ EtV.sqf | 1 + Install.txt | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 BE Filters.txt create mode 100644 Install.txt diff --git a/BE Filters.txt b/BE Filters.txt new file mode 100644 index 0000000..c35db3d --- /dev/null +++ b/BE Filters.txt @@ -0,0 +1,11 @@ +attachto.txt + +change the 5 at the start of the first line to 1 + +createvehicle.txt + +line 1 - !="HelicopterExploSmall" + +scripts.txt + +line 1 - !"[_explosive,_random0,_random1] call BIS_fnc_SetPitchBank;" \ No newline at end of file diff --git a/EtV.sqf b/EtV.sqf index 7b2c250..385634d 100644 --- a/EtV.sqf +++ b/EtV.sqf @@ -1,6 +1,7 @@ /* Stealthstick's "Explosive-To-Vehicle" Script -Allows players to attach their explosive charges to any vehicle. + -Edited by second_coming and Darth Rogue to work with Epoch */ systemChat "EtV is loading..."; diff --git a/Install.txt b/Install.txt new file mode 100644 index 0000000..bd95184 --- /dev/null +++ b/Install.txt @@ -0,0 +1,33 @@ + + +Installation: + +1. Download the zip from Github +2. Extract the files from the zip and place them into your mission file +3. Make edits inside etv.sqf as desired to include additional or fewer eligible building or vehicle classes, or also to remove possible explosive types (see script code comments for where this applies) +4. In your init.sqf add the following lines: + +//Attach Explosives +if (!isDedicated and hasInterface) then +{ + while {true} do + { + waitUntil {alive vehicle player}; + Sleep 30; + [] execVM "addons\etv\EtV.sqf"; + waitUntil {!isNil "EtVInitialized"}; + [player] call EtV_Actions; + + waitUntil {!alive player}; + Sleep 30; + [] execVM "addons\etv\EtV.sqf"; + waitUntil {!isNil "EtVInitialized"}; + [player] call EtV_Actions; + + + }; +}; + +NOTE: If you already have an 'if (!isDedicated and hasInterface)' line in your init.sqf, simply add the 'while {true} do' block inside it. + +5. Add BE filters according to the instructions included with the zip download