mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
This allows finer grained control of crashsite, carepackage and infected camp spawn positions and radii (further north, south, east, west, etc.). Also removed some hardcoded checks for Chernarus, since dayz_townGenerator should always be off on other maps for now. Someone may add town generator coordinates for other maps later. Related vanilla commits:b20b402bf07c8b69eb827dfd3ef9cf
19 lines
650 B
Plaintext
19 lines
650 B
Plaintext
//diag_log [ diag_tickTime, __FILE__, "Sp4wing security concrete blocks"];
|
|
poi_processObject = {
|
|
private ["_type","_pos","_dir","_elevation","_tilt","_o"];
|
|
_type = _this select 0;
|
|
_pos = _this select 1;
|
|
_dir = _this select 2;
|
|
_elevation = _this select 3;
|
|
_tilt = _this select 4;
|
|
|
|
_o = _type createVehicleLocal _pos;
|
|
_o setDir _dir;
|
|
_o setPosATL _pos;
|
|
|
|
_o setVariable ["", true]; // prevent network SV by loot/zeds spawner
|
|
};
|
|
|
|
if (toLower worldName == "chernarus") then { //need to add building coordinates for other maps
|
|
call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\security\antiwallhack.sqf");
|
|
}; |