DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ActionConstants.c
См. документацию.
4{
5 const float DEFAULT = 1;
6 const float DISINFECT = 10;
7 const float EAT_SMALL = 10;
8 const float EAT_NORMAL = 15;
9 const float EAT_BIG = 25;
10 const float FILL_LIQUID = 200;
11 const float FILL_SNOW = 100;
12 const float POUR_LIQUID = 100;
13 const float DRAIN_LIQUID = 100;
14 const float DRINK = 65;
15 const float BLOOD = 50;
16 const float SALINE = 100;
17 const float FUEL = 500;
18 const float FIREPLACE_EXTINGUISHER = 200;
19 const float FIREPLACE_LIQUID = 100;
20 const float GARDEN_FERTILIZE = 10;
21 const float GARDEN_WATER = 150;
22 const float GARDEN_DISINFECT_PLANT = 0.06;
23};
24
28{
29 const float DEFAULT = 1;
30 const float DEFAULT_PICK = 1.5;
31 const float DEFAULT_FILL = 8;
32 const float DEFAULT_SORT = 2;
33 const float DEFAULT_CONSTRUCT = 5;
34 const float DEFAULT_DECONSTRUCT = 15;
35 const float DEFAULT_REPAIR_CYCLE = 5;
36 const float DEFAULT_DESTROY = 60;
37 const float DEFAULT_PLACE = 0;
38 const float DEFAULT_DEPLOY = 5;
39 const float DEFAULT_CRAFT = 6;
40 const float DEFAULT_DECRAFT = 5;
41 const float DEFAULT_HARVEST = 5;
42
43 const float BANDAGE = 4;
44 const float ADD_FUEL_TO_TORCH = 4;
45 const float APPLY_SPLINT = 10;
46 const float SEW_WOUNDS = 2;
47 const float SEW_CUTS = 8;
48 const float COLLECT_BLOOD = 10;
49 const float COLLECT_SAMPLE = 3;
50 const float TEST_BLOOD = 3;
51 const float DEFIBRILATE = 3;
52 const float INJECT = 3;
53 const float MEASURE_TEMP = 12;
54 const float CHECK_PULSE = 5;
55 const float COVER_HEAD = 0.5;
56 const float RESTRAIN = 10;
57 const float UNRESTRAIN = 20;
58 const float SHAVE = 12.75;
59 const float SKIN = 10;
60
67 const float BASEBUILDING_REPAIR_FAST = 3;
69 const float BASEBUILDING_REPAIR_SLOW = 10;
70
71 const float PUSH_BOAT = 6;
72 const float PUSH_CAR = 10;
73
74 const float DRINK_POND = 2.0;
75 const float DRINK_WELL = 3.5;
76
77 const float DIG_GARDEN = 4;
78 const float DIG_STASH = 10;
79 const float DIG_WORMS = 10;
80
81 const float BURY_ASHES = 6;
82 const float BURY_BODY = 12;
83
84 const float LOCK = 2;
85 const float UNLOCK = 2;
86 const float UNPACK = 2;
87 const float WASH_HANDS = 3;
88 const float WRING = 8;
89 const float DISARM_MINE = 15;
92
93 const float MAG_EMPTY = 0.5;
94 const float MAG_LOAD = 0.5;
95
96 const float FIREPLACE_IGNITE = 4;
97 //const float FIREPLACE_HANDDRILL = 8;
98 const float SALINE = 2;
99 const float BLOOD = 2;
100
101 const float START_ENGINE = 0.5;
102 //const float INFINITE = -1;
103
104 const float EXPLOSIVE_ARM = 6;
105};
106
110{
111 const float SMALL = 1.3;
112 const float DEFAULT = 2.0;
113 const float REPAIR = 3.0;
114 const float LARGE = 8.0;
115 const float LADDERS = 1.3;
116 const float BASEBUILDING = 20;
117 const float BASEBUILDING_SHORT = 1.0;
118 const float EXPLOSIVE_REMOTE_ACTIVATION = 100.0;
119};
120
124{
125 const float PRECISE = 0.0;
126 const float VERY_NARROW = 0.2;
127 const float NARROW = 0.35;
128 const float DEFAULT = 0.5;
129 const float WIDE = 1;
130}
131
134class UASoftSkillsWeight
135{
136 const float ROUGH_LOW = 0.01;
137 const float ROUGH_MEDIUM = 0.02;
138 const float ROUGH_HIGH = 0.03;
139 const float PRECISE_LOW = -0.01;
140 const float PRECISE_MEDIUM = -0.02;
141 const float PRECISE_HIGH = -0.03;
142};
143
147{
148 const float BUILD = 4;
149 const float DISMANTLE = 8;
150 const float REPAIR = 3;
151 const float DESTROY = 25;
152 const float SAW_LOCK = 150;
153 const float SKINNING = 10;
154 const float SAW_PLANKS = 4;
155 const float DEFUSE_TOOLS = 2;
156};
157
161{
162 const string SEA = "sea";
163 const string FRESH = "fresh_water";
164 const string STILL = "still_water";
165 const string SNOW = "snow";
166
167 const string ALL = string.Format("%1|%2|%3|%4", UAWaterType.SEA, UAWaterType.FRESH, UAWaterType.STILL, UAWaterType.SNOW);
168};
169
173{
174 const float FLAG_STEP_INCREMENT = 0.2; //0..1
176};
177
179{
180 const float CYCLE_LENGTH_BASE = 6.0; //seconds, used as a backup
181 const float CYCLE_LENGTH_MIN = 5.5; //seconds
182 const float CYCLE_LENGTH_MAX = 6.5; //seconds
183 const float SIGNAL_DURATION_MIN_BASE = 0.8; //seconds
184 const float SIGNAL_DURATION_MAX_BASE = 1.0; //seconds
185 const float SIGNAL_START_TIME_MIN_BASE = 0.5; //seconds after cycle start
186 const float SIGNAL_START_TIME_MAX_BASE = 2.5; //seconds after cycle start
187 const float SIGNAL_DEADZONE_START_DURATION = 0.5; //deadzone DURATION in seconds
188 const float SIGNAL_DEADZONE_END_DURATION = 0.5; //deadzone DURATION in seconds
189
190 const float SIGNAL_CYCLE_MEAN_DEFAULT = 20;
191 const float SIGNAL_MEAN_CHANCE_DEFAULT = 0.5;
194 const float SIGNAL_FISHING_CHANCE_COEF = 1.0;
195
196 const float DAMAGE_HOOK = 1.5;
197
198 const int EVENT_SPLASH_SIGNAL = 100;
199 const int EVENT_ANIMATE_ROD_CLOSE = 101;
200};
const float PRECISE_MEDIUM
Определения ActionConstants.c:140
const float ROUGH_HIGH
Определения ActionConstants.c:138
const float ROUGH_MEDIUM
Определения ActionConstants.c:137
ROUGH_LOW
const float PRECISE_LOW
Определения ActionConstants.c:139
const float PRECISE_HIGH
Определения ActionConstants.c:141
const float DEFUSE_TOOLS
Определения ActionConstants.c:155
const float BUILD
Определения ActionConstants.c:148
const float SAW_PLANKS
Определения ActionConstants.c:154
const float REPAIR
Определения ActionConstants.c:150
const float SAW_LOCK
Определения ActionConstants.c:152
const float SKINNING
Определения ActionConstants.c:153
const float DESTROY
Определения ActionConstants.c:151
const float DISMANTLE
Определения ActionConstants.c:149
const float DAMAGE_HOOK
modifies chance for every signal roll
Определения ActionConstants.c:196
const float SIGNAL_START_TIME_MAX_BASE
Определения ActionConstants.c:186
const float SIGNAL_START_TIME_MIN_BASE
Определения ActionConstants.c:185
const int EVENT_SPLASH_SIGNAL
Определения ActionConstants.c:198
const float SIGNAL_DURATION_MIN_BASE
Определения ActionConstants.c:183
const int EVENT_ANIMATE_ROD_CLOSE
Определения ActionConstants.c:199
const float SIGNAL_DEADZONE_START_DURATION
Определения ActionConstants.c:187
const float SIGNAL_DURATION_MAX_BASE
Определения ActionConstants.c:184
const float SIGNAL_MEAN_CHANCE_DEFAULT
re-purposed as soft cycle target
Определения ActionConstants.c:191
const float SIGNAL_CYCLE_MEAN_DEFAULT
Определения ActionConstants.c:190
const float CYCLE_LENGTH_MAX
Определения ActionConstants.c:182
const float SIGNAL_DEADZONE_END_DURATION
Определения ActionConstants.c:188
const float SIGNAL_CYCLE_HARD_TARGET_DEFAULT
chance at MEAN
Определения ActionConstants.c:192
const float SIGNAL_HARD_TARGET_CHANCE_DEFAULT
hard cycle target
Определения ActionConstants.c:193
const float CYCLE_LENGTH_BASE
Определения ActionConstants.c:180
const float CYCLE_LENGTH_MIN
Определения ActionConstants.c:181
const float SIGNAL_FISHING_CHANCE_COEF
chance at HARD_TARGET (we probably want close to 100% here, randomness being random....
Определения ActionConstants.c:194
const float NARROW
Определения ActionConstants.c:127
const float WIDE
Определения ActionConstants.c:129
const float PRECISE
Определения ActionConstants.c:125
const float DEFAULT
Определения ActionConstants.c:128
const float VERY_NARROW
Определения ActionConstants.c:126
const float SMALL
Определения ActionConstants.c:111
const float EXPLOSIVE_REMOTE_ACTIVATION
Определения ActionConstants.c:118
const float LARGE
Определения ActionConstants.c:114
const float BASEBUILDING_SHORT
Определения ActionConstants.c:117
const float REPAIR
Определения ActionConstants.c:113
const float LADDERS
Определения ActionConstants.c:115
const float BASEBUILDING
Определения ActionConstants.c:116
const float DEFAULT
Определения ActionConstants.c:112
const float CONSUMPTION_SLOWDOWN_COEF_HOT
Определения ActionConstants.c:175
const float FLAG_STEP_INCREMENT
Определения ActionConstants.c:174
Определения ActionConstants.c:173
const float BLOOD
Определения ActionConstants.c:15
const float GARDEN_FERTILIZE
Определения ActionConstants.c:20
const float FIREPLACE_LIQUID
Определения ActionConstants.c:19
const float POUR_LIQUID
Определения ActionConstants.c:12
const float EAT_SMALL
Определения ActionConstants.c:7
const float FUEL
Определения ActionConstants.c:17
const float EAT_BIG
Определения ActionConstants.c:9
const float GARDEN_WATER
Определения ActionConstants.c:21
const float FILL_SNOW
Определения ActionConstants.c:11
const float DRINK
Определения ActionConstants.c:14
const float DISINFECT
Определения ActionConstants.c:6
const float GARDEN_DISINFECT_PLANT
Определения ActionConstants.c:22
const float EAT_NORMAL
Определения ActionConstants.c:8
const float FILL_LIQUID
Определения ActionConstants.c:10
const float FIREPLACE_EXTINGUISHER
Определения ActionConstants.c:18
const float SALINE
Определения ActionConstants.c:16
const float DRAIN_LIQUID
Определения ActionConstants.c:13
const float DEFAULT
Определения ActionConstants.c:5
const float DEFAULT_CONSTRUCT
Определения ActionConstants.c:33
const float DISARM_MINE
Определения ActionConstants.c:89
const float SEW_CUTS
Определения ActionConstants.c:47
const float DISARM_EXPLOSIVE_REMOTE_UNPAIRED
Определения ActionConstants.c:91
const float APPLY_SPLINT
Определения ActionConstants.c:45
const float DIG_STASH
Определения ActionConstants.c:78
const float UNPACK
Определения ActionConstants.c:86
const float TEST_BLOOD
Определения ActionConstants.c:50
const float BLOOD
Определения ActionConstants.c:99
const float BURY_BODY
Определения ActionConstants.c:82
const float DIG_WORMS
Определения ActionConstants.c:79
const float DEFAULT_DESTROY
Определения ActionConstants.c:36
const float COVER_HEAD
Определения ActionConstants.c:55
const float COLLECT_SAMPLE
Определения ActionConstants.c:49
const float BASEBUILDING_DECONSTRUCT_FAST
Определения ActionConstants.c:64
const float DEFAULT_PICK
Определения ActionConstants.c:30
const float SHAVE
Определения ActionConstants.c:58
const float BURY_ASHES
Определения ActionConstants.c:81
const float BASEBUILDING_REPAIR_MEDIUM
Определения ActionConstants.c:68
const float DEFAULT_SORT
Определения ActionConstants.c:32
const float EXPLOSIVE_ARM
Определения ActionConstants.c:104
const float WASH_HANDS
Определения ActionConstants.c:87
const float DEFAULT_REPAIR_CYCLE
Определения ActionConstants.c:35
const float RESTRAIN
Определения ActionConstants.c:56
const float MAG_LOAD
Определения ActionConstants.c:94
const float BASEBUILDING_CONSTRUCT_FAST
Определения ActionConstants.c:61
const float SKIN
Определения ActionConstants.c:59
const float CHECK_PULSE
Определения ActionConstants.c:54
const float WRING
Определения ActionConstants.c:88
const float BASEBUILDING_REPAIR_SLOW
Определения ActionConstants.c:69
const float BASEBUILDING_REPAIR_FAST
Определения ActionConstants.c:67
const float UNRESTRAIN
Определения ActionConstants.c:57
const float BASEBUILDING_DECONSTRUCT_MEDIUM
Определения ActionConstants.c:65
const float PUSH_CAR
Определения ActionConstants.c:72
const float DIG_GARDEN
Определения ActionConstants.c:77
const float BANDAGE
Определения ActionConstants.c:43
const float SALINE
Определения ActionConstants.c:98
const float DEFAULT_DECRAFT
Определения ActionConstants.c:40
const float BASEBUILDING_CONSTRUCT_SLOW
Определения ActionConstants.c:63
const float ADD_FUEL_TO_TORCH
Определения ActionConstants.c:44
const float DEFIBRILATE
Определения ActionConstants.c:51
const float START_ENGINE
Определения ActionConstants.c:101
const float MEASURE_TEMP
Определения ActionConstants.c:53
const float LOCK
Определения ActionConstants.c:84
const float INJECT
Определения ActionConstants.c:52
const float BASEBUILDING_DECONSTRUCT_SLOW
Определения ActionConstants.c:66
const float MAG_EMPTY
Определения ActionConstants.c:93
const float DEFAULT_FILL
Определения ActionConstants.c:31
const float PUSH_BOAT
Определения ActionConstants.c:71
const float COLLECT_BLOOD
Определения ActionConstants.c:48
const float SEW_WOUNDS
Определения ActionConstants.c:46
const float FIREPLACE_IGNITE
Определения ActionConstants.c:96
const float DISARM_EXPLOSIVE_REMOTE_PAIRED
Определения ActionConstants.c:90
const float DEFAULT_DECONSTRUCT
Определения ActionConstants.c:34
const float DEFAULT_PLACE
Определения ActionConstants.c:37
const float DRINK_POND
Определения ActionConstants.c:74
const float DEFAULT_DEPLOY
Определения ActionConstants.c:38
const float UNLOCK
Определения ActionConstants.c:85
const float DRINK_WELL
Определения ActionConstants.c:75
const float DEFAULT
Определения ActionConstants.c:29
const float DEFAULT_CRAFT
Определения ActionConstants.c:39
const float DEFAULT_HARVEST
Определения ActionConstants.c:41
const float BASEBUILDING_CONSTRUCT_MEDIUM
Определения ActionConstants.c:62
Определения ActionConstants.c:28
const string ALL
Определения ActionConstants.c:167
const string FRESH
fake
Определения ActionConstants.c:163
const string STILL
Определения ActionConstants.c:164
const string SNOW
Определения ActionConstants.c:165
const string SEA
Определения ActionConstants.c:162
Определения ActionConstants.c:161