mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 09:32:02 +03:00
CFG WEAPONS DONE
This commit is contained in:
1108
SQF/dayz_code/Configs/RscDisplay/RscDisplayConstructionMenu.hpp
Normal file
1108
SQF/dayz_code/Configs/RscDisplay/RscDisplayConstructionMenu.hpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,9 @@ class RscDisplayGenderSelect
|
||||
{
|
||||
idd = 6902;
|
||||
enableDisplay = 1;
|
||||
|
||||
onLoad = "dayz_DisplayGenderSelect = true;";
|
||||
|
||||
class controls
|
||||
{
|
||||
class GenderPic_Man : RscActiveText
|
||||
@@ -15,7 +18,7 @@ class RscDisplayGenderSelect
|
||||
h = 0.542373 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectGender = 'Survivor2_DZ';";
|
||||
action = "closeDialog 0;dayz_DisplayGenderSelect = false;dayz_selectGender = 'Survivor2_DZ';";
|
||||
};
|
||||
class GenderPic_Woman : RscActiveText
|
||||
{
|
||||
@@ -28,7 +31,7 @@ class RscDisplayGenderSelect
|
||||
h = 0.542373 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectGender = 'SurvivorW2_DZ';";
|
||||
action = "closeDialog 0;dayz_DisplayGenderSelect = false;dayz_selectGender = 'SurvivorW2_DZ';";
|
||||
};
|
||||
class Gender_Title: RscStructuredText
|
||||
{
|
||||
|
||||
@@ -2,6 +2,9 @@ class RscDisplaySpawnSelecter {
|
||||
idd = 6903;
|
||||
enableDisplay = 1;
|
||||
|
||||
onLoad = "dayz_DisplaySpawnSelecter = true;";
|
||||
//onUnload = "dayz_DisplaySpawnSelecter = false;";
|
||||
|
||||
class controlsBackground {
|
||||
class Mainback : RscPicture {
|
||||
idc = -1;
|
||||
@@ -14,8 +17,10 @@ class RscDisplaySpawnSelecter {
|
||||
};
|
||||
class controls
|
||||
{
|
||||
//kamenka
|
||||
class RscSelectedRegion1 : RscActiveText
|
||||
{
|
||||
onLoad = "if (dayz_selectRegion == 1) then {onMouseEnter = (_this select 0) ctrlShow false; (_this select 0) ctrlEnable false;};";
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "\z\addons\dayz_code\gui\spawn\spawn_kamenka.paa";
|
||||
@@ -25,11 +30,13 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.3044 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 1;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 1;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
//balota
|
||||
class RscSelectedRegion2: RscActiveText
|
||||
{
|
||||
onLoad = "if (dayz_selectRegion == 0) then {onMouseEnter = (_this select 0) ctrlShow false; (_this select 0) ctrlEnable false;};";
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "\z\addons\dayz_code\gui\spawn\spawn_balota.paa";
|
||||
@@ -39,11 +46,13 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.270356 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 0;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 0;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
//cherno
|
||||
class RscSelectedRegion3: RscActiveText
|
||||
{
|
||||
onLoad = "if (dayz_selectRegion == 2) then {onMouseEnter = (_this select 0) ctrlShow false; (_this select 0) ctrlEnable false;};";
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "\z\addons\dayz_code\gui\spawn\spawn_cherno.paa";
|
||||
@@ -53,11 +62,13 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.275 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 2;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 2;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
//elektro
|
||||
class RscSelectedRegion4: RscActiveText
|
||||
{
|
||||
onLoad = "if (dayz_selectRegion == 3) then {onMouseEnter = (_this select 0) ctrlShow false; (_this select 0) ctrlEnable false;};";
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "\z\addons\dayz_code\gui\spawn\spawn_elektro.paa";
|
||||
@@ -67,11 +78,12 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.274546 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 3;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 3;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
class RscSelectedRegion5: RscActiveText
|
||||
{
|
||||
onLoad = "if (dayz_selectRegion == 4) then {onMouseEnter = (_this select 0) ctrlShow false; (_this select 0) ctrlEnable false;};";
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "\z\addons\dayz_code\gui\spawn\spawn_sol.paa";
|
||||
@@ -81,11 +93,13 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.275001 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 4;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 4;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
//berezino
|
||||
class RscSelectedRegion6: RscActiveText
|
||||
{
|
||||
onLoad = "if (dayz_selectRegion == 5) then {onMouseEnter = (_this select 0) ctrlShow false; (_this select 0) ctrlEnable false;};";
|
||||
idc = -1;
|
||||
style = 48;
|
||||
text = "\z\addons\dayz_code\gui\spawn\spawn_berezino.paa";
|
||||
@@ -95,9 +109,10 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.275 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 5;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 5;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
//Random
|
||||
class RscSelectedRegionRandom: RscActiveText
|
||||
{
|
||||
idc = -1;
|
||||
@@ -109,7 +124,7 @@ class RscDisplaySpawnSelecter {
|
||||
h = 0.331135035 * safezoneH;
|
||||
color[] = { 0.5, 0.5, 0.5, 1 };
|
||||
colorActive[] = { 1, 1, 1, 1 };
|
||||
action = "closeDialog 0;dayz_selectRegion = 9;";
|
||||
action = "closeDialog 0;dayz_DisplaySpawnSelecter = false;dayz_selectRegion = 9;";
|
||||
onMouseEnter = "ctrlSetFocus (_this select 0)";
|
||||
};
|
||||
|
||||
|
||||
@@ -265,6 +265,15 @@ class RscTitles
|
||||
w = 0.075;
|
||||
h = 0.10;
|
||||
};
|
||||
class RscPicture_1307: RscPictureGUI
|
||||
{
|
||||
idc = 1307;
|
||||
// blood type
|
||||
x = 0.955313 * safezoneW + safezoneX;
|
||||
y = 0.79 * safezoneH + safezoneY;
|
||||
w = 0.075;
|
||||
h = 0.10;
|
||||
};
|
||||
class RscPicture_1302: RscPictureGUI
|
||||
{
|
||||
idc = 1302;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "RscLobby.hpp"
|
||||
#include "RscDisplayCraftingMenu.hpp"
|
||||
//#include "RscDisplayGear.hpp"
|
||||
#include "RscDisplayGear.hpp"
|
||||
#include "RscDisplayGenderSelect.hpp"
|
||||
#include "RscDisplaySpawnSelecter.hpp"
|
||||
#include "RscPlayerUI.hpp"
|
||||
|
||||
Reference in New Issue
Block a user