Project Zomboid

Project Zomboid

Ocen: 35
Internet Radio
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
753.863 KB
18 września o 3:11
19 września o 16:38
Listy zmian: 3 ( zobacz )

Zasubskrybuj, aby pobrać
Internet Radio

Opis
How to install
1. Subscribe to the mod
2. Open the mod location
SteamLibrary\steamapps\workshop\content\108600\3570220139\mods\InternetRadio
3. Copy the ProjectZomboid folder from the mod
4. Go to
SteamLibrary\steamapps\common
5. Paste the ProjectZomboid folder there. Overwrite the files.
6. Launch the game

What this mod does
This mod brings real-world internet radio stations into Project Zomboid. You can tune in to live streams directly in-game using custom frequencies.
It also adds options to configure:
- minimum and maximum frequencies available on radios
- minimum and maximum distance the radio sound can be heard

How to add new stations
There are two ways to add your own stations:

1. Through Mod Options / Sandbox
- Open Mod Options or Sandbox settings.
- Add your custom station entries there.

2. Through Lua modding
Video tutorial on how to add stations:
https://www.youtube.com/watch?v=LRSQTiiZ7nA

Use the Lua command:
InternetRadio:addStation(frequency, name, url)


Example:
InternetRadio:addStation(102.6, "Word of the LORD", "https://listen.radioking.com/radio/299755/stream/346354")


To add custom categories, use a fourth parameter:
InternetRadio:addStation(frequency, name, url, category)


Example:
InternetRadio:addStation(102.6, "Word of the LORD", "https://listen.radioking.com/radio/299755/stream/346354", "Christian")


Some examples can be found here:
WTOL: Word of the Lord
Public News
MANGORADIO
Vocaloid
Country Live New York

Important about stations
- Not every internet radio will work. Stations that require you to press "Play" on a website usually won’t function in-game.
- Stations that autoplay when opened in a browser have the best chance of working.

Important about frequencies
Project Zomboid radios only work on certain steps:
- Frequencies increase in increments of 0.2 (for example: 95.0 ? 95.2 ? 95.4).
- This means you cannot set arbitrary numbers like 95.1 or 95.3.
- If you set an odd frequency, it will automatically try to adjust to the nearest valid even step.
- In case two stations use the same frequency, the last one added will automatically shift up by +0.2.

To help you quickly find valid stations, it is highly recommended to use this mod:
Easy Frequency Preset

Recommended mod
To listen to radios without equipping them:
UAL - Unequip And Listen


Check out more of my QoL mods:
https://gtm.steamproxy.vip/profiles/76561198045899180/myworkshopfiles/?appid=108600

If you enjoy the mod, consider giving it a star on GitHub:
https://github.com/ribas89/project-zomboid-ribs-mods/



Workshop ID: 3570220139
Mod ID: InternetRadio
Popularne dyskusje Zobacz wszystkie (1)
0
21 września o 17:44
Drink is Fluid issue
FISH
Komentarzy: 21
UMURANGI GIRL 3 godz. temu 
Now i REALLY want SexFM to come back
FISH 8 godz. temu 
I posted in discussions ribs any idea? Anything in a can or flask or bottle, I can drink water just fine but anything else is a no no
FistOfTheNoob 10 godz. temu 
Not multiplayer compatible
ribs  [autor] 14 godz. temu 
@yustin Did you get it sorted? I can't see your message.

@Mad Cafinenator Thanks :3

@tomo Not sure what that means xD
tomo 16 godz. temu 
asot
Mad Cafinenator 21 września o 21:03 
Very cool! mod! concept.
FistOfTheNoob 21 września o 20:43 
Multiplayer?
yustin 20 września o 1:00 
Ten komentarz czeka na analizę przez nasz automatyczny system sprawdzania zawartości. Zostanie tymczasowo ukryty, póki nie zweryfikujemy, czy nie zawiera szkodliwej zawartości (np. linki do stron próbujących kraść informacje).
ribs  [autor] 19 września o 21:38 
I added a min/max distance feature to the mod. You can now control how far away radio sound can be heard.
To enable it, please resubscribe and overwrite the Java classes again.
ribs  [autor] 19 września o 21:36 
@FISH
Here is the tutorial video: https://www.youtube.com/watch?v=LRSQTiiZ7nA

@yustin
I added debug logs to the new stream function. Please resubscribe and overwrite the files so we can see exactly what happens.

@jacolito
Some update may have been missing. Sorry for the frequent updates, I am improving the framework to make them less common.