DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RegisterSoundSetMap()

void RegisterSoundSetMap ( )
private

См. определение в файле EasterEgg.c строка 289

290 {
291 //Register all possible creature sounds in map with their respective hash
292 string soundSet;
294
295 //Cow sounds
296 soundSet = "CattleMooA_SoundSet";
297 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
298 soundSet = "CattleBellow_SoundSet";
299 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
300
301 //Deer sounds
302 soundSet = "DeerRoar_SoundSet";
303 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
304 soundSet = "DeerBleat_SoundSet";
305 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
306
307 //Goat sounds
308 soundSet = "GoatBleat_A_SoundSet";
309 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
310 soundSet = "GoatBleat_B_SoundSet";
311 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
312
313 //Hare sounds
314 soundSet = "HareChirp_SoundSet";
315 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
316 soundSet = "HareSquawk_SoundSet";
317 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
318
319 //Hen sounds
320 soundSet = "HenCluck_X_SoundSet";
321 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
322 soundSet = "HenScream_SoundSet";
323 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
324
325 //Hog sounds
326 soundSet = "HogGrunt_G_SoundSet";
327 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
328 soundSet = "HogSqueal_SoundSet";
329 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
330
331 //Sheep sounds
332 soundSet = "SheepBleat_G_SoundSet";
333 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
334 soundSet = "SheepBleat_E_SoundSet";
335 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
336
337 //Wolf sounds
338 soundSet = "WolfBark_SoundSet";
339 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
340 soundSet = "WolfWhimper_SoundSet";
341 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
342
343 //Zmb F sounds
344 soundSet = "ZmbF_Normal_CallToArmsShort_Soundset";
345 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
346 soundSet = "ZmbF_Normal_HeavyHit_Soundset";
347 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
348
349 //Zmb M sounds
350 soundSet = "ZmbM_Normal_CallToArmsShort_Soundset";
351 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
352 soundSet = "ZmbM_Normal_HeavyHit_Soundset";
353 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
354
355 //Bear sounds
356 soundSet = "BearRoarShort_SoundSet";
357 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
358 soundSet = "BearSnarl_SoundSet";
359 m_CreatureSoundMap.Insert( soundSet.Hash(), soundSet );
360 }
map
Определения ControlsXboxNew.c:4
ref map< int, string > m_CreatureSoundMap
Определения EasterEgg.c:32
proto native int Hash()
Returns hash of string.

Перекрестные ссылки string::Hash() и m_CreatureSoundMap.

Используется в EasterEgg().