lonesoldier 0 Posted July 27, 2003 How? It has <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soundPush[] = {, 0.2, 1}; soundClick[] = {"ui\ui_ok", 0.2, 1}; soundEscape[] = {"ui\ui_cc", 0.2, 1}; If i replace the ui\ui_ok with a sound ive already defined in my description.ext no sound plays at all. Share this post Link to post Share on other sites
vektorboson 8 Posted July 27, 2003 you have to reference the sound file directly. In fact there stands: \sounds\ui\ui_ok.wss and not "ui\ui_ok" So just give the direct link to your sound. Share this post Link to post Share on other sites
lonesoldier 0 Posted July 27, 2003 I put sound\mysound - and it still didnt work. Share this post Link to post Share on other sites
vektorboson 8 Posted July 28, 2003 Could you then please post the relevant parts of your description.ext? How is someone supposed to help if he just have to guess? I would say that you post your base-button-class and your sounds-classes. Share this post Link to post Share on other sites
lonesoldier 0 Posted July 28, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class RscButton { type = CT_BUTTON; idc = -1; style = ST_CENTER; colorText[] = {0, 0, 0, 1}; font = FontHTML; sizeEx = 0.025; soundPush[] = {, 0.2, 1}; soundClick[] = {"ui\ui_ok", 0.2, 1}; soundEscape[] = {"ui\ui_cc", 0.2, 1}; default = false; }; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds { class asylum { name = "asylum"; sound[] = {"asylum.ogg", db, 1.0}; titles[] = {0, $STRM_asylum}; }; class avery10 { name = "avery10"; sound[] = {"avery10.ogg", db-5, 1.0}; titles[] = {0, $STRM_avery10}; }; class horror01 { name = "horror01"; sound[] = {"horror01.ogg", db, 1.0}; titles[] = {0, $STRM_horror01}; }; class TT0200N { name = "TT0200N"; sound[] = {"TT0200N.ogg", db, 1.0}; titles[] = {0, $STRM_TT0200N}; }; class coffboom { name = "coffboom"; sound[] = {"coffboom.ogg", db, 1.0}; titles[] = {0, $STRM_coffboom}; }; class achi01 { name = "achi01"; sound[] = {"achi01.ogg", db-10, 1.0}; titles[] = {0, $STRM_achi01}; }; class lvlbak01 { name = "lvlbak01"; sound[] = {"lvlbak01.ogg", db-10, 1.0}; titles[] = {0, $STRM_lvlbak01}; }; class rp { name = "rp"; sound[] = {"rp.ogg", db, 0.0}; titles[] = {0, $STRM_rp}; }; class launch { name = "launch"; sound[] = {"launch.ogg", db, 0.0}; titles[] = {0, $STRM_launch}; }; class start16 { name = "start16"; sound[] = {"start16.ogg", db, 1.0}; titles[] = {0, $STRM_start16}; }; }; All sounds work fine in-game. Share this post Link to post Share on other sites
vektorboson 8 Posted July 30, 2003 Ok, then try following: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> soundClick[] = {"sound\launch.ogg", 0.2, 1}; If this doesnt work, then try a leading backslash. And also consider converting your sound to wav and then try again (I know it sounds odd, but for me this sometimes works!) Share this post Link to post Share on other sites
lonesoldier 0 Posted July 31, 2003 Hmm, ok cheers mate!!!!!1 Edit: - Nope, it doesnt work I tried all the methods you suggested.... Share this post Link to post Share on other sites