mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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
22 lines
848 B
Plaintext
22 lines
848 B
Plaintext
/* Block local script execution bug. Still not fixed in A20A as of 1.63.131129 */
|
|
inGameUISetEventHandler ["PrevAction","false"];
|
|
inGameUISetEventHandler ["NextAction","false"];
|
|
inGameUISetEventHandler ["Action","false"];
|
|
|
|
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
|
//
|
|
// check that plants libs are properly loaded
|
|
// thanks to Tansien the great
|
|
// run only once per character life
|
|
{
|
|
_plant = _x createVehicleLocal (getMarkerPos "center");
|
|
uiSleep 0.1;
|
|
if (sizeOf _x == 0) exitWith {
|
|
PVDZ_sec_atp = toArray ("Plants texture hack for type " + _x);
|
|
publicVariableServer "PVDZ_sec_atp";
|
|
endMission "LOSER";
|
|
};
|
|
deleteVehicle _plant;
|
|
} count ["grass","prunus","picea","fallentree","phragmites","acer","amygdalusn","Brush","fiberplant","amygdalusc","boulder"];
|
|
|
|
diag_log format ["%1: Plants libs tests done!",__FILE__]; |