SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [WIP]RadioTrafficMod (https://www.subsim.com/radioroom/showthread.php?t=176328)

KarlKoch 10-22-10 04:33 PM

[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: http://www.abload.de/thumb/ktbdu07.jpg.
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.

TheDarkWraith 10-22-10 04:38 PM

Quote:

Originally Posted by KarlKoch (Post 1520093)
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: http://www.abload.de/thumb/ktbdu07.jpg.
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)

Zedi 10-23-10 10:01 AM

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?

KarlKoch 10-23-10 10:52 AM

Quote:

Originally Posted by TheDarkWraith (Post 1520099)
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).

KarlKoch 10-23-10 10:55 AM

Quote:

Originally Posted by Magnum (Post 1520383)
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.

OPZ-Maat 10-23-10 10:57 AM

Quote:

Originally Posted by Magnum (Post 1520383)
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.:hmmm: 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. :yeah:
I hope this thing will work, this would be such a needed mod.:rock:

KarlKoch 11-14-10 06:12 PM

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.

http://www.abload.de/thumb/menueditorgh1f.png

Zedi 11-15-10 02:19 AM

Use materials already found in the game, there is plenty of it.

Captain Can 12-28-10 01:15 PM

hello guys. are there any updates about this mod? i am willing to see a more functional radio. stock radio traffic is so boring because there is no radio traffic! :)

i heard Living Silent Hunter mod for SH3 has a cool radio traffic. ( i never played that mod though). is it possible to export some files from it to sh5 with modders permission.

KarlKoch 12-28-10 05:05 PM

The mod is pretty much done and working, but one feature is still missing, which is pretty important in my opinion. Adding entries to the logbook, that is. Next step would be filling the time with radiomessages and requesting new features. ;)


e: I am thinking about releasing a testversion, just to check if all is working properly.

TheDarkWraith 12-28-10 05:08 PM

Quote:

Originally Posted by KarlKoch (Post 1562154)
The mod is pretty much done and working, but one feature is still missing, which is pretty important in my opinion. Adding entries to the logbook, that is. Next step would be filling the time with radiomessages and requesting new features. ;)


e: I am thinking about releasing a testversion, just to check if all is working properly.

I can more than likely handle the programming part of the mod (adding entries to the logbook) :03:

ETsd4 12-29-10 06:02 AM

Quote:

Originally Posted by KarlKoch (Post 1562154)


e: I am thinking about releasing a testversion, just to check if all is working properly.

There are so many great and historical correct "messages.txt" -files from SH4 and SH3 GWX. Its a pitty that we cant use it actual.

So yes please, give us this mod (;

Captain Can 12-29-10 06:55 AM

i am more than delighted to know that you are still working on this mod KarlKoch , and you said its almost done! :woot: :rock:

it seems like DarkWraith is willing to help parts where you stuck.:yeah: Hopefully we gonna have a good radio traffic mod. these details like radio traffic give life to game imho. :)

TheDarkWraith 12-29-10 10:34 AM

Quote:

Originally Posted by Captain Can (Post 1562021)
i heard Living Silent Hunter mod for SH3 has a cool radio traffic. ( i never played that mod though). is it possible to export some files from it to sh5 with modders permission.

do you have a link to the files? :hmmm:

Captain Can 12-29-10 11:55 AM

Quote:

Originally Posted by TheDarkWraith (Post 1562582)
do you have a link to the files? :hmmm:

TDW i dont have radio traffic files of that mode. this is the main page to their mod at subsim. However if you want i can open a new thread and ask for radio files. What do say? :hmmm:

TheDarkWraith 12-29-10 02:09 PM

Quote:

Originally Posted by Captain Can (Post 1562627)
TDW i dont have radio traffic files of that mode. this is the main page to their mod at subsim. However if you want i can open a new thread and ask for radio files. What do say? :hmmm:

I got Danurve's radio file mod from SH3 and permission to use it. Writing python script now to sort it and divvy it out to folders :03:

Sepp von Ch. 12-29-10 07:44 PM

I like this radio traffic mod in LiSH. In SH5 it would be great! Radio Traffic mod revives the atmosphere!

KarlKoch 12-30-10 07:41 AM

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.

ETsd4 12-30-10 12:24 PM

Quote:

Originally Posted by KarlKoch (Post 1563207)
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?

KarlKoch 12-30-10 02:21 PM

Quote:

Originally Posted by ETsd4 (Post 1563330)
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.


All times are GMT -5. The time now is 06:23 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.