View Full Version : [TEC] Radio stations file format/structure
I'm trying to include Radio Oranje for my mod and I have few awesome sound clips, the only problem is that they don't seem to be played whenever I'm tuned into the station.
This is my radio.ini
[GENERAL]
RadioRealism=Yes
StartCh=1
[CHANNEL]
Name=Washington
Folder=Washington
Freq=22
Antenna=01.01.1930-01.01.2000:44.16,-35.10:100000
[CHANNEL]
Name=Radio Oranje
Folder=Oranje
Freq=49
Antenna=01.01.1930-01.01.2000:44.16,-35.10:100000
I tried a couple of times but the only thing I get is the noise.ogg's static. The station is listed on the radio set properly, just no sound coming from it. Washington works just fine.
I have only one file in the Oranje folder called openingmelody.ogg in Mono, 44.1 khz. Does this need to be .mp3 or .wav or a different bitrate?
Any help is appreciated.
definately needs to be mp3 or wav as far as I can tell. but I'm no expert....if you have windows media player 10 you can play it on that and save as an mp3 I think. Also, make sure the spelling of the file with the mp3 in it is exactly the same as you list it in the code. I missed an 'n' off Glenn Miller and it took me ages to figure out why it wouldn't play anything......... can you say DUH?????
definately needs to be mp3 or wav as far as I can tell. but I'm no expert....if you have windows media player 10 you can play it on that and save as an mp3 I think. Also, make sure the spelling of the file with the mp3 in it is exactly the same as you list it in the code. I missed an 'n' off Glenn Miller and it took me ages to figure out why it wouldn't play anything......... can you say DUH?????
Where did you set the file to be played in the code? I haven't altered any code, I was under the impression all you did was add the station in the .cfg and then put the files in their apporpiate folder.
tedhealy
04-14-07, 01:01 AM
I'm trying to include Radio Oranje for my mod and I have few awesome sound clips, the only problem is that they don't seem to be played whenever I'm tuned into the station.
This is my radio.ini
[GENERAL]
RadioRealism=Yes
StartCh=1
[CHANNEL]
Name=Washington
Folder=Washington
Freq=22
Antenna=01.01.1930-01.01.2000:44.16,-35.10:100000
[CHANNEL]
Name=Radio Oranje
Folder=Oranje
Freq=49
Antenna=01.01.1930-01.01.2000:44.16,-35.10:100000
I tried a couple of times but the only thing I get is the noise.ogg's static. The station is listed on the radio set properly, just no sound coming from it. Washington works just fine.
I have only one file in the Oranje folder called openingmelody.ogg in Mono, 44.1 khz. Does this need to be .mp3 or .wav or a different bitrate?
Any help is appreciated.
Is your Oranje folder at \data\sound\radio\oranje ?
Within oranje folder, you need an events folder. If you just want your sound file to play randomly, then put it in \data\sound\radio\oranje and it should play repeatedly.
If you want to have your sound file played at a certain time and date, you need to put your sound file in \data\sound\radio\oranje\events. Plus you need an events.ini in there too. Just look at the washington folders' events.ini to get an idea of the format
bunkerratt
04-14-07, 01:02 AM
i may be wrong but your tryint to transmit the 2 stations off the same antena during the same time frame ...if my history is correct oranje would be dutch east indies? so my thinking is you should try this and see if it works for you change the station location to this
Antenna=01.01.1930-01.01.2000:44.16,-120.00:100000
the 120 puts the ant in the celebes /hope this helps let me know if it works and mp3's wave or oggs should work
tedhealy
04-14-07, 01:03 AM
True, but the location really doesn't matter when you have a power of 100000. It will be heard everywhere on the map so it's originating spot doesn't matter.
True, but the location really doesn't matter when you have a power of 100000. It will be heard everywhere on the map so it's originating spot doesn't matter.
I only have a 14 minute track of Radio, it's ok if it loops for now. Finding radio broadcasts from that time is hard enough as it is.
Radio Oranje is London actually. It used to be Radio Nederland (Netherlands) but after the invasion in may 1940 they were shut down by the Germans. Radio Oranje is basicly BBC. It's shortwave and they broadcasted all over the world. I don't know how they did it but it was a big to do over at Philips at the time.
That's mostly details though, I just wanted it to work.
The antenna doesn't matter. I managed to get it to work, but I needed to remove/rename the radio_track.wav in the washington folder. It interupts the other files obnoxiously.
For the rest I changed the folder name to Radio Oranje and so far so good.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.