Re: Trigger repeating audio using SDL Mixer
Posted: Sat Oct 21, 2017 7:58 am
No worries, all of this is public knowledge now and might help others seeking for advise. Glad I could help and things are working fine for you now.
Welcome to the CRYENGINE Community
I understand that mat_bullet = "\Assets\Materials\bullet.mtl"collisions between mat_bullet <-> mat_concrete and mat_bullet <-> mat_bullet.
That's it, let me know if things are still unclear.
I mean the empty-third-person C++ project, example level. ThanksWhich project are you referring to? GameSDK?
Hopefully a "UI connect sound to that mat type solution" will be available inside the Sandbox Editor in the future instead of manually adding lines externally in an Excel sheet / XML.Hello,
mat_bullet is not a material it's a surface type. Every material can have a surface type which describes physical properties of that material like the friction or sound obstruction. All surface type are defined in a xml file which can be found here Assets\libs\MaterialEffects\SurfaceTypes.xml. In that file you can also define your own custom surface types as we did with the mat_bullet. Those types then can be used to trigger certain sounds on collision, for example when the mat_bullet type hits a mat_concrete type you can play the "Hit wall"' sound and if the mat_bullet type hits a mat_wood type you can play the "Hit wood" sound, I guess you get the idea. You can have a look at the Assets\Libs\MaterialEffects\MaterialEffects.xml file to maybe get a better idea of the system.
I hope this answers your question.
Thank you, I didn't know thatmat_bullet is not a material it's a surface type.