0 of 0

File information

Last updated

Original upload

Created by

Jupter

Uploaded by

JupiterKasparov

Virus scan

Safe to use

18 comments

  1. JupiterKasparov
    JupiterKasparov
    • member
    • 8 kudos
    Locked
    Sticky
    Future plans:
    A Linux-compatible version is planned to be released, but is unknown when, as it'd require a full X4 setup in a Linux VM. Maybe will try later...
  2. Khajiirah
    Khajiirah
    • supporter
    • 18 kudos
    For the lazy peoples:

    1. Place the Mod + the required MODS into your extensions folder.

    2. Open the File "settings.ini" in the following directory:
    "X4 Foundations\extensions\X4_ORS\radiostations"

    3. On top, below [Gobal] add the number of online radio stations you want to have ingame, example:
    NumberOfStations = 2 (for two radio stations) 1 for one, 5 for 5... etc.

    4. Below this you find:
    [Radio_1]
    FileName = 
    Owner =
    LoudnessFactor =
    DampeningFactor = 
    RadioText = 

    Edit this, and take a look at the Description upon it, also take a look at the PDF file in the mod archive.

    For adding a second station copy all those and rename Radio_1 to Radio_2, example:

    [Radio_2]
    FileName = http://live.radioton.de/rt-live-bw
    Owner = 
    LoudnessFactor = 0.60
    DampeningFactor = 0.4
    RadioText = Radio Ton Live

    If you press STRG (CTRL) + ALT + Arrow UP/Down igame it switches the radio stations and shows you a Huge Radio Station Name on your Screen like: "Radio Ton live" the text you typed after "RadioText ="

    For more informations read the included readme!

    1. elysium79
      elysium79
      • supporter
      • 0 kudos
      Does not work in my case
  3. FrankieSkola
    FrankieSkola
    • member
    • 2 kudos
    Why there is 30 fps drop whith this mod ? Repeatesly tested off and on its just lagy as hell
    1. JupiterKasparov
      JupiterKasparov
      • member
      • 8 kudos
      If you set the 'Latency' too low (ie. ~10 ms), you may get that lag.
      Or, otherwise, something, like too many stations may lag your game that hard.

      On the other hand, a 'generalized' lag, ie. 1-2 FPS drop is normal.
  4. staberind
    staberind
    • member
    • 6 kudos
    This is absolutely amazing, one word: podcasts! ok i lied, thats two words, i gueess, but anyway, does this have the ability to change music depeendant on faction ownership? like a sector or a stations faction = different muzak?
    1. JupiterKasparov
      JupiterKasparov
      • member
      • 8 kudos
      If I get it correctly, podcasts are simply online streams. In case of online streams, you need the M3U or PLS (or similar) streamed music file.

      About ownership music: this mod cannot change sector background music (that is static - even the game lacks script commands to change sector background music). The ability to play certain radio stations only from stations owned by a particular faction is a very basic ability, available since the first version of this mod.

      But if you're asking if two simultaneous tracks can be played on the exact same radio station slot (dependent on owner) - no, it's not. It would be possible to implement it, but most users may not proficient enough to even configure this mod by editing that INI file.

      EDIT:
      As of version 0.18, the multi-slot radio stations are implemented: there can be different music on the same radio station, for different factions. Old-style (single-slot) radio stations are still supported, requiring no change for old INI files, in case one does not want to use the new feature.
  5. Natalshadow
    Natalshadow
    • supporter
    • 0 kudos
    Can we setup "context" for audio files to play only in case of certain events? I'm thinking about battle music, specifically.
    1. JupiterKasparov
      JupiterKasparov
      • member
      • 8 kudos
      Hi,

      It's a quite unusual question...

      I don't think it's possible to query the 'in-battle' state. Even, if it's possible to do it from LUA script, it'd require me to rewrite both the EXE and the LUA script (which I'm able to do - of course); but it'd make no sense in the context of 'radio stations'.
      To change the battle music, you need to use XML patch to patch the "<fightmusic ref="music_bigbattle" />" statement in the "libraries/defaults.xml" with a mod. It needs to be changed to either an existing music, or the "libraries/sound_library.xml" must also be patched; you need to register your own OGG music there, then copy the OGG to the specified folder. It'll be a separate mod. Check out other Audio mods' structure, to know more...

      Greetings!
    2. NorthRivers
      NorthRivers
      • supporter
      • 2 kudos
      I though that was what the mod was doing. Its a bit disapointing..
  6. Khajiirah
    Khajiirah
    • supporter
    • 18 kudos
    Is it possible to implement an UI button ingame, wich opens a weblink for playing radio? I mean if you get the direct URL from a radio station.

    I would even pay for it.

    Greetings, Khajiirah.
    1. JupiterKasparov
      JupiterKasparov
      • member
      • 8 kudos
      @Khajiirah

      In fact, I was trying to figure out how to use the BASS.DLL bu Un4seen to play online streams. With little success..
      The EXE program (which actually plays the music) uses the Windows MCI currently. If you could find me some examples of playing online streams with Windows MCI or BASS.DLL, that would make your request possible.

      Another thing, the ingame UI button: I was not yet able to figure out, how to hook a menu into the game, only to show the radio station names for 5 sec after change. If you could help me with that, I could implement the Radio Station Name show feature.

      Btw, Ingame button... If this would succeed, online radio could be handled exactly like local radio - the whole thing is Object Pascal, with all playback implementation hidden in the TPlayableAudioTrack class - but this may not be interesting...

      I wish you a good day!


      EDIT:
      I seem to have figured out the Net radio playback. Testing beta v12 to play both Net radio and local music!
      The LUA help is still needed.

      EDIT 2:
      Uploaded new version. Now supports online streamed radio stations. Thanks for your request!
      The LUA help is still needed.

      EDIT 3:
      Success!
      Thanks for your request!
    2. Khajiirah
      Khajiirah
      • supporter
      • 18 kudos
      I am so sorry, i just downloaded your mod again and tried recod some audio files with audacity from my radio station. Then i diddn't know why the songs diddnt play ingame, it seems i must find some UI or so, i thouhgt...

      And then i took a look at the comments to maybe find out how to enable this mod, but i guess it should be enabled by itself so?

      And theeeeeen i did see you answered and i diddnt reply argh, i diddnt know!

      So here is a link for a radio station im listening to, it is a german one, called Radio TONE 80's.

      http://live.radioton.de/rt-80

      if you use this in your browser ir should directly play the radio if it is available in your country for sure.

      So you say you got it working? really? if so, let me check and i will try to implement this link for testing..

      But still need figure out how to enable your radio, hm let me check your files.. hmm.. 

      "For detailed installation and usage information, read the included PDF!"

      Khajii? Read it!.. lol damn sorry... 
  7. Napalm1987
    Napalm1987
    • member
    • 0 kudos
    does this make the game modified?
    1. JupiterKasparov
      JupiterKasparov
      • member
      • 8 kudos
      Any mod that's missing the SIG files, makes the game modified. Probably all non-Egosoft mods.
      But with THIS particular mod, the usage of SIG files is not feasible!
  8. MalakieUSN
    MalakieUSN
    • premium
    • 2 kudos
    Any update to fix this mod for latest versions?
    1. shotgunBuckaneer
      shotgunBuckaneer
      • premium
      • 33 kudos
      The last update to the game was released half a month before this mod. O_o
    2. JupiterKasparov
      JupiterKasparov
      • member
      • 8 kudos
      So. Does it have problems with the newest version? If so, then please post your debug log somewhere, maybe a bug report.
  9. shotgunBuckaneer
    shotgunBuckaneer
    • premium
    • 33 kudos
    Looks interesting, and gives me a few ideas on potential use. Neat.