Men of War: Assault Squad 2

Men of War: Assault Squad 2

Men of War: Assault Squad 2 - Workshop
The place to find custom maps, missions and mods for your favourite Men of War game! Want to contribute? Check the mainfolder of the game for all modding tools, such as map editor and plug-ins.
Snake 1 28 Dec, 2024 @ 1:41pm
How do I make Small Arms play multiple Sound files when firing?
Hey everyone!

I want to add distance/background sounds to small arms fire as well as to explosions in my sound mod for Valour. I have sniffed through the files of the Vietnam at War mod because it has such a system which works nicely, but I just can't make head and tails of the files and how they reference each other. Modifying the set files for the corresponding weapons by adding a new additional "FireSound" doesn't work as this command makes it only play one sound a time.

The interaction entity file "muzzle" already exists and adds additional sounds to larger guns by referencing properties which can be found in the def files of the corresponding entities. I tried replicating this system by creating a new interaction entity file in which I reference newly created props, newly added to the entity tiles of the corresponding small arms. However I couldn't make it work this way, so I'm at a dead end.

The basic question is: How do I make small arms (and by extension explosions) play multiple sound files at once when firing / detonating? And what would be the easiest solution?

If anyone knows, your help is greatly appreciated.