Merge pull request #569 from EpochModTeam/experimental

0.3.9 b561
This commit is contained in:
vbawol 2016-07-08 10:34:23 -05:00 committed by GitHub
commit afb3ce6023
37 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,7 @@ antagonistChanceLoot = 0.09; //9% chance when player click "SEARCH" on a loot ob
cloneCost = 100; // debt incurred on player death cloneCost = 100; // debt incurred on player death
// vehicles - Max vehicle slots is calculated from per vehicle limits below. Warning! Higher the number lower the performance. // vehicles - Max vehicle slots is calculated from per vehicle limits below. Warning! Higher the number lower the performance.
simulationHandler = true; // When enabled this feature disables simulation on vehicles that are not nea players. Can help improve client fps at the cost of server fps. simulationHandlerOld = false; // When enabled this feature disables simulation on vehicles that are not nea players. Can help improve client fps at the cost of server fps.
vehicleLockTime = 1800; // Controls how many seconds it takes to allow another person/group to unlock vehicle. vehicleLockTime = 1800; // Controls how many seconds it takes to allow another person/group to unlock vehicle.
// Traders // Traders

View File

@ -40,7 +40,7 @@ _unit switchMove "AmovPercMstpSnonWnonDnon_SaluteOut";
[player, "AmovPercMstpSnonWnonDnon_SaluteOut", Epoch_personalToken, _unit] remoteExec ["EPOCH_server_handle_switchMove",2]; [player, "AmovPercMstpSnonWnonDnon_SaluteOut", Epoch_personalToken, _unit] remoteExec ["EPOCH_server_handle_switchMove",2];
_unit setmimic "dead"; _unit setmimic "dead";
_unit setface (selectRandom ["RyanZombieFace1", "RyanZombieFace2", "RyanZombieFace3", "RyanZombieFace4", "RyanZombieFace5"]); // _unit setface (selectRandom ["RyanZombieFace1", "RyanZombieFace2", "RyanZombieFace3", "RyanZombieFace4", "RyanZombieFace5"]);
removegoggles _unit; removegoggles _unit;
_zedHandle = [_unit,true] execFSM "epoch_code\system\EPOCH_zombie_brain.fsm"; _zedHandle = [_unit,true] execFSM "epoch_code\system\EPOCH_zombie_brain.fsm";
_unit addEventHandler ["FiredNear", "(_this select 0) setVariable [""zFiredNear"",[_this select 1, _this select 2]];"]; _unit addEventHandler ["FiredNear", "(_this select 0) setVariable [""zFiredNear"",[_this select 1, _this select 2]];"];

View File

@ -109,7 +109,7 @@ _checkConfigs = {
}; };
_tooltip = ""; _tooltip = "";
_tooltipcode = getText(_x >> "tooltipcode"),; _tooltipcode = getText(_x >> "tooltipcode");
if (_tooltipcode != "") then { if (_tooltipcode != "") then {
_tooltip = [] call compile _tooltipcode; _tooltip = [] call compile _tooltipcode;
} }

View File

@ -1 +1 @@
build=560; build=561;

View File

@ -1 +1 @@
build=560; build=561;

View File

@ -222,8 +222,8 @@ for "_i" from 1 to _maxVehicleLimit do {
}; };
// re-enable damage and apply to vehicles after we wait some time. // re-enable damage and apply to vehicles after we wait some time.
[_vehicleDamages,([_serverSettingsConfig, "immuneVehicleSpawnTime", 120] call EPOCH_fnc_returnConfigEntry),([_serverSettingsConfig, "simulationHandler", true] call EPOCH_fnc_returnConfigEntry)] spawn { [_vehicleDamages,([_serverSettingsConfig, "immuneVehicleSpawnTime", 120] call EPOCH_fnc_returnConfigEntry),([_serverSettingsConfig, "simulationHandlerOld", false] call EPOCH_fnc_returnConfigEntry)] spawn {
params [["_vehicleDamages",[]],["_immuneTime",120],["_simulationHandler",true]]; params [["_vehicleDamages",[]],["_immuneTime",120],["_simulationHandler",false]];
// wait for some time to let all vehicles settle. // wait for some time to let all vehicles settle.
sleep _immuneTime; sleep _immuneTime;
// set final damages // set final damages

View File

@ -50,7 +50,7 @@ class FSM
"_serverSettingsConfig = configFile >> ""CfgEpochServer"";" \n "_serverSettingsConfig = configFile >> ""CfgEpochServer"";" \n
"_ahInitAuthCfg = [_serverSettingsConfig, ""antihack_ahInitAuthCfg"", [0,180]] call EPOCH_fnc_returnConfigEntry;" \n "_ahInitAuthCfg = [_serverSettingsConfig, ""antihack_ahInitAuthCfg"", [0,180]] call EPOCH_fnc_returnConfigEntry;" \n
"_events = [_serverSettingsConfig, ""events"", []] call EPOCH_fnc_returnConfigEntry;" \n "_events = [_serverSettingsConfig, ""events"", []] call EPOCH_fnc_returnConfigEntry;" \n
"_simulationHandler = [_serverSettingsConfig, ""simulationHandler"", true] call EPOCH_fnc_returnConfigEntry;" \n "_simulationHandler = [_serverSettingsConfig, ""simulationHandlerOld"", false] call EPOCH_fnc_returnConfigEntry;" \n
"" \n "" \n
"_initAhInitBanOrLog = _ahInitAuthCfg select 0;" \n "_initAhInitBanOrLog = _ahInitAuthCfg select 0;" \n
"_initTimeLimit = _ahInitAuthCfg select 1;" \n "_initTimeLimit = _ahInitAuthCfg select 1;" \n

View File

@ -1 +1 @@
build=560; build=561;

View File

@ -1 +1 @@
build=560; build=561;

View File

@ -1 +1 @@
560 561