mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Remove client side disable sim on DZE_GodModeBase objects
Continuation ofd7a3b30This partially revertsea94ec4. Epoch has never disabled simulation client side on any buildables prior toea94ec4. We now know it disables storage capability, may disable lighting the object with scripted light sources and potentially cause other issues. https://community.bistudio.com/wiki/enableSimulation If we readd this in the future it should be well tested. It should also be done properly in the vehicle init field, so it takes affect on all clients, including JIP, instead of only the player building it (until they relog).
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
[FIXED] Random skin selection on new character creation with DZE_defaultSkin = [["Male skin1","Male skin2"],["Female skin1","Female skin2"]];
|
||||
[FIXED] Corpse markers are now deleted for bodies that are hidden.
|
||||
[FIXED] Unable to sell classic 'ItemBloodbag' at traders. @oiad
|
||||
[FIXED] The player building a shed, tent or other unlocked storage was unable to use its gear until relog when DZE_GodModeBase=true; @oiad
|
||||
|
||||
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
|
||||
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
|
||||
|
||||
@@ -590,7 +590,6 @@ if (_canBuild select 0) then {
|
||||
};
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_tmpbuilt addEventHandler ["HandleDamage",{false}];
|
||||
if !(_classname in DZE_isNewStorage) then {_tmpbuilt enableSimulation false;};
|
||||
};
|
||||
} else { //if magazine was not removed, cancel publish
|
||||
deleteVehicle _tmpbuilt;
|
||||
|
||||
@@ -471,7 +471,6 @@ if (_canBuild select 0) then {
|
||||
};
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_tmpbuilt addEventHandler ["HandleDamage",{false}];
|
||||
_tmpbuilt enableSimulation false;
|
||||
};
|
||||
} else {
|
||||
deleteVehicle _tmpbuilt;
|
||||
|
||||
@@ -106,7 +106,6 @@ if ((count _upgrade) > 0) then {
|
||||
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_object addEventHandler ["HandleDamage",{false}];
|
||||
_object enableSimulation false;
|
||||
};
|
||||
|
||||
if (DZE_permanentPlot) then {
|
||||
|
||||
@@ -127,7 +127,6 @@ if ((count _upgrade) > 0) then {
|
||||
};
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_object addEventHandler ["HandleDamage",{false}];
|
||||
_object enableSimulation false;
|
||||
};
|
||||
if (DZE_permanentPlot) then {
|
||||
_ownerID = _obj getVariable["ownerPUID","0"];
|
||||
|
||||
Reference in New Issue
Block a user