Project Zomboid

Project Zomboid

92 ratings
[B42]Looped TV & Radio
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.882 MB
23 Jun, 2023 @ 3:06am
29 Jul @ 6:38am
6 Change Notes ( view )

Subscribe to download
[B42]Looped TV & Radio

Description
This mod simply loops radio and TV stations to play for ever. Perfect for Multiplayer servers looking to provide a fair chance at Life and Living skills. Updated for B42.

Workshop ID: 2993398538
Mod ID: LoopedRadio
65 Comments
CFW Magic 30 Jul @ 5:49am 
Okay, found a way around it and fixed it. Merged this mod with the media patch mod and it's working. I probably made a syntax error somewhere, but I don't really care anymore at this point .. My head hurts. Going to sleep. Thankyou for helping the research and thankyou for the mod. Be good o7
CFW Magic 30 Jul @ 4:58am 
I'm testing my version of the mod and .. Something's really wrong. I don't understand why, but the B42 radio/tv channels refuse to be displayed .. I copied the syntax exactly .. Triple checked everything ... I don't understand ...
Krauterz  [author] 30 Jul @ 4:02am 
No idea but I imagine its probably a power of two, probably 256 or something like that. I never tested the limits.
You basically did what I did in the original file (which is now the current file). copy and pasted the lines of text before updating the loopmin and loopmax values just to be sure.
What ever works.
I don't care who does what as long as it works for people.
CFW Magic 30 Jul @ 3:21am 
@Chill808 > That's exactly what I ended up doing. Copy pasted over 4500 lines of text ... My head is hurting ... But it's done!

@Krauterz > Thanks for the heads up. Say, do you know what's the maximum value for loopmin/loopmax?

Here's a re-build version of this mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3537923869

I've completely rebuild the B41 file by hand, but the B42 version still uses your files. If you'd like me to, I'll remove B42 files,
keeping my version exclusively for B42. Also you're free to update your mod with the files from my version too, if you want, though
that would probably mean our mods are equivalent? I don't know, my brain isn't working right now and I need sleep.
Chill808 29 Jul @ 10:02am 
@Krauterz You're welcome. I use this mod on my b42 and started a hosted server and wanted it for that so I just did a little looking at the logs and saw it wasn't overwriting the game's file. Thank you for the solution to this.
Chill808 29 Jul @ 10:00am 
@CFW Magic It does if it's the only mod for the TV you can pair it with Broadcast Voicer or another TV mod which will return the text. However just ensure this gets loaded after what ever TV mod you use. If you want to just have this one you'll have to add in the TV text lines from the official B42 RadioData.xml just make sure to only over write the LineEntry tags in the xml otherwise the TV will stop repeating.
Krauterz  [author] 29 Jul @ 6:40am 
as suspected the file formats are different.
I have updated the b41 version with the original xml file from my previous build. this should bring back the text lines.
Thank you @CFW Magic for helping :)
Krauterz  [author] 29 Jul @ 6:31am 
honestly no idea. i made this so long ago and have only recently tried to update it.
from memory all i did was change the loopmin and loopmax values.
I am almost certain the file format is different between b42 and b41, which means the method of using the b42 version renamed likely caused a bunch of bugs.
let me have another looksee. I will update the mod with the original b41 file.
CFW Magic 29 Jul @ 6:22am 
Yeah, the script lines were removed in RadioData.xml. But I see how the mod was done. LoopMin/LoopMax values are it, aren't they? I'll try and make a version of this which doesn't remove the text.
CFW Magic 29 Jul @ 6:16am 
Well, not removes the files, but rather points to the wrong text IDs and so there's no text during broadcasts. I think? Can anyone using it on B41 confirm, please?