Disable PaintShopIcons by default

This commit is contained in:
He-Man 2019-10-07 20:07:12 +02:00
parent c6e08f3d63
commit 98635ed441
2 changed files with 6 additions and 3 deletions

View File

@ -89,6 +89,7 @@ forceRestartTime = 14400; // 4 hour restarts
}; };
disableVehicleTIE = "true"; disableVehicleTIE = "true";
ReplaceCarService = "true"; // Replace all "Land_CarService_F" with "paintshop" on the Map on Server Start ReplaceCarService = "true"; // Replace all "Land_CarService_F" with "paintshop" on the Map on Server Start
PaintShopIcons = "false"; // Create MapIcons for PaintShops
// BaseBuilding // BaseBuilding
StorageSlotsLimit = 1500; // Max storage slots allowed. Warning! Higher the number lower performance. StorageSlotsLimit = 1500; // Max storage slots allowed. Warning! Higher the number lower performance.

View File

@ -195,9 +195,11 @@ if (([_serverSettingsConfig, "ReplaceCarService", false] call EPOCH_fnc_returnCo
_x HideobjectGlobal true; _x HideobjectGlobal true;
} foreach (epoch_centerMarkerPosition nearObjects ["Land_CarService_F", EPOCH_dynamicVehicleArea]); } foreach (epoch_centerMarkerPosition nearObjects ["Land_CarService_F", EPOCH_dynamicVehicleArea]);
}; };
{ if (([_serverSettingsConfig, "PaintShopIcons", false] call EPOCH_fnc_returnConfigEntry)) then {
{
_markers = ["PaintGarage", (getpos _x)] call EPOCH_server_createGlobalMarkerSet; _markers = ["PaintGarage", (getpos _x)] call EPOCH_server_createGlobalMarkerSet;
} foreach (allmissionobjects "paintshop"); } foreach (allmissionobjects "paintshop");
};
diag_log "Epoch: Loading vehicles"; diag_log "Epoch: Loading vehicles";
// Vehicle slot limit set to total of all allowed limits // Vehicle slot limit set to total of all allowed limits