Update trader files

This commit re-build the complete traders and almost all the files related with them. It is much easier for new server admins to handle a map change with traders and safe zones now.

- Fixing many wrong set markers.
- Fixing wrong trader agent positions.
- The trader configs got re-build.
- All trader categories have a localization now. I've noticed too late that we already have a CL for the categories so I've merged them into epoch.
- Fixing dupable objects in the spawned trader cities.
- Adding missing sensors for all traders.
- Removing many duplicated trader categories inside the trader files.
- Adding Safe Zone support for all traders excluded Wholersalers, Boat Traders and Dock Traders.
- Removing Mello trader on Panthera due to many trader cites.
- Namalsk and Lingor traders got completely re-build. Thx @devlok for building the trader cities.
- Sauerland has a Boat Trader now.
- Removing wrong markers from Ovaron.
- Ruegen and Ovaron have no traders so far. We will probaly add them later.
This commit is contained in:
A Man
2019-12-04 17:52:31 +01:00
parent f0ac4afc79
commit 92700e8a2e
166 changed files with 5985 additions and 8629 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
@@ -27,7 +27,7 @@ if (dayz_presets == "Custom") then {
dayz_spawnselection = 0; //(Chernarus only) Turn on spawn selection 0 = random only spawns, 1 = spawn choice based on limits
dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
dayz_spawnCrashSite_clutterCutter = 0; // heli crash options 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn 0 = loot hidden in grass, 1 = loot lifted, 2 = no grass
dayz_bleedingeffect = 2; //1 = blood on the ground (negatively impacts FPS), 2 = partical effect, 3 = both
dayz_OpenTarget_TimerTicks = 60 * 10; //how long can a player be freely attacked for after attacking someone unprovoked
dayz_nutritionValuesSystem = true; //true, Enables nutrition system, false, disables nutrition system.
@@ -61,8 +61,7 @@ DZE_GodModeBase = false; // Make player built base objects indestructible
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
DZE_PlotPole = [30,45]; // Radius owned by plot pole [Regular objects,Other plotpoles]. Difference between them is the minimum buffer between bases.
DZE_BuildingLimit = 150; // Max number of built objects allowed in DZE_PlotPole radius
DZE_SafeZonePosArray = [[[15502,17015,0],100],[[13166,6611,0],100],[[24710,21741,0],100],[[16983,1774,0],50],[[11045,15671,0],50],[[2504,3870,0],50],[[230,22703,0],50]]; // Format is [[[3D POS],RADIUS],[[3D POS],RADIUS]]; Stops loot and zed spawn, salvage and players being killed if their vehicle is destroyed in these zones.
DZE_SelfTransfuse = true; // Allow players to bloodbag themselves
DZE_SafeZonePosArray = [[[15502,17015,0],100],[[13166,6611,0],100],[[24710,21741,0],100],[[16983,1774,0],100],[[11045,15671,0],100],[[15350,18522,0],100]]; // Format is [[[3D POS],RADIUS],[[3D POS],RADIUS]]; Stops loot and zed spawn, salvage and players being killed if their vehicle is destroyed in these zones.DZE_SelfTransfuse = true; // Allow players to bloodbag themselves
DZE_selfTransfuse_Values = [12000,15,120]; // [blood amount given, infection chance %, cooldown in seconds]
MaxDynamicDebris = 500; // Max number of random road blocks to spawn around the map
MaxVehicleLimit = 300; // Max number of random vehicles to spawn around the map
@@ -115,24 +114,24 @@ if (isServer) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents
//Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
// Lootable objects from CfgTownGeneratorDefault.hpp
if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };
};
if (!isDedicated) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\sauerland.sqf";
if (toLower worldName == "chernarus") then {
execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf";
};
//Enables Plant lib fixes
execVM "\z\addons\dayz_code\system\antihack.sqf";
if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf"; };
execFSM "\z\addons\dayz_code\system\player_monitor.fsm";
//[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";