Hey Everyone!
Due to the outcome of my poll on twitter,
I’ll be making a UGC hat tutorial in Blender! You can follow with making your own UGC hat,
but I’ll be creating a Coronavirus mask, to promote everyone staying safe!
Warning: I’ll be using Blender 2.82, so there may be differences to your software
Blender is a free 3d software, which you can download from blender.org.
Exporting Our Character
To make our UGC hat fit on a Roblox character, we’ll start by exporting a character from Roblox Studio into Blender, so that we can model around its head.
I’m using AlreadyPro’s Load Character plugin to load a character by its username.
By right clicking the character in the explorer, and clicking “export selection”, you can specify where you want the .obj of your character to be saved.
Importing Our Character
In Blender, go to File > Import > Wavefront (.obj) and select the .obj which you exported.
After that, we’ll delete the all the body parts except the head, as we’re making a hat and only need to head to model on.
We do this by selecting the body parts we want to delete, and pressing “X”. In the video I also press
“Alt + G” while selecting the head to centre it.
Modelling the Coronavirus Mask
We’ll start by adding a cube for the base of our mask, moving it and scaling it to fit roughly around the mouth of our character.
To make the cube into a shape closer to a mask, we’ll use a Subdivision Surface modifier to smooth it.
Next, we’ll scale it on the Y-axis to make it flatter and then scale it up slightly to cover the mouth.
I also made its shading smooth.
After that, we’ll add a loop cut in the middle and select the edges to pull them back. This will make the mask bend around the face.
We’ll then scale the edges down on the Z-axis, and scale up the central loop cut on the Z-axis, to make our mask into a more oval-like shape.
We’ll then create a horizontal loop cut and drag it down, then pull out the central vertex, to make the mask less flat and more rounded.
To make the band around the head which holds the mask, I selected an edge ring of the character’s head, duplicated it and separated it as a different object.
We’ll then add a skin modifier, to make the edge ring thicker to resemble a band. With the skin modifier, if we press “Ctrl + A” we can control the thickness by moving our mouse.
Finally to finish off our model, we’ll isolate the band by pressing “/” and select the front 2 vertices and using proportional editing drag them down, to make the band seem like it’s drooping.
This is our final model, but now it’s time to texture it.
Texturing the Coronavirus Mask
Now it’s time to texture our mask!
First, we’ll prepare our model by applying the modifiers, removing the materials and joining the separate objects with “Ctrl + J”. We also no longer need the head, so we can delete that by selecting it and pressing “X”.
The triangle (tris) count of our model is currently slightly over the UGC limit of 4k. Not to worry, we can reduce our triangle count easily with a simple modifier called “Decimate”. This modifier modifies our mask to reduce vertices and therefore triangles. You can see in the video how I drag down the slider to reduce the triangle count shown in the bottom of the screen. This won’t have any visible effect on your model unless you are drastically reducing its amount of vertices. We also apply this modifier before our texture painting.
We’ll then split our screen, with one half on the UV Editor. Then in edit mode, by pressing “U” and then “Smart UV Project”, we can quickly UV unwrap our model. In the UV window, we then go to
Image > New and we name and save an image. This image is what we’ll paint our texture on for our model. Also, make sure to do Image > Save As so you don’t lose the image you paint on.
Next, we’ll create a new material for our mask. Add an “Image Texture”, select the texture you created and plug it into the Base Colour. This will allow us to paint on our model.
Then, we can switch to the “Texture Paint” workspace to start our painting. We’ll first go into edit mode, press “L” while hovering over the mask to only select it, then go out of edit mode and press “M”.
This makes only our selection affected, therefore we can use the fill tool to only fill the mask for our light grey colour.
I then repeated that process for the bands, and filled them with a dark grey.
You can texture your UGC however you like, I used the “Line” stroke method and the draw brush to draw lines to represent wrinkles in the mask.
At this point we should save our image/texture for our model, so we don’t lose our progress.
Now all we have to do is export our model as a 3d object and then we can import it into Roblox Studio.
Importing Our Finished UGC Into Roblox Studio
Nearly there!
First, make a “MeshPart” in the workspace and on the property called “MeshId”, click on the folder and select the .obj file of your model. This will bring your model into Roblox Studio.
Don’t worry about this pop-up, we’ll just click “No” because we’ll be positioning it manually later.
Once your model is loaded in, it should have its texture too. If it doesn’t, simply click on the “TextureID” property and select your texture.
Your UGC is now imported!
Thanks For Reading!
That’s it for this tutorial! I hope this helped you and make sure to comment if you have any queries.
Please consider following me on my twitter or showing some appreciation, as I worked many strenuous hours on this tutorial
Stay safe!