W0lle 1046 Posted March 20, 2010 :confused: I got a problem here and no solution found for it yet: In my stringtable.xml I have this: <Key ID="str_voice_01"> <English>Whatever bla bla bla</English> </Key> In the description.ext the counterpart is: class CfgSounds { sounds[]={voice_01}; class voice_01 { name="voice_01"; sound[]={"voice_01.ogg", db-10, 1.0}; titles[]={0, "$str_voice_01"}; }; And finally in a script I call the sound with: off_1 say "voice_01"; In theory the subtitle should be: Whatever bla bla bla But it actually is: $str_voice_01 Share this post Link to post Share on other sites
Andy455 11 Posted March 21, 2010 You could try doing: titles [] = {0, "localize 'str_voice_01'"} or maybe try removing the " " marks? Share this post Link to post Share on other sites
W0lle 1046 Posted March 21, 2010 Tried both plus a couple of other localize variations - nada. :confused: Share this post Link to post Share on other sites
raedor 8 Posted March 21, 2010 Huh? Did you try this? titles[]={0, $str_voice_01}; Share this post Link to post Share on other sites
W0lle 1046 Posted March 21, 2010 Yep. I found the reason though (I think). After I replaced str_ with STR_ the text was displayed. But still have the problem with radio messages. After I switched back to the good old stringtable.csv everything was working as before though. So meh, screw the xml file. :) Share this post Link to post Share on other sites