171ErrorEx(string.Format("Unregistered surface for bullet impact effect (%1). Register this surface in ImpactMaterials (Script) for better performance.", surface), ErrorExSeverity.WARNING);
172 }
173else
174 {
175if (directHit)
176 {
177string object_type = directHit.GetType();
178
179if ( object_type == "" )
180 object_type = "OBJECT_WITHOUT_CONFIG_CLASS";
181
182ErrorEx(string.Format("Object '%1' with model file: %2 has undefined 'Hit_...' material! Cannot play impact effect.", object_type, directHit.GetShapeName()));