Dayz Explorer CPP 1.28.160049
Loading...
Searching...
No Matches
config.cpp
Go to the documentation of this file.
1class CfgPatches
2{
3 class DZ_Animals_sus_domesticus
4 {
5 units[]=
6 {
7 "Animal_SusDomesticus"
8 };
9 weapons[]={};
10 requiredVersion=0.1;
11 requiredAddons[]=
12 {
13 "DZ_Animals"
14 };
15 };
16};
17class CfgVehicles
18{
19 class AnimalBase;
20 class Animal_SusDomesticus: AnimalBase
21 {
22 simulation="dayzanimal";
23 scope=2;
24 model="\DZ\animals\sus_domesticus\sus_domesticus.p3d";
25 displayName="$STR_CfgVehicles_Animal_SusDomesticus0";
26 descriptionShort="$STR_CfgVehicles_Animal_SusDomesticus1";
27 aiAgentTemplate="Herbivores_SusDomesticus";
28 varTemperatureFreezePoint=-1;
29 varTemperatureThawPoint=-1;
30 class DamageSystem
31 {
32 class GlobalHealth
33 {
34 class Health
35 {
36 hitpoints=300;
37 healthLevels[]=
38 {
39
40 {
41 1,
42 {}
43 },
44
45 {
46 0.69999999,
47 {}
48 },
49
50 {
51 0.5,
52 {}
53 },
54
55 {
56 0.30000001,
57 {}
58 },
59
60 {
61 0,
62 {}
63 }
64 };
65 };
66 class Blood
67 {
68 hitpoints=5000;
69 };
70 class Shock
71 {
72 hitpoints=100;
73 };
74 };
75 class DamageZones
76 {
77 class Zone_Head
78 {
79 componentNames[]=
80 {
81 "Zone_Head"
82 };
83 transferToZonesNames[]={};
84 transferToZonesCoefs[]={};
85 fatalInjuryCoef=0.15000001;
86 canBleed=0;
87 class Health
88 {
89 hitpoints=120;
90 transferToGlobalCoef=1;
91 };
92 class Blood: Health
93 {
94 hitpoints=0;
95 };
96 class Shock: Health
97 {
98 hitpoints=0;
99 };
100 };
101 class Zone_Neck: Zone_Head
102 {
103 componentNames[]=
104 {
105 "Zone_Neck"
106 };
107 transferToZonesNames[]=
108 {
109 "Zone_Chest"
110 };
111 transferToZonesCoefs[]={0.2};
112 fatalInjuryCoef=0.050000001;
113 class Health: Health
114 {
115 hitpoints=250;
116 };
117 };
118 class Zone_Chest: Zone_Head
119 {
120 componentNames[]=
121 {
122 "Zone_Chest"
123 };
124 transferToZonesNames[]=
125 {
126 "Zone_Neck",
127 "Zone_Belly"
128 };
129 transferToZonesCoefs[]={0.15000001,0.15000001};
130 fatalInjuryCoef=0.050000001;
131 class Health: Health
132 {
133 hitpoints=250;
134 };
135 };
136 class Zone_Belly: Zone_Head
137 {
138 componentNames[]=
139 {
140 "Zone_Belly"
141 };
142 transferToZonesNames[]=
143 {
144 "Zone_Pelvis",
145 "Zone_Chest"
146 };
147 transferToZonesCoefs[]={0.15000001,0.15000001};
148 fatalInjuryCoef=0.050000001;
149 class Health: Health
150 {
151 hitpoints=250;
152 };
153 };
154 class Zone_Spine: Zone_Head
155 {
156 componentNames[]=
157 {
158 "Zone_Spine"
159 };
160 transferToZonesNames[]=
161 {
162 "Zone_Pelvis",
163 "Zone_Belly",
164 "Zone_Chest"
165 };
166 transferToZonesCoefs[]={0.1,0.1,0.1};
167 fatalInjuryCoef=0.050000001;
168 class Health: Health
169 {
170 hitpoints=300;
171 };
172 };
173 class Zone_Pelvis: Zone_Head
174 {
175 componentNames[]=
176 {
177 "Zone_Pelvis"
178 };
179 transferToZonesNames[]=
180 {
181 "Zone_Spine",
182 "Zone_Belly"
183 };
184 transferToZonesCoefs[]={0.15000001,0.15000001};
185 fatalInjuryCoef=0.050000001;
186 class Health: Health
187 {
188 hitpoints=300;
189 };
190 };
191 class Zone_Legs: Zone_Head
192 {
193 componentNames[]=
194 {
195 "Zone_Legs"
196 };
197 transferToZonesNames[]=
198 {
199 "Zone_Pelvis",
200 "Zone_Belly",
201 "Zone_Chest"
202 };
203 transferToZonesCoefs[]={0.1,0.1,0.1};
204 fatalInjuryCoef=0;
205 class Health: Health
206 {
207 hitpoints=100;
208 };
209 };
210 };
211 };
212 class Skinning
213 {
214 class ObtainedSteaks
215 {
216 item="PigSteakMeat";
217 count=14;
218 itemZones[]=
219 {
220 "Zone_Chest",
221 "Zone_Belly",
222 "Zone_Pelvis"
223 };
224 countByZone[]={5,4,5};
225 quantityMinMaxCoef[]={0.5,1};
226 };
227 class ObtainedPelt
228 {
229 item="PigPelt";
230 count=1;
231 itemZones[]=
232 {
233 "Zone_Chest",
234 "Zone_Belly"
235 };
236 quantityCoef=1;
237 transferToolDamageCoef=1;
238 };
239 class ObtainedGuts
240 {
241 item="Guts";
242 count=2;
243 quantityMinMaxCoef[]={0.5,0.80000001};
244 };
245 class ObtainedLard
246 {
247 item="Lard";
248 count=1;
249 quantityMinMaxCoef[]={0.5,0.80000001};
250 };
251 class ObtainedBones
252 {
253 item="Bone";
254 count=2;
255 quantityMinMaxCoef[]={0.80000001,1};
256 transferToolDamageCoef=1;
257 };
258 class BloodInfectionSettings
259 {
260 class Salmonella
261 {
262 chance=0.40000001;
263 };
264 };
265 };
266 class enfanimsys
267 {
268 meshObject="dz\animals\sus_domesticus\data\sus_domesticus_skeleton.xob";
269 graphname="dz\animals\animations\!graph_files\Herbivores\Herbivores_Graph.agr";
270 defaultinstance="dz\animals\animations\!graph_files\Herbivores\Pig_AnimInstance.asi";
271 startnode="Master_BoarAndPig_SM";
272 skeletonName="sus_domesticus_skeleton.xob";
273 };
274 class CommandMoveSettings
275 {
276 useSpeedMapping=1;
277 movementSpeedMapping[]={0,0.23,0.47999999,1.59,4,7.1999998};
278 };
279 class CommandLookAtSettings
280 {
281 lookAtFilterTimeout=0.5;
282 lookAtFilterSpeed=3;
283 };
284 class AnimEvents
285 {
286 class Steps
287 {
288 class Walk1
289 {
290 soundLookupTable="HoofSmallWalk_LookupTable";
291 noise="DeerStepNoise";
292 effectSet[]=
293 {
294 "DeerStepEffect1",
295 "DeerStepEffect2"
296 };
297 id=1;
298 };
299 class Walk2
300 {
301 soundLookupTable="HoofSmallWalk_LookupTable";
302 noise="DeerStepNoise";
303 effectSet[]=
304 {
305 "DeerStepEffect1",
306 "DeerStepEffect2"
307 };
308 id=2;
309 };
310 class Walk3
311 {
312 soundLookupTable="HoofSmallWalk_LookupTable";
313 noise="DeerStepNoise";
314 effectSet[]=
315 {
316 "DeerStepEffect1",
317 "DeerStepEffect2"
318 };
319 id=3;
320 };
321 class Walk4
322 {
323 soundLookupTable="HoofSmallWalk_LookupTable";
324 noise="DeerStepNoise";
325 effectSet[]=
326 {
327 "DeerStepEffect1",
328 "DeerStepEffect2"
329 };
330 id=4;
331 };
332 class Run1
333 {
334 soundLookupTable="HoofSmallRun_LookupTable";
335 noise="DeerStepNoise";
336 effectSet[]=
337 {
338 "DeerStepEffect1",
339 "DeerStepEffect2"
340 };
341 id=5;
342 };
343 class Run2
344 {
345 soundLookupTable="HoofSmallRun_LookupTable";
346 noise="DeerStepNoise";
347 effectSet[]=
348 {
349 "DeerStepEffect1",
350 "DeerStepEffect2"
351 };
352 id=6;
353 };
354 class Run3
355 {
356 soundLookupTable="HoofSmallRun_LookupTable";
357 noise="DeerStepNoise";
358 effectSet[]=
359 {
360 "DeerStepEffect1",
361 "DeerStepEffect2"
362 };
363 id=7;
364 };
365 class Run4
366 {
367 soundLookupTable="HoofSmallRun_LookupTable";
368 noise="DeerStepNoise";
369 effectSet[]=
370 {
371 "DeerStepEffect1",
372 "DeerStepEffect2"
373 };
374 id=8;
375 };
376 class Grazing1
377 {
378 soundLookupTable="HoofSmallGrazing_LookupTable";
379 noise="DeerStepNoise";
380 effectSet[]=
381 {
382 "DeerStepEffect1",
383 "DeerStepEffect2"
384 };
385 id=9;
386 };
387 class Grazing2
388 {
389 soundLookupTable="HoofSmallGrazing_LookupTable";
390 noise="DeerStepNoise";
391 effectSet[]=
392 {
393 "DeerStepEffect1",
394 "DeerStepEffect2"
395 };
396 id=10;
397 };
398 class Bodyfall
399 {
400 soundLookupTable="HoofSmallBodyfall_LookupTable";
401 noise="DeerStepNoise";
402 effectSet[]=
403 {
404 "DeerStepEffect1",
405 "DeerStepEffect2"
406 };
407 id=11;
408 };
409 class Settle
410 {
411 soundLookupTable="HoofSmallSettle_LookupTable";
412 noise="DeerStepNoise";
413 effectSet[]=
414 {
415 "DeerStepEffect1",
416 "DeerStepEffect2"
417 };
418 id=12;
419 };
420 class Rest2standA
421 {
422 soundLookupTable="HoofSmallRest2standA_LookupTable";
423 noise="DeerStepNoise";
424 effectSet[]=
425 {
426 "DeerStepEffect1",
427 "DeerStepEffect2"
428 };
429 id=13;
430 };
431 class Rest2standB
432 {
433 soundLookupTable="HoofSmallRest2standB_LookupTable";
434 noise="DeerStepNoise";
435 effectSet[]=
436 {
437 "DeerStepEffect1",
438 "DeerStepEffect2"
439 };
440 id=14;
441 };
442 class Stand2restA
443 {
444 soundLookupTable="HoofSmallStand2restA_LookupTable";
445 noise="DeerStepNoise";
446 effectSet[]=
447 {
448 "DeerStepEffect1",
449 "DeerStepEffect2"
450 };
451 id=15;
452 };
453 class Stand2restB
454 {
455 soundLookupTable="HoofSmallStand2restB_LookupTable";
456 noise="DeerStepNoise";
457 effectSet[]=
458 {
459 "DeerStepEffect1",
460 "DeerStepEffect2"
461 };
462 id=16;
463 };
464 class Stand2restC
465 {
466 soundLookupTable="HoofSmallStand2restC_LookupTable";
467 noise="DeerStepNoise";
468 effectSet[]=
469 {
470 "DeerStepEffect1",
471 "DeerStepEffect2"
472 };
473 id=17;
474 };
475 class Rub1
476 {
477 soundLookupTable="HoofSmallRub1_LookupTable";
478 noise="DeerStepNoise";
479 effectSet[]=
480 {
481 "DeerStepEffect1",
482 "DeerStepEffect2"
483 };
484 id=18;
485 };
486 class Rub2
487 {
488 soundLookupTable="HoofSmallRub2_LookupTable";
489 noise="DeerStepNoise";
490 effectSet[]=
491 {
492 "DeerStepEffect1",
493 "DeerStepEffect2"
494 };
495 id=19;
496 };
497 };
498 class Sounds
499 {
500 class HogGrunt_A
501 {
502 soundSet="HogGrunt_A_SoundSet";
503 noise="DeerRoarNoise";
504 id=1;
505 };
506 class HogGrunt_A_Squeal
507 {
508 soundSet="HogGrunt_A_Squeal_SoundSet";
509 noise="DeerRoarNoise";
510 id=2;
511 };
512 class HogGrunt_B
513 {
514 soundSet="HogGrunt_B_SoundSet";
515 noise="DeerRoarNoise";
516 id=3;
517 };
518 class HogGrunt_B_Long
519 {
520 soundSet="HogGrunt_B_Long_SoundSet";
521 noise="DeerRoarNoise";
522 id=4;
523 };
524 class HogGrunt_C
525 {
526 soundSet="HogGrunt_C_SoundSet";
527 noise="DeerRoarNoise";
528 id=5;
529 };
530 class HogGrunt_D
531 {
532 soundSet="HogGrunt_D_SoundSet";
533 noise="DeerRoarNoise";
534 id=6;
535 };
536 class HogGrunt_E
537 {
538 soundSet="HogGrunt_E_SoundSet";
539 noise="DeerRoarNoise";
540 id=7;
541 };
542 class HogGrunt_F
543 {
544 soundSet="HogGrunt_F_SoundSet";
545 noise="DeerRoarNoise";
546 id=8;
547 };
548 class HogGrunt_G
549 {
550 soundSet="HogGrunt_G_SoundSet";
551 noise="DeerRoarNoise";
552 id=9;
553 };
554 class HogGrunt_H
555 {
556 soundSet="HogGrunt_H_SoundSet";
557 noise="DeerRoarNoise";
558 id=10;
559 };
560 class HogGrunt_I
561 {
562 soundSet="HogGrunt_I_SoundSet";
563 noise="DeerRoarNoise";
564 id=11;
565 };
566 class HogSniff
567 {
568 soundSet="HogSniff_SoundSet";
569 noise="DeerRoarNoise";
570 id=12;
571 };
572 class HogSqueal
573 {
574 soundSet="HogSqueal_SoundSet";
575 noise="DeerRoarNoise";
576 id=13;
577 };
578 class HogScratch3
579 {
580 soundSet="HogSscratch3_SoundSet";
581 noise="DeerRoarNoise";
582 id=14;
583 };
584 class HogScratch4
585 {
586 soundSet="HogSscratch4_SoundSet";
587 noise="DeerRoarNoise";
588 id=15;
589 };
590 class HogClaw
591 {
592 soundSet="HogClaw_SoundSet";
593 noise="DeerRoarNoise";
594 id=16;
595 };
596 };
597 class Damages
598 {
599 class Bite
600 {
601 damage="DeerBiteDamage";
602 id=1;
603 };
604 };
605 };
606 };
607};