Servus liebe NN-Community,
ich melde mich nochmal mit einem Problem zu Wort. Und zwar bezüglich des Spawnmenüs.
Ich habe vor kurzem das Spawnmenü eingebaut, was es hier in den Tutorials zu finden gibt. Alles soweit schicki micki. Spawnpunkte in der Config und der mission.sqm auch festgelegt. Nur leider werden mir im Spawn Menü ganz andere Städte zum spawnen angezeigt. Hier einmal die entsprechenden Datein dazu:
Config:
/*
* Format:
* 3: STRING (Conditions) - Must return boolean :
* String can contain any amount of conditions, aslong as the entire
* string returns a boolean. This allows you to check any levels, licenses etc,
* in any combination. For example:
* "call life_coplevel && license_civ_someLicense"
* This will also let you call any other function.
*
*/
class CfgSpawnPoints {
class Malden {
class Civilian {
class LaTrinite {
displayName = "La Trinite";
spawnMarker = "civ_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class LeRiviere {
displayName = "Le Riviere";
spawnMarker = "civ_spawn_2";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class RebelHQ {
displayName = "Familiensitz der Cosa Nostra";
spawnMarker = "civ_spawn_3";
icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
conditions = "license_civ_rebel";
};
};
class Cop {
class LaTrinite {
displayName = "Polizei Präsidium La Trinite";
spawnMarker = "cop_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class LeRiviere {
displayName = "Polizeirevier Le Riviere";
spawnMarker = "cop_spawn_2";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class AZ {
displayName = "Ausbildungszentrum";
spawnMarker = "cop_spawn_3";
icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
conditions = "";
};
};
class Medic {
class LaTrinite {
displayName = "Feuer- und Rettungswache La Trinite";
spawnMarker = "medic_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
conditions = "";
};
class LeRiviere {
displayName = "Feuer- und Rettungswache Le Riviere";
spawnMarker = "medic_spawn_2";
icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
conditions = "";
};
class Air {
displayName = "Luftrettung";
spawnMarker = "medic_spawn_3";
icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
conditions = "";
};
};
};
};
Alles anzeigen
spawnSelection:
class life_spawn_selection
{
idd = 38500;
movingEnabled = 0;
enableSimulation = 1;
class controlsBackground
{
class life_RscTitleBackground: Life_RscText
{
idc = 1000;
x = 0.0101577 * safezoneW + safezoneX;
y = 0.0291999 * safezoneH + safezoneY;
w = 0.170156 * safezoneW;
h = 0.9438 * safezoneH;
colorBackground[] = {0.294,0.286,0.286,0.8};
};
class Title: Life_RscText
{
idc = 1001;
text = "Spawnauswahl";
x = 0.0132501 * safezoneW + safezoneX;
y = 0.0402 * safezoneH + safezoneY;
w = 0.164999 * safezoneW;
h = 0.0242 * safezoneH;
};
class MapView: Life_RscMapControl
{
idc = 38502;
x = 0.183407 * safezoneW + safezoneX;
y = 0.0292 * safezoneH + safezoneY;
w = 0.8085 * safezoneW;
h = 0.9438 * safezoneH;
maxSatelliteAlpha = 0.75;
alphaFadeStartScale = 1.15;
alphaFadeEndScale = 1.29;
};
};
class controls {
class spawnList: Life_RscListNbox
{
idc = 38510;
x = 0.0153125 * safezoneW + safezoneX;
y = 0.071 * safezoneH + safezoneY;
w = 0.159844 * safezoneW;
h = 0.847 * safezoneH;
text = "";
sizeEx = 0.041;
coloumns[] = {0,0,0.9};
drawSideArrows = 1;
idcLeft = -1;
idcRight = -1;
rowHeight = 0.050;
onLBSelChanged = "_this call life_fnc_spawnPointSelected;";
};
class spawnButton: Life_RscButtonMenu
{
idc = -1;
text = "SPAWN";
x = 0.0153125 * safezoneW + safezoneX;
y = 0.9246 * safezoneH + safezoneY;
w = 0.159844 * safezoneW;
h = 0.033 * safezoneH;
style = "0x02";
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])", 0.5};
colorBackgroundActive[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1};
colorBackgroundDisabled[] = {0.95,0.95,0.95,0};
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
colorShadow[] = {0,0,0,1};
colorBorder[] = {0,0,0,0};
borderSize = 0.008;
onButtonClick = "[] call life_fnc_spawnConfirm";
};
};
};
Alles anzeigen
Ich habe natürlich auch darauf gedacht, dass ich meine Marker richtig benannt habe etc. Aber in der Spawnauswahl erscheinen dann Le Port, La Trinite (Funktionsfähig) und La Pessange. Die sind aber beide nicht in der Config drinne... und die, die drinn sind werden nicht angezeigt. Fehler habe ich im Log auch nicht erkennen können.
Ich bedanke mich im vorraus für eure Hilfe!