DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
BleedingIndicationConstants.c
См. документацию.
2{
3//--------------------------------------------------------------
4//indicator-level constants
5 static const int INDICATOR_SEVERITY_LOW = 0;
6 static const int INDICATOR_SEVERITY_MEDIUM = 1;
7 static const int INDICATOR_SEVERITY_HIGH = 2;
8 static const int SEQUENCE_STEPS = 10;
9 static const float SEQUENCE_DURATION_DEFAULT = 1.0;
10
11//--------------------------------------------------------------
12//shared drop-level constants
13 static const float DROP_PROGRESS_THRESHOLD = 0.2; //[0..1]
14 static const float DROP_COLOR_DESATURATIONEND = 0.75; //[0..1]
15 static const int DROP_COLOR_RED = 0x9f;
16 static const int DROP_COLOR_GREEN = 0x3f;
17 static const int DROP_COLOR_BLUE = 0x3f;
18 static const int DROP_COLOR_ALPHA_START = 0xff;
19 static const int DROP_COLOR_ALPHA_END = 0x00;
20
21//--------------------------------------------------------------
22//sorted severity constants
23 //Low
24 static const float SEQUENCE_DURATION_LOW = 1.0; //seconds
25 static const float SEQUENCE_DROP_AVERAGE_LOW = 1.5; //used to pre-gen probabilities on game start. Values above 5 can break the poisson! DO NOT touch unless you know what you're doing.
26 static const float DROP_DURATION_LOW = 1.5; //seconds
27 static const float SEQUENCE_DROP_DELAY_MIN_LOW = DROP_DURATION_LOW / 5; //min delay to spawn a drop
28 static const float SEQUENCE_DROP_DELAY_MAX_LOW = 2.5 * DROP_DURATION_LOW; //max delay between drops
29 static const float DROP_SIZE_START_LOW = 0.62;
30 static const float DROP_SIZE_END_LOW = 0.70;
31 static const float DROP_SIZE_VARIATION_MIN_LOW = 1.0; //randomizes every drop's coef min
32 static const float DROP_SIZE_VARIATION_MAX_LOW = 1.0; //randomizes every drop's coef max
33 static const int DROP_SCATTER_LOW = 25; //pixels
34 static const float DROP_SLIDE_DISTANCE_LOW = 4;
35
36 //Medium
37 static const float SEQUENCE_DURATION_MEDIUM = 0.6; //seconds
38 static const float SEQUENCE_DROP_AVERAGE_MEDIUM = 2.0; //used to pre-gen probabilities on game start. Values above 5 can break the poisson! DO NOT touch unless you know what you're doing.
39 static const float DROP_DURATION_MEDIUM = 1.5; //seconds
40 static const float SEQUENCE_DROP_DELAY_MIN_MEDIUM = DROP_DURATION_MEDIUM / 5; //min delay to spawn a drop
41 static const float SEQUENCE_DROP_DELAY_MAX_MEDIUM = 2 * DROP_DURATION_MEDIUM; //max delay between drops
42 static const float DROP_SIZE_START_MEDIUM = 0.76;
43 static const float DROP_SIZE_END_MEDIUM = 0.83;
44 static const float DROP_SIZE_VARIATION_MIN_MEDIUM = 1.0; //randomizes every drop's coef min
45 static const float DROP_SIZE_VARIATION_MAX_MEDIUM = 1.0; //randomizes every drop's coef max
46 static const int DROP_SCATTER_MEDIUM = 30; //pixels
47 static const float DROP_SLIDE_DISTANCE_MEDIUM = 6;
48
49 //High
50 static const float SEQUENCE_DURATION_HIGH = 0.4; //seconds
51 static const float SEQUENCE_DROP_AVERAGE_HIGH = 2.5; //used to pre-gen probabilities on game start. Values above 5 can break the poisson! DO NOT touch unless you know what you're doing.
52 static const float DROP_DURATION_HIGH = 1.5; //seconds
53 static const float SEQUENCE_DROP_DELAY_MIN_HIGH = DROP_DURATION_HIGH / 5; //min delay to spawn a drop
54 static const float SEQUENCE_DROP_DELAY_MAX_HIGH = 1.5 * DROP_DURATION_HIGH; //max delay between drops
55 static const float DROP_SIZE_START_HIGH = 0.92;
56 static const float DROP_SIZE_END_HIGH = 1.00;
57 static const float DROP_SIZE_VARIATION_MIN_HIGH = 1.0; //randomizes every drop's coef min
58 static const float DROP_SIZE_VARIATION_MAX_HIGH = 1.2; //randomizes every drop's coef max
59 static const int DROP_SCATTER_HIGH = 35; //pixels
60 static const float DROP_SLIDE_DISTANCE_HIGH = 8;
61}
static const int SEQUENCE_STEPS
Определения BleedingIndicationConstants.c:8
static const float DROP_SIZE_END_MEDIUM
Определения BleedingIndicationConstants.c:43
static const float DROP_DURATION_MEDIUM
Определения BleedingIndicationConstants.c:39
static const int DROP_COLOR_RED
Определения BleedingIndicationConstants.c:15
static const float SEQUENCE_DURATION_MEDIUM
Определения BleedingIndicationConstants.c:37
static const float DROP_SIZE_VARIATION_MAX_MEDIUM
Определения BleedingIndicationConstants.c:45
static const float DROP_SIZE_VARIATION_MAX_HIGH
Определения BleedingIndicationConstants.c:58
static const float DROP_SIZE_START_MEDIUM
Определения BleedingIndicationConstants.c:42
static const float DROP_SIZE_VARIATION_MIN_MEDIUM
Определения BleedingIndicationConstants.c:44
static const float DROP_SIZE_VARIATION_MIN_LOW
Определения BleedingIndicationConstants.c:31
static const float DROP_SIZE_VARIATION_MIN_HIGH
Определения BleedingIndicationConstants.c:57
static const float SEQUENCE_DROP_AVERAGE_HIGH
Определения BleedingIndicationConstants.c:51
static const float DROP_SIZE_START_LOW
Определения BleedingIndicationConstants.c:29
static const float SEQUENCE_DROP_DELAY_MAX_HIGH
Определения BleedingIndicationConstants.c:54
static const float SEQUENCE_DROP_AVERAGE_MEDIUM
Определения BleedingIndicationConstants.c:38
static const int DROP_SCATTER_LOW
Определения BleedingIndicationConstants.c:33
static const float SEQUENCE_DURATION_LOW
Определения BleedingIndicationConstants.c:24
static const int DROP_COLOR_ALPHA_END
Определения BleedingIndicationConstants.c:19
static const int DROP_SCATTER_MEDIUM
Определения BleedingIndicationConstants.c:46
static const int INDICATOR_SEVERITY_MEDIUM
Определения BleedingIndicationConstants.c:6
static const float DROP_SIZE_START_HIGH
Определения BleedingIndicationConstants.c:55
static const int DROP_COLOR_ALPHA_START
Определения BleedingIndicationConstants.c:18
static const float DROP_SIZE_END_HIGH
Определения BleedingIndicationConstants.c:56
static const float SEQUENCE_DROP_DELAY_MAX_MEDIUM
Определения BleedingIndicationConstants.c:41
static const int DROP_COLOR_BLUE
Определения BleedingIndicationConstants.c:17
static const float DROP_PROGRESS_THRESHOLD
Определения BleedingIndicationConstants.c:13
static const int DROP_SCATTER_HIGH
Определения BleedingIndicationConstants.c:59
static const float DROP_DURATION_HIGH
Определения BleedingIndicationConstants.c:52
static const float SEQUENCE_DROP_DELAY_MAX_LOW
Определения BleedingIndicationConstants.c:28
static const float DROP_SIZE_VARIATION_MAX_LOW
Определения BleedingIndicationConstants.c:32
static const int DROP_COLOR_GREEN
Определения BleedingIndicationConstants.c:16
static const float SEQUENCE_DROP_DELAY_MIN_MEDIUM
Определения BleedingIndicationConstants.c:40
static const float DROP_COLOR_DESATURATIONEND
Определения BleedingIndicationConstants.c:14
static const float DROP_SIZE_END_LOW
Определения BleedingIndicationConstants.c:30
static const float DROP_DURATION_LOW
Определения BleedingIndicationConstants.c:26
static const float SEQUENCE_DROP_AVERAGE_LOW
Определения BleedingIndicationConstants.c:25
static const float DROP_SLIDE_DISTANCE_LOW
Определения BleedingIndicationConstants.c:34
static const float DROP_SLIDE_DISTANCE_HIGH
Определения BleedingIndicationConstants.c:60
static const int INDICATOR_SEVERITY_LOW
Определения BleedingIndicationConstants.c:5
static const float SEQUENCE_DURATION_HIGH
Определения BleedingIndicationConstants.c:50
static const float SEQUENCE_DROP_DELAY_MIN_LOW
Определения BleedingIndicationConstants.c:27
static const float DROP_SLIDE_DISTANCE_MEDIUM
Определения BleedingIndicationConstants.c:47
static const float SEQUENCE_DURATION_DEFAULT
Used to pre-gen poisson probabilities, I REALLY wouldn't go over 10 here. Values above 12 cause overf...
Определения BleedingIndicationConstants.c:9
static const int INDICATOR_SEVERITY_HIGH
Определения BleedingIndicationConstants.c:7
static const float SEQUENCE_DROP_DELAY_MIN_HIGH
Определения BleedingIndicationConstants.c:53