Merge new MultiPlayerSetup and autojoin

This commit is contained in:
ebaydayz
2016-03-30 17:01:28 -04:00
parent 77e760fe73
commit 69091965a1
19 changed files with 669 additions and 2367 deletions

View File

@@ -40,6 +40,7 @@ class horde_journal_front_cover
};
// buttons
class open_craft: RscIGUIShortcutButton {
idc = -1;
x = 0.48 * safezoneW + safezoneX;
@@ -47,6 +48,16 @@ class horde_journal_front_cover
text = $STR_UI_CRAFT_OPEN;
action = "closeDialog 0; createDialog 'RscDisplayCraftingMenu';";
};
/*
class open_Construction: RscIGUIShortcutButton {
idc = -1;
x = 0.48 * safezoneW + safezoneX;
y = 0.85 * safezoneH + safezoneY;
text = "Construction";
action = "closeDialog 0; createDialog 'RscDisplayConstructionMenu';";
};
*/
class open_book: horde_RscButton
{
idc = 1900;

View File

@@ -20,8 +20,9 @@ class Bag_Base_EP1 : ReammoBox_EP1 {
class DZ_Patrol_Pack_EP1: Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_PATROL;
scope = 2;
displayName = $STR_BACKPACK_NAME_PATROL;
descriptionShort = $STR_BACKPACK_DESC_PATROL;
picture = "\ca\weapons_e\data\icons\backpack_US_ASSAULT_COYOTE_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
mapsize = 2;
@@ -36,8 +37,9 @@ class DZ_Patrol_Pack_EP1: Bag_Base_EP1
class DZ_Assault_Pack_EP1: Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_ASSAULT;
scope = 2;
displayName = $STR_BACKPACK_NAME_ACU;
descriptionShort = $STR_BACKPACK_DESC_ACU;
picture = "\ca\weapons_e\data\icons\backpack_US_ASSAULT_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
mapSize = 2;
@@ -52,12 +54,13 @@ class DZ_Assault_Pack_EP1: Bag_Base_EP1
class DZ_Czech_Vest_Puch: Bag_Base_EP1
{
displayname = $STR_EPOCH_PACK_POUCH;
displayname = $STR_BACKPACK_NAME_VEST;
descriptionShort = $STR_BACKPACK_DESC_VEST;
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
mapsize = 2;
model = "\ca\weapons_e\AmmoBoxes\backpack_acr_small.p3d";
picture = "\ca\weapons_e\data\icons\backpack_ACR_small_CA.paa";
scope = public;
scope = 2;
transportmaxmagazines = 12;
transportmaxweapons = 0;
class eventHandlers
@@ -68,8 +71,9 @@ class DZ_Czech_Vest_Puch: Bag_Base_EP1
class DZ_ALICE_Pack_EP1: Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_ALICE;
scope = 2;
displayName = $STR_BACKPACK_NAME_ALICE;
descriptionShort = $STR_BACKPACK_DESC_ALICE;
picture = "\ca\weapons_e\data\icons\backpack_TK_ALICE_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
mapsize = 2;
@@ -84,8 +88,9 @@ class DZ_ALICE_Pack_EP1: Bag_Base_EP1
class DZ_TK_Assault_Pack_EP1 : Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_ACU;
scope = 2;
displayName = $STR_BACKPACK_NAME_SURVACU;
descriptionShort = $STR_BACKPACK_DESC_SURVACU;
mapSize = 2;
picture = "\ca\weapons_e\data\icons\backpack_CIVIL_ASSAULT_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
@@ -100,10 +105,11 @@ class DZ_TK_Assault_Pack_EP1 : Bag_Base_EP1
class DZ_British_ACU : Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_BAP;
scope = 2;
displayName = $STR_BACKPACK_NAME_BRITISH;
descriptionShort = $STR_BACKPACK_DESC_BRITISH;
mapSize = 2;
model = "\ca\weapons_baf\Backpack_Small_BAF";\
model = "\ca\weapons_baf\Backpack_Small_BAF";
picture = "\ca\weapons_baf\data\UI\backpack_BAF_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
transportMaxWeapons = 3;
@@ -116,8 +122,9 @@ class DZ_British_ACU : Bag_Base_EP1
class DZ_CivilBackpack_EP1: Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_CZECH;
scope = 2;
displayName = $STR_BACKPACK_NAME_CZECH;
descriptionShort = $STR_BACKPACK_DESC_CZECH;
picture = "\ca\weapons_e\data\icons\backpack_ACR_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
mapsize = 2;
@@ -132,8 +139,9 @@ class DZ_CivilBackpack_EP1: Bag_Base_EP1
class DZ_Backpack_EP1: Bag_Base_EP1
{
scope = public;
displayName = $STR_EPOCH_PACK_COYOTE;
scope = 2;
displayName = $STR_BACKPACK_NAME_COYOTE;
descriptionShort = $STR_BACKPACK_DESC_COYOTE;
picture = "\ca\weapons_e\data\icons\backpack_US_CA.paa";
icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";
mapsize = 2;

View File

@@ -1,3 +1,4 @@
class Man;
class CAManBase: Man
{

View File

@@ -1,17 +1,4 @@
class WeaponHolderBase: ReammoBox {
scope = private;
accuracy = 1000;
vehicleClass = "Survival";
displayName = "Weapon";
memoryPointSupply = "collect";
supplyRadius = 3;
transportMaxWeapons = 0;
transportMaxMagazines = 0;
transportMaxBackpacks = 0;
transportAmmo = 0;
transportRepair = 0;
transportFuel = 0;
};
class WeaponHolderBase;
class WoodenArrowF : WeaponHolderBase {
scope = public;
displayName = $STR_ITEMWOODENARROW_CODE_NAME;
@@ -24,7 +11,7 @@ class WoodenArrowF : WeaponHolderBase {
};
class WeaponHolder_ItemCrowbar: WeaponHolderBase
{
scope = public;
scope=2;
displayName=$STR_EQUIP_NAME_CROWBAR;
model="\dayz_equip\models\crowbar.p3d";
class eventHandlers
@@ -35,7 +22,7 @@ class WeaponHolder_ItemCrowbar: WeaponHolderBase
/*
class WeaponHolder_MeleeBaseBallBat: WeaponHolderBase
{
scope = public;
scope=2;
displayName=$STR_EQUIP_NAME_BASEBALLBAT;
model="\z\addons\dayz_communityassets\models\baseball_bat.p3d";
class eventHandlers
@@ -45,7 +32,7 @@ class WeaponHolder_MeleeBaseBallBat: WeaponHolderBase
};
class WeaponHolder_MeleeBatBarbed: WeaponHolderBase
{
scope = public;
scope=2;
displayName=$STR_CRAFT_NAME_BaseBallBatBarbed;
model="\z\addons\dayz_communityassets\models\baseball_bat.p3d";
class eventHandlers
@@ -55,7 +42,7 @@ class WeaponHolder_MeleeBatBarbed: WeaponHolderBase
};
class WeaponHolder_MeleeBaseBallBatNails: WeaponHolderBase
{
scope = public;
scope=2;
displayName=$STR_CRAFT_NAME_NailedBaseballBat;
model="\z\addons\dayz_communityassets\models\baseball_bat_nails.p3d";
class eventHandlers
@@ -66,7 +53,7 @@ class WeaponHolder_MeleeBaseBallBatNails: WeaponHolderBase
*/
class WeaponHolder_MeleeMachete: WeaponHolderBase
{
scope = public;
scope=2;
displayName=$STR_EQUIP_NAME_MACHETE;
model="\z\addons\dayz_communityassets\models\machete.p3d";
class eventHandlers

View File

@@ -252,7 +252,6 @@ class CfgWeapons
#include "Tools\Flashlight.hpp"
#include "Tools\FlashlightRed.hpp"
#include "Item\Flare.hpp"
#include "Item\ItemKeyKit.hpp"
#include "Item\ItemKeys.hpp"

View File

@@ -1,36 +0,0 @@
class Flare : GrenadeLauncher {
class ThrowMuzzle;
class MolotovCocktailMuzzle : ThrowMuzzle {
displayName = $STR_ACTION_THROW;
magazines[] = {
"TrashJackDaniels",
"ItemSodaEmpty",
"TrashTinCan",
"FoodCanGriffEmpty",
"FoodCanBadguyEmpty",
"FoodCanBoneboyEmpty",
"FoodCanCornEmpty",
"FoodCanCurgonEmpty",
"FoodCanDemonEmpty",
"FoodCanFraggleosEmpty",
"FoodCanHerpyEmpty",
"FoodCanOrlokEmpty",
"FoodCanPowellEmpty",
"FoodCanTylersEmpty",
"FoodCanUnlabeledEmpty",
"ItemSodaCokeEmpty",
"ItemSodaPepsiEmpty",
"ItemSodaMdewEmpty",
"ItemSodaMtngreenEmpty",
"ItemSodaR4z0rEmpty",
"ItemSodaClaysEmpty",
"ItemSodaSmashtEmpty",
"ItemSodaDrwasteEmpty",
"ItemSodaLemonadeEmpty",
"ItemSodaLvgEmpty",
"ItemSodaMzlyEmpty",
"ItemSodaRabbitEmpty",
"ItemTrashToiletpaper"
};
};
};

View File

@@ -2,54 +2,35 @@ class Loot: Default
{
scope = public;
value = 0;
type = 0;
type = WeaponNoSlot;
displayName = "Use";
canDrop = 0;
muzzles[] = {"this"};
magazines[] = {
"ItemSepsisBandage",
"FoodBioMeat",
"ItemZombieParts",
canDrop = false;
muzzles[] = {this};
modes[] = {this};
useAction = false;
useActionTitle = "";
enableAttack = false;
showToPlayer = false;
//Insert here magazines to show up as "Take x" in action menu
magazines[] =
{
//medical
"ItemBandage",
"ItemSepsisBandage",
"ItemPainkiller",
"ItemMorphine",
"ItemAntibiotic",
"ItemHeatPack",
"PartWoodPile",
"PartFueltank",
"ItemEpinephrine"
//vehicle parts
/*"PartFueltank",
"PartWheel",
"PartGeneric",
"PartEngine",
"PartVRotor",
"PartGlass",
"ItemWaterbottle",
"ItemWaterbottleUnfilled",
"ItemEpinephrine",
"ItemGoldBar",
"ItemSilverBar",
"ItemMorphine",
"ItemBloodbag",
"ItemAntibiotic",
"ItemPainkiller",
"ItemJerrycan",
"ItemOilBarrel",
"ItemGenerator",
"ItemTent",
"ItemSandbag",
"ItemTankTrap",
"ItemWire",
"FoodSteakRaw",
"TrashTinCan",
"ItemSodaCoke",
"ItemSodaPepsi",
"ItemSodaMdew",
"FoodEdible",
"FoodBeefCooked",
"FoodCanBakedBeans",
"FoodCanSardines",
"FoodCanFrankBeans",
"FoodCanPasta"
"ItemJerrycan",*/
};
modes[] = {"this"};
useAction = 0;
useActionTitle = "";
enableAttack = 0;
showToPlayer = 0;
};

View File

@@ -1,115 +0,0 @@
;
; Created exclusively for ArmA2:OA - DayZMod.
; Please request permission to use/alter/distribute from project leader (R4Z0R49) AND the author (DayZDev@Skaronator.com)
;
titleCut ["", "BLACK FADED", 0];
showCinemaBorder false
0 fadeMusic 0;
playMusic ["dayz_track_death_1",16];
5 fadeMusic 0.5;
skipTime random 9;
0 setOvercast random 0.85;
~0.01
"colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.81, 0.81, 0.883, 0.6],[0.099, 0.487, 0.014, 0.0]]; "colorCorrections" ppEffectCommit 0; "colorCorrections" ppEffectEnable true;
"filmGrain" ppEffectEnable true;
"filmGrain" ppEffectAdjust [0.04, 1, 1, 0.1, 1, false];
"filmGrain" ppEffectCommit 0;
"radialBlur" ppEffectEnable false;
"wetDistortion" ppEffectEnable false;
"chromAberration" ppEffectEnable false;
"dynamicBlur" ppEffectEnable false;
_camera = "camera" camCreate [12222.323, 3415.7791, -0.059190542]
;##################1 - 1. Point
_camera camPrepareTarget [6433.5786, 2648.6802, 37.057621]
_camera camPrepareFOV 0.700
_camera camCommand "intertia on"
_camera cameraEffect ["internal","back"]
_camera camPrepareTarget [6433.5786, 2548.6802, 37.057621]
_camera camPreparePos [6703.0737, 2325.9983, 0.4]
_camera camPreload 15
#loop
camPreloaded _camera
_camera camCommitPrepared 0
titleCut ["", "BLACK IN", 5];
;##################1 - 2. Point
_camera camPrepareTarget [6786.1255, 2481.9768, 28.410231]
_camera camPreparePos [6681.1963, 2348.0803, 7]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 30
~15
;##################2 - 1. Point
_camera camPrepareTarget [5210.0571, 7646.0366, 9.1552734e-005]
_camera camPreparePos [5219.0688, 7613.1143, 1]
_camera camPrepareFOV 0.700
_camera camPreload 15
~10
titleCut ["", "BLACK OUT", 5];
~5
_camera camCommitPrepared 0
titleCut ["", "BLACK IN", 5];
;##################2 - 2. Point
_camera camPrepareTarget [5210.0571, 7646.0366, 9.1552734e-005]
_camera camPreparePos [5236.7905, 7636.2803, 8.8136444]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 30
~15
;##################3 - 1. Point
_camera camPrepareTarget [4653.6475, 9595.6875, 6.1035156e-005]
_camera camPreparePos [4572.0542, 9593.2588, 4]
_camera camPrepareFOV 0.700
_camera camPreload 15
~10
titleCut ["", "BLACK OUT", 5];
~5
_camera camCommitPrepared 0
titleCut ["", "BLACK IN", 5];
;##################3 - 2. Point
_camera camPrepareTarget [4617.71, 9586.6768, 6.1035156e-005]
_camera camPreparePos [4606.9297, 9621.3691, 9.5633936]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 30
~15
;##################1 - 1. Point
_camera camPrepareTarget [6433.5786, 2548.6802, 37.057621]
_camera camPreparePos [6703.0737, 2325.9983, 0.4]
_camera camPreload 15
~10
5 fadeMusic 0
titleCut ["", "BLACK OUT", 5];
~5
skipTime random -2;
0 setOvercast random 0.5;
titleCut ["", "BLACK FADED", 0];
goto "loop"
;exit
player cameraEffect ["terminate","back"]
_this switchMove ""
camDestroy _camera
exit

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,13 @@
class RscDisplayGear {
class RscDisplayGear
{
idd = 106;
enableDisplay = 1;
movingEnable = 0;
onLoad = "setMousePosition [0.5, 0.5];_this call fn_gearMenuChecks;[] spawn object_monitorGear; {player removeMagazines _x} forEach MeleeMagazines; call gear_ui_init; call ui_gear_sound; if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; private ['_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile '\z\addons\dayz_code\system\handleGear.sqf'; _dummy = [_this,'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'; _dummy;";
onUnload = "{player removeMagazines _x} forEach MeleeMagazines; call player_forceSave; call dayz_meleeMagazineCheck;";
//onLoad = "[] spawn object_monitorGear; {player removeMagazines _x} count MeleeMagazines; call gear_ui_init; call ui_gear_sound; if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; [_this,'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";/* diag_log 'RscDisplayGear : : onLoad'; */
//onUnload = "{player removeMagazines _x} count MeleeMagazines; call player_forceSave; call dayz_meleeMagazineCheck;"; /* diag_log 'RscDisplayGear : : onunLoad'; */
onLoad = "setMousePosition [0.5, 0.5];_this call fn_gearMenuChecks; false call dz_fn_meleeMagazines; [] spawn object_monitorGear; call gear_ui_init; call ui_gear_sound; if (isNil 'IGUI_GEAR_activeFilter') then {IGUI_GEAR_activeFilter = 0}; [_this, 'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
onUnload = "true call dz_fn_meleeMagazines; call player_forceSave;";
onMouseMoving = "[] call gear_ui_hide;";
onMouseHolding = "[] call gear_ui_hide;";
@@ -15,10 +19,11 @@ class RscDisplayGear {
emptyHGun = "";
emptyHGunMag = "";
class Controls {
class Controls
{
// Cannot be removed due to crash or something is dependend on it
class CA_Filter_Icon: RscPicture {
class CA_Filter_Icon : RscPicture
{
idc = 148;
style = "0x30 + 0x800";
x = 0;
@@ -29,7 +34,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependend on it
class CA_Filter_Left_Icon: RscPicture {
class CA_Filter_Left_Icon : RscPicture
{
idc = 1301;
style = "0x30 + 0x800";
x = 0;
@@ -40,7 +46,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependend on it
class CA_Filter_Right_Icon: RscPicture {
class CA_Filter_Right_Icon : RscPicture
{
idc = 1302;
style = "0x30 + 0x800";
x = 0;
@@ -51,7 +58,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependend on it
class CA_Filter_Arrow_Left: RscButton {
class CA_Filter_Arrow_Left : RscButton
{
idc = 150;
colorText[] = {1,1,1,0};
colorDisabled[] = {1,1,1,0};
@@ -68,7 +76,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependend on it
class CA_Filter_Arrow_Right: RscButton {
class CA_Filter_Arrow_Right : RscButton
{
idc = 151;
colorText[] = {1,1,1,0};
colorDisabled[] = {1,1,1,0};
@@ -85,7 +94,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependent on it
class CA_Filter_Icon1: RscButton {
class CA_Filter_Icon1 : RscButton
{
idc = 149;
colorText[] = {1,1,1,0};
colorDisabled[] = {1,1,1,0};
@@ -101,7 +111,8 @@ class RscDisplayGear {
text = "";
};
class Gear_Title: RscText {
class Gear_Title : RscText
{
idc = 1001;
text = $STR_UI_SLOTS_LEFT;
x = -0.051;
@@ -113,7 +124,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependent on it
class Unit_Title: RscText {
class Unit_Title : RscText
{
idc = 101;
style = 2;
x = 0;
@@ -123,7 +135,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependent on it
class CA_Money: RscText {
class CA_Money : RscText
{
idc = 1102;
style = 1;
show = 0;
@@ -135,7 +148,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependent on it
class CA_Money_Value: RscText {
class CA_Money_Value : RscText
{
idc = 1103;
x = 0;
y = 0;
@@ -144,7 +158,8 @@ class RscDisplayGear {
text = "0";
};
class Weapon_slots_picture: RscPicture {
class Weapon_slots_picture : RscPicture
{
idc = 9001;
x = 0.084;
y = 0.01;
@@ -153,8 +168,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_slots_weapons.paa";
};
class Weapon_slots_value: RscText {
class Weapon_slots_value : RscText
{
idc = 9002;
x = 0.104;
y = 0.014;
@@ -165,7 +180,8 @@ class RscDisplayGear {
text = "n/a";
};
class Item_slots_picture: RscPicture {
class Item_slots_picture : RscPicture
{
idc = 9003;
x = 0.167;
y = 0.01;
@@ -174,7 +190,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_slots_items.paa";
};
class Item_slots_value: RscText {
class Item_slots_value : RscText
{
idc = 9004;
x = 0.187;
y = 0.014;
@@ -185,7 +202,8 @@ class RscDisplayGear {
text = "n/a";
};
class Backpack_slots_picture: RscPicture {
class Backpack_slots_picture : RscPicture
{
idc = 9005;
x = 0.254;
y = 0.01;
@@ -194,8 +212,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_slots_backpacks.paa";
};
class Backpack_slots_value: RscText {
class Backpack_slots_value : RscText
{
idc = 9006;
x = 0.274;
y = 0.014;
@@ -206,7 +224,8 @@ class RscDisplayGear {
text = "n/a";
};
class Available_items_Text: RscText {
class Available_items_Text : RscText
{
idc = 156;
x = -0.051;
y = 0.054;
@@ -216,7 +235,8 @@ class RscDisplayGear {
shadow = 0;
};
class CA_ItemName: RscText {
class CA_ItemName : RscText
{
idc = 1101;
//x = -0.039;
x = -0.051;
@@ -227,7 +247,8 @@ class RscDisplayGear {
text = "Gear of the unit:";
};
class CA_CustomDescription: RscStructuredText {
class CA_CustomDescription : RscStructuredText
{
idc = 1106;
//x = -0.039;
x = -0.051;
@@ -237,7 +258,9 @@ class RscDisplayGear {
h = 0.152;
colorText[] = {0.14,0.14,0.14,1};
shadow = 0;
class Attributes {
class Attributes
{
font = "Zeppelin32";
color = "#232323";
align = "left";
@@ -245,7 +268,8 @@ class RscDisplayGear {
};
};
class CA_Item_Picture: RscPicture {
class CA_Item_Picture : RscPicture
{
idc = 1104;
style = "0x30 + 0x800";
//x = 0.331;
@@ -259,7 +283,8 @@ class RscDisplayGear {
text = "";
};
class ListboxArrows: RscControlsGroup {
class ListboxArrows : RscControlsGroup
{
x = -0.058;
y = 0.122;
w = 0.507;
@@ -267,7 +292,8 @@ class RscDisplayGear {
h = 0.523;
idc = 155;
class VScrollbar {
class VScrollbar
{
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
@@ -275,22 +301,26 @@ class RscDisplayGear {
width = 0.001;
};
class HScrollbar {
class HScrollbar
{
color[] = {1,1,1,0};
height = 0.001;
};
class Controls {
class CA_B_Add: RscGearShortcutButton {
class Controls
{
class CA_B_Add : RscGearShortcutButton
{
idc = 146;
x = -2;
style = 2048;
onSetFocus = "private [""_dummy""]; _dummy = [_this,""onFocus""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onButtonClick = "private [""_dummy""]; {player removeMagazines _x} forEach MeleeMagazines; _dummy = [_this,""onLBListSelChanged""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onSetFocus = "[_this,'onFocus'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
onButtonClick = "{player removeMagazines _x} count MeleeMagazines; [_this,'onLBListSelChanged'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
text = "<";
};
class Available_items: RscIGUIListNBox {
class Available_items : RscIGUIListNBox
{
idc = 105;
columns[] = {0.07804,0.18412,0.81,0.67};
drawSideArrows = 1;
@@ -302,10 +332,9 @@ class RscDisplayGear {
colorSelectBackground[] = {0.28,0.25,0.18,0.4};
colorSelectBackground2[] = {0.28,0.25,0.18,0.4};
shadow = 0;
onKeyDown = "private [""_dummy""]; _dummy = [_this,""onKeyDown"",0,107,0,107] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onLBSelChanged = "private [""_dummy""]; _dummy = [_this,""onLBSelChanged""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onLBListSelChanged = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onKillFocus = "private [""_dummy""]; _dummy = [_this,""onKillFocus""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onLBSelChanged = "[_this,'onLBSelChanged'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
onLBListSelChanged = "[_this,'onLBListSelChanged'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
onKillFocus = "[_this,'onKillFocus'] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
x = 0;
y = 0;
//w = 0.46;
@@ -316,17 +345,19 @@ class RscDisplayGear {
canDrag = 1;
};
class CA_B_Remove: CA_B_Add {
class CA_B_Remove : CA_B_Add
{
idc = 147;
x = -2;
onSetFocus = "private [""_dummy""]; _dummy = [_this,""onFocus""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onButtonClick = "private [""_dummy""]; {player removeMagazines _x} forEach MeleeMagazines; _dummy = [_this,""onLBListSelChanged""] execVM ""\z\addons\dayz_code\system\handleGear.sqf""; _dummy;";
onSetFocus = "[_this,""onFocus""] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
onButtonClick = "{player removeMagazines _x} count MeleeMagazines; [_this,""onLBListSelChanged""] execVM '\z\addons\dayz_code\system\handleGear.sqf'";
text = ">";
};
};
};
class G_Interaction: RscControlsGroup {
class G_Interaction : RscControlsGroup
{
idc = 6902;
x = 0.502;
y = 0.250 * safezoneH;
@@ -334,7 +365,8 @@ class RscDisplayGear {
h = 0; //0.250 * safezoneH;
onMouseMoving = "call gear_ui_offMenu;";
class VScrollbar {
class VScrollbar
{
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
@@ -342,76 +374,88 @@ class RscDisplayGear {
width = 0.001;
};
class HScrollbar {
class HScrollbar
{
color[] = {1,1,1,0};
height = 0.001;
};
class Controls {
class RscButton_1600: RscButtonActionMenu {
class Controls
{
class RscButton_1600 : RscButtonActionMenu
{
idc = 1600;
text = "";
x = 0;
y = 0 * safezoneH;
};
class RscButton_1601: RscButtonActionMenu {
class RscButton_1601 : RscButtonActionMenu
{
idc = 1601;
text = "";
x = 0;
y = 0.025 * safezoneH;
};
class RscButton_1602: RscButtonActionMenu {
class RscButton_1602 : RscButtonActionMenu
{
idc = 1602;
text = "";
x = 0;
y = 0.05 * safezoneH;
};
class RscButton_1603: RscButtonActionMenu {
class RscButton_1603 : RscButtonActionMenu
{
idc = 1603;
text = "";
x = 0;
y = 0.075 * safezoneH;
};
class RscButton_1604: RscButtonActionMenu {
class RscButton_1604 : RscButtonActionMenu
{
idc = 1604;
text = "";
x = 0;
y = 0.1 * safezoneH;
};
class RscButton_1605: RscButtonActionMenu {
class RscButton_1605 : RscButtonActionMenu
{
idc = 1605;
text = "";
x = 0;
y = 0.125 * safezoneH;
};
class RscButton_1606: RscButtonActionMenu {
class RscButton_1606 : RscButtonActionMenu
{
idc = 1606;
text = "";
x = 0;
y = 0.15 * safezoneH;
};
class RscButton_1607: RscButtonActionMenu {
class RscButton_1607 : RscButtonActionMenu
{
idc = 1607;
text = "";
x = 0;
y = 0.175 * safezoneH;
};
class RscButton_1608: RscButtonActionMenu {
class RscButton_1608 : RscButtonActionMenu
{
idc = 1608;
text = "";
x = 0;
y = 0.2 * safezoneH;
};
class RscButton_1609: RscButtonActionMenu {
class RscButton_1609 : RscButtonActionMenu
{
idc = 1609;
text = "";
x = 0;
@@ -420,14 +464,16 @@ class RscDisplayGear {
};
};
class G_GearItems: RscControlsGroup {
class G_GearItems : RscControlsGroup
{
idc = 160;
x = 0.465;
y = 0.104;
w = 0.533;
h = 0.928;
class VScrollbar {
class VScrollbar
{
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
@@ -435,13 +481,16 @@ class RscDisplayGear {
width = 0.001;
};
class HScrollbar {
class HScrollbar
{
color[] = {1,1,1,0};
height = 0.001;
};
class Controls {
class CA_Gear_slot_primary: RscActiveText {
class Controls
{
class CA_Gear_slot_primary : RscActiveText
{
idc = 107;
x = 0.138;
y = 0.181;
@@ -457,7 +506,8 @@ class RscDisplayGear {
canDrag = 1;
};
class CA_Gear_slot_secondary: CA_Gear_slot_primary {
class CA_Gear_slot_secondary : CA_Gear_slot_primary
{
idc = 108;
x = 0.138;
y = 0;
@@ -468,7 +518,8 @@ class RscDisplayGear {
onMouseButtonDblClick = "if (!(ctrlShown ((findDisplay 106) displayCtrl 158)) && ((gearSlotData (_this select 0)) isKindOf 'Bag_Base_EP1')) then { [player,'open_backpack',0,false,5] call dayz_zombieSpeak; };";
};
class CA_Gear_slot_carry: CA_Gear_slot_primary {
class CA_Gear_slot_carry : CA_Gear_slot_primary
{
idc = 1209;
x = 0.138;
y = 0.364;
@@ -481,7 +532,8 @@ class RscDisplayGear {
colorBackgroundSelected[] = {0.74,0.74,0.74,0.8}; // has no effect
};
class CA_Gear_slot_item1: CA_Gear_slot_primary {
class CA_Gear_slot_item1 : CA_Gear_slot_primary
{
idc = 109;
x = 0;
y = 0;
@@ -489,7 +541,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item2: CA_Gear_slot_item1 {
class CA_Gear_slot_item2 : CA_Gear_slot_item1
{
idc = 110;
x = 0.069;
y = 0;
@@ -497,7 +550,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item3: CA_Gear_slot_item1 {
class CA_Gear_slot_item3 : CA_Gear_slot_item1
{
idc = 111;
x = 0;
y = 0.091;
@@ -505,7 +559,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item4: CA_Gear_slot_item1 {
class CA_Gear_slot_item4 : CA_Gear_slot_item1
{
idc = 112;
x = 0.069;
y = 0.091;
@@ -513,7 +568,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item5: CA_Gear_slot_item1 {
class CA_Gear_slot_item5 : CA_Gear_slot_item1
{
idc = 113;
x = 0;
y = 0.181;
@@ -521,7 +577,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item6: CA_Gear_slot_item1 {
class CA_Gear_slot_item6 : CA_Gear_slot_item1
{
idc = 114;
x = 0.069;
y = 0.181;
@@ -529,7 +586,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item7: CA_Gear_slot_item1 {
class CA_Gear_slot_item7 : CA_Gear_slot_item1
{
idc = 115;
x = 0;
y = 0.272;
@@ -537,7 +595,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item8: CA_Gear_slot_item1 {
class CA_Gear_slot_item8 : CA_Gear_slot_item1
{
idc = 116;
x = 0.069;
y = 0.272;
@@ -545,7 +604,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item9: CA_Gear_slot_item1 {
class CA_Gear_slot_item9 : CA_Gear_slot_item1
{
idc = 117;
x = 0;
y = 0.364;
@@ -553,7 +613,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item10: CA_Gear_slot_item1 {
class CA_Gear_slot_item10 : CA_Gear_slot_item1
{
idc = 118;
x = 0.069;
y = 0.364;
@@ -561,7 +622,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item11: CA_Gear_slot_item1 {
class CA_Gear_slot_item11 : CA_Gear_slot_item1
{
idc = 119;
x = 0;
y = 0.457;
@@ -569,7 +631,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_item12: CA_Gear_slot_item1 {
class CA_Gear_slot_item12 : CA_Gear_slot_item1
{
idc = 120;
x = 0.069;
y = 0.457;
@@ -577,7 +640,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun: CA_Gear_slot_primary {
class CA_Gear_slot_handgun : CA_Gear_slot_primary
{
idc = 121;
x = 0;
y = 0.559;
@@ -587,7 +651,8 @@ class RscDisplayGear {
colorBackgroundSelected[] = {0.5,0.58,0.38,0.8};
};
class CA_Gear_slot_handgun_item1: CA_Gear_slot_item1 {
class CA_Gear_slot_handgun_item1 : CA_Gear_slot_item1
{
idc = 122;
x = 0.138;
y = 0.559;
@@ -597,7 +662,8 @@ class RscDisplayGear {
colorBackgroundSelected[] = {0.5,0.58,0.38,0.8};
};
class CA_Gear_slot_handgun_item2: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item2 : CA_Gear_slot_handgun_item1
{
idc = 123;
x = 0.207;
y = 0.559;
@@ -605,7 +671,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun_item3: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item3 : CA_Gear_slot_handgun_item1
{
idc = 124;
x = 0.275;
y = 0.559;
@@ -613,7 +680,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun_item4: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item4 : CA_Gear_slot_handgun_item1
{
idc = 125;
x = 0.345;
y = 0.559;
@@ -621,7 +689,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun_item5: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item5 : CA_Gear_slot_handgun_item1
{
idc = 126;
x = 0.138;
y = 0.65;
@@ -629,7 +698,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun_item6: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item6 : CA_Gear_slot_handgun_item1
{
idc = 127;
x = 0.207;
y = 0.65;
@@ -637,7 +707,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun_item7: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item7 : CA_Gear_slot_handgun_item1
{
idc = 128;
x = 0.275;
y = 0.65;
@@ -645,7 +716,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_handgun_item8: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_handgun_item8 : CA_Gear_slot_handgun_item1
{
idc = 129;
x = 0.345;
y = 0.65;
@@ -653,7 +725,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory1: CA_Gear_slot_handgun_item1 {
class CA_Gear_slot_inventory1 : CA_Gear_slot_handgun_item1
{
idc = 134;
x = 0;
y = 0.752;
@@ -663,7 +736,8 @@ class RscDisplayGear {
colorBackgroundSelected[] = {0.49,0.43,0.29,0.8};
};
class CA_Gear_slot_inventory2: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory2 : CA_Gear_slot_inventory1
{
idc = 135;
x = 0.069;
y = 0.752;
@@ -671,7 +745,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory3: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory3 : CA_Gear_slot_inventory1
{
idc = 136;
x = 0.138;
y = 0.752;
@@ -679,7 +754,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory4: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory4 : CA_Gear_slot_inventory1
{
idc = 137;
x = 0.207;
y = 0.752;
@@ -687,7 +763,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory5: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory5 : CA_Gear_slot_inventory1
{
idc = 138;
x = 0.275;
y = 0.752;
@@ -695,7 +772,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory6: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory6 : CA_Gear_slot_inventory1
{
idc = 139;
x = 0.345;
y = 0.752;
@@ -703,7 +781,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory7: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory7 : CA_Gear_slot_inventory1
{
idc = 140;
x = 0;
y = 0.844;
@@ -711,7 +790,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory8: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory8 : CA_Gear_slot_inventory1
{
idc = 141;
x = 0.069;
y = 0.844;
@@ -719,7 +799,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory9: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory9 : CA_Gear_slot_inventory1
{
idc = 142;
x = 0.138;
y = 0.844;
@@ -727,7 +808,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory10: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory10 : CA_Gear_slot_inventory1
{
idc = 143;
x = 0.207;
y = 0.844;
@@ -735,7 +817,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory11: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory11 : CA_Gear_slot_inventory1
{
idc = 144;
x = 0.275;
y = 0.844;
@@ -743,7 +826,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_inventory12: CA_Gear_slot_inventory1 {
class CA_Gear_slot_inventory12 : CA_Gear_slot_inventory1
{
idc = 145;
x = 0.345;
y = 0.844;
@@ -751,7 +835,8 @@ class RscDisplayGear {
h = 0.085;
};
class CA_Gear_slot_special1: CA_Gear_slot_handgun {
class CA_Gear_slot_special1 : CA_Gear_slot_handgun
{
idc = 130;
x = 0.413;
y = 0.568;
@@ -761,7 +846,8 @@ class RscDisplayGear {
colorBackgroundSelected[] = {0.46,0.46,0.4,0.8};
};
class CA_Gear_slot_special2: CA_Gear_slot_special1 {
class CA_Gear_slot_special2 : CA_Gear_slot_special1
{
idc = 131;
x = 0.413;
y = 0.757;
@@ -769,7 +855,8 @@ class RscDisplayGear {
h = 0.16;
};
class ButtonRearm: RscActiveText {
class ButtonRearm : RscActiveText
{
idc = 132;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_open.paa";
@@ -783,7 +870,8 @@ class RscDisplayGear {
colorActive[] = {1,1,1,0.5};
};
class ButtonOpenBag: RscActiveText {
class ButtonOpenBag : RscActiveText
{
idc = 157;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_open.paa";
@@ -798,7 +886,8 @@ class RscDisplayGear {
action = "[player,'open_backpack',0,false,5] call dayz_zombieSpeak;";
};
class ButtonCloseBag: RscActiveText {
class ButtonCloseBag : RscActiveText
{
idc = 158;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_open.paa";
@@ -813,7 +902,8 @@ class RscDisplayGear {
action = "[player,'open_backpack',0,false,5] call dayz_zombieSpeak;";
};
class Button1: RscActiveText {
class Button1 : RscActiveText
{
idc = 1204;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_carry.paa";
@@ -828,7 +918,8 @@ class RscDisplayGear {
action = "0 call dz_fn_switchWeapon";
};
class Button2: RscActiveText {
class Button2 : RscActiveText
{
idc = 1208;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_hold.paa";
@@ -845,7 +936,8 @@ class RscDisplayGear {
};
};
class BagItemsGroup: RscControlsGroup {
class BagItemsGroup : RscControlsGroup
{
x = 0.465;
y = 0.104;
w = 0.533;
@@ -867,7 +959,8 @@ class RscDisplayGear {
soundClick[] = {"",0.1,1};
soundDoubleClick[] = {"",0.1,1};
class VScrollbar {
class VScrollbar
{
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
@@ -875,12 +968,14 @@ class RscDisplayGear {
width = 0.001;
};
class HScrollbar {
class HScrollbar
{
color[] = {1,1,1,0};
height = 0.001;
};
class ScrollBar {
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
@@ -890,8 +985,10 @@ class RscDisplayGear {
border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
class Controls {
class ButtonCloseBagCustom: RscActiveText {
class Controls
{
class ButtonCloseBagCustom : RscActiveText
{
idc = 1203;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_open.paa";
@@ -909,7 +1006,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependend on it
class ButtonFilters: RscIGUIShortcutButton {
class ButtonFilters : RscIGUIShortcutButton
{
idc = 148;
shortcuts[] = {"0x00050000 + 3"};
x = 0;
@@ -920,7 +1018,8 @@ class RscDisplayGear {
};
// Cannot be removed due to crash or something is dependend on it
class ButtonContinue: RscIGUIShortcutButton {
class ButtonContinue : RscIGUIShortcutButton
{
idc = 1;
shortcuts[] = {"0x00050000 + 0",28,57,156};
x = 0;
@@ -930,7 +1029,8 @@ class RscDisplayGear {
h = 0;
};
class ButtonClose: RscActiveText {
class ButtonClose : RscActiveText
{
idc = 2;
style = "0x30 + 0x800";
text = "\z\addons\dayz_code\gui\gear\gear_ui_close.paa";
@@ -946,8 +1046,10 @@ class RscDisplayGear {
class Break_7 : RscLineBreak {};
};
class ControlsBackground {
class Mainback: RscPicture {
class ControlsBackground
{
class Mainback : RscPicture
{
idc = 1005;
x = -0.086;
y = -0.03;
@@ -957,7 +1059,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_bg.paa";
};
class CA_Gear_slot_primary_background: RscPicture {
class CA_Gear_slot_primary_background : RscPicture
{
idc = 1006;
x = 0.603;
y = 0.285;
@@ -966,7 +1069,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_holding.paa";
};
class CA_Gear_slot_secondary_background: RscPicture {
class CA_Gear_slot_secondary_background : RscPicture
{
idc = 1007;
x = 0.603;
y = 0.104;
@@ -975,7 +1079,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_back.paa";
};
class CA_Gear_slot_carry_background: RscPicture {
class CA_Gear_slot_carry_background : RscPicture
{
idc = 1008;
x = 0.603;
y = 0.468;
@@ -984,7 +1089,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_carrying.paa";
};
class CA_Gear_slot_handgun_background: RscPicture {
class CA_Gear_slot_handgun_background : RscPicture
{
idc = 1009;
x = 0.465;
y = 0.663;
@@ -993,7 +1099,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_pistol.paa";
};
class CA_Gear_slot_special1_background: RscPicture {
class CA_Gear_slot_special1_background : RscPicture
{
idc = 1010;
x = 0.878;
y = 0.671;
@@ -1004,7 +1111,8 @@ class RscDisplayGear {
text = "\z\addons\dayz_code\gui\gear\gear_ui_vision1.paa";
};
class CA_Gear_slot_special2_background: RscPicture {
class CA_Gear_slot_special2_background : RscPicture
{
idc = 1011;
x = 0.878;
y = 0.861;

View File

@@ -1,82 +1,149 @@
class RscDisplayMultiplayerSetup: RscStandardDisplay
{
idd = 70;
colorNotAssigned[] = {0.4,0.4,0.4,1};
colorAssigned[] = {0.78,0.39,0,1};
colorConfirmed[] = {0,1,0,1};
onLoad = "[_this] execVM 'z\addons\dayz_code\init\lobbyAutoJoin.sqf'";
onload = "with uiNameSpace do{RscDisplayMultiplayerSetup=_this select 0}; [_this] execVM 'z\addons\dayz_code\init\lobbyAutoJoin.sqf'"; //#70
onMouseHolding = "with uiNameSpace do { switch (1 == 1) do { case(isNil 'RscDMSLoad'): { RscDMSLoad = diag_tickTime; }; case(RscDMSLoad == -1): {}; case(RscDMSLoad == -2): {}; case(diag_tickTime - RscDMSLoad > 7): { RscDMSLoad = diag_tickTime; }; case(diag_tickTime - RscDMSLoad > 5): { }; }; };";
/*
with uiNameSpace do
{
switch (1 == 1) do
{
case(isNil 'RscDMSLoad'): { RscDMSLoad = diag_tickTime; };
case(RscDMSLoad == -1): {};
case(RscDMSLoad == -2): {};
case(diag_tickTime - RscDMSLoad > 7): { RscDMSLoad = diag_tickTime; };
case(diag_tickTime - RscDMSLoad > 5): { ctrlActivate ((_this select 0) displayCtrl 1); RscDMSLoad = -1; };
};
};
*/
onButtonClick = "with uiNameSpace do{RscDMSLoad=-1};false";
onButtonDblClick = "with uiNameSpace do{RscDMSLoad=-1};false";
onKeyDown = "with uiNameSpace do{RscDMSLoad=-1};false";
class controlsbackground
{
class dayz_black: RscText
{
idc=1017;
colorBackground[] = {0,0,0,1};
x = "SafeZoneX";
y = "SafeZoneY";
w = "SafeZoneW";
h = "SafeZoneH";
};
class MP_roles_TitleBorder: RscText
{
idc=1008;
};
class TextBack: RscText
{
idc=1009;
};
class TextBorder: RscText
{
idc=1010;
};
class SidesBack: RscText
{
idc=1011;
y = "(120/100) * SafeZoneH + SafeZoneY";
};
class SidesBorder: RscText
{
idc=1012;
y = "(120/100) * SafeZoneH + SafeZoneY";
};
class ValueRolesBack: RscText
{
idc=1013;
y = "(120/100) * SafeZoneH + SafeZoneY";
};
class ValueRolesBorder: RscText
{
idc=1014;
y = "(120/100) * SafeZoneH + SafeZoneY";
};
class ValuePoolBack: RscText
{
idc=1015;
y = "(120/100) * SafeZoneH + SafeZoneY";
};
class ValuePoolBorder: RscText
{
idc=1016;
y = "(120/100) * SafeZoneH + SafeZoneY";
};
};
class controls
{
class TextMission: RscText
{
idc = 1002;
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(9.5/100) * SafeZoneH + SafeZoneY";
w = "(18/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03;
text = "Mission:";
};
class ValueMission: RscText
{
idc = 101;
x = "(20/100) * SafeZoneW + SafeZoneX";
y = "(9.5/100) * SafeZoneH + SafeZoneY";
w = "(40/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03;
};
class TextIsland: RscText
{
idc = 1003;
x = "(60/100) * SafeZoneW + SafeZoneX";
y = "(9.5/100) * SafeZoneH + SafeZoneY";
w = "(5/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03;
text = "Map:";
y = "(109.5/100) * SafeZoneH + SafeZoneY"; //hide
};
class ValueIsland: RscText
{
idc = 102;
x = "(65/100) * SafeZoneW + SafeZoneX";
y = "(9.5/100) * SafeZoneH + SafeZoneY";
w = "(33/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03;
y = "(109.5/100) * SafeZoneH + SafeZoneY"; //hide
};
class TextSide: RscText
{
idc = 1005;
style = 2;
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(16.5/100) * SafeZoneH + SafeZoneY";
w = "(16/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03921;
text = "Side:";
y = "(116.5/100) * SafeZoneH + SafeZoneY"; //hide
};
class TextRoles: RscText
{
idc = 108;
style = 2;
x = "(20/100) * SafeZoneW + SafeZoneX";
y = "(16.5/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03921;
text = "Side:";
idc = 1007; // new, idc was missed by BI
y = "(116.5/100) * SafeZoneH + SafeZoneY"; // hide
};
class CA_B_West: RscActiveText
{
idc = 104;
y = "(121/100) * SafeZoneH + SafeZoneY"; //hide
};
class CA_B_East: CA_B_West
{
idc = 105;
y = "(131/100) * SafeZoneH + SafeZoneY"; //hide
};
class CA_B_Guerrila: CA_B_West
{
idc = 106;
y = "(141/100) * SafeZoneH + SafeZoneY"; //hide
};
class CA_B_Civilian: CA_B_West
{
idc = 107;
y = "(151/100) * SafeZoneH + SafeZoneY"; //hide
};
class CA_ValueRoles: RscIGUIListBox
{
idc = 109;
style = 16;
y = "(120.5/100) * SafeZoneH + SafeZoneY"; //hide
};
class TextPool: RscText
{
idc = 1006;
style = 2;
x = "(60/100) * SafeZoneW + SafeZoneX";
y = "(16.5/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03921;
text = "Pool:";
x = "(2/100) * SafeZoneW + SafeZoneX"; // to left
w = "(96/100) * SafeZoneW"; //wide (was: 38/100)
};
class CA_ValuePool: RscIGUIListBox
{
idc = 114;
text = "Players";
x = "(2/100) * SafeZoneW + SafeZoneX"; // to left
w = "(96/100) * SafeZoneW"; // wide
};
class CA_ButtonCancel: RscShortcutButton
{
idc = 2;
default = 0;
shortcuts[] = {"0x00050000 + 1"};
x = "(68/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.203825;
text = "$STR_DISP_BACK";
onButtonClick = "with uiNameSpace do {RscDMSLoad=nil;};"; // autologon at logon on next server
};
class Y_GamerCard: RscActiveText
{
@@ -102,173 +169,6 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
y = 0.9;
w = 0.15;
};
class CA_MP_roles_Title: CA_Title
{
idc = 1001;
style = 2;
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(02/100) * SafeZoneH + SafeZoneY";
w = "(96/100) * SafeZoneW";
h = "(06/100) * SafeZoneH";
colorBackground[] = {"49/255","36/255","25/255","173/255"};
text = "Multiplayer Setup";
};
class CA_TextVotingTimeLeft: CA_MP_roles_Title
{
idc = 121;
style = 1;
x = "(50/100) * SafeZoneW + SafeZoneX";
y = "(02/100) * SafeZoneH + SafeZoneY";
w = "(45/100) * SafeZoneW";
colorBackground[] = {0,0,0,0};
};
class CA_TextDescription: RscText
{
idc = 1004;
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(12.5/100) * SafeZoneH + SafeZoneY";
w = "(18/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03;
text = "Description:";
};
class CA_ValueDescription: RscText
{
idc = 103;
x = "(20/100) * SafeZoneW + SafeZoneX";
y = "(12.5/100) * SafeZoneH + SafeZoneY";
w = "(78/100) * SafeZoneW";
h = "(3/100) * SafeZoneH";
SizeEx = 0.03;
};
class CA_B_West: RscActiveText
{
x = "(4.15/100) * SafeZoneW + SafeZoneX";
y = "(21/100) * SafeZoneH + SafeZoneY";
w = "(11.7/100) * SafeZoneW";
h = "(7/100) * SafeZoneH";
style = "0x02 + 0x100 + 0x40";
type = 11;
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.15};
colorShade[] = {1,1,1,1};
colorText[] = {1,1,1,1};
pictureWidth = 1;
pictureHeight = 1;
textHeight = 0.38;
sideDisabled = "ca\ui\data\flag_none_ca.paa";
sideToggle = "ca\ui\data\flag_side_toggle_ca.paa";
idc = 104;
color[] = {1,1,1,0.55};
text = "BLUFOR";
picture = "\ca\ui\data\flag_bluefor_ca.paa";
};
class CA_B_East: CA_B_West
{
idc = 105;
y = "(31/100) * SafeZoneH + SafeZoneY";
text = "OPFOR";
picture = "\ca\ui\data\flag_opfor_ca.paa";
};
class CA_B_Guerrila: CA_B_West
{
idc = 106;
y = "(41/100) * SafeZoneH + SafeZoneY";
text = "Independent";
picture = "\ca\ui\data\flag_indep_ca.paa";
};
class CA_B_Civilian: CA_B_West
{
idc = 107;
y = "(51/100) * SafeZoneH + SafeZoneY";
text = "Civilian";
picture = "\ca\ui\data\flag_civil_ca.paa";
};
class CA_ValueRoles: RscIGUIListBox
{
idc = 109;
style = 16;
x = "(20/100) * SafeZoneW + SafeZoneX";
y = "(20.5/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(72/100) * SafeZoneH";
color[] = {1,1,1,1};
colorSelect[] = {1,1,0,1};
colorSelectBackground[] = {0.2,0.2,0.2,1};
colorSelectBackground2[] = {0.1,0.1,0.1,1};
rowHeight = 0.05;
colorText[] = {0.95,0.95,0.95,1};
colorPlayer[] = {1,1,0,1};
colorAI[] = {1,0,0,1};
colorNobody[] = {0.4,0.4,0.4,1};
enabledAI = "ca\ui\textures\ai2_on.paa";
disabledAI = "ca\ui\textures\ai2_off.paa";
};
class CA_ValuePool: RscIGUIListBox
{
idc = 114;
style = 16;
x = "(60/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(72/100) * SafeZoneH";
color[] = {1,1,1,1};
colorSelect[] = {1,1,0,1};
colorSelectBackground[] = {0.2,0.2,0.2,1};
colorSelectBackground2[] = {0.1,0.1,0.1,1};
rows = 25;
canDrag = 1;
};
class CA_B_EnableAll: RscShortcutButton
{
idc = 117;
x = "(22/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.223825;
class TextPos
{
left = 0.035;
top = 0.034;
right = 0.005;
bottom = 0.005;
};
default = 0;
};
class CA_B_Lock: RscShortcutButton
{
idc = 118;
x = "(39/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.183825;
};
class CA_B_Params: RscShortcutButton
{
idc = 128;
x = "(53/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.203825;
text = "Parameters";
};
class CA_B_DSinterface: RscShortcutButton
{
idc = 1012;
default = 0;
onButtonClick = "openDSInterface;";
shortcuts[] = {};
x = "(2.75/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.26;
text = "Server Control";
};
class CA_B_Kick: RscShortcutButton
{
idc = 116;
default = 0;
shortcuts[] = {"0x00050000 + 2"};
x = "(83/100) * SafeZoneW + SafeZoneX";
y = "(14/100) * SafeZoneH + SafeZoneY";
text = "Kick Off";
};
class CA_ButtonContinue: RscShortcutButton
{
idc = 1;
@@ -279,16 +179,6 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
text = "OK";
onButtonClick = "((findDisplay 70) displayCtrl 300) ctrlShow false;";
};
class CA_ButtonCancel: RscShortcutButton
{
idc = 2;
default = 0;
shortcuts[] = {"0x00050000 + 1"};
x = "(68/100) * SafeZoneW + SafeZoneX";
y = "(93/100) * SafeZoneH + SafeZoneY";
w = 0.203825;
text = "Back";
};
class infoText: RscText
{
idc = 300;
@@ -301,101 +191,4 @@ class RscDisplayMultiplayerSetup: RscStandardDisplay
colorBackground[] = {0,0,0,0};
};
};
west = "ca\ui\data\flag_bluefor_ca.paa";
east = "ca\ui\data\flag_opfor_ca.paa";
guer = "ca\ui\data\flag_indep_ca.paa";
civl = "ca\ui\data\flag_civil_ca.paa";
none = "ca\ui\data\flag_civil_ca.paa";
westUnlocked = "ca\ui\data\flag_bluefor_ca.paa";
westLocked = "ca\ui\data\flag_bluefor_ca.paa";
eastUnlocked = "ca\ui\data\flag_opfor_ca.paa";
eastLocked = "ca\ui\data\flag_opfor_ca.paa";
guerUnlocked = "ca\ui\data\flag_indep_ca.paa";
guerLocked = "ca\ui\data\flag_indep_ca.paa";
civlUnlocked = "ca\ui\data\flag_civil_ca.paa";
civlLocked = "ca\ui\data\flag_civil_ca.paa";
disabledAllAI = "Enable AI";
enabledAllAI = "Disable AI";
hostLocked = "Unlock";
hostUnlocked = "Lock";
class controlsbackground
{
class MP_roles_TitleBorder: RscText
{
style = 64;
colorText[] = {0,0,0,1};
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(02/100) * SafeZoneH + SafeZoneY";
w = "(96/100) * SafeZoneW";
h = "(06/100) * SafeZoneH";
};
class TextBack: RscText
{
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(9.5/100) * SafeZoneH + SafeZoneY";
w = "(96/100) * SafeZoneW";
h = "(6/100) * SafeZoneH";
colorBackground[] = {0.1961,0.1451,0.0941,0.42};
};
class TextBorder: RscText
{
style = 64;
colorText[] = {0,0,0,1};
x = "(02/100) * SafeZoneW + SafeZoneX";
y = "(9.5/100) * SafeZoneH + SafeZoneY";
w = "(96/100) * SafeZoneW";
h = "(6/100) * SafeZoneH";
};
class SidesBack: RscText
{
x = "(2/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(16/100) * SafeZoneW";
h = "(73/100) * SafeZoneH";
colorBackground[] = {0.1961,0.1451,0.0941,0.42};
};
class SidesBorder: RscText
{
style = 64;
colorText[] = {0,0,0,1};
x = "(2/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(16/100) * SafeZoneW";
h = "(73/100) * SafeZoneH";
};
class ValueRolesBack: RscText
{
x = "(20/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(73/100) * SafeZoneH";
colorBackground[] = {0.1961,0.1451,0.0941,0.42};
};
class ValueRolesBorder: RscText
{
style = 64;
colorText[] = {0,0,0,1};
x = "(20/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(73/100) * SafeZoneH";
};
class ValuePoolBack: RscText
{
x = "(60/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(73/100) * SafeZoneH";
colorBackground[] = {0.1961,0.1451,0.0941,0.42};
};
class ValuePoolBorder: RscText
{
style = 64;
colorText[] = {0,0,0,1};
x = "(60/100) * SafeZoneW + SafeZoneX";
y = "(20/100) * SafeZoneH + SafeZoneY";
w = "(38/100) * SafeZoneW";
h = "(73/100) * SafeZoneH";
};
};
};

View File

@@ -1,7 +1,7 @@
#include "RscLobby.hpp"
#include "RscDisplayCraftingMenu.hpp"
#include "RscDisplayGear.hpp"
#include "RscDisplayGenderSelect.hpp"
#include "RscDisplaySpawnSelecter.hpp"
#include "RscPlayerUI.hpp"
#include "RscMap.hpp"
//#include "RscDisplayConstructionMenu.hpp"

View File

@@ -1,6 +1,6 @@
class Man; // External class reference
class Custom; // External class reference
//class Default;
class Default; // External class reference
class CfgFaces {
class Default; // External class reference

View File

@@ -31,7 +31,8 @@ class RscHTML;
#include "CfgPlayerStats\p_murders.hpp"
#include "CfgPlayerStats\sound.hpp"
class RscPictureGUI {
class RscPictureGUI
{
access = 0;
type = 0;
idc = -1;
@@ -48,23 +49,31 @@ class RscPictureGUI {
h = 0.15;
};
class RscStructuredText {
class Attributes;
};
class RscStructuredTextGUI: RscStructuredText {
class RscStructuredTextGUI: RscStructuredText
{
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
class Attributes: Attributes {
class Attributes: Attributes
{
align = "center";
valign = "middle";
};
};
class RscDisplayLoading {
class Variants {
class LoadingOne {
class controls {
class LoadingPic : RscPictureKeepAspect {
class RscDisplayLoading
{
class Variants
{
class LoadingOne
{
class controls
{
class LoadingPic : RscPictureKeepAspect
{
text = "z\addons\dayz_code\gui\loadingscreen.paa";
};
};
@@ -76,21 +85,28 @@ class RscCompass : RscObject {
scale = 0.64;
};
class RscDisplayStart {
class controls {
class LoadingPic: RscPictureKeepAspect {
class RscDisplayStart
{
class controls
{
class LoadingPic: RscPictureKeepAspect
{
text = "z\addons\dayz_code\gui\loadingscreen.paa";
};
};
};
class RscDisplayGetReady;
class RscDisplayClientGetReady: RscDisplayGetReady {
class RscDisplayClientGetReady : RscDisplayGetReady
{
// could probably add a check in the spawn but couldn't test with multiple players
onload = "private ['_dummy']; _dummy = [_this,'onload'] call compile preprocessfile '\ca\ui\scripts\server_interface.sqf'; _this spawn { while { !isNull (findDisplay 53) } do { ctrlActivate ((_this select 0) displayCtrl 1); uiSleep 0.1; }; };";
onload = "[_this,'onload'] call compile preprocessfile '\ca\ui\scripts\server_interface.sqf'; _this spawn { while { !isNull (findDisplay 53) } do { ctrlActivate ((_this select 0) displayCtrl 1); uiSleep 0.1; }; };"; /*diag_log[diag_tickTime,'RscDisplayClientGetReady'];*/
};
class RscDisplayDebriefing: RscStandardDisplay {
class RscDisplayDebriefing: RscStandardDisplay
{
onLoad = "ctrlActivate ((_this select 0) displayCtrl 2);";
class controls {
class controls
{
delete Debriefing_MissionTitle;
delete CA_MissionTitle;
delete CA_TextVotingTimeLeft;
@@ -101,7 +117,8 @@ class RscDisplayDebriefing: RscStandardDisplay {
delete CA_DebriefingStatsGroup;
delete ButtonStatistics;
delete ButtonRetry;
class ButtonContinue: RscIGUIShortcutButton {
class ButtonContinue: RscIGUIShortcutButton
{
idc = 2;
shortcuts[] = {"0x00050000 + 0",28,57,156};
x = 0.4080875;
@@ -109,13 +126,34 @@ class RscDisplayDebriefing: RscStandardDisplay {
text = $STR_UI_CONTINUE;
};
};
class ControlsBackground {
class ControlsBackground
{
delete Mainback;
};
};
class RscDisplayMissionFail: RscStandardDisplay {
onLoad = "ctrlActivate ((_this select 0) displayCtrl 2);";
class controls {
class RscShortcutButton;
class RscShortcutButtonMain;
// RscDisplayMultiplayerSetup moved here:
#include "RscDisplay\RscLobby.hpp"
class RscPendingInvitation
{
x = 0.955313 * safezoneW + safezoneX;
y = 0.45 * safezoneH + safezoneY;
};
class RscPendingInvitationInGame
{
x = 0.955313 * safezoneW + safezoneX;
y = 0.46 * safezoneH + safezoneY;
};
class RscDisplayMissionFail: RscStandardDisplay
{
onLoad = "ctrlActivate ((_this select 0) displayCtrl 2);"; /*diag_log[diag_tickTime,'RscDisplayMissionFail'];*/
class controls
{
delete Debriefing_MissionTitle;
delete CA_MissionTitle;
delete CA_TextVotingTimeLeft;
@@ -125,7 +163,8 @@ class RscDisplayMissionFail: RscStandardDisplay {
delete CA_DebriefingObjectivesGroup;
delete CA_DebriefingStatsGroup;
delete BRetry;
class BAbort: RscIGUIShortcutButton {
class BAbort: RscIGUIShortcutButton
{
idc = 2;
shortcuts[] = {"0x00050000 + 0",28,57,156};
x = 0.4080875;
@@ -133,37 +172,43 @@ class RscDisplayMissionFail: RscStandardDisplay {
text = $STR_UI_END;
};
};
class ControlsBackground {
class ControlsBackground
{
delete Mainback;
};
};
class CA_TextLanguage;
class RscXListBox;
class RscDisplayGameOptions {
class RscDisplayGameOptions
{
//onLoad = "((_this select 0) displayCtrl 140) lbAdd 'Default';((_this select 0) displayCtrl 140) lbAdd 'Debug';((_this select 0) displayCtrl 140) lbAdd 'None';((_this select 0) displayCtrl 140) lbSetCurSel (uiNamespace getVariable ['DZ_displayUI', 0]);";
onUnload = "call ui_changeDisplay;";
class controls {
class CA_TextUIDisplay: CA_TextLanguage {
onUnload = "call ui_changeDisplay;"; /*diag_log[diag_tickTime,'RscDisplayGameOptions'];*/
/*class controls
{
class CA_TextUIDisplay: CA_TextLanguage
{
x = 0.159803;
y = "(0.420549 + 4*0.069854)";
text = "DayZ UI:";
};
class CA_ValueUIDisplay: RscXListBox {
class CA_ValueUIDisplay: RscXListBox
{
idc = 140;
x = 0.400534;
y = "(0.420549 + 4*0.069854)";
w = 0.3;
onLBSelChanged = "(uiNamespace setVariable ['DZ_displayUI', (_this select 1)]);";
};
};*/
};
};
class RscShortcutButton;
class RscShortcutButtonMain;
class RscDisplayMain : RscStandardDisplay {
class controlsBackground {
class RscDisplayMain : RscStandardDisplay
{
class controlsBackground
{
class Mainback : RscPicture {
idc = 1104;
x = "SafeZoneX + 0.04";
@@ -172,16 +217,19 @@ class RscDisplayMain : RscStandardDisplay {
h = 1.000000;
text = "\ca\ui\data\ui_mainmenu_background_ca.paa";
};
class CA_ARMA2 : RscPicture {
class CA_ARMA2 : RscPicture
{
text = "z\addons\dayz_code\gui\loadingscreen.paa";
};
};
class controls {
class controls
{
class CA_Version;
class DAYZ_Version : CA_Version {
class DAYZ_Version : CA_Version
{
idc = -1;
text = "1.0.6";
text = "DayZ Epoch 1.0.6";
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
};
delete CA_TitleMainMenu;
@@ -244,7 +292,8 @@ class RscDisplayDiary {
};
};
class RscButtonActionMenu: RscButton {
class RscButtonActionMenu: RscButton
{
SizeEx = 0.02674;
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,0.8};
@@ -261,8 +310,8 @@ class RscDisplayMPInterrupt : RscStandardDisplay {
movingEnable = 0;
enableSimulation = 1;
//onLoad = "_dummy = ['Init', _this] execVM '\ca\ui\scripts\pauseLoadinit.sqf'; [(_this select 0)] execVM '\z\addons\dayz_code\compile\player_onPause.sqf';"; _respawn = (_this select 0) displayCtrl 1010); _respawn ctrlEnable false; _abort = (_this select 0) displayCtrl 104); _abort ctrlEnable false;
onLoad = "[] execVM '\z\addons\dayz_code\compile\player_onPause.sqf'; _dummy = ['Init', _this] execVM '\ca\ui\scripts\pauseLoadinit.sqf';";
onUnload = "private ['_dummy']; _dummy = ['Unload', _this] execVM '\ca\ui\scripts\pauseOnUnload.sqf';";
onLoad = "uiNamespace setVariable ['RscDisplayMPInterrupt', _this select 0];[] execVM '\z\addons\dayz_code\compile\player_onPause.sqf'; _dummy = ['Init', _this] execVM '\ca\ui\scripts\pauseLoadinit.sqf';"; /*diag_log[diag_tickTime,'RscDisplayMPInterrupt'];*/
onUnload = "uiNamespace setVariable ['RscDisplayMPInterrupt', nil];['Unload', _this] execVM '\ca\ui\scripts\pauseOnUnload.sqf';";
class controlsBackground {
class Mainback : RscPicture {
@@ -348,7 +397,7 @@ class RscDisplayMPInterrupt : RscStandardDisplay {
class CA_B_Abort : CA_B_SAVE {
idc = 104;
y = 0.2537 + 0.101903 * 4;
onButtonClick = "[] execVM '\z\addons\dayz_code\compile\player_onPause.sqf'; call player_forceSave;";
onButtonClick = "[] execVM '\z\addons\dayz_code\compile\player_onPause.sqf'; call player_forceSave; with uiNameSpace do {RscDMSLoad=-2;};"; // request disconnection from server
text = $STR_DISP_INT_ABORT;
default = 0;
};
@@ -364,6 +413,8 @@ class RscDisplayMPInterrupt : RscStandardDisplay {
};
};
/*
class DZ_ItemInteraction {
idd = 6999;

View File

@@ -108,7 +108,7 @@ class CfgAddons
//Epoch Additions
#include "Configs\RscDisplay\safegui.hpp"
#include "Configs\RscDisplay\dialog.hpp"
#include "Configs\RscDisplay\tradermenu.hpp"
#include "Configs\RscDisplay\deathboards.hpp"
#include "Configs\CfgExtra\snappoints.hpp"
#include "external\R3F_Realism\R3F_Weight\R3F_CfgWeight.h"

View File

@@ -6357,6 +6357,7 @@
<Spanish>Mochila de Patrullaje (Coyote)</Spanish>
<Czech>Batůžek (coyote)</Czech>
<German>Trekkingrucksack (Coyote)</German>
<Dutch>Patrouillerugzak (coyote)</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_PATROL">
<English>Patrol Pack (coyote)</English>
@@ -6373,6 +6374,7 @@
<Spanish>Mochila de Asalto (ACU)</Spanish>
<Czech>Batoh Assault Pack (ACU)</Czech>
<German>Kampfrucksack (ACU)</German>
<Dutch>Aanvalsrugzak (ACU)</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_ACU">
<English>Assault Pack (ACU)</English>
@@ -6389,6 +6391,7 @@
<Spanish>Bolsa Chaleco</Spanish>
<Czech>Česká vesta</Czech>
<German>Tschechischer Westenrucksack</German>
<Dutch>Tsjechische Borstzak</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_VEST">
<English>Czech Vest Pouch</English>
@@ -6405,6 +6408,7 @@
<Spanish>Mochila Alice</Spanish>
<Czech>Batoh Alice</Czech>
<German>Alice Pack</German>
<Dutch>ALICE Rugzak</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_ALICE">
<English>Alice pack</English>
@@ -6421,6 +6425,7 @@
<Spanish>Mochila de Supervivencia ACU</Spanish>
<Czech>Batoh Survival ACU</Czech>
<German>Kampfrucksack (Woodland)</German>
<Dutch>Overlevings ACU</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_SURVACU">
<English>Survival ACU</English>
@@ -6437,6 +6442,7 @@
<Spanish>Mochila de Asalto Británica</Spanish>
<Czech>Britský batoh</Czech>
<German>Britischer Kampfrucksack</German>
<Dutch>Britse Aanvalsrugzak</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_BRITISH">
<English>British Assault Pack</English>
@@ -6453,6 +6459,7 @@
<Spanish>Mochila Checa</Spanish>
<Czech>Český batoh</Czech>
<German>Tschechischer Rucksack</German>
<Dutch>Tsjechische Rugzak</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_CZECH">
<English>Czech Backpack</English>
@@ -6469,6 +6476,7 @@
<Spanish>Mochila (Coyote)</Spanish>
<Czech>Batoh (coyote)</Czech>
<German>Kampfrucksack (Coyote)</German>
<Dutch>Rugzak (Coyote)</Dutch>
</Key>
<Key ID="STR_BACKPACK_DESC_COYOTE">
<English>Backpack (coyote)</English>

View File

@@ -2885,78 +2885,6 @@
<French></French>
<Czech>Upgrade vozidla byl úspěšný.</Czech>
</Key>
<Key ID="STR_EPOCH_PACK_PATROL">
<English>Patrol Pack (coyote)</English>
<German>Patrouille Rucksack (coyote)</German>
<Russian>Патрульный рюкзак (Койот)</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Patrouillerugzak (coyote)</Dutch>
<French>Sac de Patrouille (coyote)</French>
<Czech>Baťůžek (coyote)</Czech>
</Key>
<Key ID="STR_EPOCH_PACK_ASSAULT">
<English>Assault Pack (ACU)</English>
<German>Sturmtrupp Rucksack (ACU)</German>
<Russian>Рюкзак штурмовика (ACU)</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Aanvalsrugzak (ACU)</Dutch>
<French>Sac d'assaut (ACU)</French>
<!-- <Czech></Czech> -->
</Key>
<Key ID="STR_EPOCH_PACK_POUCH">
<English>Czech Vest Pouch</English>
<German>Tschechischer Beutel</German>
<Russian>Чешский жилет-мешок</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Tsjechische Borstzak</Dutch>
<French>Veste à poches tchèque</French>
<!-- <Czech></Czech> -->
</Key>
<Key ID="STR_EPOCH_PACK_ALICE">
<English>ALICE Pack</English>
<German>ALICE Rucksack</German>
<!-- <Russian></Russian> -->
<!-- <Spanish></Spanish> -->
<Dutch>ALICE Rugzak</Dutch>
<French>Sac Polyvalent (ALICE)</French>
<!-- <Czech></Czech> -->
</Key>
<Key ID="STR_EPOCH_PACK_ACU">
<English>Survival ACU</English>
<German>Survival Rucksack (ACU)</German>
<Russian>Рюкзак выжившего (ACU)</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Overlevings ACU</Dutch>
<French>Sac de Survivant (ACU)</French>
<!-- <Czech></Czech> -->
</Key>
<Key ID="STR_EPOCH_PACK_BAP">
<English>British Assault Pack</English>
<German>Britischer Sturmtrupp Rucksack</German>
<Russian>Рюкзак британского штурмовика</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Britse Aanvalsrugzak</Dutch>
<French>Sac dassaut Britannique</French>
<Czech>Britský Batoh</Czech>
</Key>
<Key ID="STR_EPOCH_PACK_CZECH">
<English>Czech Backpack</English>
<German>Tschechische Rucksack</German>
<Russian>Чешский рюкзак</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Tsjechische Rugzak</Dutch>
<French>Sac à dos tchèque</French>
<Czech>Český Batoh</Czech>
</Key>
<Key ID="STR_EPOCH_PACK_COYOTE">
<English>Backpack (Coyote)</English>
<German>Rucksack (Coyote)</German>
<Russian>Рюкзак (Койот)</Russian>
<!-- <Spanish></Spanish> -->
<Dutch>Rugzak (Coyote)</Dutch>
<French>Sac à Dos (coyote)</French>
<Czech>Batoh (Coyote)</Czech>
</Key>
<Key ID="STR_EPOCH_PACK_LGB">
<English>Large Gunbag</English>
<German>Große Waffentasche</German>