mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Spawn infectious waterholes locally on each machine
Vanilla commits:2d47c7250c94a0bac52444b7114129
This commit is contained in:
@@ -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"; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user