Merge pull request #32 from Bjanski/Dev

Dev
This commit is contained in:
Jan Babor 2016-05-05 00:52:17 +01:00
commit dd0ffa6194
7 changed files with 43 additions and 6 deletions

View File

@ -1,5 +1,15 @@
#<img src="logo.png" alt="ExAd" width="200" /> #<img src="logo.png" alt="ExAd" width="200" />
## Changelog:
### 160505 01:40 . v0.6.1
#### Fixed
* Display null when entering Virtual Garage from Flag (Virtual Garage)
* Sound error for grinding, tmp fix, sound will work on Chernarus (Grinding)
#### Added
#### Deleted
## Changelog: ## Changelog:
### 160502 23:15 . v0.6.0 ### 160502 23:15 . v0.6.0
#### Fixed #### Fixed

View File

@ -1,11 +1,12 @@
#VirtualGarage #VirtualGarage
## Changelog: ## Changelog:
### 160505 01:40 . v0.6.1
#### Fixed
* Sound error for grinding, tmp fix, sound will work on Chernarus
### 160502 23:15 . v0.6.0 ### 160502 23:15 . v0.6.0
#### Fixed
#### Added #### Added
* Grinding introduced * Grinding introduced
* Grinding battleye scripts * Grinding battleye scripts
#### Deleted

View File

@ -22,7 +22,9 @@ if(vehicle player != player)exitWith{false};
ExAd_GRINDING_OBJECT = _this select 0; ExAd_GRINDING_OBJECT = _this select 0;
ExAd_GRINDING = true; ExAd_GRINDING = true;
call ExileClient_gui_interactionMenu_unhook; call ExileClient_gui_interactionMenu_unhook;
_soundSrc = createSoundSource ["Sound_Factory10", position ExAd_GRINDING_OBJECT, [], 0]; if(isClass(configFile >> "CfgVehicles" >> "Sound_Factory10")) then {
_soundSrc = createSoundSource ["Sound_Factory10", position ExAd_GRINDING_OBJECT, [], 0];
};
player playActionNow "medicStart"; player playActionNow "medicStart";
@ -81,7 +83,10 @@ while{(ExAd_GRINDING_OBJECT == cursorTarget) && ExAd_GRINDING}do{
_ticker = _ticker + 1; _ticker = _ticker + 1;
}; };
deleteVehicle _soundSrc; if(isClass(configFile >> "CfgVehicles" >> "Sound_Factory10")) then {
deleteVehicle _soundSrc;
};
player playActionNow "medicStop"; player playActionNow "medicStop";
removeMissionEventHandler ["Draw3D",ExAd_DRAW3D_HANDLER]; removeMissionEventHandler ["Draw3D",ExAd_DRAW3D_HANDLER];

View File

@ -1,5 +1,9 @@
#VirtualGarage #VirtualGarage
## Instructions: ## Instructions:
### 160505 01:40 . v0.6.1
#### Update
* Replace "ExAdClient\Grinding\Functions"
### 160502 23:15 . v0.6.0 ### 160502 23:15 . v0.6.0
#### Full installation #### Full installation

View File

@ -1,5 +1,9 @@
#VirtualGarage #VirtualGarage
## Changelog: ## Changelog:
### 160505 01:40 . v0.6.1
#### Fixed
* Display null when entering Virtual Garage from Flag
### 160429 14:04 . v0.5.1 ### 160429 14:04 . v0.5.1
#### Fixed #### Fixed

View File

@ -1,5 +1,18 @@
#VirtualGarage #VirtualGarage
## Instructions: ## Instructions:
### 160505 01:40 . v0.6.1
#### Update
* Modify config.cpp ("CfgInteractionMenus" >> "Flag")
```cpp
class VG : ExileAbstractAction
{
title = "Virtual Garage";
condition = "(([_object, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) >= ExAd_VG_ACCESS_LEVEL";
action = "[] spawn {[] call ExileClient_gui_xm8_show; UISleep 1; call XM8_VG_checkNearByFlags}";
};
```
### 160429 14:04 . v0.5.1 ### 160429 14:04 . v0.5.1
#### Update #### Update

View File

@ -15,7 +15,7 @@ class CfgInteractionMenus
{ {
title = "Virtual Garage"; title = "Virtual Garage";
condition = "(([_object, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) >= ExAd_VG_ACCESS_LEVEL"; condition = "(([_object, getPlayerUID player] call ExileClient_util_territory_getAccessLevel) select 0) >= ExAd_VG_ACCESS_LEVEL";
action = "call XM8_VG_checkNearByFlags"; action = "[] spawn {[] call ExileClient_gui_xm8_show; UISleep 1; call XM8_VG_checkNearByFlags}";
}; };
}; };
}; };