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)
And later in the scripts I find the ability to "call" the sfx like this:
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
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