Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actionconstants.c
Go to the documentation of this file.
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
61 const float BASEBUILDING_CONSTRUCT_FAST = 5;
62 const float BASEBUILDING_CONSTRUCT_MEDIUM = 7.5;
63 const float BASEBUILDING_CONSTRUCT_SLOW = 10;
64 const float BASEBUILDING_DECONSTRUCT_FAST = 10;
65 const float BASEBUILDING_DECONSTRUCT_MEDIUM = 12;
66 const float BASEBUILDING_DECONSTRUCT_SLOW = 15;
67 const float BASEBUILDING_REPAIR_FAST = 3;
68 const float BASEBUILDING_REPAIR_MEDIUM = 5;
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;
90 const float DISARM_EXPLOSIVE_REMOTE_PAIRED = 6;
91 const float DISARM_EXPLOSIVE_REMOTE_UNPAIRED = 12;
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
175 const float CONSUMPTION_SLOWDOWN_COEF_HOT = 5.0;
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;
192 const float SIGNAL_CYCLE_HARD_TARGET_DEFAULT = 30;
193 const float SIGNAL_HARD_TARGET_CHANCE_DEFAULT = 0.9;
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
const float ROUGH_HIGH
const float ROUGH_MEDIUM
ROUGH_LOW
const float PRECISE_LOW
const float PRECISE_HIGH