Finding _sfx names

Topknot001

New Member
So had an idea to use other types of "_sfx" sounds for different actions that people can do on the server. One thing I can't seem to find the link on is where or when is the sfx sound files named or how are they called upon.
Example: (I find this in the CfgSounds.hpp)

Code:
class z_tentunpack_0 {
    name = "";
    sound[] = {"\dayz_sfx\effects\action_tentunpack_0.ogg",0.2,1,50};
        titles[] = {};

And later in the scripts I find the ability to "call" the sfx like this:
Code:
_sfx = "tentunpack";

So where did the "name" from z_tentunpack_0 change to tentunpack..? Am I missing an additional call or rename somewhere or is that just how the game calls the files?

Thanks
 
Ok let me refine my question a tad incase someone's got a nifty tip or pointer to lead me to go check out.
Here's examples of some of the calls for Sound FX's from various actions in Dayz.
Code:
_sfx = "repair";
_sfx = "cook";
_sfx = "gut";
_sfx = "refuel";
_sfx = "chopwood";
_sfx = "tentunpack";
_sfx = "fillwater";

Yet in the actual Dayz_sfx\effects folder we find names like:
Code:
action_cook_0.ogg
action_cook_1.ogg
action_cook_2.ogg
action_gut_0.ogg

So when in game the command _sfx = "cook"; is there someplace that the game reads the three mentioned above sound effects names for cook and makes an array and then end's up letting you call them with just "cook"?
 
Back
Top