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_Pistols_Red9
4 {
5 units[]=
6 {
7 "Red9"
8 };
9 weapons[]={};
10 requiredVersion=0.1;
11 requiredAddons[]=
12 {
13 "DZ_Data",
14 "DZ_Pistols"
15 };
16 };
17};
18class Mode_Safe;
19class Mode_SemiAuto;
20class Mode_Burst;
21class Mode_FullAuto;
22class cfgWeapons
23{
24 class Pistol_Base;
25 class Red9_Base: Pistol_Base
26 {
27 scope=0;
28 debug_ItemCategory=1;
29 weight=960;
30 absorbency=0;
31 repairableWithKits[]={1};
32 repairCosts[]={25};
33 modelOptics="-";
34 weaponInfoType="RscWeaponZeroing";
35 distanceZoomMin=100;
36 distanceZoomMax=100;
37 discreteDistance[]={50,100,200,300};
38 discreteDistanceInitIndex=1;
39 value=0;
40 chamberSize=10;
41 chamberedRound="";
42 magazines[]={};
43 chamberableFrom[]=
44 {
45 "Ammo_9x19",
46 "Mag_CLIP9x19_10Rnd"
47 };
48 damagePerShot[]={0.050000001,0.050000001};
49 ejectType=1;
50 recoilModifier[]={1,1,1};
51 hiddenSelections[]=
52 {
53 "camo"
54 };
55 modes[]=
56 {
57 "SemiAuto"
58 };
59 class SemiAuto: Mode_SemiAuto
60 {
61 soundSetShot[]=
62 {
63 "Red9_Shot_SoundSet",
64 "Red9_Tail_SoundSet",
65 "Red9_InteriorTail_SoundSet"
66 };
67 soundSetShotExt[]=
68 {
69
70 {
71 "Red9_silencerHomeMade_SoundSet",
72 "Red9_silencerHomeMadeTail_SoundSet",
73 "Red9_silencerInteriorHomeMadeTail_SoundSet"
74 }
75 };
76 reloadTime=0.18000001;
77 recoil="recoil_red9";
78 recoilProne="recoil_red9_prone";
79 dispersion=0.0089999996;
80 magazineSlot="magazine";
81 };
82 };
83 class Red9: Red9_Base
84 {
85 scope=2;
86 displayName="$STR_cfgWeapons_Red90";
87 descriptionShort="$STR_cfgWeapons_Red91";
88 model="\dz\weapons\pistols\Red9\Red9.p3d";
89 attachments[]=
90 {
91 "weaponButtstockRed9",
92 "suppressorImpro"
93 };
94 itemSize[]={4,2};
95 hiddenSelectionsTextures[]=
96 {
97 "dz\weapons\pistols\Red9\data\red9_co.paa"
98 };
99 hiddenSelectionsMaterials[]=
100 {
101 "dz\weapons\pistols\Red9\data\red9.rvmat"
102 };
103 class DamageSystem
104 {
105 class GlobalHealth
106 {
107 class Health
108 {
109 hitpoints=100;
110 healthLevels[]=
111 {
112
113 {
114 1,
115
116 {
117 "DZ\weapons\pistols\Red9\data\red9.rvmat"
118 }
119 },
120
121 {
122 0.69999999,
123
124 {
125 "DZ\weapons\pistols\Red9\data\red9.rvmat"
126 }
127 },
128
129 {
130 0.5,
131
132 {
133 "DZ\weapons\pistols\Red9\data\red9_damage.rvmat"
134 }
135 },
136
137 {
138 0.30000001,
139
140 {
141 "DZ\weapons\pistols\Red9\data\red9_damage.rvmat"
142 }
143 },
144
145 {
146 0,
147
148 {
149 "DZ\weapons\pistols\Red9\data\red9_destruct.rvmat"
150 }
151 }
152 };
153 };
154 };
155 };
156 };
157};
159{
160 class ProxyAttachment;
161 class ProxyRed9: ProxyAttachment
162 {
163 scope=2;
164 inventorySlot="pistol";
165 model="\dz\weapons\pistols\Red9\Red9.p3d";
166 };
167};