Hi ich wollte versuchen den spawn so zuändern das ich auf Tanus spawnen kann (Modded Server)
allerdings hab ich immer egal was ich mache den Fehler "Einrichten des Cilent bitte warten" .
Ich habe fn_initCiv.sqf geändert
Spoiler anzeigen
#include "..\script_macros.hpp"
/*
File: fn_initCiv.sqf
Author: Bryan "Tonic" Boardwine
Description:
Initializes the civilian.
*/
civ_spawn_1 = nearestObjects[getMarkerPos "civ_spawn_1",250];
civ_spawn_2 = nearestObjects[getMarkerPos "civ_spawn_2",250];
civ_spawn_3 = nearestObjects[getMarkerPos "civ_spawn_3",250];
civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4",250];
waitUntil {!(isNull (findDisplay 46))};
if (life_is_alive && !life_is_arrested) then {
/* Spawn at our last position */
player setVehiclePosition [life_civ_position, [], 0, "CAN_COLLIDE"];
} else {
if (!life_is_alive && !life_is_arrested) then {
if (LIFE_SETTINGS(getNumber,"save_civilian_positionStrict") isEqualTo 1) then {
_handle = [] spawn life_fnc_civLoadout;
waitUntil {scriptDone _handle};
CASH = 0;
[0] call SOCK_fnc_updatePartial;
};
[] call life_fnc_spawnMenu;
waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
} else {
if (life_is_arrested) then {
life_is_arrested = false;
[player,true] spawn life_fnc_jail;
};
};
};
life_is_alive = true;
player addRating 9999999;
Und in der Config_SpawnPoints.hpp
Spoiler anzeigen
class CfgSpawnPoints {
class Civilian {
class Königstein {
displayName = "Königstein";
spawnMarker = "civ_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "!license_civ_rebel";
};
class BadHomburg {
displayName = "Bad Homburg";
spawnMarker = "civ_spawn_2";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class NeuAsnpach {
displayName = "Neu-Anspach";
spawnMarker = "civ_spawn_3";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class Niederreifenberg {
displayName = "Niederreifenberg";
spawnMarker = "civ_spawn_4";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class RebelN {
displayName = $STR_SP_Reb_N;
spawnMarker = "reb_spawn_3";
icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
conditions = "license_civ_rebel";
};
class RebelS {
displayName = $STR_SP_Reb_S;
spawnMarker = "reb_spawn";
icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
conditions = "license_civ_rebel";
};
class RebelE {
displayName = $STR_SP_Reb_E;
spawnMarker = "reb_spawn_2";
icon = "\a3\ui_f\data\map\MapControl\bunker_ca.paa";
conditions = "license_civ_rebel";
};
};
class Cop {
class Königstein {
displayName = "Königstein HQ";
spawnMarker = "cop_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa";
conditions = "";
};
class BadHomburg {
displayName = "BadHomburg HQ";
spawnMarker = "cop_spawn_3";
icon = "\a3\ui_f\data\map\MapControl\fuelstation_ca.paa";
conditions = "";
};
class Niederreifenberg {
displayName = "Niederreifenberg";
spawnMarker = "cop_spawn_2";
icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
conditions = "";
};
class Air {
displayName = $STR_MAR_Police_Air_HQ;
spawnMarker = "cop_spawn_4";
icon = "\a3\ui_f\data\map\Markers\NATO\b_air.paa";
conditions = "call life_coplevel >= 2 && {license_cop_cAir}";
};
class HW {
displayName = $STR_MAR_Highway_Patrol;
spawnMarker = "cop_spawn_5";
icon = "\a3\ui_f\data\map\GroupIcons\badge_rotate_0_gs.paa";
conditions = "call life_coplevel >= 3";
};
};
class Medic {
class Königstein {
displayName = "Königstein";
spawnMarker = "medic_spawn_1";
icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
conditions = "";
};
class BadHomburg {
displayName = "BadHomburg";
spawnMarker = "medic_spawn_2";
icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
conditions = "";
};
class Niederreifenberg {
displayName = "Niederreifenberg";
spawnMarker = "medic_spawn_3";
icon = "\a3\ui_f\data\map\MapControl\hospital_ca.paa";
conditions = "";
};
};
};
Wenn ich nun joine und die Mission starte bekomme ich noch vor der Karte den fehler " File mpmissions\__CUR_MP.xcam_taunus\config\Config_SpawnPoints.hpp, line 3: /CfgSpawnPoints/Civilian/:´´ encountered instead of '{' " angezeigt und ich hab keine ahnung wo da der Fehler sein soll
Ich hoffe Ihr könnt mir helfen
mit feundlichem Gruß
Tim