DayZ 1.24
Loading...
Searching...
No Matches
ZombieMaleBase.c
Go to the documentation of this file.
1class ZombieMaleBase extends ZombieBase
2{
3 override string CaptureSound()
4 {
5 return "ZmbM_Normal_HeavyHit_Soundset";
6 }
7
8 override string ReleaseSound()
9 {
10 return "ZmbM_Normal_CallToArmsShort_Soundset";
11 }
12
13};
14
19
21{
22};
23
25{
26};
27
29{
30};
31
33{
34};
35
37{
38};
39
41{
42};
43
45{
46};
47
49{
50};
51
53{
54};
55
57{
58};
59
61{
62};
63
65{
66};
67
69{
70};
71
73{
74};
75
77{
78};
79
81{
82};
83
85{
86};
87
89{
90};
91
93{
94};
95
97{
98};
99
101{
102};
103
105{
106};
107
109{
110};
111
113{
114};
115
117{
118};
119
121{
122};
123
125{
126};
127
129{
130 override bool IsZombieMilitary()
131 {
132 return true;
133 }
134};
135
137{
138};
139
141{
142};
143
145{
146};
147
149{
150};
151
153{
154};
155
157{
158};
159
161{
162 override bool IsZombieMilitary()
163 {
164 return true;
165 }
166};
167
169{
170 override bool IsZombieMilitary()
171 {
172 return true;
173 }
174};
175
177{
178};
179
181{
182 override bool IsZombieMilitary()
183 {
184 return true;
185 }
186};
187
189{
190};
191
193{
194};
195
197{
199 {
200 return true;
201 }
202};
203
204class ZmbM_NBC_Grey extends ZombieMaleBase
205{
207 {
208 return true;
209 }
210
211 override bool IsZombieMilitary()
212 {
213 return true;
214 }
215};
216
217class ZmbM_Mummy extends ZombieMaleBase
218{
219#ifndef SERVER
220 protected ZombieMummyLight m_EyeLight;
221
222 override void EEInit()
223 {
224 if (!IsDamageDestroyed())//walking up to or connecting to already dead zombies check
225 m_EyeLight = ZombieMummyLight.Cast(ScriptedLightBase.CreateLightAtObjMemoryPoint(ZombieMummyLight, this, "MummyLight"));
226 }
227
229 {
230 if (m_EyeLight)
231 m_EyeLight.Destroy();
232 }
233 override void OnDamageDestroyed(int oldLevel)
234 {
235 if (m_EyeLight)
236 m_EyeLight.FadeOut(15);
237
238 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(ChangeVisual, 1000);
239 }
240
242 {
243 int index = GetHiddenSelectionIndex("camo");
244
245 SetObjectMaterial(index, "dz\\characters\\zombies\data\\Mummy_dead.rvmat");
246 SetObjectTexture(index, "dz\\characters\\zombies\\data\\Mummy_dead_CO.paa");
247 }
248#endif
249
251 {
252 return true;
253 }
254};
bool IsDamageDestroyed(ActionTarget target)
Definition ActionBase.c:841
GoatLight m_EyeLight
Definition AnimalBase.c:115
override string ReleaseSound()
override string CaptureSound()
Base class for eatch Infected type.
ZombieMummyLight m_EyeLight
override void OnDamageDestroyed(int oldLevel)
override bool ResistContaminatedEffect()
override bool IsZombieMilitary()
override void EEInit()
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8