Ravenfield

Ravenfield

Not enough ratings
Using RadioactiveJellyfishes Team Voices 3.0 template
By EmmiCake
while jellys own guide on the github link itself is really quite helpful, to complete unity noobs such as myself the terminology especially it uses might be a bit confusing, and i figured id try explaining it in slightly simpler terms, plus some helpful tips, for those who are looking to use this amazing template! 😊
   
Award
Favorite
Favorited
Unfavorite
downloads
firstly you need the actual script itself. you can download it here from Jellys own page, as well as read their own guide!
https://github.com/RadioactiveJelly/ravenfield-voicepack-template

here are other things you need to download in order to make a team voice 3.0 mutator, Unity and Ravenfield Tools:
https://unity3d.com/get-unity/download/archive - search for Unity 2020.3.27f1. Jellys guide will tell you to use a slightly older version, but it doesnt make much of a difference and this is the one this guide is based off of 😊
https://drive.google.com/file/d/1PBHoEtdvtAkpQ3yaPSHbibtfO5EC6Onn/view?usp=sharing - this version of Ravenfield Tools. the only other place to download it is on the official discord. thanks hans sam! 🤍

and, optionally, it is recommended you download Audacity. i cant link it for whatever reason, but it isnt hard to get 😊
setup
firstly, after unity has been installed, open it up. create a new project, call it whatever youd like and make sure its saved somewhere you can access/remember. BE CAREFUL THOUGH, saving it to some locations on your pc may give you a permission error. i, for example, save it to the directory This PC, Local Disk (C:), Users, [MY NAME], AppData, Local, Unity and pin it to my quick access sidebar. if you are unable to see the AppData folder, you can show hidden folders by going to the windows control panel and going to File Explorer Options, View on the top of the new window and then ticking Show hidden files, folders and drives. this is handy for more things than just this fyi, so its recommended either way! 😊

when inside unity, go to the top bar and click Assets, Import Package, Custom Package… and import your RTFools. allow it to import everything and after some time, itll be done!

then extract the ravenfield-voicepack-template-main in the files and then back on your project click the Scenes folder in your project visible on the left bar, close to the middle, highlighting and opening it. then go to the top bar, Assets, Import new asset… and important both the VoicePackContentMod[Template] and VoicePackMutator[Template] files, which if done correctly will be in Scenes. then, click on the VoicePackContentMod[Template] (Prefab Asset), go to the Mutator Content Mod (Script) dropdown menu on the right, then the Mutators dropdown and in the Mutator Prefab section (that says Missing (Game Object) ), click the small button next to it to pull up a large tab of assets. just scroll down until you find the VoicePackMutator[Template] (Prefab Asset) and put it in. though if for whatever reason Mutator Prefab already contains VoicePackMutator[Template] (Prefab Asset), please skip this last bit

finally, you need to import the VoicePack lua source file. import it the same way you did with the other 2 items into Scenes (for easy identification mostly), then click oh the VoicePackMutator[Template] (Prefab Asset), and in Scripted Behaviour (Script) on the right, fill in the Source field with the VoicePack asset you just imported

TIP: if you plan on making multiple team voice mods, it is recommended that you stop here, save and close your project, then locate it in your files and duplicate it. this way you can avoid having to do this setup each time and have a clean project ready to be used! 😊
afterwards, reopen the project
creating the pack
now all thats left is creating the mod itself! first, lets name it. go to the the VoicePackContentMod (Prefab Asset), right click it and go to Show in Explorer. then rename it (but NOT the VoicePackContentMod[Template].prefab varient or VoicePackMutator[Template]/VoicePackMutator[Template].prefab items) to whatever youd like, close the folder and voila! (feel free to leave this until last as it is no longer recogniseable when referred to in this guide)

after that, go back to the VoicePackContentMod[Template] (Prefab Asset), the two Mutator Content Mod (Script), Mutators dropdowns and fill in these 3 fields. here is an example of how itll look ingame

then you need to import your audio files and custom menu image! it is lightly recommended (just so you have a nice clean place for them) to create a new folder in your project, somewhere, specifically for these items. name it whatever you like, but i like to call it ITEMS and place it in the Assets folder, but its your choice. inside this folder is where you will place your voice clips and custom image! simply, just drag and drop/copy and paste your audio and image in the folder and they will begin importing into your project. otherwise, just put them into the assets folder itself. when choosing a custom image, it will now be available through the assets menu 😊

TIP: it is recommended to name your audio files recogniseable names, especially when dealing with a lot of them!

