Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
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
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 #ifdef DEVELOPER
196 const float DEBUG_FISHING_CHANCE_PROBABILITY = 1.0;
197 #endif
198 const float DAMAGE_HOOK = 1.5;
199
200 const int EVENT_SPLASH_SIGNAL = 100;
201 const int EVENT_ANIMATE_ROD_CLOSE = 101;
202};
const float PRECISE_MEDIUM
const float ROUGH_HIGH
const float ROUGH_MEDIUM
ROUGH_LOW
const float PRECISE_LOW
const float PRECISE_HIGH
const float DISMANTLE
const float SAW_LOCK
const float SAW_PLANKS
const float DESTROY
const float DEFUSE_TOOLS
const float SKINNING
const float SIGNAL_DEADZONE_START_DURATION
const float CYCLE_LENGTH_BASE
const int EVENT_ANIMATE_ROD_CLOSE
const float CYCLE_LENGTH_MAX
const float SIGNAL_START_TIME_MAX_BASE
const float DAMAGE_HOOK
modifies chance for every signal roll
const float SIGNAL_DURATION_MAX_BASE
const float SIGNAL_START_TIME_MIN_BASE
const float SIGNAL_DURATION_MIN_BASE
const float SIGNAL_CYCLE_MEAN_DEFAULT
const float SIGNAL_DEADZONE_END_DURATION
const float SIGNAL_CYCLE_HARD_TARGET_DEFAULT
chance at MEAN
const float SIGNAL_MEAN_CHANCE_DEFAULT
re-purposed as soft cycle target
const float SIGNAL_FISHING_CHANCE_COEF
chance at HARD_TARGET (we probably want close to 100% here, randomness being random....
const float CYCLE_LENGTH_MIN
const int EVENT_SPLASH_SIGNAL
const float SIGNAL_HARD_TARGET_CHANCE_DEFAULT
hard cycle target
const float LADDERS
const float DEFAULT
const float REPAIR
const float EXPLOSIVE_REMOTE_ACTIVATION
const float SMALL
const float LARGE
const float BASEBUILDING_SHORT
const float BASEBUILDING
const float FLAG_STEP_INCREMENT
const float CONSUMPTION_SLOWDOWN_COEF_HOT
const float GARDEN_DISINFECT_PLANT
const float GARDEN_WATER
const float DRAIN_LIQUID
const float FIREPLACE_LIQUID
const float EAT_NORMAL
const float GARDEN_FERTILIZE
const float EAT_SMALL
const float DISINFECT
const float POUR_LIQUID
const float FIREPLACE_EXTINGUISHER
const float FILL_LIQUID
const float DEFAULT_SORT
const float BASEBUILDING_CONSTRUCT_SLOW
const float START_ENGINE
const float SALINE
const float BASEBUILDING_REPAIR_MEDIUM
const float BLOOD
const float WRING
const float PUSH_CAR
const float INJECT
const float DEFAULT
const float DEFAULT_CRAFT
const float DEFAULT_PICK
const float DIG_STASH
const float LOCK
const float UNRESTRAIN
const float APPLY_SPLINT
const float DEFAULT_REPAIR_CYCLE
const float COLLECT_SAMPLE
const float DEFAULT_CONSTRUCT
const float EXPLOSIVE_ARM
const float DIG_GARDEN
const float MAG_LOAD
const float DEFAULT_DECRAFT
const float ADD_FUEL_TO_TORCH
const float DISARM_MINE
const float DEFAULT_DEPLOY
const float UNPACK
const float DEFAULT_FILL
const float SKIN
const float BASEBUILDING_CONSTRUCT_MEDIUM
const float DISARM_EXPLOSIVE_REMOTE_UNPAIRED
const float DEFAULT_PLACE
const float BASEBUILDING_CONSTRUCT_FAST
const float MAG_EMPTY
const float SEW_WOUNDS
const float BANDAGE
const float SHAVE
const float PUSH_BOAT
const float SEW_CUTS
const float DISARM_EXPLOSIVE_REMOTE_PAIRED
const float UNLOCK
const float BASEBUILDING_REPAIR_FAST
const float WASH_HANDS
const float BASEBUILDING_REPAIR_SLOW
const float DEFAULT_HARVEST
const float MEASURE_TEMP
const float TEST_BLOOD
const float RESTRAIN
const float DEFAULT_DESTROY
const float BASEBUILDING_DECONSTRUCT_MEDIUM
const float BURY_ASHES
const float BASEBUILDING_DECONSTRUCT_FAST
const float CHECK_PULSE
const float DRINK_WELL
const float BURY_BODY
const float COLLECT_BLOOD
const float BASEBUILDING_DECONSTRUCT_SLOW
const float DRINK_POND
const float FIREPLACE_IGNITE
const float COVER_HEAD
const float DEFAULT_DECONSTRUCT
const float DIG_WORMS
const float DEFIBRILATE
const string STILL
const string SNOW
const string SEA
const string ALL
const string FRESH
fake