mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
Small fixes and additions
This commit is contained in:
parent
b3c2e7c8f1
commit
eb12baf640
@ -6,10 +6,16 @@
|
|||||||
* "ExadClient\CfgFunctions.cpp" to work with StatsBar (Core)
|
* "ExadClient\CfgFunctions.cpp" to work with StatsBar (Core)
|
||||||
* "ExadClient\RscTitles.cpp" to work with StatsBar (Core)
|
* "ExadClient\RscTitles.cpp" to work with StatsBar (Core)
|
||||||
* Go Back button didn't show text when VG wasn't loaded in the package (Apps; Info, Journal)
|
* Go Back button didn't show text when VG wasn't loaded in the package (Apps; Info, Journal)
|
||||||
|
* Loading before ExileClientLoadedIn was declared
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
* New plugin - StatsBar (StatsBar)
|
* New plugin - StatsBar (StatsBar)
|
||||||
* New App to configure the StatsBar (XM8)
|
* New App to configure the StatsBar (XM8)
|
||||||
|
* New functions (XM8)
|
||||||
|
* Stringtable compability (StatsBar)
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
* removed all individual changelogs - took to much time to update.
|
||||||
|
|
||||||
## 1607330 11:00 . v0.7.11
|
## 1607330 11:00 . v0.7.11
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
#Grinding
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
### v0.7.7
|
|
||||||
####Fixed
|
|
||||||
* Made the ExAd system compatible with Exile 0.9.8
|
|
||||||
|
|
||||||
### v0.7.6
|
|
||||||
####Fixed
|
|
||||||
* The configuration file could be reed after the postInit script - IMPORTANT TO UPDATE ALL PLUGINS.
|
|
||||||
|
|
||||||
###Added
|
|
||||||
* Extra loggin functionality
|
|
||||||
* Added a lot of new custom UI Display texts - Check stringtabl.xml for new ones.
|
|
||||||
* Progress bar height customizable
|
|
||||||
|
|
||||||
### v0.7.3
|
|
||||||
#### Fixed
|
|
||||||
* Declaration of un custamized variables
|
|
||||||
|
|
||||||
### v0.6.1
|
|
||||||
#### Fixed
|
|
||||||
* Sound error for grinding, tmp fix, sound will work on Chernarus
|
|
||||||
|
|
||||||
### v0.6.0
|
|
||||||
#### Added
|
|
||||||
* Grinding introduced
|
|
||||||
* Grinding battleye scripts
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
#Hacking
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
### v0.7.7
|
|
||||||
####Fixed
|
|
||||||
* Made the ExAd system compatible with Exile 0.9.8
|
|
||||||
|
|
||||||
### v0.7.6
|
|
||||||
####Fixed
|
|
||||||
* The configuration file could be reed after the postInit script - IMPORTANT TO UPDATE ALL PLUGINS.
|
|
||||||
|
|
||||||
###Added
|
|
||||||
* Extra loggin functionality
|
|
||||||
* Added a lot of new custom UI Display texts - Check stringtabl.xml for new ones.
|
|
||||||
* Added a feature so the server owner can decide if hacking should require a player with premissions to be online.
|
|
||||||
|
|
||||||
### v0.7.3
|
|
||||||
#### Fixed
|
|
||||||
* Cleaned the server code
|
|
||||||
* Declaration of un custamized variables
|
|
||||||
|
|
||||||
### v0.7.1
|
|
||||||
#### Fixed
|
|
||||||
* Removed dependency for VirtualGarage
|
|
||||||
|
|
||||||
### v0.7.0
|
|
||||||
#### Added
|
|
||||||
* Introduced **Hacking** to the ExAd package
|
|
@ -1,40 +0,0 @@
|
|||||||
#HaloParachute
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
### v0.7.7
|
|
||||||
####Fixed
|
|
||||||
* Made the ExAd system compatible with Exile 0.9.8
|
|
||||||
|
|
||||||
### v0.7.6
|
|
||||||
####Fixed
|
|
||||||
* The configuration file could be reed after the postInit script - IMPORTANT TO UPDATE ALL PLUGINS.
|
|
||||||
|
|
||||||
###Added
|
|
||||||
* Extra loggin functionality
|
|
||||||
* Added a lot of new custom UI Display texts - Check stringtabl.xml for new ones.
|
|
||||||
|
|
||||||
## v0.7.5
|
|
||||||
###Fixed
|
|
||||||
* Syntax error in postInit.sqf
|
|
||||||
* Remove parachute backpack when parachute is pulled.
|
|
||||||
* Removed one action when carrying parachute backpack
|
|
||||||
* Added battleye exceptions
|
|
||||||
|
|
||||||
### v0.7.4
|
|
||||||
#### Added
|
|
||||||
* Feature - Customization for using key bindings instead of displayed addActions
|
|
||||||
|
|
||||||
#### Deleted
|
|
||||||
* "mpmission\Exile.Altis\ExAdClient\HaloParachute\Functions\canDetachParachute.sqf
|
|
||||||
|
|
||||||
### v0.7.3
|
|
||||||
#### Fixed
|
|
||||||
* Declaration of un custamized variables
|
|
||||||
|
|
||||||
### v0.5.1
|
|
||||||
#### Fixed
|
|
||||||
* Added BattlEye exceptions
|
|
||||||
|
|
||||||
### v0.5.0
|
|
||||||
#### Added
|
|
||||||
* Introduced **HaloParachute** to the ExAd package
|
|
@ -1,21 +0,0 @@
|
|||||||
#VirtualGarage
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
## 160726 17:15 . v0.7.10
|
|
||||||
### Fixed
|
|
||||||
* Apply custom functions to "More" app buttons.
|
|
||||||
|
|
||||||
### Added
|
|
||||||
* New App, deploy vehicles
|
|
||||||
|
|
||||||
## 160720 01:15 . v0.7.9
|
|
||||||
### Fixed
|
|
||||||
* Some design flaws in the Apps functions.
|
|
||||||
* Added ExAd_Journal class to config.cpp
|
|
||||||
|
|
||||||
### Added
|
|
||||||
* New App, which is a tutorial app on YouTube
|
|
||||||
|
|
||||||
### v0.7.7
|
|
||||||
#### Added
|
|
||||||
* Introduced **XM8** to the ExAd package
|
|
@ -1,11 +0,0 @@
|
|||||||
#Create Apps
|
|
||||||
|
|
||||||
To create an app you need follow 4 simple steps
|
|
||||||
|
|
||||||
1.
|
|
||||||
|
|
||||||
2.
|
|
||||||
|
|
||||||
3.
|
|
||||||
|
|
||||||
4.
|
|
@ -29,7 +29,6 @@ class CfgXM8
|
|||||||
{
|
{
|
||||||
title = "Statsbar Settings";
|
title = "Statsbar Settings";
|
||||||
controlID = 50400; //IDC:50400 -> 50475 || These need to be unique and out of range from each other
|
controlID = 50400; //IDC:50400 -> 50475 || These need to be unique and out of range from each other
|
||||||
config = "ExadClient\XM8\Apps\SB_Settings\config.sqf";
|
|
||||||
logo = "exile_assets\texture\ui\xm8_app_settings_ca.paa";
|
logo = "exile_assets\texture\ui\xm8_app_settings_ca.paa";
|
||||||
onLoad = "ExAdClient\XM8\Apps\SB_Settings\onLoad.sqf";
|
onLoad = "ExAdClient\XM8\Apps\SB_Settings\onLoad.sqf";
|
||||||
};
|
};
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
#VirtualGarage
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
### v0.7.7
|
|
||||||
####Fixed
|
|
||||||
* Made the ExAd system compatible with Exile 0.9.8
|
|
||||||
|
|
||||||
####Added
|
|
||||||
* App for XM8
|
|
||||||
|
|
||||||
####Removed
|
|
||||||
* Support for Improved_XM8_Apps by Vitaly
|
|
||||||
|
|
||||||
### v0.7.6
|
|
||||||
####Fixed
|
|
||||||
* Quick-fix - VG App scroll for stored list
|
|
||||||
* The configuration file could be reed after the postInit script - IMPORTANT TO UPDATE ALL PLUGINS.
|
|
||||||
|
|
||||||
####Added
|
|
||||||
* Extra loggin functionality
|
|
||||||
* Added a lot of new custom UI Display texts - Check stringtabl.xml for new ones.
|
|
||||||
* Added a more detailed description of the vehicle for the App
|
|
||||||
* Added the possibility to decide of which vehicles type should be storable
|
|
||||||
|
|
||||||
### v0.7.3
|
|
||||||
#### Fixed
|
|
||||||
* Declaration of un custamized variables
|
|
||||||
|
|
||||||
### v0.7.0
|
|
||||||
#### Fixed
|
|
||||||
* Small issue where VG didn't show an advancedHint when storing.
|
|
||||||
#### Added
|
|
||||||
* New stringtable values
|
|
||||||
|
|
||||||
### v0.6.1
|
|
||||||
#### Fixed
|
|
||||||
* Display null when entering Virtual Garage from Flag
|
|
||||||
|
|
||||||
### v0.5.1
|
|
||||||
#### Fixed
|
|
||||||
* BattlEye filters been updated
|
|
||||||
* VG App return to sideApp on unLoad
|
|
||||||
* VG App clear lists before onLoad and content being loaded.
|
|
||||||
|
|
||||||
### v0.5.0
|
|
||||||
#### Added
|
|
||||||
* Introduced **VirtualGarage** to the ExAd package
|
|
@ -1,21 +0,0 @@
|
|||||||
#VirtualGarage
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
## 160726 17:15 . v0.7.10
|
|
||||||
### Fixed
|
|
||||||
* Apply custom functions to "More" app buttons.
|
|
||||||
|
|
||||||
### Added
|
|
||||||
* New App, deploy vehicles
|
|
||||||
|
|
||||||
## 160720 01:15 . v0.7.9
|
|
||||||
### Fixed
|
|
||||||
* Some design flaws in the Apps functions.
|
|
||||||
* Added ExAd_Journal class to config.cpp
|
|
||||||
|
|
||||||
### Added
|
|
||||||
* New App, which is a tutorial app on YouTube
|
|
||||||
|
|
||||||
### v0.7.7
|
|
||||||
#### Added
|
|
||||||
* Introduced **XM8** to the ExAd package
|
|
@ -1,41 +0,0 @@
|
|||||||
#Core
|
|
||||||
## Changelog:
|
|
||||||
|
|
||||||
## v0.7.7
|
|
||||||
###Fixed
|
|
||||||
* Made the ExAd system compatible with Exile 0.9.8
|
|
||||||
|
|
||||||
### v0.7.6
|
|
||||||
####Fixed
|
|
||||||
* The configuration file could be reed after the postInit script - IMPORTANT TO UPDATE ALL PLUGINS.
|
|
||||||
|
|
||||||
####Added
|
|
||||||
* Extra loggin functionality
|
|
||||||
* Changeable variables for logging functionality
|
|
||||||
* Added function ExAd_fnc_territoryPlayerPresent, to see if a player with permissions for a specific flag is online
|
|
||||||
|
|
||||||
### v0.7.3
|
|
||||||
#### Fixed
|
|
||||||
* Declaration of un custamized variables
|
|
||||||
|
|
||||||
### v0.7.0
|
|
||||||
#### Added
|
|
||||||
* New customizable values (Core)
|
|
||||||
|
|
||||||
### v0.5.2
|
|
||||||
#### Fixed
|
|
||||||
* Description.ext was wrongly configured
|
|
||||||
|
|
||||||
### v0.5.1
|
|
||||||
#### Fixed
|
|
||||||
* AdvHint trying to show EXO Logo
|
|
||||||
|
|
||||||
#### Added
|
|
||||||
* ExAd Logo.png
|
|
||||||
|
|
||||||
#### Deleted
|
|
||||||
* EXO Logo.png
|
|
||||||
|
|
||||||
### v0.5.0
|
|
||||||
#### Added
|
|
||||||
* Introduced **Core** to the ExAd package
|
|
@ -38,7 +38,11 @@ class StatsBar
|
|||||||
class getSBColor {};
|
class getSBColor {};
|
||||||
class getWalletStr {};
|
class getWalletStr {};
|
||||||
class loadSB {};
|
class loadSB {};
|
||||||
|
class sbPowerToggle {};
|
||||||
|
class sbSave {};
|
||||||
|
class sbStop {};
|
||||||
class sbThread {};
|
class sbThread {};
|
||||||
class toggleExileHUD {};
|
class toggleExileHUD {};
|
||||||
|
class updateSB {};
|
||||||
class postInitSB {file = "ExAdClient\StatsBar\postInit.sqf"; postInit = 1;};
|
class postInitSB {file = "ExAdClient\StatsBar\postInit.sqf"; postInit = 1;};
|
||||||
};
|
};
|
@ -16,24 +16,20 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
private["_display","_statsBarCtrl"];
|
private["_display"];
|
||||||
|
|
||||||
disableSerialization;
|
disableSerialization;
|
||||||
|
|
||||||
101 cutRsc ["ExAd_STATSBAR", "PLAIN", 1];
|
ExAd_SB_Dialog_Layer cutRsc ["ExAd_STATSBAR", "PLAIN", 1];
|
||||||
|
|
||||||
_display = uiNameSpace getVariable ["ExAd_STATSBAR",displayNull];
|
_display = uiNameSpace getVariable ["ExAd_STATSBAR",displayNull];
|
||||||
_statsBarCtrl = _display displayCtrl ExAd_SB_Dialog_CtrlBar_IDC;
|
|
||||||
_logoCtrl = _display displayCtrl ExAd_SB_Dialog_CtrlLogo_IDC;
|
_logoCtrl = _display displayCtrl ExAd_SB_Dialog_CtrlLogo_IDC;
|
||||||
|
|
||||||
if(count ExAd_SB_ICON_LOGO > 0)then{
|
if(count ExAd_SB_ICON_LOGO > 0)then{
|
||||||
_logoCtrl ctrlSetText ExAd_SB_ICON_LOGO;
|
_logoCtrl ctrlSetText ExAd_SB_ICON_LOGO;
|
||||||
};
|
};
|
||||||
|
|
||||||
_statsBarCtrl ctrlSetPosition ExAd_SB_GUI_POS;
|
call ExAd_fnc_updateSB;
|
||||||
_statsBarCtrl ctrlSetBackgroundColor ExAd_SB_GUI_BgColor;
|
|
||||||
_statsBarCtrl ctrlSetTextColor ExAd_SB_GUI_TextColor;
|
|
||||||
_statsBarCtrl ctrlCommit 0;
|
|
||||||
|
|
||||||
ExAd_SB_Thread = [ExAd_SB_Update_Rate, ExAd_fnc_sbThread, [], true] call ExileClient_system_thread_addtask;
|
ExAd_SB_Thread = [ExAd_SB_Update_Rate, ExAd_fnc_sbThread, [], true] call ExileClient_system_thread_addtask;
|
||||||
|
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
fn_sbPowerToggle.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.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
if(ExAd_SB_Active)then{
|
||||||
|
call ExAd_fnc_sbStop
|
||||||
|
}else{
|
||||||
|
call ExAd_fnc_loadSB
|
||||||
|
};
|
||||||
|
|
||||||
|
ExAd_SB_Active = !ExAd_SB_Active;
|
||||||
|
|
||||||
|
(_this select 0) ctrlSetText (if(!ExAd_SB_Active)then{STR_ExAd_SB_APP_BTN_SHOW}else{STR_ExAd_SB_APP_BTN_HIDE});
|
||||||
|
call ExAd_SB_fnc_thread;
|
||||||
|
|
||||||
|
true
|
@ -0,0 +1,50 @@
|
|||||||
|
/*
|
||||||
|
fn_sbSave.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.
|
||||||
|
|
||||||
|
*/
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Update_Rate", ExAd_SB_Update_Rate];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Active", ExAd_SB_Active];
|
||||||
|
|
||||||
|
profileNamespace setVariable ["ExAd_SB_GUI_POS", ExAd_SB_GUI_POS];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_GUI_TextColor", ExAd_SB_GUI_TextColor];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_GUI_BgColor", ExAd_SB_GUI_BgColor];
|
||||||
|
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Text_Margin", ExAd_SB_Text_Margin];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Text_InnerMargin", ExAd_SB_Text_InnerMargin];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Text_Font", ExAd_SB_Text_Font];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Text_Align", ExAd_SB_Text_Align];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Text_Size", ExAd_SB_Text_Size];
|
||||||
|
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_KD", ExAd_SB_Show_KD];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_HP", ExAd_SB_Show_HP];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Thirst", ExAd_SB_Show_Thirst];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Hunger", ExAd_SB_Show_Hunger];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Wallet", ExAd_SB_Show_Wallet];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Bank", ExAd_SB_Show_Bank];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Respect", ExAd_SB_Show_Respect];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_FPS", ExAd_SB_Show_FPS];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Time", ExAd_SB_Show_Time];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Temp", ExAd_SB_Show_Temp];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Grid", ExAd_SB_Show_Grid];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_Compass", ExAd_SB_Show_Compass];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_PlayerCount", ExAd_SB_Show_PlayerCount];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_Show_ClanCount", ExAd_SB_Show_ClanCount];
|
||||||
|
|
||||||
|
profileNamespace setVariable ["ExAd_SB_COMPONENTS_ACTIVE_COLORS", ExAd_SB_COMPONENTS_ACTIVE_COLORS];
|
||||||
|
profileNamespace setVariable ["ExAd_SB_EXILE_HUD_ACTIVE", ExAd_SB_EXILE_HUD_ACTIVE];
|
||||||
|
|
||||||
|
true
|
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
fn_sbStop.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.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
ExAd_SB_Dialog_Layer cutText ["", "PLAIN"];
|
||||||
|
[ExAd_SB_Thread] call ExileClient_system_thread_removeTask;
|
||||||
|
|
||||||
|
true
|
@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
fn_sbThread.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.
|
||||||
|
|
||||||
|
*/
|
||||||
|
private ["_display","_statsBarCtrl"];
|
||||||
|
_display = uiNameSpace getVariable ["ExAd_STATSBAR",displayNull];
|
||||||
|
_statsBarCtrl = _display displayCtrl ExAd_SB_Dialog_CtrlBar_IDC;
|
||||||
|
|
||||||
|
_statsBarCtrl ctrlSetPosition ExAd_SB_GUI_POS;
|
||||||
|
_statsBarCtrl ctrlSetBackgroundColor ExAd_SB_GUI_BgColor;
|
||||||
|
_statsBarCtrl ctrlSetTextColor ExAd_SB_GUI_TextColor;
|
||||||
|
_statsBarCtrl ctrlCommit 0;
|
||||||
|
|
||||||
|
true
|
@ -35,16 +35,49 @@ if(isNil "ExAd_SB_ICON_Wallet")then{ExAd_SB_ICON_Wallet = "exile_assets\texture\
|
|||||||
if(isNil "ExAd_SB_ICON_LOGO")then{ExAd_SB_ICON_LOGO = "";};
|
if(isNil "ExAd_SB_ICON_LOGO")then{ExAd_SB_ICON_LOGO = "";};
|
||||||
|
|
||||||
if(isNil "ExAd_SB_COMPONENTS_COLORS")then{ExAd_SB_COMPONENTS_COLORS = ["#000000", "#440B00","#FE1106","#CA7400","#A9C700","#11BF03"];};
|
if(isNil "ExAd_SB_COMPONENTS_COLORS")then{ExAd_SB_COMPONENTS_COLORS = ["#000000", "#440B00","#FE1106","#CA7400","#A9C700","#11BF03"];};
|
||||||
|
if(isNil "ExAd_SB_Dialog_Layer")then{ExAd_SB_Dialog_Layer = 102;};
|
||||||
|
if(isNil "ExAd_SB_Dialog_CtrlLogo_IDC")then{ExAd_SB_Dialog_Layer = 1000;};
|
||||||
|
if(isNil "ExAd_SB_Dialog_CtrlBar_IDC")then{ExAd_SB_Dialog_Layer = 1100;};
|
||||||
|
|
||||||
ExAd_SB_Dialog_CtrlBar_IDC = 1100;
|
{
|
||||||
ExAd_SB_Dialog_CtrlLogo_IDC = 1000;
|
_x call ExAd_fnc_localize;
|
||||||
|
}forEach [
|
||||||
|
["STR_ExAd_SB_APP_GO_BACK", "Go Back"],
|
||||||
|
["STR_ExAd_SB_APP_CB_KD", "Kill/Death Ratio"],
|
||||||
|
["STR_ExAd_SB_APP_CB_HP", "Health"],
|
||||||
|
["STR_ExAd_SB_APP_CB_THIRST", "Thirst"],
|
||||||
|
["STR_ExAd_SB_APP_CB_HUNGER", "Hunger"],
|
||||||
|
["STR_ExAd_SB_APP_CB_WALLET", "POP TABS in wallet"],
|
||||||
|
["STR_ExAd_SB_APP_CB_BANK", "POP TABS in bank"],
|
||||||
|
["STR_ExAd_SB_APP_CB_RESPECT", "Respect"],
|
||||||
|
["STR_ExAd_SB_APP_CB_COLORS", "Use color indications"],
|
||||||
|
["STR_ExAd_SB_APP_CB_FPS", "FPS"],
|
||||||
|
["STR_ExAd_SB_APP_CB_TIMER", "Restart time"],
|
||||||
|
["STR_ExAd_SB_APP_CB_TEMP", "Body Temperature"],
|
||||||
|
["STR_ExAd_SB_APP_CB_GRID", "Grid location"],
|
||||||
|
["STR_ExAd_SB_APP_CB_COMPASS", "Compass"],
|
||||||
|
["STR_ExAd_SB_APP_CB_PLAYERS", "Players online"],
|
||||||
|
["STR_ExAd_SB_APP_CB_CLAN_MEMBERS", "Family members online"],
|
||||||
|
["STR_ExAd_SB_APP_CB_HIDE_EXILE_SB", "Hide Exile Status bar"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_BG_COLOR", "Background Color"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_POS_SIZE", "Position/Size"],
|
||||||
|
["STR_ExAd_SB_APP_COMBO_FONT", "Font"],
|
||||||
|
["STR_ExAd_SB_APP_COMBO_TOOLTIP_FONT", "Font"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_TEXT_COLOR", "Text Color"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_UPDATE_RATE", "Update Rate"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_TEXT_SIZE", "Text Size"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_TEXT_MARGIN", "Margin"],
|
||||||
|
["STR_ExAd_SB_APP_SLIDER_TEXT_PADDING", "Padding"],
|
||||||
|
["STR_ExAd_SB_APP_BTN_SHOW", "Show"],
|
||||||
|
["STR_ExAd_SB_APP_BTN_HIDE", "Hide"]
|
||||||
|
];
|
||||||
|
|
||||||
ExAd_SB_Update_Rate = profileNamespace getVariable ["ExAd_SB_Update_Rate", 1];
|
ExAd_SB_Update_Rate = profileNamespace getVariable ["ExAd_SB_Update_Rate", 1];
|
||||||
ExAd_SB_Active = profileNamespace getVariable ["ExAd_SB_Active", true];
|
ExAd_SB_Active = profileNamespace getVariable ["ExAd_SB_Active", true];
|
||||||
|
|
||||||
ExAd_SB_GUI_POS = profileNamespace getVariable ["ExAd_SB_GUI_POS", [safeZoneX, safeZoneY + safeZoneH - 32 * pixelH, safeZoneW, 30 * pixelH]];
|
ExAd_SB_GUI_POS = profileNamespace getVariable ["ExAd_SB_GUI_POS", [safeZoneX, safeZoneY + safeZoneH - 32 * pixelH, safeZoneW, 30 * pixelH]];
|
||||||
ExAd_SB_GUI_TextColor = profileNamespace getVariable ["ExAd_SB_GUI_TextColor", [0,0,0,1]];
|
ExAd_SB_GUI_TextColor = profileNamespace getVariable ["ExAd_SB_GUI_TextColor", [1,1,1,1]];
|
||||||
ExAd_SB_GUI_BgColor = profileNamespace getVariable ["ExAd_SB_GUI_BgColor", [0.6,0.05,0,1]];
|
ExAd_SB_GUI_BgColor = profileNamespace getVariable ["ExAd_SB_GUI_BgColor", [0,0,0,0]];
|
||||||
|
|
||||||
ExAd_SB_Text_Margin = profileNamespace getVariable ["ExAd_SB_Text_Margin", " "];
|
ExAd_SB_Text_Margin = profileNamespace getVariable ["ExAd_SB_Text_Margin", " "];
|
||||||
ExAd_SB_Text_InnerMargin = profileNamespace getVariable ["ExAd_SB_Text_InnerMargin", ""];
|
ExAd_SB_Text_InnerMargin = profileNamespace getVariable ["ExAd_SB_Text_InnerMargin", ""];
|
||||||
@ -52,20 +85,20 @@ ExAd_SB_Text_Font = profileNamespace getVariable ["ExAd_SB_Text_Font", "Orbitron
|
|||||||
ExAd_SB_Text_Align = profileNamespace getVariable ["ExAd_SB_Text_Align", "center"];
|
ExAd_SB_Text_Align = profileNamespace getVariable ["ExAd_SB_Text_Align", "center"];
|
||||||
ExAd_SB_Text_Size = profileNamespace getVariable ["ExAd_SB_Text_Size", 1];
|
ExAd_SB_Text_Size = profileNamespace getVariable ["ExAd_SB_Text_Size", 1];
|
||||||
|
|
||||||
ExAd_SB_Show_KD = profileNamespace getVariable ["ExAd_SB_Show_KD", true];
|
ExAd_SB_Show_KD = profileNamespace getVariable ["ExAd_SB_Show_KD", false];
|
||||||
ExAd_SB_Show_HP = profileNamespace getVariable ["ExAd_SB_Show_HP", true];
|
ExAd_SB_Show_HP = profileNamespace getVariable ["ExAd_SB_Show_HP", true];
|
||||||
ExAd_SB_Show_Thirst = profileNamespace getVariable ["ExAd_SB_Show_Thirst", true];
|
ExAd_SB_Show_Thirst = profileNamespace getVariable ["ExAd_SB_Show_Thirst", false];
|
||||||
ExAd_SB_Show_Hunger = profileNamespace getVariable ["ExAd_SB_Show_Hunger", true];
|
ExAd_SB_Show_Hunger = profileNamespace getVariable ["ExAd_SB_Show_Hunger", false];
|
||||||
ExAd_SB_Show_Wallet = profileNamespace getVariable ["ExAd_SB_Show_Wallet", true];
|
ExAd_SB_Show_Wallet = profileNamespace getVariable ["ExAd_SB_Show_Wallet", true];
|
||||||
ExAd_SB_Show_Bank = profileNamespace getVariable ["ExAd_SB_Show_Bank", true];
|
ExAd_SB_Show_Bank = profileNamespace getVariable ["ExAd_SB_Show_Bank", false];
|
||||||
ExAd_SB_Show_Respect = profileNamespace getVariable ["ExAd_SB_Show_Respect", true];
|
ExAd_SB_Show_Respect = profileNamespace getVariable ["ExAd_SB_Show_Respect", false];
|
||||||
ExAd_SB_Show_FPS = profileNamespace getVariable ["ExAd_SB_Show_FPS", true];
|
ExAd_SB_Show_FPS = profileNamespace getVariable ["ExAd_SB_Show_FPS", true];
|
||||||
ExAd_SB_Show_Time = profileNamespace getVariable ["ExAd_SB_Show_Time", true];
|
ExAd_SB_Show_Time = profileNamespace getVariable ["ExAd_SB_Show_Time", true];
|
||||||
ExAd_SB_Show_Temp = profileNamespace getVariable ["ExAd_SB_Show_Temp", true];
|
ExAd_SB_Show_Temp = profileNamespace getVariable ["ExAd_SB_Show_Temp", true];
|
||||||
ExAd_SB_Show_Grid = profileNamespace getVariable ["ExAd_SB_Show_Grid", true];
|
ExAd_SB_Show_Grid = profileNamespace getVariable ["ExAd_SB_Show_Grid", true];
|
||||||
ExAd_SB_Show_Compass = profileNamespace getVariable ["ExAd_SB_Show_Compass", true];
|
ExAd_SB_Show_Compass = profileNamespace getVariable ["ExAd_SB_Show_Compass", true];
|
||||||
ExAd_SB_Show_PlayerCount = profileNamespace getVariable ["ExAd_SB_Show_PlayerCount", true];
|
ExAd_SB_Show_PlayerCount = profileNamespace getVariable ["ExAd_SB_Show_PlayerCount", true];
|
||||||
ExAd_SB_Show_ClanCount = profileNamespace getVariable ["ExAd_SB_Show_ClanCount", true];
|
ExAd_SB_Show_ClanCount = profileNamespace getVariable ["ExAd_SB_Show_ClanCount", false];
|
||||||
|
|
||||||
ExAd_SB_COMPONENTS_ACTIVE_COLORS = profileNamespace getVariable ["ExAd_SB_COMPONENTS_ACTIVE_COLORS", true];
|
ExAd_SB_COMPONENTS_ACTIVE_COLORS = profileNamespace getVariable ["ExAd_SB_COMPONENTS_ACTIVE_COLORS", true];
|
||||||
ExAd_SB_EXILE_HUD_ACTIVE = profileNamespace getVariable ["ExAd_SB_EXILE_HUD_ACTIVE", true];
|
ExAd_SB_EXILE_HUD_ACTIVE = profileNamespace getVariable ["ExAd_SB_EXILE_HUD_ACTIVE", true];
|
||||||
@ -73,7 +106,8 @@ ExAd_SB_EXILE_HUD_ACTIVE = profileNamespace getVariable ["ExAd_SB_EXILE_HUD_ACTI
|
|||||||
if(!ExAd_SB_Active)exitWith{false};
|
if(!ExAd_SB_Active)exitWith{false};
|
||||||
|
|
||||||
[] spawn {
|
[] spawn {
|
||||||
waituntil {!isnil "bis_fnc_init" && !isNull findDisplay 46 && alive player && ExileClientLoadedIn};
|
waituntil { !isnil "bis_fnc_init" && !isNull findDisplay 46 && alive player && !isNil "ExileClientLoadedIn" };
|
||||||
|
waitUntil { ExileClientLoadedIn };
|
||||||
|
|
||||||
call ExAd_fnc_loadSB;
|
call ExAd_fnc_loadSB;
|
||||||
|
|
||||||
|
@ -1,75 +0,0 @@
|
|||||||
ExAd_SB_fnc_prepareSlider = {
|
|
||||||
params["_ctrl","_range","_pos"];
|
|
||||||
_ctrl sliderSetRange _range;
|
|
||||||
_ctrl sliderSetSpeed [500, 500];
|
|
||||||
_ctrl sliderSetPosition _pos;
|
|
||||||
};
|
|
||||||
|
|
||||||
ExAd_SB_fnc_updateStatsBar = {
|
|
||||||
_display = uiNameSpace getVariable ["ExAd_STATSBAR",displayNull];
|
|
||||||
_statsBarCtrl = _display displayCtrl ExAd_SB_Dialog_CtrlBar_IDC;
|
|
||||||
|
|
||||||
_statsBarCtrl ctrlSetPosition ExAd_SB_GUI_POS;
|
|
||||||
_statsBarCtrl ctrlSetBackgroundColor ExAd_SB_GUI_BgColor;
|
|
||||||
_statsBarCtrl ctrlSetTextColor ExAd_SB_GUI_TextColor;
|
|
||||||
_statsBarCtrl ctrlCommit 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
ExAd_SB_fnc_createSpace = {
|
|
||||||
params["_size"];
|
|
||||||
_response = "";
|
|
||||||
for "_i" from 0 to _size do {
|
|
||||||
_response = format["%1 ",_response]
|
|
||||||
};
|
|
||||||
_response
|
|
||||||
};
|
|
||||||
|
|
||||||
ExAd_SB_fnc_save = {
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Update_Rate", ExAd_SB_Update_Rate];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Active", ExAd_SB_Active];
|
|
||||||
|
|
||||||
profileNamespace setVariable ["ExAd_SB_GUI_POS", ExAd_SB_GUI_POS];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_GUI_TextColor", ExAd_SB_GUI_TextColor];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_GUI_BgColor", ExAd_SB_GUI_BgColor];
|
|
||||||
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Text_Margin", ExAd_SB_Text_Margin];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Text_InnerMargin", ExAd_SB_Text_InnerMargin];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Text_Font", ExAd_SB_Text_Font];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Text_Align", ExAd_SB_Text_Align];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Text_Size", ExAd_SB_Text_Size];
|
|
||||||
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_KD", ExAd_SB_Show_KD];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_HP", ExAd_SB_Show_HP];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Thirst", ExAd_SB_Show_Thirst];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Hunger", ExAd_SB_Show_Hunger];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Wallet", ExAd_SB_Show_Wallet];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Bank", ExAd_SB_Show_Bank];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Respect", ExAd_SB_Show_Respect];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_FPS", ExAd_SB_Show_FPS];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Time", ExAd_SB_Show_Time];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Temp", ExAd_SB_Show_Temp];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Grid", ExAd_SB_Show_Grid];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_Compass", ExAd_SB_Show_Compass];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_PlayerCount", ExAd_SB_Show_PlayerCount];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_Show_ClanCount", ExAd_SB_Show_ClanCount];
|
|
||||||
|
|
||||||
profileNamespace setVariable ["ExAd_SB_COMPONENTS_ACTIVE_COLORS", ExAd_SB_COMPONENTS_ACTIVE_COLORS];
|
|
||||||
profileNamespace setVariable ["ExAd_SB_EXILE_HUD_ACTIVE", ExAd_SB_EXILE_HUD_ACTIVE];
|
|
||||||
};
|
|
||||||
|
|
||||||
ExAd_SB_fnc_stop = {
|
|
||||||
//101 cutRsc ["Default", "PLAIN", 0];
|
|
||||||
101 cutText ["", "PLAIN"];
|
|
||||||
[ExAd_SB_Thread] call ExileClient_system_thread_removeTask;
|
|
||||||
};
|
|
||||||
|
|
||||||
ExAd_SB_fnc_powerToggle = {
|
|
||||||
if(ExAd_SB_Active)then{
|
|
||||||
call ExAd_SB_fnc_stop
|
|
||||||
}else{
|
|
||||||
call ExAd_fnc_loadSB
|
|
||||||
};
|
|
||||||
ExAd_SB_Active = !ExAd_SB_Active;
|
|
||||||
(_this select 0) ctrlSetText (if(!ExAd_SB_Active)then{"Start"}else{"Stop"});
|
|
||||||
call ExAd_SB_fnc_thread;
|
|
||||||
};
|
|
@ -36,7 +36,7 @@ _rightCbStr = _rightCol + _cbW;
|
|||||||
|
|
||||||
_slideClass = "ExAd_SB";
|
_slideClass = "ExAd_SB";
|
||||||
|
|
||||||
[_display,_slide,([_slideClass,"backButton"] call ExAd_fnc_getNextIDC),[27 * _pW, 17 * _pH, 6 * _pW, 1 * _pH],'["extraApps", 1] call ExileClient_gui_xm8_slide;',"Go Back"] call ExAd_fnc_createButton;
|
[_display,_slide,([_slideClass,"backButton"] call ExAd_fnc_getNextIDC),[27 * _pW, 17 * _pH, 6 * _pW, 1 * _pH],'["extraApps", 1] call ExileClient_gui_xm8_slide;',STR_ExAd_SB_APP_GO_BACK] call ExAd_fnc_createButton;
|
||||||
|
|
||||||
|
|
||||||
_newParent = [_display,_slide,([_slideClass,"ctrlGrp"] call ExAd_fnc_getNextIDC),[0, _cbCompTop, 34 * _pW, 16 * _pH]] call ExAd_fnc_createCtrlGrp;
|
_newParent = [_display,_slide,([_slideClass,"ctrlGrp"] call ExAd_fnc_getNextIDC),[0, _cbCompTop, 34 * _pW, 16 * _pH]] call ExAd_fnc_createCtrlGrp;
|
||||||
@ -46,53 +46,53 @@ _newParent ctrlEnable true;
|
|||||||
//First col
|
//First col
|
||||||
_cbStrAlign = "left"; _titleStrAlign = "center"; _cbStrTextColor = "#ffffff"; _cbStrTextFont = "PuristaMedium"; _cbStrTextSize = 1;
|
_cbStrAlign = "left"; _titleStrAlign = "center"; _cbStrTextColor = "#ffffff"; _cbStrTextFont = "PuristaMedium"; _cbStrTextSize = 1;
|
||||||
_cbKD = [_display,_newParent,([_slideClass,"cbShowKD"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop, _cbW, _cbH],"ExAd_SB_Show_KD = !ExAd_SB_Show_KD",""] call ExAd_fnc_createCheckBox;
|
_cbKD = [_display,_newParent,([_slideClass,"cbShowKD"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop, _cbW, _cbH],"ExAd_SB_Show_KD = !ExAd_SB_Show_KD",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowKD"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop, _cbStrW, _rowH],"Kill/Death Ratio",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowKD"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_KD,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbHP = [_display,_newParent,([_slideClass,"cbShowHP"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 1, _cbW, _cbH],"ExAd_SB_Show_HP = !ExAd_SB_Show_HP",""] call ExAd_fnc_createCheckBox;
|
_cbHP = [_display,_newParent,([_slideClass,"cbShowHP"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 1, _cbW, _cbH],"ExAd_SB_Show_HP = !ExAd_SB_Show_HP",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowHP"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 1, _cbStrW, _rowH],"Health",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowHP"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 1, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_HP,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbThirst = [_display,_newParent,([_slideClass,"cbShowThirst"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 2, _cbW, _cbH],"ExAd_SB_Show_Thirst = !ExAd_SB_Show_Thirst",""] call ExAd_fnc_createCheckBox;
|
_cbThirst = [_display,_newParent,([_slideClass,"cbShowThirst"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 2, _cbW, _cbH],"ExAd_SB_Show_Thirst = !ExAd_SB_Show_Thirst",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowThirst"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 2, _cbStrW, _rowH],"Thirst",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowThirst"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 2, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_THIRST,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbHunger = [_display,_newParent,([_slideClass,"cbShowHunger"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 3, _cbW, _cbH],"ExAd_SB_Show_Hunger = !ExAd_SB_Show_Hunger",""] call ExAd_fnc_createCheckBox;
|
_cbHunger = [_display,_newParent,([_slideClass,"cbShowHunger"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 3, _cbW, _cbH],"ExAd_SB_Show_Hunger = !ExAd_SB_Show_Hunger",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowHunger"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 3, _cbStrW, _rowH],"Hunger",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowHunger"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 3, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_HUNGER,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbWallet = [_display,_newParent,([_slideClass,"cbShowWallet"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 4, _cbW, _cbH],"ExAd_SB_Show_Wallet = !ExAd_SB_Show_Wallet",""] call ExAd_fnc_createCheckBox;
|
_cbWallet = [_display,_newParent,([_slideClass,"cbShowWallet"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 4, _cbW, _cbH],"ExAd_SB_Show_Wallet = !ExAd_SB_Show_Wallet",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowWallet"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 4, _cbStrW, _rowH],"POP TABS in wallet",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowWallet"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 4, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_WALLET,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbBank = [_display,_newParent,([_slideClass,"cbShowBank"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 5, _cbW, _cbH],"ExAd_SB_Show_Bank = !ExAd_SB_Show_Bank",""] call ExAd_fnc_createCheckBox;
|
_cbBank = [_display,_newParent,([_slideClass,"cbShowBank"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 5, _cbW, _cbH],"ExAd_SB_Show_Bank = !ExAd_SB_Show_Bank",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowBank"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 5, _cbStrW, _rowH],"POP TABS in bank",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowBank"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 5, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_BANK,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbRespect = [_display,_newParent,([_slideClass,"cbShowRespect"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 6, _cbW, _cbH],"ExAd_SB_Show_Respect = !ExAd_SB_Show_Respect",""] call ExAd_fnc_createCheckBox;
|
_cbRespect = [_display,_newParent,([_slideClass,"cbShowRespect"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 6, _cbW, _cbH],"ExAd_SB_Show_Respect = !ExAd_SB_Show_Respect",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowRespect"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 6, _cbStrW, _rowH],"Respect",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowRespect"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 6, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_RESPECT,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbColor = [_display,_newParent,([_slideClass,"cbShowColor"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 7, _cbW, _cbH],"ExAd_SB_COMPONENTS_ACTIVE_COLORS = !ExAd_SB_COMPONENTS_ACTIVE_COLORS",""] call ExAd_fnc_createCheckBox;
|
_cbColor = [_display,_newParent,([_slideClass,"cbShowColor"] call ExAd_fnc_getNextIDC),[_leftCol, _cbCompTop + _rowH * 7, _cbW, _cbH],"ExAd_SB_COMPONENTS_ACTIVE_COLORS = !ExAd_SB_COMPONENTS_ACTIVE_COLORS",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowColor"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 7, _cbStrW, _rowH],"Use color indications",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowColor"] call ExAd_fnc_getNextIDC),[_cbStr, _cbCompTop + _rowH * 7, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_COLORS,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
//Second col
|
//Second col
|
||||||
_cbFPS = [_display,_newParent,([_slideClass,"cbShowFPS"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop, _cbW, _cbH],"ExAd_SB_Show_FPS = !ExAd_SB_Show_FPS",""] call ExAd_fnc_createCheckBox;
|
_cbFPS = [_display,_newParent,([_slideClass,"cbShowFPS"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop, _cbW, _cbH],"ExAd_SB_Show_FPS = !ExAd_SB_Show_FPS",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowFPS"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop, _cbStrW, _rowH],"FPS",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowFPS"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_FPS,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbTime = [_display,_newParent,([_slideClass,"cbShowTime"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 1, _cbW, _cbH],"ExAd_SB_Show_Time = !ExAd_SB_Show_Time",""] call ExAd_fnc_createCheckBox;
|
_cbTime = [_display,_newParent,([_slideClass,"cbShowTime"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 1, _cbW, _cbH],"ExAd_SB_Show_Time = !ExAd_SB_Show_Time",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowTime"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 1, _cbStrW, _rowH],"Restart time",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowTime"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 1, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_TIMER,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbTemp = [_display,_newParent,([_slideClass,"cbShowTemp"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 2, _cbW, _cbH],"ExAd_SB_Show_Temp = !ExAd_SB_Show_Temp",""] call ExAd_fnc_createCheckBox;
|
_cbTemp = [_display,_newParent,([_slideClass,"cbShowTemp"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 2, _cbW, _cbH],"ExAd_SB_Show_Temp = !ExAd_SB_Show_Temp",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowTemp"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 2, _cbStrW, _rowH],"Body Temperature",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowTemp"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 2, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_TEMP,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbGrid = [_display,_newParent,([_slideClass,"cbShowGrid"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 3, _cbW, _cbH],"ExAd_SB_Show_Grid = !ExAd_SB_Show_Grid",""] call ExAd_fnc_createCheckBox;
|
_cbGrid = [_display,_newParent,([_slideClass,"cbShowGrid"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 3, _cbW, _cbH],"ExAd_SB_Show_Grid = !ExAd_SB_Show_Grid",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowGrid"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 3, _cbStrW, _rowH],"Grid location",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowGrid"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 3, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_GRID,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbCompass = [_display,_newParent,([_slideClass,"cbShowCompass"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 4, _cbW, _cbH],"ExAd_SB_Show_Compass = !ExAd_SB_Show_Compass",""] call ExAd_fnc_createCheckBox;
|
_cbCompass = [_display,_newParent,([_slideClass,"cbShowCompass"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 4, _cbW, _cbH],"ExAd_SB_Show_Compass = !ExAd_SB_Show_Compass",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowCompass"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 4, _cbStrW, _rowH],"Compass",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowCompass"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 4, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_COMPASS,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbPlayers = [_display,_newParent,([_slideClass,"cbShowPlayers"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 5, _cbW, _cbH],"ExAd_SB_Show_PlayerCount = !ExAd_SB_Show_PlayerCount",""] call ExAd_fnc_createCheckBox;
|
_cbPlayers = [_display,_newParent,([_slideClass,"cbShowPlayers"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 5, _cbW, _cbH],"ExAd_SB_Show_PlayerCount = !ExAd_SB_Show_PlayerCount",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowPlayers"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 5, _cbStrW, _rowH],"Players online",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowPlayers"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 5, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_PLAYERS,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbClan = [_display,_newParent,([_slideClass,"cbShowClan"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 6, _cbW, _cbH],"ExAd_SB_Show_ClanCount = !ExAd_SB_Show_ClanCount",""] call ExAd_fnc_createCheckBox;
|
_cbClan = [_display,_newParent,([_slideClass,"cbShowClan"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 6, _cbW, _cbH],"ExAd_SB_Show_ClanCount = !ExAd_SB_Show_ClanCount",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowClan"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 6, _cbStrW, _rowH],"Family members online",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowClan"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 6, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_CLAN_MEMBERS,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbHUD = [_display,_newParent,([_slideClass,"cbShowHUD"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 7, _cbW, _cbH],"ExAd_SB_EXILE_HUD_ACTIVE = !ExAd_SB_EXILE_HUD_ACTIVE;call ExAd_fnc_toggleExileHUD",""] call ExAd_fnc_createCheckBox;
|
_cbHUD = [_display,_newParent,([_slideClass,"cbShowHUD"] call ExAd_fnc_getNextIDC),[_rightCol, _cbCompTop + _rowH * 7, _cbW, _cbH],"ExAd_SB_EXILE_HUD_ACTIVE = !ExAd_SB_EXILE_HUD_ACTIVE;call ExAd_fnc_toggleExileHUD",""] call ExAd_fnc_createCheckBox;
|
||||||
[_display,_newParent,([_slideClass,"strTxtShowHUD"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 7, _cbStrW, _rowH],"Hide Exile Status bar",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtShowHUD"] call ExAd_fnc_getNextIDC),[_rightCbStr, _cbCompTop + _rowH * 7, _cbStrW, _rowH],STR_ExAd_SB_APP_CB_HIDE_EXILE_SB,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
_cbKD cbSetChecked ExAd_SB_Show_KD;
|
_cbKD cbSetChecked ExAd_SB_Show_KD;
|
||||||
_cbHP cbSetChecked ExAd_SB_Show_HP;
|
_cbHP cbSetChecked ExAd_SB_Show_HP;
|
||||||
@ -115,7 +115,7 @@ _cbHUD cbSetChecked !ExAd_SB_EXILE_HUD_ACTIVE;
|
|||||||
|
|
||||||
//Setup sliders
|
//Setup sliders
|
||||||
_cbW = _cbW + 0.5 * _pW; _scale = 0.5; _margin = (_rowH * _scale / 2); _bgCompTop = _cbCompTop + _rowH * 9;
|
_cbW = _cbW + 0.5 * _pW; _scale = 0.5; _margin = (_rowH * _scale / 2); _bgCompTop = _cbCompTop + _rowH * 9;
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleBgColor"] call ExAd_fnc_getNextIDC),[_leftCol, _bgCompTop, _leftColW, _rowH],"Background Color",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleBgColor"] call ExAd_fnc_getNextIDC),[_leftCol, _bgCompTop, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_BG_COLOR,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtSliderR"] call ExAd_fnc_getNextIDC),[_leftCol, _bgCompTop + _rowH * 1, _cbW, _cbH],"R",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtSliderR"] call ExAd_fnc_getNextIDC),[_leftCol, _bgCompTop + _rowH * 1, _cbW, _cbH],"R",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderR = [_display,_newParent,([_slideClass,"sliderR"] call ExAd_fnc_getNextIDC),[_cbStr, _bgCompTop + _rowH * 1 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderR = [_display,_newParent,([_slideClass,"sliderR"] call ExAd_fnc_getNextIDC),[_cbStr, _bgCompTop + _rowH * 1 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
@ -130,7 +130,7 @@ _sliderB = [_display,_newParent,([_slideClass,"sliderB"] call ExAd_fnc_getNextID
|
|||||||
_sliderA = [_display,_newParent,([_slideClass,"sliderA"] call ExAd_fnc_getNextIDC),[_cbStr, _bgCompTop + _rowH * 4 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderA = [_display,_newParent,([_slideClass,"sliderA"] call ExAd_fnc_getNextIDC),[_cbStr, _bgCompTop + _rowH * 4 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitlePos"] call ExAd_fnc_getNextIDC),[_rightCol, _bgCompTop, _leftColW, _rowH],"Position/Size",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitlePos"] call ExAd_fnc_getNextIDC),[_rightCol, _bgCompTop, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_POS_SIZE,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtSliderX"] call ExAd_fnc_getNextIDC),[_rightCol, _bgCompTop + _rowH * 1, _cbW, _cbH],"X",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtSliderX"] call ExAd_fnc_getNextIDC),[_rightCol, _bgCompTop + _rowH * 1, _cbW, _cbH],"X",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderX = [_display,_newParent,([_slideClass,"sliderX"] call ExAd_fnc_getNextIDC),[_rightCbStr, _bgCompTop + _rowH * 1 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderX = [_display,_newParent,([_slideClass,"sliderX"] call ExAd_fnc_getNextIDC),[_rightCbStr, _bgCompTop + _rowH * 1 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
@ -145,30 +145,30 @@ _sliderW = [_display,_newParent,([_slideClass,"sliderW"] call ExAd_fnc_getNextID
|
|||||||
_sliderH = [_display,_newParent,([_slideClass,"sliderH"] call ExAd_fnc_getNextIDC),[_rightCbStr, _bgCompTop + _rowH * 4 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderH = [_display,_newParent,([_slideClass,"sliderH"] call ExAd_fnc_getNextIDC),[_rightCbStr, _bgCompTop + _rowH * 4 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
|
|
||||||
[_sliderR,[0,1],ExAd_SB_GUI_BgColor select 0] call ExAd_SB_fnc_prepareSlider;
|
[_sliderR,[0,1],ExAd_SB_GUI_BgColor select 0] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderG,[0,1],ExAd_SB_GUI_BgColor select 1] call ExAd_SB_fnc_prepareSlider;
|
[_sliderG,[0,1],ExAd_SB_GUI_BgColor select 1] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderB,[0,1],ExAd_SB_GUI_BgColor select 2] call ExAd_SB_fnc_prepareSlider;
|
[_sliderB,[0,1],ExAd_SB_GUI_BgColor select 2] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderA,[0,1],ExAd_SB_GUI_BgColor select 3] call ExAd_SB_fnc_prepareSlider;
|
[_sliderA,[0,1],ExAd_SB_GUI_BgColor select 3] call ExAd_fnc_prepareSlider;
|
||||||
|
|
||||||
_sliderR ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [0, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderR ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [0, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderG ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [1, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderG ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [1, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderB ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [2, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderB ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [2, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderA ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [3, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderA ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_BgColor set [3, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
|
|
||||||
[_sliderX,[safeZoneX,safeZoneX + safeZoneW],ExAd_SB_GUI_POS select 0] call ExAd_SB_fnc_prepareSlider;
|
[_sliderX,[safeZoneX,safeZoneX + safeZoneW],ExAd_SB_GUI_POS select 0] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderY,[safeZoneY,safeZoneY + safeZoneH],ExAd_SB_GUI_POS select 1] call ExAd_SB_fnc_prepareSlider;
|
[_sliderY,[safeZoneY,safeZoneY + safeZoneH],ExAd_SB_GUI_POS select 1] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderW,[0,safeZoneW],ExAd_SB_GUI_POS select 2] call ExAd_SB_fnc_prepareSlider;
|
[_sliderW,[0,safeZoneW],ExAd_SB_GUI_POS select 2] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderH,[0,safeZoneH],ExAd_SB_GUI_POS select 3] call ExAd_SB_fnc_prepareSlider;
|
[_sliderH,[0,safeZoneH],ExAd_SB_GUI_POS select 3] call ExAd_fnc_prepareSlider;
|
||||||
|
|
||||||
_sliderX ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [0, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderX ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [0, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderY ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [1, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderY ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [1, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderW ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [2, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderW ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [2, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderH ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [3, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderH ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_POS set [3, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
|
|
||||||
//Text Font
|
//Text Font
|
||||||
_textCompTop = _bgCompTop + _rowH * 6;
|
_textCompTop = _bgCompTop + _rowH * 6;
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleTextFont"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop, _leftColW, _rowH],"Font",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleTextFont"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop, _leftColW, _rowH],STR_ExAd_SB_APP_COMBO_FONT,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_comboFont = [_display,_newParent,([_slideClass,"comboFont"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 1, _cbStrW, _rowH * 0.75],"ExAd_SB_Text_Font = ((_this select 0) lbData (_this select 1))","Font"] call ExAd_fnc_createCombo;
|
_comboFont = [_display,_newParent,([_slideClass,"comboFont"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 1, _cbStrW, _rowH * 0.75],"ExAd_SB_Text_Font = ((_this select 0) lbData (_this select 1))",STR_ExAd_SB_APP_COMBO_TOOLTIP_FONT] call ExAd_fnc_createCombo;
|
||||||
{
|
{
|
||||||
private["_index"];
|
private["_index"];
|
||||||
_index = _comboFont lbAdd _x;
|
_index = _comboFont lbAdd _x;
|
||||||
@ -182,7 +182,7 @@ for "_i" from 0 to lbSize _comboFont do {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleTextColor"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop, _leftColW, _rowH],"Text Color",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleTextColor"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_TEXT_COLOR,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtSliderFontR"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop + _rowH * 1, _cbW, _cbH],"R",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtSliderFontR"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop + _rowH * 1, _cbW, _cbH],"R",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderFontR = [_display,_newParent,([_slideClass,"sliderFontR"] call ExAd_fnc_getNextIDC),[_cbStr, _textCompTop + _rowH * 1 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderFontR = [_display,_newParent,([_slideClass,"sliderFontR"] call ExAd_fnc_getNextIDC),[_cbStr, _textCompTop + _rowH * 1 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
@ -196,43 +196,43 @@ _sliderFontB = [_display,_newParent,([_slideClass,"sliderFontB"] call ExAd_fnc_g
|
|||||||
[_display,_newParent,([_slideClass,"strTxtSliderFontA"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop + _rowH * 4, _cbW, _cbH],"A",_cbStrTextFont,_cbS6trTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtSliderFontA"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop + _rowH * 4, _cbW, _cbH],"A",_cbStrTextFont,_cbS6trTextSize,_cbStrTextColor,_cbStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderFontA = [_display,_newParent,([_slideClass,"sliderFontA"] call ExAd_fnc_getNextIDC),[_cbStr, _textCompTop + _rowH * 4 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderFontA = [_display,_newParent,([_slideClass,"sliderFontA"] call ExAd_fnc_getNextIDC),[_cbStr, _textCompTop + _rowH * 4 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleTextColor"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop + _rowH * 5, _leftColW, _rowH],"Update Rate",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleTextColor"] call ExAd_fnc_getNextIDC),[_leftCol, _textCompTop + _rowH * 5, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_UPDATE_RATE,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderUpdateRate = [_display,_newParent,([_slideClass,"sliderUpdateRate"] call ExAd_fnc_getNextIDC),[_cbStr, _textCompTop + _rowH * 6 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderUpdateRate = [_display,_newParent,([_slideClass,"sliderUpdateRate"] call ExAd_fnc_getNextIDC),[_cbStr, _textCompTop + _rowH * 6 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleTextSize"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 2, _leftColW, _rowH],"Text size",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleTextSize"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 2, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_TEXT_SIZE,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderTextSize = [_display,_newParent,([_slideClass,"sliderTextSize"] call ExAd_fnc_getNextIDC),[_rightCbStr, _textCompTop + _rowH * 3 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderTextSize = [_display,_newParent,([_slideClass,"sliderTextSize"] call ExAd_fnc_getNextIDC),[_rightCbStr, _textCompTop + _rowH * 3 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleTextSize"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 5, _leftColW, _rowH],"Margin",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleTextSize"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 5, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_TEXT_MARGIN,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderTextMargin = [_display,_newParent,([_slideClass,"sliderTextMargin"] call ExAd_fnc_getNextIDC),[_rightCbStr, _textCompTop + _rowH * 6 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderTextMargin = [_display,_newParent,([_slideClass,"sliderTextMargin"] call ExAd_fnc_getNextIDC),[_rightCbStr, _textCompTop + _rowH * 6 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"strTxtTitleTextSize"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 7, _leftColW, _rowH],"Padding",_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
[_display,_newParent,([_slideClass,"strTxtTitleTextSize"] call ExAd_fnc_getNextIDC),[_rightCol, _textCompTop + _rowH * 7, _leftColW, _rowH],STR_ExAd_SB_APP_SLIDER_TEXT_PADDING,_cbStrTextFont,_cbStrTextSize,_cbStrTextColor,_titleStrAlign,1] call ExAd_fnc_createStructuredText;
|
||||||
_sliderTextPadding = [_display,_newParent,([_slideClass,"sliderTextMargin"] call ExAd_fnc_getNextIDC),[_rightCbStr, _textCompTop + _rowH * 8 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
_sliderTextPadding = [_display,_newParent,([_slideClass,"sliderTextMargin"] call ExAd_fnc_getNextIDC),[_rightCbStr, _textCompTop + _rowH * 8 + _margin, _cbStrW, _rowH * _scale]] call ExAd_fnc_createXSliderH;
|
||||||
|
|
||||||
|
|
||||||
[_sliderFontR,[0,1],ExAd_SB_GUI_TextColor select 0] call ExAd_SB_fnc_prepareSlider;
|
[_sliderFontR,[0,1],ExAd_SB_GUI_TextColor select 0] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderFontG,[0,1],ExAd_SB_GUI_TextColor select 1] call ExAd_SB_fnc_prepareSlider;
|
[_sliderFontG,[0,1],ExAd_SB_GUI_TextColor select 1] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderFontB,[0,1],ExAd_SB_GUI_TextColor select 2] call ExAd_SB_fnc_prepareSlider;
|
[_sliderFontB,[0,1],ExAd_SB_GUI_TextColor select 2] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderFontA,[0,1],ExAd_SB_GUI_TextColor select 3] call ExAd_SB_fnc_prepareSlider;
|
[_sliderFontA,[0,1],ExAd_SB_GUI_TextColor select 3] call ExAd_fnc_prepareSlider;
|
||||||
|
|
||||||
_sliderFontR ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [0, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderFontR ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [0, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderFontG ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [1, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderFontG ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [1, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderFontB ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [2, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderFontB ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [2, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
_sliderFontA ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [3, _this select 1];call ExAd_SB_fnc_updateStatsBar"]];
|
_sliderFontA ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_GUI_TextColor set [3, _this select 1];call ExAd_fnc_updateSB"]];
|
||||||
|
|
||||||
|
|
||||||
[_sliderTextSize,[0,2],ExAd_SB_Text_Size] call ExAd_SB_fnc_prepareSlider;
|
[_sliderTextSize,[0,2],ExAd_SB_Text_Size] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderTextMargin,[0,5],count ExAd_SB_Text_Margin] call ExAd_SB_fnc_prepareSlider;
|
[_sliderTextMargin,[0,5],count ExAd_SB_Text_Margin] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderTextPadding,[0,5],count ExAd_SB_Text_InnerMargin] call ExAd_SB_fnc_prepareSlider;
|
[_sliderTextPadding,[0,5],count ExAd_SB_Text_InnerMargin] call ExAd_fnc_prepareSlider;
|
||||||
[_sliderUpdateRate,[1,60],60 / ExAd_SB_Update_Rate] call ExAd_SB_fnc_prepareSlider;
|
[_sliderUpdateRate,[1,60],60 / ExAd_SB_Update_Rate] call ExAd_fnc_prepareSlider;
|
||||||
|
|
||||||
_sliderTextSize ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Text_Size = _this select 1"]];
|
_sliderTextSize ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Text_Size = _this select 1"]];
|
||||||
_sliderTextMargin ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Text_Margin = [_this select 1] call ExAd_SB_fnc_createSpace"]];
|
_sliderTextMargin ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Text_Margin = [_this select 1] call ExAd_fnc_getBlankSpace"]];
|
||||||
_sliderTextPadding ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Text_InnerMargin = [_this select 1] call ExAd_SB_fnc_createSpace"]];
|
_sliderTextPadding ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Text_InnerMargin = [_this select 1] call ExAd_fnc_getBlankSpace"]];
|
||||||
_sliderUpdateRate ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Update_Rate = 60 / (_this select 1);if(ExAd_SB_Active)then{call ExAd_SB_fnc_stop; call ExAd_fnc_loadSB;call ExAd_fnc_sbThread}"]];
|
_sliderUpdateRate ctrlSetEventHandler ["SliderPosChanged", format["ExAd_SB_Update_Rate = 60 / (_this select 1);if(ExAd_SB_Active)then{call ExAd_fnc_sbStop; call ExAd_fnc_loadSB;call ExAd_fnc_sbThread}"]];
|
||||||
|
|
||||||
|
|
||||||
[_display,_newParent,([_slideClass,"btnSave"] call ExAd_fnc_getNextIDC),[_leftCol + (_leftColW / 9), _textCompTop + _rowH * 8, _leftColW / 3, _rowH],"call ExAd_SB_fnc_save","Save"] call ExAd_fnc_createButton;
|
[_display,_newParent,([_slideClass,"btnSave"] call ExAd_fnc_getNextIDC),[_leftCol + (_leftColW / 9), _textCompTop + _rowH * 8, _leftColW / 3, _rowH],"call ExAd_fnc_sbSave","Save"] call ExAd_fnc_createButton;
|
||||||
[_display,_newParent,([_slideClass,"btnOnOff"] call ExAd_fnc_getNextIDC),[_leftCol + (_leftColW / 2) + (_leftColW / 9), _textCompTop + _rowH * 8, _leftColW / 3, _rowH],"_this call ExAd_SB_fnc_powerToggle",(if(!ExAd_SB_Active)then{"Start"}else{"Stop"})] call ExAd_fnc_createButton;
|
[_display,_newParent,([_slideClass,"btnOnOff"] call ExAd_fnc_getNextIDC),[_leftCol + (_leftColW / 2) + (_leftColW / 9), _textCompTop + _rowH * 8, _leftColW / 3, _rowH],"_this call ExAd_fnc_sbPowerToggle",(if(!ExAd_SB_Active)then{STR_ExAd_SB_APP_BTN_SHOW}else{STR_ExAd_SB_APP_BTN_HIDE})] call ExAd_fnc_createButton;
|
||||||
|
|
||||||
true
|
true
|
@ -34,6 +34,8 @@ file = "ExAdClient\XM8\Functions";
|
|||||||
class createXList {};
|
class createXList {};
|
||||||
class createXSliderH {};
|
class createXSliderH {};
|
||||||
class getAppCtrl {};
|
class getAppCtrl {};
|
||||||
|
class getBlankSpace {};
|
||||||
class getNextIDC {};
|
class getNextIDC {};
|
||||||
|
class prepareSlider {};
|
||||||
class postInitXM8 {file = "ExAdClient\XM8\postInit.sqf"; postInit = 1;};
|
class postInitXM8 {file = "ExAdClient\XM8\postInit.sqf"; postInit = 1;};
|
||||||
};
|
};
|
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
fn_getBlankSpace.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.
|
||||||
|
*/
|
||||||
|
params["_size"];
|
||||||
|
_response = "";
|
||||||
|
for "_i" from 0 to _size do {
|
||||||
|
_response = format["%1 ",_response]
|
||||||
|
};
|
||||||
|
_response
|
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
fn_prepareSlider.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.
|
||||||
|
*/
|
||||||
|
params["_ctrl","_range","_pos"];
|
||||||
|
|
||||||
|
_ctrl sliderSetRange _range;
|
||||||
|
_ctrl sliderSetSpeed [500, 500];
|
||||||
|
_ctrl sliderSetPosition _pos;
|
||||||
|
|
||||||
|
true
|
@ -112,8 +112,93 @@
|
|||||||
<Key ID="STR_ExAd_HACKING_HINT_HACK_START">
|
<Key ID="STR_ExAd_HACKING_HINT_HACK_START">
|
||||||
<Original>A brute force hack is detected on the grid!</Original>
|
<Original>A brute force hack is detected on the grid!</Original>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="">
|
</Container>
|
||||||
<Original></Original>
|
</Package>
|
||||||
|
<Package name="StatsBar">
|
||||||
|
<Container name="App">
|
||||||
|
<Key ID="STR_ExAd_SB_APP_GO_BACK">
|
||||||
|
<Original>Go Back</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_KD">
|
||||||
|
<Original>Kill/Death Ratio</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_HP">
|
||||||
|
<Original>Health</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_THIRST">
|
||||||
|
<Original>Thirst</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_HUNGER">
|
||||||
|
<Original>Hunger</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_WALLET">
|
||||||
|
<Original>POP TABS in wallet</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_BANK">
|
||||||
|
<Original>POP TABS in bank</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_RESPECT">
|
||||||
|
<Original>Respect</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_COLORS">
|
||||||
|
<Original>Use color indications</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_FPS">
|
||||||
|
<Original>FPS</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_TIMER">
|
||||||
|
<Original>Restart time</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_TEMP">
|
||||||
|
<Original>Body Temperature</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_GRID">
|
||||||
|
<Original>Grid location</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_COMPASS">
|
||||||
|
<Original>Compass</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_PLAYERS">
|
||||||
|
<Original>Players online</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_CLAN_MEMBERS">
|
||||||
|
<Original>Family members online</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_CB_HIDE_EXILE_SB">
|
||||||
|
<Original>Hide Exile Status bar</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_BG_COLOR">
|
||||||
|
<Original>Background Color</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_POS_SIZE">
|
||||||
|
<Original>Position/Size</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_COMBO_FONT">
|
||||||
|
<Original>Font</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_COMBO_TOOLTIP_FONT">
|
||||||
|
<Original>Font</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_TEXT_COLOR">
|
||||||
|
<Original>Text Color</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_UPDATE_RATE">
|
||||||
|
<Original>Update Rate</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_TEXT_SIZE">
|
||||||
|
<Original>Text Size</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_TEXT_MARGIN">
|
||||||
|
<Original>Margin</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_SLIDER_TEXT_PADDING">
|
||||||
|
<Original>Padding</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_BTN_SHOW">
|
||||||
|
<Original>Show</Original>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_ExAd_SB_APP_BTN_HIDE">
|
||||||
|
<Original>Hide</Original>
|
||||||
</Key>
|
</Key>
|
||||||
</Container>
|
</Container>
|
||||||
</Package>
|
</Package>
|
||||||
|
Loading…
Reference in New Issue
Block a user