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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-22-10, 04:33 PM   #1
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default [WIP]RadioTrafficMod

Hey guys,

i am actually working on a mod to add some radio traffic to the game. Main goal for the mod at this stage is being able to get radiomessages from an xml file, compute them and display them ingame at specific dates and times. I already was able to develop some code for that.
However, i am completely unable to design an interface for that and would like to ask for some help for that. Since i am a little short on free time, i would like to concentrate on coding the needed things than fiddling around with the menu editor.

Anyone willing to step up? I want something like in the picture here: .
Combined with either a slider to scroll through the messages or using buttons for pages.

Contact me in this thread or via pm if you are interested in helping.
  Reply With Quote
Old 10-22-10, 04:38 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by KarlKoch View Post
Hey guys,

i am actually working on a mod to add some radio traffic to the game. Main goal for the mod at this stage is being able to get radiomessages from an xml file, compute them and display them ingame at specific dates and times. I already was able to develop some code for that.
However, i am completely unable to design an interface for that and would like to ask for some help for that. Since i am a little short on free time, i would like to concentrate on coding the needed things than fiddling around with the menu editor.

Anyone willing to step up? I want something like in the picture here: .
Combined with either a slider to scroll through the messages or using buttons for pages.

Contact me in this thread or via pm if you are interested in helping.
menu editor work goes hand in hand with the coding. Would be very hard to develop the menu items without prior knowledge of the code (and vice versa)
TheDarkWraith is offline   Reply With Quote
Old 10-23-10, 10:01 AM   #3
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

I'm not sure what you wanna do, but this reminds me of an old dream of mine, to make the radio live.

The main idea was to embed online radio stations from shoutcast.com and instead of downloading tons of music and install it as a mod you can just listen directly online. Here is a long list of stations playin music from the 40's. I had spent days in searching a way to implement this, but I just cannot find any file where I can work this out, the radio.ini will look only for folders. Do you think is a chance to implement something like this?
Zedi is offline   Reply With Quote
Old 10-23-10, 10:55 AM   #4
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Magnum View Post
I'm not sure what you wanna do, but this reminds me of an old dream of mine, to make the radio live.

The main idea was to embed online radio stations from shoutcast.com and instead of downloading tons of music and install it as a mod you can just listen directly online. Here is a long list of stations playin music from the 40's. I had spent days in searching a way to implement this, but I just cannot find any file where I can work this out, the radio.ini will look only for folders. Do you think is a chance to implement something like this?

I am actually not trying to get a radio broadcrast station into the game, but i want radiomessages in the game, so that BDU and other boats are communicating (even without real ingame representation concerning boats on positions, sinkings, etc.).

But your idea should be possible, as you can access external (and self-written) *.dll files via scripting.
  Reply With Quote
Old 10-23-10, 10:57 AM   #5
OPZ-Maat
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Magnum View Post
I'm not sure what you wanna do, but this reminds me of an old dream of mine, to make the radio live.

The main idea was to embed online radio stations from shoutcast.com and instead of downloading tons of music and install it as a mod you can just listen directly online. Here is a long list of stations playin music from the 40's. I had spent days in searching a way to implement this, but I just cannot find any file where I can work this out, the radio.ini will look only for folders. Do you think is a chance to implement something like this?
Hi there. I guess it's not the idea to get some more music into the game. If I understood it right, the idea is to make radio traffic like messages from BDU to other subs or SOS-messages, so SH5 gets more realistic and alife. Just like LSH for SH3. The messages there made an awful atmosphere just like you were set into the scenario in the middle of the atlantic instead of sitting in front of a pc.
I hope this thing will work, this would be such a needed mod.
  Reply With Quote
Old 11-14-10, 06:12 PM   #6
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Okay guys, i am completly unable to build a good interface for this mod and i need some help. The coding part is mostly done and i have a basic interface, but i need some custom textures and such things, and i fail to do that right.

Anyone willing to help? It's not too much work as far as i can tell.

In the Screenshot attached you can see my very basic interface so far. I need help designing the 3 buttons at the bottom and 3 additional lines to divide the entries on the page. Details can be discussed via Skype, PM or email.

If you are interested, contact me either here in this thread or via pm. Credits will be given, of course.

  Reply With Quote
Old 11-15-10, 02:19 AM   #7
Zedi
Sea Lord
 
Join Date: Mar 2010
Posts: 1,845
Downloads: 184
Uploads: 2
Default