finally, after all is imported, return to Scenes, go to VoicePackMutator[Template] (Prefab Asset), click Open Prefab at the top and look to the top left. a bunch of “banks” should have appeared. the names correspond to what they are! to place audio into a bank, click one, look to the right and drop down the Clips menu under Sound Bank (Script). it should say List is Empty, so just click either the + sign or type in a value just above in the box that says 0. if you have 4 kill sounds for example, add 4 slots into KillBank. the next segment will use Jellys own table to describe exactly when each sound in each bank will play, as well as a very important note about the DirectionalBank. if youve already read their guide, you can skip that part and move straight on to the final step 😊
bank information
this segment just contains useful excerpts from Jellys guide about the banks
you can also determine whether you want to enable/disable the announcer or infantry lines from being played at all by going to Scenes, VoicePackMutator[Template] (Prefab Asset), scrolling down on the right to see the Bools dropdown. drop it down and drop down either of the 2 revealed categories and remove the tick to disable
publishing
once youve filled all your banks youre at the final step! at the top bar, click on Ravenfield Tools, Set Game Executable then navigate to This PC, [YOUR DRIVE], Program Files (x86), Steam, steamapps, common, Ravenfield and double click the Ravenfield executable, identified by an eagle soldier

then go to Scenes and click on the VoicePackContentMod[Template] (Prefab Asset), go to Ravenfield Tools, Export Map or Content Mod. when thats done, read where its been exported to. keep that open, navigate to it in files, and then minimise that tab. then, return to Ravenfield tools and click Publish to Steam Workshop

form here click Connect to Steam, Create new item then fill in your fields. be sure to make it public! it should say that Content to Publish is Empty, so for that, open a second files tab and navigate to where your project is, click it and go to Workshop Staging and click that number which is your item. reopen your minimised tab with the exported item in it and drag it in to the staging folder, close both tabs and click Refresh & Update Content, it should appear where it originally said empty!

then, hit publish and youre done. within a few minutes itll be public on the workshop. dont worry if it takes a while, it usually does. maybe within that time you could write a description for it or import some images! do note in order to give your item a custom image before publishing or add other images on the item itself, they need to be .PNG items and of a quality less then 2 MB. and youre done!

tysm for reading! hopefully it helps and if you have any tips youve found yourself while doing this or think the guide can be improved, let me know and ill edit it! 🤍🤗
if you have any questions too please do ask them though i cant promise i can offer much help since im a complete unity noob
and tysm for the script RadioactiveJellyfish!
audacity tips
the recommended download, audacity, is a tool that will help greatly. often your voice clips will be too quiet in game, and to solve this, you use this app. to boost volume, the easiest way to do it is to do it incrementally to try and maintain a good balance of audio quality and volume. generally, i personally add around 5db but it depends on the voice. its still a little quiet, but still sounds okay as opposed to totally blown out

to increase volume, navigate to your projects voice clips and drag all of them into audacity, then go to the top, Select, All and then Effect, Amplify… and increase the Amplification (dB) from 0. remember to tick Allow clipping, which removes the filter and lets you reduce audio quality. give it a listen, then go to File, Export, Export Multiple… and navigate to your projects audio location and tick Overwrite existing files. remember to make sure it shares the same file type as your original clips otherwise this wont work. then Export, once thats over you can open your project and export/publish it all over again as described above!

to create a simple “radio” filter for your announcer lines, select them and go to Effect, Bass and Treble… and reduce the bass to -30.0 and increase the treble to 30.0. then export 😊
13 Comments
yoxxy 8 Nov, 2023 @ 6:17am 
Nevermind! I thought set game executable was the same as export map or content mod. Works fine now, but thanks for the help!
EmmiCake  [author] 7 Nov, 2023 @ 4:00pm 
make sure they both dont share the same name
yoxxy 7 Nov, 2023 @ 2:06pm 
so i used this to make a voice pack for myself that's in my own personal game. A few days later I decide to make another one for my game and export it (using set game executable), but it seems to have overwritten the first one. I tried exporting the first one again, but it didn't seem to work and the second one is the only one there. Do you know how to get both of them in the game without publishing to the workshop?
EmmiCake  [author] 12 Jun, 2023 @ 9:54am 
np. most download it as a zip is all
yoxxy 12 Jun, 2023 @ 8:31am 
ohhhh I didn't have it since i just downloaded the files individually. At least I think that's the case. It didn't turn up in a full pc search so id assume so. Thanks for the help anyway!
EmmiCake  [author] 12 Jun, 2023 @ 8:16am 
in your files, extract that file. its supposed to be noob friendly so when i say in the files i literally mean in file explorer
yoxxy 12 Jun, 2023 @ 6:56am 
Cool guide! Just the only thing I don't understand is "extract the ravenfield-voicepack-template-main in the files". Which files?
Adrian Shephard 25 May, 2023 @ 5:58pm 
This was one of the best guides ever
aJIeXXXeu 26 Mar, 2023 @ 3:48am 
Ok thanks for answer
EmmiCake  [author] 26 Mar, 2023 @ 3:38am 
i wouldnt know as i convert all of my audio files to .ogg sorry. maybe try doing the same