Jump to content

So You Want to Make A Radio Mod [Modding Guide]


CzarUltra

Recommended Posts

SO YOU WANT TO MAKE A RADIO MOD

A Guide by Azakaela

 

If the answer to that question is yes, then boy oh boy, do I have some awesome stuff to teach you. Making a radio mod for PZ can be a very rewarding way to put a lot of great content into PZ that fills the world and makes it less lonesome.

So let’s just fuckin’ get started, I’ll give you everything you need to make an awesome mod.

(if the answer to the question is no, then I guess you can stop reading now.)😤

 

WORDZED

So first your gonna wanna read this thread about how the basics of Wordzed works, I’m not gonna regurgitate stuff that’s already out there, I just wanna show you how to put music in this bitch, and for that there’s a special version of Wordzed I use that has additional functionality that makes it possible.

So here’s that thread : https://theindiestone.com/forums/index.php?/topic/21318-wordzed/

Download the manual there and read that too. Especially important to note is the list of frequencies that the base game uses. I’d advise making sure not to accidentally use the same frequencies if you want to leave the original radio broadcasts intact. Otherwise you’ll overwrite them.

NOW,

FUNCTIONALITIES MY WORDZED HAS THAT THE OTHER DOESN’T

-CTRL+Right Clicking on a broadcast line will bring up the Player Effects Window.

-Hit Add an Effect to be able to add skill boosts and apply moodlet changes when a player “hears” the broadcast.

-SHIFT+Right Clicking on a broadcast line will add a random amount of effects that apply -1 Stress and -1 Boredom to the whole broadcast.

-Clicking on Insert Line Right/Left after selecting a broadcast line will copy that broadcast line for every time it is clicked. (THIS WILL COME IN HANDY TRUST ME)

 

 

Getting Started

DOWNLOAD THIS .RAR https://www.dropbox.com/s/17g7rayxp0brp17/Mod%20Guide.rar?dl=0

Alright so you’ll need the following things.

  1. WordZed (special edition) -- Inside the .Rar
  2. Audacity
  3. This Prestructured Mod Template -- Inside the .rar
  4. A lot of patience -- inside you, probably
  5. Mouse Clickr -- A mouse click counting program, its free (trust me you’ll want it)
  6. A calculator
  7. Probably beer 🍺
  8. A playlist of music you want to enter into the game!
  9. Oh and Notepad++ You’ll need that too.

 

STEPS TO ENTER MUSIC

  1. Convert your mp3 or wav or flac or what have you to .ogg using audacity
  1. To do this, import the file to audacity, then go to file, export and select .ogg
  1. Save your .ogg files to the RadioMusic folder within the modtemplate
  1. Rename them, this is important -- remove any instances of spaces or whatever so “Iron Man - Black Sabbath.mp3” should be changed to IronMan.ogg this will make it way easier for you for the next steps.
  1. After you’ve saved your files, go to the RadioMusic folder and up at the top set the view to Details and right click, add Length, so you can keep track of how long each song is.
  1. Alternatively you can open all the files in a media player of your choice; you’re gonna wanna be listening to music while you do this, why not the music you’re gonna be putting in the game? ;)
  1. Open up Notepad and Calculator
  2. For each song you intend to enter in, multiply the number of minutes by 60, add the remaining amount of seconds and divide the result by 4.5. Keep track of the Song File Name and the Result number on notepad to keep everything in one spot for you.
  1. This is to ensure that your song plays without annoying radio static noise. PZ has a dynamic system for the duration of it’s broadcast lines that ranges from 1 second per line to 5 seconds per line, 4.5 has worked best in my testing.
  1. Open Wordzed and open the ModTemplate.XML
  2. Navigate to Adverts, where one song is already entered in for ya, notice the format?
  1. music creates the music notes
  2. musicSONG NAME -- ARTIST NAMEmusic usually creates a duration of 3.5-5 seconds depending on the song name, but this is a proper way to credit the artists and this format was used in my mods, you can use your own format, but I suggest crediting the artist for sure
  3. Notice how some broadcast lines are blue? Ctrl+Right Click on the first line -- You’ll notice a +1 Drunkenness is added to it. (Drunkenness tags are what’s used to call a specific .ogg file.
  1. Now enter in a new broadcast underneath this one (and delete the old one if you don’t need it)
  2. Enter in the song title and artist name with music notes in the first broadcast line.
  3. Open Mouse Clicker, and move the Wordzed window so that you can see the Mouseclickerr AND your notepad document at the same time.
  4. Click on the first broadcast line so you can edit it’s text, reset mouse clicker then click on “Insert Line Right” underneath the blue arrow. Click on it for as many times as the songs corresponding Result Number in your notepad.
  5. Do this for every song you intend to enter in the mod.
  6. Now, starting from your first song you entered in your gonna enter them into the RadioWavs.lua!
  7. Navigate to RADIO MOD TEMPLATE\Contents\mods\RADIO MOD\media\lua\client\RadioCom to find RadioWavs.lua, open it with Notepad++
  8. I’ve done several example songs for you, you’re gonna wanna overwrite them, just write the file name that you choose for the song when you renamed it earlier.
  1. For each song you’re gonna enter it the same way, you’ll probably have to manually add more lines, when you do that, make sure to increase the number in the [brackets] too.
  1. Now go back to Wordzed, on the first line of every broadcast and CTRL+RIGHT CLICK; For each song your going to add a Drunkeness tag, make sure + is selected and enter in the corresponding number in the RadioWavs.lua file
  2. Repeat 16 for all your songs.
  3. Now the fun part. You’re gonna have to edit the script file, found here in the mod template: RADIO MOD TEMPLATE\Contents\mods\RADIO MOD\media\lua\client\RadioCom\sounds_RadioWavs
  4. I’ve included 10 examples of how it should be entered in, simply replace “songname” with the appropriate file name for every song that you’ve entered in
  1. You may have to do some copy and pasting to add some more in, this part is the most tedious. I hope you have your beer
  2. This script part makes it so the songs can be heard at a distance of 50 tiles, and fades the audio according to location and distance.
  1. Now that that’s done all that’s left is to go back to the xml file and set up your station so that it plays a random song for every half hour.
  2. I’ve set up an example Radio Station under Channels. You can simply rename this to have a station
  1. You’ll notice there is one script, set as the start script, set to loop 365 (days)
  2. It’s also set to exit to itself, with a 100 percent chance and 0 delay.
  3. With these settings it should play every half hour and loop 365 times. It’ll play for a year in game.
  4. You will also notice that all the broadcasts are set to have an Advert from “My Music” to play alongside every broadcast.
  5. This ensures that this radio station will always play music at any time, and it will choose randomly from the playlist everytime it plays.
  1. Now double check your work to make sure you haven’t mistyped a file name, or entered in a wrong tag; you’ll regret it when you’re testing and the wrong file plays or your character ironically gets an angry moodlet.
  2. Distribute the .xml file, and copy the new version to replace the one in RADIO MOD TEMPLATE\Contents\mods\RADIO MOD\media\radio
  3. Next step is to set your mod up and put it into the game and test out your music!
  1. Make sure you start a new game

 

CONGRATS, YOU DID IT!

If you have any problems with any of these steps, feel free to join the Survivor Radio Discord and I’ll answer any of your questions.

https://discord.gg/N5RGRF

 

 

 

 

 

 

 

 

Published by Google DriveReport AbuseUpdated automatically every 5 minutes

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...