Moinsen Leute
Sitze da nun schon seid Heute morgen dran. Und langsam bin ich mit mein Latein am ende, habe auch in Google etc geforstet nach diesem fehler. Ich kriege ihn einfach NICHT behoben.
Bin schon hingegangen habe in der fnsettingsMenu.sqf rum gespielt kein erfolg, dann im dialog in der settings.h aber sobald ich da irgendwas entferne habe ich ne KI inner Lobby.
Ich weiß gerade aktuell nicht wo der fehler liegt, hoffe es kann mir jemand helfen. Settings.h und fn_settingsMenu.sqf habe ich unten angehangen.
Spoiler anzeigen
class SettingsMenu
{
idd = 2900;
name = "SettingsMenu";
movingEnabled = 1;
enableSimulation = 1;
class controlsBackground
{
class RscTitleBackground : life_RscText
{
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
idc = -1;
x = 0.3;
y = 0.2;
w = 0.5;
h = (1 / 25);
};
class RscMainBackground : life_RscText
{
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.3;
y = 0.2 + (11 / 250);
w = 0.5;
h = 0.43 - (22 / 250);
};
class PlayerTagsHeader : Life_RscText
{
idc = -1;
text = "$STR_SM_PlayerTags";
colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
x = 0.30;
y = 0.43;
w = 0.35;
h = (1 / 25);
};
class SideChatHeader : PlayerTagsHeader
{
idc = -1;
text = "$STR_SM_SC";
shadow = 0;
y = 0.48;
};
class RevealNearestHeader : PlayerTagsHeader
{
idc = -1;
text = "Reveal Nearest Objects";
y = 0.53;
};
class Title : life_RscTitle
{
idc = -1;
colorBackground[] = {0,0,0,0};
text = "$STR_SM_Title";
x = 0.3;
y = 0.2;
w = 0.5;
h = (1 / 25);
};
};
class controls
{
class VDonFoot : life_RscText
{
idc = -1;
text = "$STR_SM_onFoot";
x = 0.32; y = 0.258;
w = 0.275; h = 0.04;
};
class VDinCar : life_RscText
{
idc = -1;
text = "$STR_SM_inCar";
x = 0.32; y = 0.305;
w = 0.275; h = 0.04;
};
class VDinAir : life_RscText
{
idc = -1;
text = "$STR_SM_inAir";
x = 0.32; y = 0.355;
w = 0.275; h = 0.04;
};
class VD_onfoot_slider : life_RscXSliderH
{
idc = 2901;
text = "";
onSliderPosChanged = "[0,_this select 1] call life_fnc_s_onSliderChange;";
tooltip = "$STR_SM_ToolTip1";
x = 0.42;
y = 0.30 - (1 / 25);
w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
class VD_onfoot_value : life_RscText
{
idc = 2902;
text = "";
x = 0.70; y = 0.258;
w = 0.275; h = 0.04;
};
class VD_car_slider : life_RscXSliderH
{
idc = 2911;
text = "";
onSliderPosChanged = "[1,_this select 1] call life_fnc_s_onSliderChange;";
tooltip = "$STR_SM_ToolTip2";
x = 0.42;
y = 0.35 - (1 / 25);
w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
class VD_car_value : life_RscText
{
idc = 2912;
text = "";
x = 0.70; y = 0.31;
w = 0.275; h = 0.04;
};
class VD_air_slider : life_RscXSliderH
{
idc = 2921;
text = "";
onSliderPosChanged = "[2,_this select 1] call life_fnc_s_onSliderChange;";
tooltip = "$STR_SM_ToolTip3";
x = 0.42;
y = 0.40 - (1 / 25);
w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
class VD_air_value : life_RscText
{
idc = 2922;
text = "";
x = 0.70; y = 0.36;
w = 0.275; h = 0.04;
};
class PlayerTagsONOFF : Life_RscActiveText
{
text = "ON";
tooltip = "$STR_GUI_PlayTags";
idc = 2970;
sizeEx = 0.04;
x = 0.65;
y = 0.43;
w = 0.275;
};
class SideChatONOFF : PlayerTagsONOFF
{
idc = 2971;
tooltip = "";
action = "[] call life_fnc_sidechat;";
y = 0.48;
};
class RevealONOFF : PlayerTagsONOFF
{
tooltip = "$STR_GUI_PlayerReveal";
idc = 2972;
y = 0.53;
};
class ButtonClose : life_RscButtonMenu {
idc = -1;
//shortcuts[] = {0x00050000 + 2};
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
x = 0.48;
y = 0.63 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
};
};
Hoffe es kann mir jemand weiterhelfen
Geändert habe ich viel, aber alles ieder rückgänig gemacht. Sind nur noch die standart datein so wie sie immer waren. Da bei der hpp datei wenn man was entfernt hat KI inner Lobby war. Logs sind unter angehangen. Wie lange das Problem ist KA. Vor kurzen erst gesehen das es da ist.
MFG
Johnny