SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-16-17, 05:18 PM   #1
spccolts
Watch
 
Join Date: Mar 2017
Posts: 19
Downloads: 34
Uploads: 0
Default Creating Radio Stations

Hey guys.

I've figured out how to add a download station to my SH4 radio. This is a small accomplishment for me. However, I want to add a few of my own and need some help.

I've downloaded Captain Cox's Captain Midnight files (which are great btw.)

I borrowed Captain Cox's Notpad below. If someone could explain what these numbers mean on the last 3 lines would be great.

Name=CBS NEWS
Folder=CBS NEWS
Freq=30
Antenna=01.01.1930-01.01.2000:34.05,-118.22:100000
;MusicVolumeOnNews takes values from 0.01 to 1
MusicVolumeOnNews=0.01
spccolts is offline   Reply With Quote
Old 03-17-17, 12:04 AM   #2
razark
Ocean Warrior
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 2,725
Downloads: 393
Uploads: 12
Default

Quote:
Originally Posted by spccolts View Post
If someone could explain what these numbers mean on the last 3 lines would be great.
Nope. Go figure it out. It's in the forums somewhere.



Oh, okay.

Quote:
Originally Posted by spccolts View Post
Antenna=01.01.1930-01.01.2000:34.05,-118.22:100000
Here you have five important values:
Starting Date
Ending Date
Latitude
Longitude
Range


In this case, it means the station will start playing on January 1st of 1930 (yes, the game doesn't go back that far, but if it did...)
The station will stop playing on January 1st of 2000. (Again, the games ends well before that, but if it didn't...)
Together, these mean the station will play during the entire game.
Now, imagine if you have two stations located on Guadalcanal. One plays Japanese music starting from the beginning of the game until 6 August 1942. The second plays American music, starting on 7 Aug. and running through the end of the game. They would need to have separate frequencies, but those can be very close (0.01?) together and will play seamlessly on the changeover.

Latitude and Longitude tell you where the station is. In many cases, it's not important, but in some cases, it does come in useful.

The cases where location matters depend on Range. This is how far from the location the station will play. Most of them seem to use a range that makes the range cover the entire map.
I do, however, remember a mod that added coast-watchers. These were stations located on certain islands and would only be receivable within a few hundred miles. It can add to immersion, but also means you'll rarely hear the station.

Quote:
Originally Posted by spccolts View Post
;MusicVolumeOnNews takes values from 0.01 to 1
Notice the ";" at the beginning? That means this is a comment. You can ignore the rest of the line for program purposes. However, lines like this might contain useful information.

Quote:
Originally Posted by spccolts View Post
MusicVolumeOnNews=0.01
This line says that if any News is On, the Music Volume will be reduced to this level. Think of the number as a percent. When a scripted event (events.cfg) plays, the music will drop to 1% volume so it doesn't block out the news. When the event is over, the music starts playing at 100% again.
__________________
"Never ask a World War II history buff for a 'final solution' to your problem!"
razark is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.