Removed vanilla player score saving

This commit is contained in:
Wyqer 2019-06-17 19:49:58 +02:00
parent ecf61893ef
commit e5d8c2fb5d
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
4 changed files with 3 additions and 60 deletions

View File

@ -1,22 +0,0 @@
waitUntil { !(isNil "GRLIB_player_scores") };
waitUntil { !isNil "save_is_loaded" };
while { true } do {
{
if ( ( _x getVariable [ "GRLIB_score_set", 0 ] ) == 0 ) then {
_x setVariable [ "GRLIB_score_set", 1, false ];
private [ "_nextplayer" ];
_nextplayer = _x;
{
if ( (getPlayerUID _nextplayer) == (_x select 0) ) exitWith {
_nextplayer addScore ((_x select 1) - (score _nextplayer));
};
} foreach GRLIB_player_scores;
};
} foreach allPlayers;
sleep 15;
};

View File

@ -42,7 +42,6 @@ execVM "scripts\server\battlegroup\counter_battlegroup.sqf";
execVM "scripts\server\battlegroup\random_battlegroups.sqf";
execVM "scripts\server\battlegroup\readiness_increase.sqf";
execVM "scripts\server\game\apply_default_permissions.sqf";
execVM "scripts\server\game\apply_saved_scores.sqf";
execVM "scripts\server\game\capture_vehicles.sqf";
execVM "scripts\server\game\clean.sqf";
execVM "scripts\server\game\cleanup_vehicles.sqf";
@ -57,7 +56,6 @@ execVM "scripts\server\game\synchronise_vars.sqf";
execVM "scripts\server\game\synchronise_eco.sqf";
execVM "scripts\server\game\zeus_synchro.sqf";
execVM "scripts\server\offloading\offload_calculation.sqf";
//execVM "scripts\server\offloading\offload_manager.sqf";
execVM "scripts\server\offloading\show_fps.sqf";
execVM "scripts\server\patrols\civilian_patrols.sqf";
execVM "scripts\server\patrols\manage_patrols.sqf";

View File

@ -1,35 +0,0 @@
while {GRLIB_endgame == 0} do {
private _commander = [] call F_getCommander;
if !(isNull _commander) then {
private _blufor_ai_groups = [];
private _localgroup = grpNull;
private _is_ai_only = true;
{
if (side _x == GRLIB_side_friendly) then {
_localgroup = _x;
_is_ai_only = true;
{
if (isPlayer _x) exitWith {_is_ai_only = false;};
} foreach units _localgroup;
if (_is_ai_only) then {
_blufor_ai_groups pushback _localgroup;
};
};
} foreach (allGroups select {groupOwner _x != owner _commander});
if (count _blufor_ai_groups > 0) then {
{
if (((leader _x) distance startbase) > 500 && (groupOwner _x != owner _commander)) then {
_x setGroupOwner (owner _commander);
sleep 1;
};
} foreach _blufor_ai_groups;
};
};
sleep 15;
};

View File

@ -164,8 +164,10 @@ class Missions
### 0.96.5 (TBD due to Contacts Release)
* Added: The Unsung Vietnam War Mod presets.
* Added: The Unsung Vietnam War Mod transport configs.
* Added: Statistic values of civilian, resistance kills.
* Added: Statistic values for destroyed civilian buildings and vehicles
* Added: Statistic values for total and friendly resistance kills.
* Added: Statistic values for spent/produced resources.
* Removed: Vanilla player score saving.
* Tweaked: Changed default recycle building from carservice building to tanks repair depot building.
* Tweaked: Vehicle in Vehicle action on FOB box is not displaying directly anymore when approaching the box.
* Tweaked: Added elite vehicles to CSAT presets.