Tweaked shorter nights and daytime param

This commit is contained in:
Wyqer 2019-07-26 11:30:36 +02:00
parent 8a168e2148
commit 4ecd629fe9
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
3 changed files with 7 additions and 11 deletions

View File

@ -1,12 +1,6 @@
private [ "_accelerated_time" ];
while { true } do {
if ( GRLIB_shorter_nights && ( daytime > 21 || daytime < 3 ) ) then {
_accelerated_time = GRLIB_time_factor * 3;
if ( _accelerated_time > 100 ) then {
_accelerated_time = 100;
};
setTimeMultiplier _accelerated_time;
while {true} do {
if (GRLIB_shorter_nights && (daytime > 20 || daytime < 4)) then {
setTimeMultiplier (GRLIB_time_factor * 4);
} else {
setTimeMultiplier GRLIB_time_factor;
};

View File

@ -80,8 +80,8 @@ class Params
};
class DayDuration {
title = $STR_PARAMS_DAYDURATION;
values[] = {48, 24, 16, 12, 8, 6, 4, 3, 2, 1};
texts[] = {"0.5","1","1.5","2","3","4","6","8","12","24"};
values[] = {8, 6, 4, 3, 2, 1};
texts[] = {"3","4","6","8","12","24"};
default = 4;
};
class ShorterNights {

View File

@ -234,6 +234,8 @@ class Missions
* Tweaked: Gear check after leaving the arsenal or load a loadout improved to not strip you completely. Thanks to [Zharf](https://github.com/zharf)
* Tweaked: Build tool now also adds the correct map name to the mission name, like in the release files.
* Tweaked: Sector defenders waypoint creation.
* Tweaked: Daytime parameter values.
* Tweaked: Shorter nights now multiplies the selected daytime time multiplier by 4 between 20:00 and 04:00. (3x between 21:00 and 03:00 before)
* Fixed: Intel value could get corrupted if leaving the secondary dialog directly after starting a mission.
* Fixed: "All is red" for first player after a server restart. (just a visual bug, doesn't affect gameplay)