mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
commit
9a5d64003f
@ -48,8 +48,7 @@ _laptop animate ["LaptopLidRotation", 1];
|
|||||||
_player removeItem "Exile_Item_Laptop";
|
_player removeItem "Exile_Item_Laptop";
|
||||||
|
|
||||||
[_object, _player, _laptop] spawn {
|
[_object, _player, _laptop] spawn {
|
||||||
private ["_object","_player","_laptop","_markers","_marker","_success","_ticks","_newSize","_destroy","_msg"];
|
params ["_object","_player","_laptop","_markers","_marker","_success","_ticks","_newSize","_destroy","_msg"];
|
||||||
params ["_object","_player","_laptop"];
|
|
||||||
UISleep 2;
|
UISleep 2;
|
||||||
|
|
||||||
(parseText (format["<t color='%1' size='%2' font='%3'>%4</t><br/><t color='%5' size='%6' font='%7'>%8</t>", ExAd_Hint_Title_Color, ExAd_Hint_Title_Size, ExAd_Hint_Title_Font,STR_ExAd_HACKING_HINT_TITLE, ExAd_Hint_Msg_Color, ExAd_Hint_Msg_Size, ExAd_Hint_Msg_Font, STR_ExAd_HACKING_HINT_HACK_START])) remoteExec ["hint", -2];
|
(parseText (format["<t color='%1' size='%2' font='%3'>%4</t><br/><t color='%5' size='%6' font='%7'>%8</t>", ExAd_Hint_Title_Color, ExAd_Hint_Title_Size, ExAd_Hint_Title_Font,STR_ExAd_HACKING_HINT_TITLE, ExAd_Hint_Msg_Color, ExAd_Hint_Msg_Size, ExAd_Hint_Msg_Font, STR_ExAd_HACKING_HINT_HACK_START])) remoteExec ["hint", -2];
|
||||||
|
39
CHANGELOG.md
39
CHANGELOG.md
@ -1,6 +1,31 @@
|
|||||||
#<img src="logo.png" alt="ExAd" width="200" />
|
#<img src="logo.png" alt="ExAd" width="200" />
|
||||||
|
|
||||||
# Changelog:
|
# Changelog:
|
||||||
|
|
||||||
|
## 160510 16:00 . v0.7.3
|
||||||
|
###Fixed
|
||||||
|
* Cleaned the code (Hacking)
|
||||||
|
* Declaration of un custamized variables (All)
|
||||||
|
|
||||||
|
## 160507 09:00 . v0.7.2
|
||||||
|
### Added
|
||||||
|
* "docs\core\update.md" & "docs\core\changelog.md"
|
||||||
|
* "docs\Grinding\update.md" & "docs\Grinding\changelog.md"
|
||||||
|
* "docs\Hacking\update.md" & "docs\Hacking\changelog.md"
|
||||||
|
* "docs\HaloParachute\update.md" & "docs\HaloParachute\changelog.md"
|
||||||
|
* "docs\VirtualGarage\update.md" & "docs\VirtualGarage\changelog.md"
|
||||||
|
|
||||||
|
### Deleted
|
||||||
|
* "mpmissions\Exile.Altis\ExAdClient\core\update.md" & "mpmissions\Exile.Altis\ExAdClient\core\changelog.md"
|
||||||
|
* "mpmissions\Exile.Altis\ExAdClient\Grinding\update.md" & "mpmissions\Exile.Altis\ExAdClient\Grinding\changelog.md"
|
||||||
|
* "mpmissions\Exile.Altis\ExAdClient\Hacking\update.md" & "mpmissions\Exile.Altis\ExAdClient\Hacking\changelog.md"
|
||||||
|
* "mpmissions\Exile.Altis\ExAdClient\HaloParachute\update.md" & "mpmissions\Exile.Altis\ExAdClient\HaloParachute\changelog.md"
|
||||||
|
* "mpmissions\Exile.Altis\ExAdClient\VirtualGarage\update.md" & "mpmissions\Exile.Altis\ExAdClient\VirtualGarage\changelog.md"
|
||||||
|
|
||||||
|
## 160507 09:00 . v0.7.1
|
||||||
|
### Fixed
|
||||||
|
* Hacking isn't dependent on VirtualGarage anymore (Hacking)
|
||||||
|
|
||||||
## 160506 09:00 . v0.7.0
|
## 160506 09:00 . v0.7.0
|
||||||
### Fixed
|
### Fixed
|
||||||
* Small issue where VG didn't show an advancedHint when storing. (VirtualGarage)
|
* Small issue where VG didn't show an advancedHint when storing. (VirtualGarage)
|
||||||
@ -12,30 +37,19 @@ Must be implemented for Hacking to work proparly
|
|||||||
* Implemented Hacking (Hacking)
|
* Implemented Hacking (Hacking)
|
||||||
* Added battleye Hacking exceptions
|
* Added battleye Hacking exceptions
|
||||||
|
|
||||||
### Deleted
|
|
||||||
|
|
||||||
## 160505 01:40 . v0.6.1
|
## 160505 01:40 . v0.6.1
|
||||||
### Fixed
|
### Fixed
|
||||||
* Display null when entering Virtual Garage from Flag (Virtual Garage)
|
* Display null when entering Virtual Garage from Flag (Virtual Garage)
|
||||||
* Sound error for grinding, tmp fix, sound will work on Chernarus (Grinding)
|
* Sound error for grinding, tmp fix, sound will work on Chernarus (Grinding)
|
||||||
|
|
||||||
### Added
|
|
||||||
### Deleted
|
|
||||||
|
|
||||||
## 160502 23:15 . v0.6.0
|
## 160502 23:15 . v0.6.0
|
||||||
### Fixed
|
|
||||||
### Added
|
### Added
|
||||||
* Implemented Grinding
|
* Implemented Grinding
|
||||||
* Added battleye grinding exceptions
|
* Added battleye grinding exceptions
|
||||||
|
|
||||||
### Deleted
|
|
||||||
|
|
||||||
## 160423 14:04 . v0.5.2
|
## 160423 14:04 . v0.5.2
|
||||||
### Fixed
|
### Fixed
|
||||||
* Description.ext was wrongly configured (Core)
|
* Description.ext was wrongly configured (Core)
|
||||||
|
|
||||||
### Added
|
|
||||||
### Deleted
|
|
||||||
|
|
||||||
## 160426 14:04 . v0.5.1
|
## 160426 14:04 . v0.5.1
|
||||||
### Fixed
|
### Fixed
|
||||||
@ -51,9 +65,6 @@ Must be implemented for Hacking to work proparly
|
|||||||
* EXO Logo.png (Core)
|
* EXO Logo.png (Core)
|
||||||
|
|
||||||
## 160426 . v0.5.0
|
## 160426 . v0.5.0
|
||||||
### Fixed
|
|
||||||
### Added
|
### Added
|
||||||
* Changelog introduced (All)
|
* Changelog introduced (All)
|
||||||
* Repo public (All)
|
* Repo public (All)
|
||||||
|
|
||||||
### Deleted
|
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
#VirtualGarage
|
#VirtualGarage
|
||||||
## Changelog:
|
## Changelog:
|
||||||
|
|
||||||
|
### 160510 16:00 . v0.7.3
|
||||||
|
#### Fixed
|
||||||
|
* Declaration of un custamized variables
|
||||||
|
|
||||||
### 160505 01:40 . v0.6.1
|
### 160505 01:40 . v0.6.1
|
||||||
#### Fixed
|
#### Fixed
|
||||||
* Sound error for grinding, tmp fix, sound will work on Chernarus
|
* Sound error for grinding, tmp fix, sound will work on Chernarus
|
@ -1,5 +1,9 @@
|
|||||||
#VirtualGarage
|
#VirtualGarage
|
||||||
## Instructions:
|
## Instructions:
|
||||||
|
|
||||||
|
### 160507 16:00 . v0.7.3
|
||||||
|
#### Update
|
||||||
|
* Replace "mpmissions\Exile.<map>\ExAdClient\Grinding\postInit.sqf"
|
||||||
|
|
||||||
### 160505 01:40 . v0.6.1
|
### 160505 01:40 . v0.6.1
|
||||||
#### Update
|
#### Update
|
15
docs/Hacking/changelog.md
Normal file
15
docs/Hacking/changelog.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#Hacking
|
||||||
|
## Changelog:
|
||||||
|
|
||||||
|
### 160510 16:00 . v0.7.3
|
||||||
|
#### Fixed
|
||||||
|
* Cleaned the server code
|
||||||
|
* Declaration of un custamized variables
|
||||||
|
|
||||||
|
### 160507 09:00 . v0.7.1
|
||||||
|
#### Fixed
|
||||||
|
* Removed dependency for VirtualGarage
|
||||||
|
|
||||||
|
### 160506 01:00 . v0.7.0
|
||||||
|
#### Added
|
||||||
|
* Introduced **Hacking** to the ExAd package
|
14
docs/Hacking/update.md
Normal file
14
docs/Hacking/update.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#Hacking
|
||||||
|
## Instructions:
|
||||||
|
|
||||||
|
### 160507 16:00 . v0.7.3
|
||||||
|
#### Update
|
||||||
|
* Replace and pack "@ExileServer\addons\exad_hacking"
|
||||||
|
* Replace "mpmissions\Exile.<map>\ExAdClient\Hacking\postInit.sqf"
|
||||||
|
|
||||||
|
### 160507 09:00 . v0.7.1
|
||||||
|
#### Update
|
||||||
|
* Replace and pack "@ExileServer\addons\exad_hacking"
|
||||||
|
|
||||||
|
### 160506 01:00 . v0.7.0
|
||||||
|
#### Full installation
|
21
docs/HaloParachute/changelog.md
Normal file
21
docs/HaloParachute/changelog.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#HaloParachute
|
||||||
|
## Changelog:
|
||||||
|
|
||||||
|
### 160510 18:00 . v0.7.4
|
||||||
|
#### Added
|
||||||
|
* Feature - Customization for using key bindings instead of displayed addActions
|
||||||
|
|
||||||
|
#### Deleted
|
||||||
|
* "mpmission\Exile.Altis\ExAdClient\HaloParachute\Functions\canDetachParachute.sqf
|
||||||
|
|
||||||
|
### 160510 16:00 . v0.7.3
|
||||||
|
#### Fixed
|
||||||
|
* Declaration of un custamized variables
|
||||||
|
|
||||||
|
### 160429 14:04 . v0.5.1
|
||||||
|
#### Fixed
|
||||||
|
* Added BattlEye exceptions
|
||||||
|
|
||||||
|
### 160425 12:00 . v0.5.0
|
||||||
|
#### Added
|
||||||
|
* Introduced **HaloParachute** to the ExAd package
|
20
docs/HaloParachute/update.md
Normal file
20
docs/HaloParachute/update.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#HaloParachute
|
||||||
|
## Instructions:
|
||||||
|
|
||||||
|
### 160507 18:00 . v0.7.4
|
||||||
|
#### Update
|
||||||
|
* Replace folder "mpmissions\Exile.<map>\ExAdClient\HaloParachute\Functions"
|
||||||
|
* Replace file "mpmissions\Exile.<map>\ExAdClient\HaloParachute\CfgFunctions.cpp"
|
||||||
|
* Replace file "mpmissions\Exile.<map>\ExAdClient\HaloParachute\postInit.sqf"
|
||||||
|
* Replace, or update manually, file "mpmissions\Exile.<map>\ExAdClient\HaloParachute\customize.sqf"
|
||||||
|
|
||||||
|
### 160507 16:00 . v0.7.3
|
||||||
|
#### Update
|
||||||
|
* Replace "mpmissions\Exile.<map>\ExAdClient\HaloParachute\postInit.sqf"
|
||||||
|
|
||||||
|
### 160429 14:04 . v0.5.1
|
||||||
|
#### Update
|
||||||
|
* Add battleye exceptions
|
||||||
|
|
||||||
|
### 160425 12:00 . v0.5.0
|
||||||
|
#### Full installation
|
@ -1,7 +1,14 @@
|
|||||||
#Documentation
|
#Documentation
|
||||||
Each subfolder withholds the choosen dokumentation including installation instruction and examples on useage.
|
Each subfolder withholds the choosen documentation including installation instruction and examples on useage.
|
||||||
|
|
||||||
|
To simplify the proccess for me, I've decided to simply devide everything and leave a changelog and update instructions in every subprojects documentation folder. This way you won't miss any information related to that subproject and it will be simple for me to keep the track off all changes with out skimming a general changelog.
|
||||||
|
|
||||||
## How to Update
|
## How to Update
|
||||||
Since this project consist of multiple sub projects I've had some issues deciding how to structure the project for a simple update process.
|
Since this project consist of multiple sub projects I've had some issues deciding how to structure the project for a simple update process.
|
||||||
|
|
||||||
To simplify the proccess for me, I've decided to simply devide everything and leave a changelog and update instructions in every subprojects client folder. This way you won't miss any information related to that subproject and it will be simple for me to keep the track off all changes with out skimming a general changelog.
|
#### Problems remember which version you have?
|
||||||
|
General update for all mods are to
|
||||||
|
* replace plugin specific server files
|
||||||
|
* Copy and save plugin specific customization file
|
||||||
|
* replace plugin client folder, e.g. "mpmission\Exile.<map>\ExAdClient\HaloParachute"
|
||||||
|
* Compare old with new customize.sqf file - add extras
|
@ -1,5 +1,9 @@
|
|||||||
#VirtualGarage
|
#VirtualGarage
|
||||||
## Changelog:
|
## Changelog:
|
||||||
|
|
||||||
|
### 160510 16:00 . v0.7.3
|
||||||
|
#### Fixed
|
||||||
|
* Declaration of un custamized variables
|
||||||
|
|
||||||
### 160506 09:00 . v0.7.0
|
### 160506 09:00 . v0.7.0
|
||||||
#### Fixed
|
#### Fixed
|
@ -1,6 +1,10 @@
|
|||||||
#VirtualGarage
|
#VirtualGarage
|
||||||
## Instructions:
|
## Instructions:
|
||||||
|
|
||||||
|
### 160507 16:00 . v0.7.3
|
||||||
|
#### Update
|
||||||
|
* Replace "mpmissions\Exile.<map>\ExAdClient\VirtualGarage\postInit.sqf"
|
||||||
|
|
||||||
### 160506 09:00 . v0.7.0
|
### 160506 09:00 . v0.7.0
|
||||||
#### Update
|
#### Update
|
||||||
* Copy over the new VirtualGarage Package in "stringtable.xml"
|
* Copy over the new VirtualGarage Package in "stringtable.xml"
|
@ -1,6 +1,10 @@
|
|||||||
#Core
|
#Core
|
||||||
## Changelog:
|
## Changelog:
|
||||||
|
|
||||||
|
### 160510 16:00 . v0.7.3
|
||||||
|
#### Fixed
|
||||||
|
* Declaration of un custamized variables
|
||||||
|
|
||||||
### 160506 09:00 . v0.7.0
|
### 160506 09:00 . v0.7.0
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
@ -1,5 +1,10 @@
|
|||||||
#Core
|
#Core
|
||||||
## Instructions:
|
## Instructions:
|
||||||
|
|
||||||
|
### 160507 16:00 . v0.7.3
|
||||||
|
#### Update
|
||||||
|
* Replace "mpmissions\Exile.<map>\ExAdClient\Core\postInit.sqf"
|
||||||
|
|
||||||
### 160430 09:20 . v0.7.0
|
### 160430 09:20 . v0.7.0
|
||||||
#### Update
|
#### Update
|
||||||
* Replace "ExAdClient\Core\customize.sqf"
|
* Replace "ExAdClient\Core\customize.sqf"
|
@ -17,4 +17,14 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
execVM "ExAdClient\Core\customize.sqf";
|
execVM "ExAdClient\Core\customize.sqf";
|
||||||
|
|
||||||
|
if(isNil "ExAd_Debug")then{ExAd_Debug = true;};
|
||||||
|
|
||||||
|
if(isNil "ExAd_Hint_Title_Color")then{ExAd_Hint_Title_Color = "#E48A36";};
|
||||||
|
if(isNil "ExAd_Hint_Title_Size")then{ExAd_Hint_Title_Size = 1.5;};
|
||||||
|
if(isNil "ExAd_Hint_Title_Font")then{ExAd_Hint_Title_Font = "TahomaB";};
|
||||||
|
|
||||||
|
if(isNil "ExAd_Hint_Msg_Color")then{ExAd_Hint_Msg_Color = "#ffffff";};
|
||||||
|
if(isNil "ExAd_Hint_Msg_Size")then{ExAd_Hint_Msg_Size = 1;};
|
||||||
|
if(isNil "ExAd_Hint_Msg_Font")then{ExAd_Hint_Msg_Font = "TahomaB";};
|
@ -19,6 +19,10 @@
|
|||||||
|
|
||||||
execVM "ExAdClient\Grinding\customize.sqf";
|
execVM "ExAdClient\Grinding\customize.sqf";
|
||||||
|
|
||||||
|
if(isNil "ExAd_GRINDING_PROGRESS_INTERVALL")then{ExAd_GRINDING_PROGRESS_INTERVALL = 60;};
|
||||||
|
if(isNil "ExAd_GRINDING_PROGRESS")then{ExAd_GRINDING_PROGRESS = 30;};
|
||||||
|
if(isNil "ExAd_GRINDING_OBJECT_MAX")then{ExAd_GRINDING_OBJECT_MAX = 900;};
|
||||||
|
|
||||||
ExAd_GRINDING = false;
|
ExAd_GRINDING = false;
|
||||||
|
|
||||||
STR_ExAd_GRINDING_NOTI_BROKE = if(isLocalized "STR_ExAd_GRINDING_NOTI_BROKE")then{localize "STR_ExAd_GRINDING_NOTI_BROKE"}else{"Your grinder broke, get a new one before you can continue."};
|
STR_ExAd_GRINDING_NOTI_BROKE = if(isLocalized "STR_ExAd_GRINDING_NOTI_BROKE")then{localize "STR_ExAd_GRINDING_NOTI_BROKE"}else{"Your grinder broke, get a new one before you can continue."};
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
#Hacking
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
### 160506 01:00 . v0.7.0
|
|
||||||
#### Fixed
|
|
||||||
#### Added
|
|
||||||
* Introduced **Hacking** to the ExAd package
|
|
||||||
#### Deleted
|
|
@ -1,5 +0,0 @@
|
|||||||
#Hacking
|
|
||||||
## Instructions:
|
|
||||||
|
|
||||||
### 160506 01:00 . v0.7.0
|
|
||||||
#### Full installation
|
|
@ -19,6 +19,17 @@
|
|||||||
|
|
||||||
execVM "ExAdClient\Hacking\customize.sqf";
|
execVM "ExAdClient\Hacking\customize.sqf";
|
||||||
|
|
||||||
|
if(isNil "ExAd_HACKING_MIN_PLAYERS_ONLINE")then{ExAd_HACKING_MIN_PLAYERS_ONLINE = 30;};
|
||||||
|
if(isNil "ExAd_HACKING_ALLOWED_HACKS")then{ExAd_HACKING_ALLOWED_HACKS = 1;};
|
||||||
|
if(isNil "ExAd_HACKING_MAX_TIME")then{ExAd_HACKING_MAX_TIME = 1200;};
|
||||||
|
if(isNil "ExAd_HACKING_MAX_DISTANCE")then{ExAd_HACKING_MAX_DISTANCE = 50;};
|
||||||
|
if(isNil "ExAd_HACKING_TERRITORY_MAX")then{ExAd_HACKING_TERRITORY_MAX = 3;};
|
||||||
|
if(isNil "ExAd_HACKING_MARKER_COLOR")then{ExAd_HACKING_MARKER_COLOR = "ColorOrange";};
|
||||||
|
if(isNil "ExAd_HACKING_MARKER_TITLE")then{ExAd_HACKING_MARKER_TITLE = "Hacker activity";};
|
||||||
|
if(isNil "ExAd_HACKING_FAILED_HACK")then{ExAd_HACKING_FAILED_HACK = 0.15;};
|
||||||
|
|
||||||
|
if(isNil "ExAd_HACKING_FAILED_HACK")then{ExAd_VG_ACCESS_LEVEL = 1;}; /*Needs to be here if peolpe don't use the VirtualGarage*/
|
||||||
|
|
||||||
STR_ExAd_HACKING_NOTI_MAX_TERRITORY_HACKS_REACHED = if(isLocalized "STR_ExAd_HACKING_NOTI_MAX_TERRITORY_HACKS_REACHED")then{localize "STR_ExAd_HACKING_NOTI_MAX_TERRITORY_HACKS_REACHED"}else{"Connection failed! Territory Wi-Fi is down!"};
|
STR_ExAd_HACKING_NOTI_MAX_TERRITORY_HACKS_REACHED = if(isLocalized "STR_ExAd_HACKING_NOTI_MAX_TERRITORY_HACKS_REACHED")then{localize "STR_ExAd_HACKING_NOTI_MAX_TERRITORY_HACKS_REACHED"}else{"Connection failed! Territory Wi-Fi is down!"};
|
||||||
|
|
||||||
STR_ExAd_HACKING_NOTI_TERRITORY_ONE_HACK = if(isLocalized "STR_ExAd_HACKING_NOTI_TERRITORY_ONE_HACK")then{localize "STR_ExAd_HACKING_NOTI_TERRITORY_ONE_HACK"}else{"Wi-Fi occupied!!"};
|
STR_ExAd_HACKING_NOTI_TERRITORY_ONE_HACK = if(isLocalized "STR_ExAd_HACKING_NOTI_TERRITORY_ONE_HACK")then{localize "STR_ExAd_HACKING_NOTI_TERRITORY_ONE_HACK"}else{"Wi-Fi occupied!!"};
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
#HaloParachute
|
|
||||||
## Changelog:
|
|
||||||
### 160429 14:04 . v0.5.1
|
|
||||||
#### Fixed
|
|
||||||
* Added BattlEye exceptions
|
|
||||||
|
|
||||||
#### Added
|
|
||||||
|
|
||||||
#### Deleted
|
|
||||||
|
|
||||||
### 160425 12:00 . v0.5.0
|
|
||||||
#### Fixed
|
|
||||||
#### Added
|
|
||||||
* Introduced **HaloParachute** to the ExAd package
|
|
||||||
#### Deleted
|
|
@ -20,7 +20,6 @@
|
|||||||
class HaloParachute
|
class HaloParachute
|
||||||
{
|
{
|
||||||
file = "ExAdClient\HaloParachute\Functions";
|
file = "ExAdClient\HaloParachute\Functions";
|
||||||
class canDetachParachute {};
|
|
||||||
class ejectPlayer {};
|
class ejectPlayer {};
|
||||||
class parachutesafemode {};
|
class parachutesafemode {};
|
||||||
class pullParachute {};
|
class pullParachute {};
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
/*
|
|
||||||
fn_showDetachParachute.sqf
|
|
||||||
|
|
||||||
Copyright 2016 Jan Babor
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
((getPos player) select 2 > ExAd_ACTION_PARACHUTE_HEIGHT && vehicle player isKindOf "Steerable_Parachute_F")
|
|
@ -37,7 +37,7 @@ if(ExAd_HALOPARACHUTE_SAFE_MODE)then{
|
|||||||
[ExAd_PARACHUTE_SAFE_THREAD] call ExileClient_system_thread_removeTask;
|
[ExAd_PARACHUTE_SAFE_THREAD] call ExileClient_system_thread_removeTask;
|
||||||
};
|
};
|
||||||
|
|
||||||
if(ExAd_HALOPARACHUTE_DETACH_PARACHUTE_MODE)then{
|
if(ExAd_HALOPARACHUTE_USE_KEY_ACTIONS)then{
|
||||||
hint localize "STR_ExAd_HALOPARACHUTE_INFO_DETACH"
|
hint localize "STR_ExAd_HALOPARACHUTE_INFO_DETACH"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
#HaloParachute
|
|
||||||
## Instructions:
|
|
||||||
### 160429 14:04 . v0.5.1
|
|
||||||
#### Update
|
|
||||||
* Add battleye exceptions
|
|
||||||
|
|
||||||
### 160425 12:00 . v0.5.0
|
|
||||||
#### Full installation
|
|
@ -17,7 +17,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
ExAd_HALOPARACHUTE_SAFE_MODE = false; //BOOLEAN - Force pull parachute when player reaches ExAd_ACTION_PARACHUTE_HEIGHT if they ejected from vehicle
|
ExAd_HALOPARACHUTE_SAFE_MODE = false; //BOOLEAN - Force pull parachute when player reaches ExAd_ACTION_PARACHUTE_HEIGHT if they ejected from vehicle
|
||||||
ExAd_HALOPARACHUTE_DETACH_PARACHUTE_MODE = false; //BOOLEAN - Allows player to detach himself from parachute
|
ExAd_HALOPARACHUTE_USE_ACTIONS = true; //BOOLEAN - Allows player to eject from all vehicles with a pressed key combination 'alt shift x'
|
||||||
|
ExAd_HALOPARACHUTE_USE_KEY_ACTIONS = true; //BOOLEAN - Show addActions on the screen
|
||||||
|
|
||||||
ExAd_ACTION_PARACHUTE_HEIGHT = 10; //SCALAR - What is the minimum altitude a player can pull a parachute. |RECOMMENDED 30 meters when safe_mode activated
|
ExAd_ACTION_PARACHUTE_HEIGHT = 10; //SCALAR - What is the minimum altitude a player can pull a parachute. |RECOMMENDED 30 meters when safe_mode activated
|
||||||
ExAd_ACTION_EJECT_HEIGHT = 100; //SCALAR - What is the minimum altitude a player can Halo/Eject from a vehicle.
|
ExAd_ACTION_EJECT_HEIGHT = 100; //SCALAR - What is the minimum altitude a player can Halo/Eject from a vehicle.
|
||||||
|
@ -17,8 +17,16 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
ExAd_HALOPARACHUTE_VERSION = "v0.7.4";
|
||||||
|
|
||||||
execVM "ExAdClient\HaloParachute\customize.sqf";
|
execVM "ExAdClient\HaloParachute\customize.sqf";
|
||||||
|
|
||||||
|
if(isNil "ExAd_HALOPARACHUTE_SAFE_MODE"){ExAd_HALOPARACHUTE_SAFE_MODE = false;};
|
||||||
|
if(isNil "ExAd_HALOPARACHUTE_USE_ACTIONS"){ExAd_HALOPARACHUTE_USE_ACTIONS = true;};
|
||||||
|
if(isNil "ExAd_HALOPARACHUTE_USE_KEY_ACTIONS"){ExAd_HALOPARACHUTE_USE_KEY_ACTIONS = true;};
|
||||||
|
if(isNil "ExAd_ACTION_PARACHUTE_HEIGHT"){ExAd_ACTION_PARACHUTE_HEIGHT = 10;};
|
||||||
|
if(isNil "ExAd_ACTION_EJECT_HEIGHT"){ExAd_ACTION_EJECT_HEIGHT = 0;};
|
||||||
|
|
||||||
[] spawn {
|
[] spawn {
|
||||||
while {true} do {
|
while {true} do {
|
||||||
waitUntil{!isNil "ExileClientLoadedIn"};
|
waitUntil{!isNil "ExileClientLoadedIn"};
|
||||||
@ -27,25 +35,33 @@ execVM "ExAdClient\HaloParachute\customize.sqf";
|
|||||||
UISleep 0.1;
|
UISleep 0.1;
|
||||||
waitUntil{alive player};
|
waitUntil{alive player};
|
||||||
|
|
||||||
ExAd_ACTION_PARACHUTE = player addaction [format["<t color='#E48A36'><img image='\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa' />%1</t>", localize "STR_ExAd_HALOPARACHUTE_ACTIONS_PARACHUTE"], {call ExAd_fnc_pullParachute}, [], 6, true, true, "", "call ExAd_fnc_showParachute"];
|
if(ExAd_HALOPARACHUTE_USE_ACTIONS)then{
|
||||||
ExAd_ACTION_EJECT = player addaction [format["<t color='#E48A36'><img image='\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa' />%1</t>", localize "STR_ExAd_HALOPARACHUTE_ACTIONS_HALO"], {call ExAd_fnc_ejectPlayer}, [], 6, false, true, "", "call ExAd_fnc_showEject;"];
|
ExAd_ACTION_PARACHUTE = player addaction [format["<t color='#E48A36'><img image='\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa' />%1</t>", localize "STR_ExAd_HALOPARACHUTE_ACTIONS_PARACHUTE"], {call ExAd_fnc_pullParachute}, [], 6, true, true, "", "call ExAd_fnc_showParachute"];
|
||||||
|
ExAd_ACTION_EJECT = player addaction [format["<t color='#E48A36'><img image='\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa' />%1</t>", localize "STR_ExAd_HALOPARACHUTE_ACTIONS_HALO"], {call ExAd_fnc_ejectPlayer}, [], 6, false, true, "", "call ExAd_fnc_showEject;"];
|
||||||
|
};
|
||||||
|
|
||||||
if(ExAd_HALOPARACHUTE_DETACH_PARACHUTE_MODE)then{
|
if(ExAd_HALOPARACHUTE_USE_KEY_ACTIONS)then{
|
||||||
ExAd_ACTION_PARACHUTE_DETACH = (findDisplay 46) displayAddEventHandler ["KeyDown",{
|
ExAd_ACTION_HALOPARACHUTE_USE_KEY_ACTIONS = (findDisplay 46) displayAddEventHandler ["KeyDown",{
|
||||||
if(call ExAd_fnc_canDetachParachute)then{
|
if(_this select 1 == 45 && _this select 2 && _this select 4)then{
|
||||||
if(_this select 1 == 45 && _this select 2 && _this select 4)then{
|
if((getPos player) select 2 > ExAd_ACTION_EJECT_HEIGHT && vehicle player != player)then{
|
||||||
call ExAd_fnc_ejectPlayer
|
call ExAd_fnc_ejectPlayer
|
||||||
}
|
}else{
|
||||||
|
if(ExAd_fnc_showParachute)then{
|
||||||
|
call ExAd_fnc_pullParachute
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
waitUntil{!alive player};
|
waitUntil{!alive player};
|
||||||
player removeAction ExAd_ACTION_PARACHUTE;
|
if(ExAd_HALOPARACHUTE_USE_ACTIONS)then{
|
||||||
player removeAction ExAd_ACTION_EJECT;
|
player removeAction ExAd_ACTION_PARACHUTE;
|
||||||
|
player removeAction ExAd_ACTION_EJECT;
|
||||||
|
};
|
||||||
|
|
||||||
if(ExAd_HALOPARACHUTE_DETACH_PARACHUTE_MODE)then{
|
if(ExAd_HALOPARACHUTE_USE_KEY_ACTIONS)then{
|
||||||
(findDisplay 46) displayRemoveEventHandler ["KeyDown", ExAd_ACTION_PARACHUTE_DETACH];
|
(findDisplay 46) displayRemoveEventHandler ["KeyDown", ExAd_ACTION_HALOPARACHUTE_USE_KEY_ACTIONS];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
@ -17,4 +17,10 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
execVM "ExAdClient\VirtualGarage\customize.sqf";
|
execVM "ExAdClient\VirtualGarage\customize.sqf";
|
||||||
|
|
||||||
|
if(isNil "ExAd_VG_MIN_ALLOWED_VEH")then{ExAd_VG_MIN_ALLOWED_VEH = 5;};
|
||||||
|
if(isNil "ExAd_VG_ALLOWED_VEH_MULTIPLE_FACTOR")then{ExAd_VG_ALLOWED_VEH_MULTIPLE_FACTOR = 3;};
|
||||||
|
if(isNil "ExAd_VG_ACCESS_LEVEL")then{ExAd_VG_ACCESS_LEVEL = 1;};
|
||||||
|
if(isNil "ExAd_VG_CLEAN_ON_STORE")then{ExAd_VG_CLEAN_ON_STORE = true;};
|
||||||
|
if(isNil "ExAd_VG_SHOW_ADVHINT")then{ExAd_VG_SHOW_ADVHINT = false;};
|
Loading…
Reference in New Issue
Block a user