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

◆ DefaultDestroySoundset()

string ConstructionPartEffectsData::DefaultDestroySoundset ( int materialType)
inlineprotected

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

184 {
185 string soundset = "";
186 switch (materialType)
187 {
188 case ConstructionMaterialType.MATERIAL_LOG:
189 soundset = "DestroyWood_SoundSet";
190 break;
191
192 case ConstructionMaterialType.MATERIAL_WOOD:
193 soundset = "DestroyWood_SoundSet";
194 break;
195
196 case ConstructionMaterialType.MATERIAL_STAIRS:
197 soundset = "DestroyWood_SoundSet";
198 break;
199
200 case ConstructionMaterialType.MATERIAL_METAL:
201 soundset = "DestroyMetal_SoundSet";
202 break;
203
204 case ConstructionMaterialType.MATERIAL_WIRE:
205 soundset = "DestroyMetal_SoundSet";
206 break;
207
208 case ConstructionMaterialType.MATERIAL_BRICK:
209 soundset = "DestroyBrick_SoundSet";
210 break;
211 }
212
213 return soundset;
214 }
ConstructionMaterialType
used to guide action sound selection, mostly. Could be also used for particles and stuff,...
Определения ConstructionBase.c:3

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