2016-06-29 22:32:57 +00:00
|
|
|
/*
|
|
|
|
defaultPos:
|
|
|
|
0 - top left
|
|
|
|
1 - top center
|
|
|
|
2 - top right
|
|
|
|
3 - mid left
|
|
|
|
4 - mid center
|
|
|
|
5 - mid right
|
|
|
|
6 - bottom left
|
|
|
|
7 - bottom center
|
|
|
|
8 - bottom right
|
|
|
|
|
|
|
|
defaultPopulate:
|
|
|
|
0 - right
|
|
|
|
1 - left
|
|
|
|
2 - down
|
|
|
|
3 - up
|
2017-10-17 19:23:07 +00:00
|
|
|
4 - horizontal grow (starts from center, evens on left, odds on right)
|
|
|
|
5 - vertical grow (same as above)
|
2016-06-29 22:32:57 +00:00
|
|
|
|
|
|
|
offSetX: Positive = right, Negative = left
|
|
|
|
offSetY: Positive = down, Negative = up
|
|
|
|
Offsets group of controls, unit measurement is width or height of group. The bigger the group the more it will be offset.
|
2016-08-08 19:45:39 +00:00
|
|
|
Offsets are optional, don't have to be included
|
2016-06-29 22:32:57 +00:00
|
|
|
|
|
|
|
classname:
|
|
|
|
https://community.bistudio.com/wiki/ctrlCreate/classnames
|
|
|
|
|
|
|
|
Obtaining Controls:
|
|
|
|
use epoch_getHUDCtrl function to obtain controls for manipulation
|
|
|
|
_name = Config name of your group
|
2016-11-09 20:23:41 +00:00
|
|
|
_index = each group hosts multiple elements, each element has it's index, starting from 1! Don't use 0 as it returns configName
|
2016-06-29 22:32:57 +00:00
|
|
|
[_ConfigName, _index] call epoch_getHUDCtrl;
|
|
|
|
["myHUDname", 3] call epoch_getHUDCtrl;
|
|
|
|
*/
|
2016-10-14 20:31:01 +00:00
|
|
|
/*[[[cog from arma_config_tools import *; json_to_arma()]]]*/
|
|
|
|
/*
|
|
|
|
@author = "Raimonds Virtoss - https://EpochMod.com";
|
|
|
|
@contributors[] = {};
|
|
|
|
@description = "Epoch dynamic player HUD config";
|
|
|
|
@licence = "Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike";
|
|
|
|
@github = "https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgDynamicHUD.hpp";
|
|
|
|
*/
|
2016-06-29 22:32:57 +00:00
|
|
|
class rmx_dynamicHUD
|
|
|
|
{
|
2016-10-14 20:31:01 +00:00
|
|
|
class topRight
|
|
|
|
{
|
2017-08-01 02:00:28 +00:00
|
|
|
classname = "RscPictureKeepAspect";
|
2016-10-14 20:31:01 +00:00
|
|
|
defaultPos = 2;
|
|
|
|
defaultPopulate = 1;
|
|
|
|
arraySize = 10;
|
|
|
|
width = 4;
|
|
|
|
height = 4;
|
|
|
|
offSetX = 0;
|
|
|
|
offSetY = 1.3;
|
|
|
|
angle[] = {-5,0.5,0.5,0.5};
|
|
|
|
scale[] = {1,0.05};
|
|
|
|
};
|
2017-08-01 02:00:28 +00:00
|
|
|
class fav_pic_bg
|
|
|
|
{
|
|
|
|
classname = "RscPictureKeepAspect";
|
|
|
|
defaultPos = 7;
|
|
|
|
defaultPopulate = 0;
|
|
|
|
arraySize = 5;
|
|
|
|
width = 4;
|
|
|
|
height = 4;
|
|
|
|
};
|
|
|
|
class fav_pic
|
|
|
|
{
|
|
|
|
classname = "RscPictureKeepAspect";
|
|
|
|
defaultPos = 7;
|
|
|
|
defaultPopulate = 0;
|
|
|
|
arraySize = 5;
|
|
|
|
width = 4;
|
|
|
|
height = 4;
|
|
|
|
};
|
|
|
|
class fav_equipped
|
2016-10-14 20:31:01 +00:00
|
|
|
{
|
|
|
|
classname = "RscPicture";
|
|
|
|
defaultPos = 7;
|
2017-08-01 02:00:28 +00:00
|
|
|
defaultPopulate = 0;
|
|
|
|
arraySize = 5;
|
|
|
|
width = 4;
|
|
|
|
height = 4;
|
|
|
|
};
|
|
|
|
class fav_keymap
|
|
|
|
{
|
|
|
|
classname = "fav_keymap";
|
|
|
|
defaultPos = 7;
|
|
|
|
defaultPopulate = 0;
|
|
|
|
arraySize = 5;
|
|
|
|
width = 4;
|
|
|
|
height = 1;
|
2016-10-14 20:31:01 +00:00
|
|
|
};
|
2017-10-17 19:23:07 +00:00
|
|
|
class geigerCounter
|
|
|
|
{
|
|
|
|
classname = "RscPicture";
|
|
|
|
defaultPos = 8;
|
|
|
|
defaultPopulate = 3;
|
|
|
|
arraySize = 8;
|
|
|
|
width = 10;
|
|
|
|
height = 2.5;
|
|
|
|
offSetX = -0.25;
|
|
|
|
offSetY = -1;
|
|
|
|
};
|
2016-08-08 19:45:39 +00:00
|
|
|
};
|
2016-10-14 20:31:01 +00:00
|
|
|
|
|
|
|
/*[[[end]]]*/
|