mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Weather - Use apparent temp in displayAirTemp
(#8544)
This commit is contained in:
parent
275a822f78
commit
3c5d47e83d
@ -17,10 +17,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
params ["_apparent_temperature", "_bias"];
|
params ["_apparent_temperature", "_bias"];
|
||||||
TRACE_2("params",_temperature, _bias);
|
TRACE_2("displayAirTemp",_apparent_temperature, _bias);
|
||||||
|
|
||||||
_temperature1 = floor(_temperature + (_bias select 0) - (random 2));
|
private _temperature1 = floor(_apparent_temperature + (_bias select 0) - (random 2));
|
||||||
_temperature2 = floor(_temperature + (_bias select 1) + (random 2));
|
private _temperature2 = floor(_apparent_temperature + (_bias select 1) + (random 2));
|
||||||
|
|
||||||
private _color1 = [
|
private _color1 = [
|
||||||
// Colors obtained by quartic regression formula of RGB values at corresponding temperatures as marked on advanced_ballistics rangecard
|
// Colors obtained by quartic regression formula of RGB values at corresponding temperatures as marked on advanced_ballistics rangecard
|
||||||
@ -41,8 +41,6 @@ private _color2 = [
|
|||||||
|
|
||||||
_text = composeText [_text, [format ["%1C", _temperature2], _color2] call EFUNC(common,stringToColoredText)];
|
_text = composeText [_text, [format ["%1C", _temperature2], _color2] call EFUNC(common,stringToColoredText)];
|
||||||
|
|
||||||
[_text, QPATHTOF(UI\temp_ca.paa),_color, ACE_player, 2] call EFUNC(common,displayTextPicture);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
for "_i" from -40 to 40 step 4 do {
|
for "_i" from -40 to 40 step 4 do {
|
||||||
_temp_color = _color;
|
_temp_color = _color;
|
||||||
|
Loading…
Reference in New Issue
Block a user