Home - SuedOnAIM/RF_CustomHUD_Edits GitHub Wiki

Download and Installation

aight first off major thanks to RadioactiveJellyfish!

You will need the Unity 2020.3 Ravenfield modding tools installed first. youtubethumbnail

Next, download RadioactiveJellyfish's scripts and example hud prefabs. You can find those in this link.

Click on the green "Code" button then download zip customhud tutorial then unpack the zip file and put it in your Unity assets folder

Download my version of the CustomHUD scripts/prefabs customhud tutorial2 customhud tutorial3

And import the unitypackage

tut p3

I recommend reading through RadioactiveJellyfish's wiki tutorial for the CustomHUD to get a general understanding of what everything does

Actually Getting Started

To begin, you will need to make an empty game object in your hierarchy.

  1. You can right click your hierarchy to see the menu. image

  2. Name it something you'll remember and easily find.

  3. Next, add a Scripted Behaviour component.

  4. Assign "CustomHUD_Main" to the source in your Scripted Behaviour. The script can be found in either Jelly's generic HUD scripts or in my HUD scripts folder.

  5. Now add a Data Container component.

  6. In the Strings parameter, set it to 2

  7. Make the first id "hudName"

  8. Make the second id "hudVersion".

Here you can type the name and version of your HUD mod for debugging purposes. image

  1. Drag and drop your HUD game object into the project files window to turn it into a prefab (blue cube icon) image

  2. Click on your prefab in the project window.

  3. Then click on "Open Prefab" in the inspector window. image

You are now ready to make a custom HUD. Just drag and drop the canvases into the hierarchy to set them up.