JRyan 0 Posted March 6, 2002 Hi I'd like to know how can I change txt. in ext.? I need to know that to put a music on my mission... thanks! Share this post Link to post Share on other sites
the man or iron 0 Posted March 6, 2002 Okay, I don't quite understand what you mean, but I can think of two things: 1.Q.You want to know what to open the .ext file in. A.Just use Notepad or any word processing program. 2.Q.You don't know how to change a .txt file to a .ext file. A.Well firstly you have to view the extentions on your file names. To do this open My Computer, click on view and then folder options...Now select the view tab and look down the check-list, un-check the box which says "Hide file extensions for known file types". Then find the .txt file you wish to change and select the "rename" option when you right click it. Now all you need to do is delete the .txt extension and add .ext. I hope one of them was what you were looking for . Share this post Link to post Share on other sites
JRyan 0 Posted March 7, 2002 yes, my question was the second one. and i understand 50% of what you told. I need to know where's and what's the "My computer" thing? after it will be easy... because I ever seen it so far. Share this post Link to post Share on other sites
Intruder 0 Posted March 7, 2002 -Open any folder, it will open a window. -Go to the menu bar and select Tools->Folder Options -It will open the Folder Options dialogue box, click on the View tab -You should see some check boxes and small folders, one of the chack boxes will say: Hide file extensions for known file types -Make sure it is unchecked All files should now show the file extensions, *.doc, *.exe, *.txt etc... Share this post Link to post Share on other sites
JRyan 0 Posted March 7, 2002 great I've no problem anymore thanks a lot!! Share this post Link to post Share on other sites
JRyan 0 Posted March 7, 2002 oh no im liar I've another problem ... about my script to get a song in my mission. here is the script, I called the song "songoffreedom" to testing... class cfgmusic { tracks[]= { songoffreedom }; class songoffreedom { name = "songoffreedom"; sound[] = {\music\songoffreedom.ogg. db:50, 1.0); }; }; Somthing is wrong? or that's something else... Share this post Link to post Share on other sites
Chris Death 0 Posted March 7, 2002 count your {'s and }'s and then compare them. The score is {4 to }3. Share this post Link to post Share on other sites
the man or iron 0 Posted March 7, 2002 Okay, I think the problem is in this line and I THINK there are two things wrong: wrong line: sound[] = {\music\songoffreedom.ogg. db:50, 1.0); try this: sound[] = {\music\songoffreedom.ogg, db+50, 1.0); You can change the + to a - if it doesn't work. Happy editing . Share this post Link to post Share on other sites
JRyan 0 Posted March 7, 2002 good i can see the song in the edit effects option... but when the soldier get on this waypoint to start the song the game get closed alone... Can you help me on this one Share this post Link to post Share on other sites
Intruder 0 Posted March 7, 2002 Try: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> lass CfgMusic { tracks[]={songoffreedom}; class born_to_be_wild { name = "songoffreedom"; sound[] = {\music\songoffreedom.ogg, db+10, 1.0}; }; };<span id='postcolor'> db+10, check your ogg file actually works in winamp something. Share this post Link to post Share on other sites
the man or iron 0 Posted March 7, 2002 Beacuse I am no expert on Sound editing (I keep my tutorial close by) I tend to miss things out and get things wrong. But I have another proposition: In this line (the corrected one): sound[] = {\music\songoffreedom.ogg, db+50, 1.0); Try this: sound[] = {"songoffreedom.ogg", db+50, 1.0); I'm not entirely sure if that is correct, try leaving in the "\music\" bit too just incase. Share this post Link to post Share on other sites
JRyan 0 Posted March 7, 2002 Intruder, I tried your script and the game closed again... The man or iron, that doesn't work I really don't know what to do! Intruder are you the guy he made a mission with the "born to be wild" song in the chopper? Share this post Link to post Share on other sites
the man or iron 0 Posted March 7, 2002 Okay, tutorial by my side now. Your Script: class cfgmusic { tracks[]= { songoffreedom }; class songoffreedom { name = "songoffreedom"; sound[] = {\music\songoffreedom.ogg. db:50, 1.0); }; }; Edited script using tutorial: class cfgmusic { tracks[]={songoffreedom}; class songoffreedom { name = "songoffreedom"; sound[] = {\music\songoffreedom.ogg, db+10, 1.0); }; }; Obviously there is nothing wrong with the script then. How are you activating the song?. Another thing I can think of is, and please don't take this as an insult, is your songoffreedom.ogg in a folder called music in your mission's dircectory? Share this post Link to post Share on other sites
JRyan 0 Posted March 8, 2002 Not working. heh yes my .ogg is in a folder called "Music" But my "description.ext" is not in the "Music" folder... should I put this file in? I don't think so... Share this post Link to post Share on other sites
JRyan 0 Posted March 8, 2002 Well in my mission folder I've my "description.ext" , "Music" folder and of course "mission.sqm" Share this post Link to post Share on other sites