Use materials already found in the game, there is plenty of it.
Zedi is offline   Reply With Quote
Old 10-23-10, 10:52 AM   #8
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by TheDarkWraith View Post
menu editor work goes hand in hand with the coding. Would be very hard to develop the menu items without prior knowledge of the code (and vice versa)
Hm, that might be true indeed. So i think i have to learn that editor, even if there is no documentation on it at all (yes, i found the threads here on the forums already).
  Reply With Quote
Old 12-29-10, 07:44 PM   #9
Sepp von Ch.
Sea Lord
 
Join Date: Dec 2009
Location: In my U-552 and Tiger
Posts: 1,732
Downloads: 788
Uploads: 0
Default

I like this radio traffic mod in LiSH. In SH5 it would be great! Radio Traffic mod revives the atmosphere!
__________________
U-552
Tiger
IDF
Sepp von Ch. is offline   Reply With Quote
Old 12-30-10, 07:41 AM   #10
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I just uploaded a testversion of the mod. There are no real messages yet, but only messages to show the mod is working. To test, simply start a new career in happy times (use "silentotto" to access, date ingame needs to be 20.06.1940). The key to access the RadioTraffic Page is "i". At 10 minutes past each full hour, a new message will appear. Pay attention to what you enter as Captainname when starting a new career and the Receiver on the RadioTrafficPage.

The messages are stored in an xml file, so they are pretty easy to change/write with an editor. Later, a program can be written for that, so errors can be avoided.
The mod saves and loads its current "Funkkladde" (the book where the messages received by the boat are stored) automatically when in career mode. This mod will not work in a single mission as it is now.

As of now, every message is "received" by the boat, even if you are very deep, but this can (and is planned to) be subject to change.

The big advantage of this mod is, that it all happens in the script files and a new dll, so nearly everything is possible, even BdU asking for the daily positionreport, in case you miss to send it. But nothing in that regard is realized, yet. But it is possible.

The mod as it is now is not compatible with TDW's UI or anything else, as i have not tested that, yet. All i can say is that if JSGME reports an error, there will be problems. If you don't know what you are doing, don't enable this mod and expect something will work.
TDW, all my changes in PageDefaultHud are marked with my name (karlkoch) to find them easily. Changes in menu_1024_768.ini are pretty obvious.

However, here is the link:

SHRadioTraffic Mod.


Since this is just a testrelease and sneak peak, i take no responsibility whatsoever. Save your data, if you want to try it out. Enable with JSGME on your own responsibility.


edit: Forgot to mention that for localization regards, only 1 file of the mod needs to be changed. Within the xml file, all messages are stored and so are the translations for all screenitems.


edit2: if someone is interested in the sourcecode, drop me a pm and i will give you a link.

Last edited by KarlKoch; 12-30-10 at 08:08 AM.
  Reply With Quote
Old 12-30-10, 12:24 PM   #11
ETsd4
中国水兵
 
Join Date: Dec 2010
Posts: 278
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by KarlKoch View Post
I just uploaded a testversion of the mod. There are no real messages yet, but only messages to show the mod is working. To test, simply start a new career in happy times (use "silentotto" to access, date ingame needs to be 20.06.1940). The key to access the RadioTraffic Page is "i". At 10 minutes past each full hour, a new message will appear. Pay attention to what you enter as Captainname when starting a new career and the Receiver on the RadioTrafficPage.

The messages are stored in an xml file, so they are pretty easy to change/write with an editor. Later, a program can be written for that, so errors can be avoided.
The mod saves and loads its current "Funkkladde" (the book where the messages received by the boat are stored) automatically when in career mode. This mod will not work in a single mission as it is now.

As of now, every message is "received" by the boat, even if you are very deep, but this can (and is planned to) be subject to change.

The big advantage of this mod is, that it all happens in the script files and a new dll, so nearly everything is possible, even BdU asking for the daily positionreport, in case you miss to send it. But nothing in that regard is realized, yet. But it is possible.

The mod as it is now is not compatible with TDW's UI or anything else, as i have not tested that, yet. All i can say is that if JSGME reports an error, there will be problems. If you don't know what you are doing, don't enable this mod and expect something will work.
TDW, all my changes in PageDefaultHud are marked with my name (karlkoch) to find them easily. Changes in menu_1024_768.ini are pretty obvious.

However, here is the link:

SHRadioTraffic Mod.

The SHRadioTraffic.dll is going in which folder? The root-folder of silent hunter 5?
ETsd4 is offline   Reply With Quote
Old 12-30-10, 02:21 PM   #12
KarlKoch
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by ETsd4 View Post
The SHRadioTraffic.dll is going in which folder? The root-folder of silent hunter 5?
Thats correct. JSGME should put it there on its own.
  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 06:49 PM.


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