Project Zomboid

Project Zomboid

375 평점
Broadcast Voicer
4
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
1.124 MB
2023년 5월 8일 오후 7시 39분
2025년 1월 17일 오후 1시 05분
업데이트 노트 9개 (보기)

다운로드 위해 구독하기
Broadcast Voicer

설명
Broadcast Voicer

This is a framework mod I made, to make my mod Voiced Radios & TVs compatible with Survivors Radio.

This mod is perfect for adding ambiance and realism to the game. For instance, if you wanted to make a custom scenario and had a custom radio or tv program for worldbuilding, you could voice the lines and add them with this mod.

How To Use

To use this mod, you'll have to make at least 4 files on media folder:

  • lua/client/RadioCom/{Mod}_SoundTable.lua --A file that links the guid of an entry line to a sound of the game
  • radio/{Your_Radio}.xml --Your radio or TV lines
  • scripts/sounds_{Mod}.txt --A file that associates .ogg sounds to InGame sounds
  • sound/{SoundName}.ogg --Your sounds, can be music or voice lines.

The names of the files are just a convention to avoid compatibility issues with other developers who might want to use this framework, I'll advice to name your files with your mod's name.

First, add .ogg sounds to the sound folder, for instance news-1.ogg

Then, add the sound to the game in the scripts folder.

The mod does not align the audio to the text, so If you want the text and audio to sync, you will have to go to your lines in media/radio/{Your_radio}.xml, and add time tags ( ${t=3.00}) like this:

<EntryLine ID=abcd ...>${1.00}This Line lasts 1 second</EntryLine>

I recommend using an audio editor like audacity to get the duration of the lines in seconds.

Next, make the sound table.lua file. It should look like this:
local RadioWavs=require "RadioCom/RadioWavs"
RadioWavs.addSongs("abcd","news-1")

Where abcd is the ID of the entry line, and news-1 is the name of the sound in the game.

Finally, run the .py script. It should copy the GUID from the lua to the codes attribute (needed to work,don't worry, it doesn't affect the codes)

In mod.info, you should add a require=VOICE_FRAMEWORK line.

VHS Supported, although text can't be synced

Mod Info

Workshop ID: 2973493897
Mod ID: VOICE_FRAMEWORK
댓글 64
RamG 2025년 7월 11일 오전 7시 55분 
When I use that mod in version B42, I can't select all start places except Rosewood and Eric. Because it crash while only showing black screen. When I check console.txt, It`s spouting 'ERROR: mods isn't a valid worksheet ID'. I have no idea why Rosewood and Eric start normally and others can't.
theviolentsleeper 2025년 6월 6일 오전 9시 06분 
GOATED. I plan to contribute to this project whil i have my summer vacation.
ankle toe sac 2025년 2월 23일 오후 11시 05분 
@Fed-cap I believe this mod conflicts with Bandits Week One, specifically during the party event. Once I turned off this mod and Voiced Radio and TVs, the errors no longer persisted. Something happens during the party code, specifically radiowavs
ak47 ruler 2025년 1월 25일 오후 3시 43분 
I'm not sure if this is another mod, but you'll hear the default radio voice and the modded voice in the radio (and possibly the TV. I'm not sure). do you know if there's any way to fix that?
Deimos 2025년 1월 21일 오후 12시 24분 
No entendi nada de como instalar el mod :aunope:
Fed-cap  [작성자] 2025년 1월 20일 오후 7시 55분 
@FrenchGamer What do you need? do you have a radio .xml you want to add and voice to the game?
Sleepy Bella 2025년 1월 20일 오후 6시 59분 
Fun fact: If you enable this mod alongside the Week One mod, you can actually hear the NPC's car radios as they pass you by. Neat little detail.
FrenchGamer 2024년 11월 24일 오전 5시 38분 
I need help trying to get this mod work
Dere 2024년 11월 7일 오후 7시 02분 
@Fed-Cap la verdad estaba intentando entender como funciona el tema de los mods que tienen que ver con las radios y tv¿s del juego ya que quiero hacer uno propio pero no entendi na.
Fed-cap  [작성자] 2024년 11월 7일 오전 8시 51분 
@Dere tenes un .xml de radio que funcione?