-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.cpp
More file actions
5559 lines (5199 loc) · 113 KB
/
Copy pathconfig.cpp
File metadata and controls
5559 lines (5199 loc) · 113 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
© 2025 | Zenarchist.com | Zen's Enormous Package™️
This mod consolidates all of my custom mods that are finished
and don't require much maintenance. This is for my server, but
I figure other servers might want to run all of these mods too.
I will update this mod only when bugs are fixed or new stable content is added.
I made this combined modpack because "modding" too many vanilla classes
can cause this bug: https://feedback.bistudio.com/T176938
(Update: This bug has been fixed as of 1.24! From now on I will incldue any new mods as separate PBO files and use #ifdef ZENMODPACK)
Notes/Credit:
- This pack also includes ViewInventory mod made by affenb3rt: https://steamcommunity.com/sharedfiles/filedetails/?id=2833363308
- And WeatherPresets also by affenb3rt, modified to add weighted chance: https://steamcommunity.com/sharedfiles/filedetails/?id=2844108808
- EarPlugs & AutoRun is based on code originally written by Daemonforge.
- My treasure photo mod is inspired by Hunterz mod, but his mod lacked features I needed, so I made my own version of that same idea.
[GENERAL MODDING INFO]
Repair Kit Types
1: Weapon Cleaning Kit
2: Sewing Kit
3: Leather Sewing Kit
4: Whetstone
5: Duct Tape
6: Tire Repair Kit
7: Electronic Repair Kit
8: Epoxy Putty
9: DOESN'T EXIT
10: Blowtorch
Rotation Flags
ROTATE_Front = 1
ROTATE_Top = 2
ROTATE_Left = 4
ROTATE_Right = 8
ROTATE_LeftRight = 12
ROTATE_Back = 16
ROTATE_FrontBack = 17
ROTATE_Bottom = 32
ROTATE_BottomTop = 34
ROTATE_All = 63
ROTATE_Ignore = 64
No idea why this var is named this, but if it's not set to 1, then items inside this inventory fall on the ground
when you login with it nested in cargo. Not clear if it affects anything else:
allowOwnedCargoManipulation = 1;
CfgVehicles Types with scope=2 as of 23/9/24 (scope=2 means you can manipulate in-game as an item, scope=1 is static object):
Empty_BakedBeansCan_Opened
Empty_BoxCerealCrunchin
Empty_BrisketSpread_Opened
Empty_Can_Opened
Empty_CatFoodCan_Opened
Empty_Chips
Empty_Crackers
Empty_DogFoodCan_Opened
Empty_FoodCan_250g_Opened_ColorBase
Empty_Honey
Empty_Honey_NoLiquid
Empty_Lunchmeat_Opened
Empty_Marmalade
Empty_Marmalade_NoLiquid
Empty_Pajka_Opened
Empty_Pate_Opened
Empty_PeachesCan_Opened
Empty_PorkCan_Opened
Empty_PowderedMilk
Empty_Rice
Empty_SaltySticks
Empty_SardinesCan_Opened
Empty_SodaCan_Cola
Empty_SodaCan_Fronta
Empty_SodaCan_Kvass
Empty_SodaCan_Pipsi
Empty_SodaCan_Spite
Empty_SpaghettiCan_Opened
Empty_TacticalBaconCan_Opened
Empty_TunaCan_Opened
Empty_UnknownFoodCan_Opened
Empty_Zagorky
Empty_ZagorkyChocolate
Empty_ZagorkyPeanuts
Empty_ZenFlask
Empty_ZenJameson
EyeMask_ZenRabbit_Black
EyeMask_ZenRabbit_Blue
EyeMask_ZenRabbit_Green
EyeMask_ZenRabbit_Pink
Pen_Black
Pen_Red
Pen_Green
Pen_Orange
Pen_Pink
Pen_Purple
Used_AntiChemInjector
Used_BloodBagIV
Used_Epinephrine
Used_Morphine
Used_SalineBagIV
Zen_ArtillerySmokeGrenade
Zen_ArtillerySmokeGrenadeChem
Zen_BoomBox
Zen_CamoNet_GhillieAtt
Zen_CamoNet_GhillieBushrag
Zen_CamoNet_GhillieHood
Zen_CamoNet_GhillieSuit
Zen_CamoNet_GhillieTop
Zen_CamoNet_Strip
Zen_CamoShelterKit
Zen_Canteen_Black
Zen_CarWorkbench
Zen_CarWorkbenchKit
Zen_CassetteCase
Zen_ChessBlackBishop
Zen_ChessBlackKing
Zen_ChessBlackKnight
Zen_ChessBlackPawn
Zen_ChessBlackQueen
Zen_ChessBlackRook
Zen_ChessBoard
Zen_ChessBoard_Static
Zen_ChessWhiteBishop
Zen_ChessWhiteKing
Zen_ChessWhiteKnight
Zen_ChessWhitePawn
Zen_ChessWhiteQueen
Zen_ChessWhiteRook
Zen_CommunityBarrel
Zen_CommunityBarrel_Holes
Zen_ConcussionGrenade
Zen_EternalFireplace
Zen_ImprovisedShelter
Zen_RaidAlarmRadar
Zen_RaidAlarmRadarKit
Zen_RaidAlarmStation
Zen_RaidAlarmStationKit
Zen_ShelterFabric
Zen_ShelterLeather
Zen_ShelterStick
Zen_TireRack
Zen_VikingAxe
Zen_Walkman
ZenFlask
ZenFlint
ZenGraves_DeadPlayerCross
ZenGraves_DeadPlayerSkeleton
ZenGraves_UndergroundStash
ZenJameson
ZenNote
ZenRandomAmmoBox // Don't spawn in types.xml: for JSON spawn config only, as the classname will shift into a different item causing types.xml to spawn infinitely
ZenRaybans_Black
ZenRaybans_Blue
ZenRaybans_Green
ZenRaybans_Red
ZenRune_Air
ZenRune_Body
ZenRune_Chaos
ZenRune_Cosmic
ZenRune_Earth
ZenRune_Fire
ZenRune_Law
ZenRune_Mind
ZenRune_Nature
ZenRune_Water
ZenSwissKnife
ZenTreasure_DebugShovel // Admin tool
ZenTreasure_RandomPhoto // Don't spawn in types.xml: for JSON spawn config only, as the classname will shift into a different item causing types.xml to spawn infinitely
ZenTreasure_SeaChest // Don't add to types.xml: lifetime is governed by ZenTreasureConfig.json
ZenTreasure_UndergroundStash // Don't add to types.xml: lifetime is governed by ZenTreasureConfig.json
ZenTreasure_UndergroundStashWinter // Don't add to types.xml: lifetime is governed by ZenTreasureConfig.json
ZenTreasure_WoodenCrate // Don't add to types.xml: lifetime is governed by ZenTreasureConfig.json
ZenZippoLighter
ZenZippoLighter_Anarchy
ZenZippoLighter_Peace
ZenZippoLighter_Zenarchist
*/
class CfgPatches
{
class ZenModPack
{
requiredAddons[] =
{
"DZ_Data",
"DZ_Scripts",
"DZ_Radio",
"DZ_Gear_Tools",
"DZ_Characters",
"DZ_Gear_Drinks",
"DZ_Gear_Cooking",
"DZ_Gear_Camping",
"DZ_Gear_Navigation",
"DZ_Gear_Consumables",
"DZ_Vehicles_Wheeled",
"DZ_Weapons_Supports",
"DZ_Weapons_Explosives",
"DZ_Characters_Headgear",
"DZ_Characters_Tops",
"DZ_Characters_Pants",
"DZ_Characters_Shoes",
"DZ_Characters_Gloves",
"DZ_Characters_Masks",
"DZ_Weapons_Muzzles",
"ZenModCore"
};
};
};
class CfgMods
{
class ZenModPack
{
author = "";
type = "mod";
inputs = "ZenModPack/data/inputs.xml";
version = "1.0";
storageVersion = 1;
class defs
{
class imageSets
{
files[] =
{
"ZenModPack/data/gui/tirerack/tirerackslots.imageset",
"ZenModPack/data/gui/chess/zenchess_whiteslot.imageset",
"ZenModPack/data/gui/chess/zenchess_blackslot.imageset",
"ZenModPack/data/gui/sleepingbags/sleepingbag_icon.imageset",
"ZenModPack/data/gui/journal/zenjournal.imageset",
"ZenModPack/data/gui/miscattachmenticons/blowtorch.imageset"
};
};
class gameScriptModule
{
value = "";
files[] =
{
"ZenModPack/Scripts/3_Game"
};
};
class worldScriptModule
{
value = "";
files[] =
{
"ZenModPack/Scripts/4_World"
};
};
class missionScriptModule
{
value = "";
files[] =
{
"ZenModPack/Scripts/5_Mission"
};
};
};
};
};
class CfgVehicles
{
// Some general debugging config
class ZenModPackConfig
{
// Dumps all CfgVehicle types with scope=2 to script.txt file in profiles folder for types.xml'ing.
dumpCfgVehicles = 0;
};
//! VANILLA CLASS CONFIG REQUIREMENTS
class GUIInventoryAttachmentsProps;
class M18SmokeGrenade_Green;
class BarrelHoles_ColorBase;
class GhillieAtt_ColorBase;
class M18SmokeGrenade_Red;
class SodaCan_ColorBase;
class Barrel_ColorBase;
class UndergroundStash;
class BaseBuildingBase;
class Barrel_ColorBase;
class HouseNoDestruct;
class Container_Base;
class ShelterLeather;
class Inventory_Base;
class FireplaceBase;
class ShelterFabric;
class FireplaceBase;
class KitchenKnife;
class Grenade_Base;
class ShelterStick;
class Edible_Base;
class Bottle_Base;
class WoodenCrate;
class ItemCompass;
class Fireplace;
class Roadflare;
class CarScript;
class CanOpener;
class SeaChest;
class CarWheel;
class Box_Base;
class Clothing;
class Lockpick;
class Hatchet;
class HandSaw;
class ItemMap;
class Shovel;
class Man;
//! ZENMODCORE CLASS CONFIG REQUIREMENTS
class ZenKitBoxBase;
class Blowtorch: Inventory_Base
{
inventorySlot[] +=
{
"ZenBlowtorch"
};
};
// M4 Suppressor
class M4_Suppressor;
class Zen_M4_Suppressor_Green: M4_Suppressor
{
scope=2;
hiddenSelections[]=
{
"zbytek"
};
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.35,0.36,0.28,1.0,CO)"
};
};
class AK_Suppressor;
class Zen_AK_Suppressor_Green: AK_Suppressor
{
scope=2;
hiddenSelections[]=
{
"zbytek"
};
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.35,0.36,0.28,1.0,CO)"
};
};
class PistolSuppressor;
class Zen_PistolSuppressor_Green: PistolSuppressor
{
scope=2;
hiddenSelections[]=
{
"zbytek"
};
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.35,0.36,0.28,1.0,CO)"
};
};
class ImprovisedSuppressor;
class Zen_ImprovisedSuppressor_Green: ImprovisedSuppressor
{
scope=2;
hiddenSelections[]=
{
"zbytek"
};
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.35,0.36,0.28,1.0,CO)"
};
};
class Zen_ImprovisedSuppressor_Black: ImprovisedSuppressor
{
scope=2;
hiddenSelections[]=
{
"zbytek"
};
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)"
};
};
class AK74_WoodBttstck;
class Zen_AK74_WoodBttstck_Green: AK74_WoodBttstck
{
scope=2;
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.35,0.36,0.28,1.0,CO)"
};
};
class AK74_Hndgrd;
class Zen_AK74_Hndgrd_Green: AK74_Hndgrd
{
scope=2;
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.35,0.36,0.28,1.0,CO)"
};
};
//! JOURNAL
class ZenBook_Base: Container_Base
{
simulation="ItemBook";
model="\DZ\gear\books\Book_kniga.p3d";
inventorySlot[]+=
{
"Book"
};
itemSize[]={2,2};
itemsCargoSize[]={0,0};
absorbency=0.89999998;
hiddenSelections[]=
{
"camoGround"
};
hiddenSelectionsTextures[]=
{
"dz\gear\books\data\book_bible_co.paa"
};
repairableWithKits[]={5};
repairCosts[]={20};
rotationFlags=16;
quantityShow=0;
allowOwnedCargoManipulation=1;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints=100;
healthLevels[]=
{
{
1,
{
"DZ\gear\books\Data\book.rvmat"
}
},
{
0.69999999,
{
"DZ\gear\books\Data\book.rvmat"
}
},
{
0.5,
{
"DZ\gear\books\Data\book_damage.rvmat"
}
},
{
0.30000001,
{
"DZ\gear\books\Data\book_damage.rvmat"
}
},
{
0,
{
"DZ\gear\books\Data\book_destruct.rvmat"
}
}
};
};
};
};
};
class ZenJournal: ZenBook_Base
{
scope=2;
displayName="$STR_CfgVehicles_ZenJournal0";
descriptionShort="$STR_CfgVehicles_ZenJournal1";
attachments[] =
{
"ZenJournal_Map",
"ZenJournal_Compass",
"ZenJournal_Pen",
"ZenJournal_Paper1",
"ZenJournal_Paper2",
"ZenJournal_Paper3",
"ZenJournal_Paper4",
"ZenJournal_Paper5"
};
};
class ChernarusMap: ItemMap
{
inventorySlot[] +=
{
"ZenJournal_Map",
"WalkieTalkie",
"Chemlight",
"VestGrenadeA",
"VestGrenadeB",
"VestGrenadeC",
"VestGrenadeD"
};
class InventorySlotsOffsets
{
class WalkieTalkie
{
position[]={0,0,0};
orientation[]={180,0,0};
};
class Chemlight
{
position[]={0,0,0};
orientation[]={-90,0,0};
};
class VestGrenadeA // outer right front-on
{
position[]={0,0,0.02};
orientation[]={180,0,0};
};
class VestGrenadeB // inner right front-on
{
position[]={0,0,0.02};
orientation[]={180,0,0};
};
class VestGrenadeC // inner left front-on
{
position[]={0,0,-0.02};
orientation[]={-30,0,0};
};
class VestGrenadeD // outer left front-on
{
position[]={0,0,-0.02};
orientation[]={-30,0,0};
};
};
};
class Compass: ItemCompass
{
inventorySlot[] +=
{
"ZenJournal_Compass"
};
};
class OrienteeringCompass: ItemCompass
{
inventorySlot[] +=
{
"ZenJournal_Compass"
};
};
class Screwdriver;
class Zen_DebugProxyItemsTool: Screwdriver
{
displayName = "DEBUG TOOL";
descriptionShort = "Use this to print nearby object proxies to logs.";
};
//! FLINT
class ZenFlint : Inventory_Base
{
scope = 2;
displayName = "$STR_CfgVehicles_ZenFlint0";
descriptionShort = "$STR_CfgVehicles_ZenFlint1";
model = "\ZenModPack\data\models\FlintAndSteel\flint.p3d";
animClass="Knife";
rotationFlags=34;
stackedUnit="percentage";
weight=200;
itemSize[]={1,2};
quantityBar=1;
varQuantityInit=100;
varQuantityMin=0;
varQuantityMax=100;
absorbency=0;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 300;
healthLevels[] =
{
{
1,
{
"ZenModPack\data\textures\flintandsteel\flint.rvmat"
}
},
{
0.69999999,
{
"ZenModPack\data\textures\flintandsteel\flint.rvmat"
}
},
{
0.5,
{
"ZenModPack\data\textures\flintandsteel\flint_damage.rvmat"
}
},
{
0.30000001,
{
"ZenModPack\data\textures\flintandsteel\flint_damage.rvmat"
}
},
{
0,
{
"ZenModPack\data\textures\flintandsteel\flint_destruct.rvmat"
}
}
};
};
};
};
class AnimEvents
{
class SoundWeapon
{
class pickup
{
soundSet = "sewingkit_pickup_SoundSet";
id = 797;
};
class drop
{
soundset = "sewingkit_drop_SoundSet";
id = 898;
};
};
};
};
//! COMMUNITY BARREL (UNMOVEABLE)
class Zen_CommunityBarrel : Barrel_ColorBase
{
scope = 2;
displayName = "$STR_CfgVehicles_ZenCommunityBarrel0";
descriptionShort = "$STR_CfgVehicles_ZenCommunityBarrel1";
hiddenSelectionsTextures[] =
{
"\ZenModPack\data\textures\communitybarrel\barrel_community_co.paa"
};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 999999;
}
}
};
};
class Zen_CommunityBarrel_Holes : BarrelHoles_ColorBase
{
scope = 2;
displayName = "$STR_CfgVehicles_ZenCommunityBarrel0";
descriptionShort = "$STR_CfgVehicles_ZenCommunityBarrel1";
hiddenSelectionsTextures[]=
{
"\dz\gear\cooking\data\stoneground_co.paa",
"\ZenModPack\data\textures\communitybarrel\barrel_community_co.paa",
"\ZenModPack\data\textures\communitybarrel\barrel_community_co.paa"
};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 999999;
}
}
};
};
class Zen_CommunityBarrel_DebugPrinter : Barrel_ColorBase
{
// For debug purposes only.
scope = 2;
displayName = "WILL DESPAWN";
descriptionShort = "This barrel will print its location in the server's logs when it is spawned. Useful for placing them on the map and then checking logs on local server restart to spawn using init.c method.";
hiddenSelectionsTextures[] =
{
"\ZenModPack\data\textures\communitybarrel\barrel_community_co.paa"
};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 999999;
}
}
};
};
//! RUNES
class ZenRune_Base: Inventory_Base
{
scope=0;
displayName="$STR_CfgVehicles_ZenRune0";
descriptionShort="$STR_CfgVehicles_ZenRune1";
model="\ZenModPack\data\models\runes\rune.p3d";
animClass="NoFireClass";
weight=500;
itemSize[]={2,2};
rotationFlags=16;
hiddenSelections[]=
{
"rune"
};
isMeleeWeapon=1;
soundImpactType="wood";
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints=200;
healthLevels[]=
{
{
1,
{
"DZ\rocks_bliss\data\rm_boulder2.rvmat"
}
},
{
0.69999999,
{
"DZ\rocks_bliss\data\rm_boulder2.rvmat"
}
},
{
0.5,
{
"DZ\rocks_bliss\data\rm_boulder2.rvmat"
}
},
{
0.30000001,
{
"DZ\rocks_bliss\data\rm_boulder2.rvmat"
}
},
{
0,
{
"DZ\rocks_bliss\data\rm_boulder2.rvmat"
}
}
};
};
};
};
};
class ZenRune_Air: ZenRune_Base
{
scope=2;
displayName="Air Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\air.paa"
};
};
class ZenRune_Body: ZenRune_Base
{
scope=2;
displayName="Body Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\body.paa"
};
};
class ZenRune_Chaos: ZenRune_Base
{
scope=2;
displayName="Chaos Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\chaos.paa"
};
};
class ZenRune_Cosmic: ZenRune_Base
{
scope=2;
displayName="Cosmic Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\cosmic.paa"
};
};
class ZenRune_Earth: ZenRune_Base
{
scope=2;
displayName="Earth Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\earth.paa"
};
};
class ZenRune_Fire: ZenRune_Base
{
scope=2;
displayName="Fire Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\fire.paa"
};
};
class ZenRune_Law: ZenRune_Base
{
scope=2;
displayName="Law Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\law.paa"
};
};
class ZenRune_Mind: ZenRune_Base
{
scope=2;
displayName="Mind Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\mind.paa"
};
};
class ZenRune_Nature: ZenRune_Base
{
scope=2;
displayName="Nature Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\nature.paa"
};
};
class ZenRune_Water: ZenRune_Base
{
scope=2;
displayName="Water Rune";
hiddenSelectionsTextures[]=
{
"ZenModPack\data\textures\runes\water.paa"
};
};
//! FLASK
class ZenFlask : Bottle_Base
{
scope = 2;
displayName = "$STR_CfgVehicles_ZenFlask0";
descriptionShort = "$STR_CfgVehicles_ZenFlask1";
zenLiquidName = "#STR_ZenGui_LiquidWhisky";
model = "zenmodpack\data\models\flask\zenflask.p3d";
// Syberia/Terje
medPainkillerLevel=1;
medPainkillerTimeSec=1;
medAntidepresantLevel=2;
medAntidepresantTimer=1;
overdosedIncrement=0.003;
// Vanilla
weight = 300;
itemSize[] = { 1,2 };
destroyOnEmpty = 0;
varQuantityDestroyOnMin = 0;
varLiquidTypeInit = 2048;
liquidContainerType = "1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + 512 + 1024 + 2048 + 4096 + 8192 + 16384 + 32768 + 65536 + 131072 + 262144 + 524288 + 2097152 + 4194304 - (1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256) - 32768";
varQuantityInit = 300;
varQuantityMin = 0;
varQuantityMax = 300;
varTemperatureMax = 10;
repairableWithKits[] = { 10 };
repairCosts[] = { 25 };
hiddenSelections[] = { "flask" };
hiddenSelectionsTextures[] =
{
"zenmodpack\data\textures\flask\zenflask_co.paa"
};
flammability=10;
liquidBoilingThreshold=999;
inventorySlot[] +=
{
"Belt_Left"
};
class Nutrition
{
fullnessIndex=1;
energy=231;
water=15;
nutritionalIndex=75;
toxicity=0;
digestibility=2;
};
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 10000; // extremely durable, particularly in fireplaces
healthLevels[] =
{
{
1,
{
"zenmodpack\data\textures\flask\zenflask.rvmat"
}
},
{
0.69999999,
{
"zenmodpack\data\textures\flask\zenflask.rvmat"
}
},
{
0.5,
{
"zenmodpack\data\textures\flask\zenflask_damage.rvmat"
}
},
{
0.30000001,
{
"zenmodpack\data\textures\flask\zenflask_damage.rvmat"
}
},
{
0,
{
"zenmodpack\data\textures\flask\zenflask_destruct.rvmat"
}
}
};
};
};
};
soundImpactType = "metal";
class AnimEvents
{
class SoundWeapon
{
class GlassBottle_in_B