// ----------------- // English Language: // ----------------- // I'm using the global sound file from the ET-Mod "noquarter" // (new named as menu2_server.wav) many thx for the file ;) // INSTALL // Write or copy & paste following lines in // your autoexec.cfg (directory ../etmain): // The lines with "//" are not needed! // (create a autoexec.cfg if missing) // set background music on/off // ----------------------------------- cut ------------------------------------- bind F12 "vstr fmusic" set fmusic_on "set fmusic vstr fmusic_off;music sound/music/menu2_server.wav" set fmusic_off "set fmusic vstr fmusic_on ;music 0" set fmusic "vstr fmusic_on" // ----------------------------------- cut ------------------------------------- // If you toggle "F12" then sound will be deactivated. // "..;music 0" is a little hack, but it works if no // 0.wav exists ;) // Happy fun with the background sound :) // --------------------------- // German Language (Deutsch): // --------------------------- // Für die Hintergrundmusik verwende ich eine Sound-Datei von der ET-Mod: // "noquarter" (hier umbenannt in "menu2_server.wav") // INSTALLATION // Einfach den Scriptteil zwischen "cut" in die autoexec.cfg in das ../etmain // Verzeichnis kopieren. Die Zeilen mit "//" sind Kommentare und brauchen nicht // unbedingt mitkopiert werden. Falls noch keine autoexec.cfg existiert, einfach // anlegen. // Schaltet Hintergrundsound an/aus // ----------------------------------- cut ------------------------------------- bind F12 "vstr fmusic" set fmusic_on "set fmusic vstr fmusic_off;music sound/music/menu2_server.wav" set fmusic_off "set fmusic vstr fmusic_on ;music 0" set fmusic "vstr fmusic_on" // ----------------------------------- cut ------------------------------------- // Bei nochmaligem Druck auf "F12" wird der Sound wieder ausgeschaltet. // Natürlich kann statt "F12" auch eine andere freie Taste gewählt werden ;)