Autor: oSHiTz
Bild: swiftroleplay.nn.pe
Bild:
Spoiler anzeigen
1. Öffnet eure spawnSelection.hpp und ersetzt den Inhalt durch folgendes:
Code
class life_spawn_selection {
idd = 38500;
movingEnable = 0;
enableSimulation = 1;
class controlsBackground {
class InvTablet: Life_RscPicture {
idc = 9090909;
text = "textures\menu.paa";
x = 0;
y = -0.18;
w = 1;
h = 1.28;
};
class MapView : Life_RscMapControl {
idc = 38502;
x = 0.074;
y = 0.104;
w = 0.85;
h = 0.79 - (22 / 250);
maxSatelliteAlpha = 0.75;//0.75;
alphaFadeStartScale = 1.15;//0.15;
alphaFadeEndScale = 1.29;//0.29;
};
/*class MainBackground: Life_RscText {
colorBackground[] = {0,0,0,0.7};
idc = -1;
x = 0.1;
y = 0.2 + (11 / 250);
w = 0.8;
h = 0.6 - (22 / 250);
};*/
class Title: Life_RscTitle {
colorBackground[] = {0,0,0,0};
idc = 38503;
text = "$STR_Spawn_Title";
x = 0.1;
y = 0.12;
w = 0.8;
h = (1 / 25);
};
class SpawnPointTitle: Title {
idc = 38501;
style = 1;
text = "";
};
};
class controls {
class SpawnPointList: Life_RscListNBox {
idc = 38510;
text = "";
sizeEx = 0.041;
coloumns[] = {0,0,0.9};
drawSideArrows = 0;
idcLeft = -1;
idcRight = -1;
rowHeight = 0.050;
x = 0.105;
y = 0.16;
w = 0.34;
h = (10 / 25);
onLBSelChanged = "_this call life_fnc_spawnPointSelected;";
};
class spawnButton: Life_RscButtonMenu {
idc = -1;
colorBackground[] = {0,0,0,0.5};
text = "$STR_Spawn_Spawn";
onButtonClick = "[] call life_fnc_spawnConfirm";
x = 0.09;
y = 0.762;
w = (8 / 40);
h = (1 / 25);
};
class cancleButton: Life_RscButtonMenu {
idc = -1;
colorBackground[] = {0,0,0,0.5};
text = "Back To Lobby";
onButtonClick = [ "Abort", true, false ] call BIS_fnc_endMission;
x = 0.31;
y = 0.762;
w = (8 / 40);
h = (1 / 25);
};
};
};
Alles anzeigen
2. Ladet die menu.zip herunter und fügt die .paa in den texture Ordner ein.
Fertig !