Jump to content
barbolani

Dialog sound errors

Recommended Posts

Hi, I post this because I am totally dialog retarded and my only skill is copypasting all the documentation I find.

 

I have repetitive .rpt reports on dialog usage like this:

 

11:11:51 Sound: Error: File: ca\ui\data\sound\onover.wss not found !!!
11:11:51 Sound: Error: File: ca\ui\data\sound\new1.wss not found !!!
11:11:51 Sound: Error: File: ca\ui\data\sound\onclick.wss not found !!! 

 

Searching around google, seems I am not the only one, but nobody seems to care about that.

 

IMHO a rpt line is another thing to do by the engine so if I can avoid that, better.

 

My defines (copypasted from the standard) file:

class RscButton
{
    
   access = 0;
    type = CT_BUTTON;
    text = "";
    colorText[] = {1,1,1,.9};
    colorDisabled[] = {0.4,0.4,0.4,0};
    colorBackground[] = {0.75,0.75,0.75,0.8};
    colorBackgroundDisabled[] = {0,0.0,0};
    colorBackgroundActive[] = {0.75,0.75,0.75,1};
    colorFocused[] = {0.75,0.75,0.75,.5};
    colorShadow[] = {0.023529,0,0.0313725,1};
    colorBorder[] = {0.023529,0,0.0313725,1};
    soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
    soundPush[] = {"\ca\ui\data\sound\new1",0,0};
    soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
    soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
    style = 2;
    x = 0;
    y = 0;
    w = 0.055589;
    h = 0.039216;
    shadow = 2;
    font = "PuristaMedium";
    sizeEx = 0.03;//0.03921
    offsetX = 0.003;
    offsetY = 0.003;
    offsetPressedX = 0.002;
    offsetPressedY = 0.002;
    borderSize = 0;
};

I suppose there can be some documentation mistake and those sounds no longer exist, but it's strange...

Share this post


Link to post
Share on other sites

Hello there,

 

 maybe go and check the arma 3 files, and look if the path you enter is still right.

If you use costom sounds from an addon, check if it has been loaded correctly, and the files are available in the mission,

 

The latest arma 3 sound paths would be those:

    soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1};
    soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0};
    soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1};
    soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1};

Maybe that helps you, to test ...

 

 

Regards Arkensor

Share this post


Link to post
Share on other sites

Where did you the base configs?
My config says:

    soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1};
    soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1};
    soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1};
    soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1};

You can view and copy the RscButton in the config viewer.

Share this post


Link to post
Share on other sites

Not sure from where did I copy that. Probably official BIKI page.. it's been ages since I made this..

 

Tried Arkensor code and dropped the same error!

 

ried Greenfist and no more error :)

 

Thanks both!!!

  • Like 1

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

×