mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Change slow zombie behavior and variable
thanks for the idea DieTanx. note: The only changes to the FSM were in the action field of the UnitReady condition
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
[UPDATED] Added cleanup of destroyed vehicles and CraterLong after 25 minutes in sched_corpses.sqf
|
||||
[UPDATED] Reverted group menu color scheme to A2OA default for consistency with game dialogs
|
||||
[UPDATED] Positions defined in DZE_SafeZonePosArray no longer spawn loot or zombies in their respective radius, added new compile to check positions against DZE_SafeZonePosArray "_PosInSafeZone = _positionToCheck call DZE_SafeZonePosCheck;"
|
||||
[UPDATED] DZE_ZombieSpeed = [min, max]; has replaced the, now removed, DZE_slowZombies variable. set DZE_ZombieSpeed = [2,2]; for DZE_slowZombies = true; behavior. see configvariables.sqf for more info
|
||||
|
||||
[FIXED] Kamaz refuel trucks no longer allow automatic refueling. #1855 @coresync2k @dreamforceinc
|
||||
[FIXED] Trees at POIs can be chopped down now. Other trees spawned with createVehicle can be added to dayz_treeTypes in variables.sqf to allow chopping them down.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
private ["_attacked","_chance","_near","_targeted","_localtargets","_remotetargets","_forcedSpeed","_vehicle","_refObj",
|
||||
"_multiplier","_isAir","_hearingThreshold","_sightThreshold","_type","_dist","_attackDist",
|
||||
"_targetedBySight","_targetedBySound","_targets","_last","_entHeight","_pHeight","_delta","_attackResult","_cantSee","_tPos","_zPos",
|
||||
"_targetAngle","_inAngle","_lowBlood"];
|
||||
"_targetAngle","_inAngle","_lowBlood","_speedMin","_speedMax"];
|
||||
|
||||
_vehicle = vehicle player;
|
||||
_refObj = driver _vehicle;
|
||||
@@ -9,9 +9,12 @@ _attacked = false; // at least one Z attacked the player
|
||||
_near = false;
|
||||
//_multiplier = 1;
|
||||
_isAir = _vehicle isKindOf "Air";
|
||||
_speedMin = DZE_ZombieSpeed select 0;
|
||||
_speedMax = DZE_ZombieSpeed select 1;
|
||||
|
||||
{
|
||||
_forcedSpeed = getNumber (configFile >> "CfgVehicles" >> (typeOf _x) >> "forcedSpeed");
|
||||
_forcedSpeed = if ((_speedMin != _speedMax) && {(_speedMin > 0) && (_speedMax > 0)}) then {((random (DZE_ZombieSpeed select 1)) max (DZE_ZombieSpeed select 0));} else {getNumber (configFile >> "CfgVehicles" >> (typeOf _x) >> "forcedSpeed");};
|
||||
//_forcedSpeed = getNumber (configFile >> "CfgVehicles" >> (typeOf _x) >> "forcedSpeed");
|
||||
//_hearingThreshold = getNumber (configFile >> "CfgVehicles" >> (typeOf _x) >> "hearingThreshold");
|
||||
//_sightThreshold = getNumber (configFile >> "CfgVehicles" >> (typeOf _x) >> "sightThreshold");
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ DZE_GodModeBaseExclude = []; //Array of object class names excluded from the god
|
||||
DZE_salvageLocked = true; //Enable or disable salvaging of locked vehicles, useful for stopping griefing on locked vehicles.
|
||||
DZE_DisabledChannels = [(localize "str_channel_side"),(localize "str_channel_global"),(localize "str_channel_command")]; //List of disabled voice channels. Other channels are: "str_channel_group","str_channel_direct","str_channel_vehicle"
|
||||
DZE_NutritionDivisor = [1, 1, 1, 1]; //array of DIVISORS that regulate the rate of [calories, thirst, hunger, temperature] use when "working" (keep in mind that temperature raises with actions) - min values 0.1 - Larger values slow the effect, smaller values accelerate it
|
||||
DZE_ZombieSpeed = [0,0]; //Default agro speed is 6 per zombie config, set array elements 0 and 1 the same for non-variable speed, set to 0 to disable. array format = [min, max]; Ex: [2, 6]; results in a range of speed between 2 and 6 (2 is the old DZE_slowZombies hard-coded speed)
|
||||
|
||||
// Death Messages
|
||||
DZE_DeathMsgChat = "none"; //"none","global","side","system" Display death messages in selected chat channel.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
@@ -56,7 +56,6 @@ DZE_BackpackAntiTheft = false; // Prevent stealing from backpacks in trader zone
|
||||
DZE_BuildOnRoads = false; // Allow building on roads
|
||||
DZE_PlayerZed = true; // Enable spawning as a player zombie when players die with infected status
|
||||
DZE_R3F_WEIGHT = true; // Enable R3F weight. Players carrying too much will be overburdened and forced to move slowly.
|
||||
DZE_slowZombies = false; // Force zombies to always walk
|
||||
DZE_StaticConstructionCount = 0; // Steps required to build. If greater than 0 this applies to all objects.
|
||||
DZE_GodModeBase = false; // Make player built base objects indestructible
|
||||
DZE_requireplot = 1; // Require a plot pole to build 0 = Off, 1 = On
|
||||
|
||||
Reference in New Issue
Block a user