Spawn infectious waterholes locally on each machine

Vanilla commits:

2d47c7250c

94a0bac524

44b7114129
This commit is contained in:
ebaydayz
2016-10-17 16:49:24 -04:00
parent 228ac99eb1
commit fffcf43bbb
46 changed files with 1576 additions and 1536 deletions

View File

@@ -113,11 +113,14 @@ if (isServer) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\cmr_ovaron.sqf"; //Add trader agents
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
};
//Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
//Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important)
if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; };
// Lootable objects from CfgTownGeneratorDefault.hpp
if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; };