mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
New body part colors:
* Red bleeding * Blue tourniquet * Yellow/Orange damage
This commit is contained in:
parent
7f1678b7e6
commit
74fefb6f69
@ -142,9 +142,9 @@ if (_show == 1) then {
|
||||
|
||||
private _torniquet = _selectionTourniquet select _forEachIndex;
|
||||
if (_torniquet > 0) then {
|
||||
_red = 0.77;
|
||||
_green = 0.51;
|
||||
_blue = 0.08;
|
||||
_red = 0;
|
||||
_green = 0;
|
||||
_blue = 0.8;
|
||||
} else {
|
||||
private _bloodLoss = _selectionBloodLoss select _forEachIndex;
|
||||
if (_bloodLoss > 0) then {
|
||||
@ -152,8 +152,10 @@ if (_show == 1) then {
|
||||
_blue = _green;
|
||||
} else {
|
||||
private _damage = _selectionDamage select _forEachIndex;
|
||||
_green = 0 max (0.9 - _damage);
|
||||
_red = _green;
|
||||
if (_damage > 0.1) then {
|
||||
_blue = 0 max (1 - _damage);
|
||||
_green = _damage min 0.5;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -29,9 +29,9 @@ private _availableSelections = [50, 51, 52, 53, 54, 55];
|
||||
|
||||
private _torniquet = _selectionTourniquet select _forEachIndex;
|
||||
if (_torniquet > 0) then {
|
||||
_red = 0.77;
|
||||
_green = 0.51;
|
||||
_blue = 0.08;
|
||||
_red = 0;
|
||||
_green = 0;
|
||||
_blue = 0.8;
|
||||
} else {
|
||||
private _bloodLoss = _selectionBloodLoss select _forEachIndex;
|
||||
if (_bloodLoss > 0) then {
|
||||
@ -39,8 +39,10 @@ private _availableSelections = [50, 51, 52, 53, 54, 55];
|
||||
_blue = _green;
|
||||
} else {
|
||||
private _damage = _selectionDamage select _forEachIndex;
|
||||
_green = 0 max (0.9 - _damage);
|
||||
_red = _green;
|
||||
if (_damage > 0.1) then {
|
||||
_blue = 0 max (1 - _damage);
|
||||
_green = _damage min 0.5;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user