Jump to content

Recommended Posts

Where can I find this file "a3\dubbing_f_epc\c_out1\30_teamsreport\c_out1_30_teamsreport_bhq_0.ogg" ?


It is just example, I want to find them and convert them ?

Share this post


Link to post
Share on other sites
On 11/23/2020 at 8:51 AM, NightIntruder said:

While I am still in sound topic 😉, I wonder what the "loop" and "terminate" params are for in the case below? Whenever I open and than close the door, this is over, no more sound played by the door (maybe I did smth wrong with the config below?).
Is the param "loop" refering to a sound (ie. one can loop a sound) or the trigger itself (ie. a sound can be played many times)? In BI's examples I noticed no use of "loop", several examples of using "terminate" which seems to be connected with long mid-action samples like shifting gate. Are those params work with the new soundSets/soundShaders techonology exclusively? Is it possible to loop a sound through use of animationSource/CfgAnimationSourceSounds? Could someone with knowledge be kind enough to shed some light on the topic, please? I've been trying hard for some time but couldn't find relevant information anywhere.


class CfgAnimationSourceSounds
{
    class door_sound
    {
        class door_open
        {
            loop = 0;
            terminate = 0;
            trigger = "direction * (phase factor[0.01,0.02])";
            sound0[] = {".........\door_open.ogg",2,1,40};
            sound[] = {"sound0",1};
        };
        class door_close
        {
            loop = 0;
            terminate = 0;
            trigger = "(1 - direction) * (phase factor[0.01,0.02])";
            sound0[] = {".........\door_close.ogg",2,1,40};
            sound[] = {"sound0",1};
        };
    };
};

 

loop = 1 don't work at all, if you have for example radar animation and it goes in very big phase  for example 1mln rotations the sound is played one time no matter if you use loop = 1 or termnate 0 or 1, juzst this loop is ignored at all.

 

    class rotation_engine
    {
        class motor
        {
            loop = 1;
            sound[] = {"sound0",1};
            sound0[] = {"HWK_AMS\RADARS\SOUNDS\rotation_engine.ogg",1,1,100};
            terminate = 1;
            trigger = "direction";
        };
    };

    class rotation_wheels
    {
        class motor
        {
            loop = 1;
            sound[] = {"sound0",1};
            sound0[] = {"HWK_AMS\RADARS\SOUNDS\rotation_wheels.ogg",1,1,100};
            terminate = 1;
            trigger = "direction";
        };
    };

 

so only solution is make it on customcontrollers like this for example: 

 

        class sounds
        {
            class rotation_engine
            {
                volume = "CustomSoundController1";
                frequency = "CustomSoundController2";
                sound[] = {"HWK_AMS\RADARS\sounds\rotation_engine.ogg",1,1,100};
            };
        };

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×