Custom Decal
On this page, I'll give you snippets on how to add custom decal to `Decal V`.
Decals (rm_decalv2/decals.lua)
How to Add Custom Decals
To add custom decals, you need to modify the rm_decalv2/decals.lua file. Follow the steps below:
Adding Custom Decals with a YTD File (Recommended)
Open OpenIV.
Enable Edit Mode.
Click the New button.
Select "Texture dictionary (.ytd)".
Enter your texture dictionary name.
Find the texture dictionary in your GTA V folder and double-click to open it.
Click Import and select all the images to convert to decals.
Choose DXT5 for the texture format.
Save and copy the .ytd file to
rm_decalv2/stream.Copy your image files to
rm_decalv2/assets.Open the config file (
rm_decalv2/decals.lua) and add your decal like this:
{
label = 'Your New Decal Label',
fileName = 'Your New Decal File Name.png',
textureName = 'Your Decal Texture Name',
textureDict = 'Your Decal Texture Dictionary (.ytd file name)',
identifiers = {
['myIdentifier'] = true,
},
},Restart the script or refresh the server for the decal to be active.
Adding Custom Decals with Image Files (.png, .webp, .jpg)
Copy your image file (
.png,.webp, or.jpg) to therm_decalv2/assetsfolder.Open the config file (
rm_decalv2/decals.lua).Add your decal like this:
{
label = 'Your New Decal Label',
fileName = 'Your New Decal File Name.png', -- Change extension to match your file (.png, .webp, or .jpg)
identifiers = {
['myIdentifier'] = true,
},
},Restart the script or type
refreshand thenensure rm_decalv2in the server console.
Notes
For image-based decals, ensure the file is in the
assetsfolder. Supported formats are.png,.webp, and.jpg.For YTD decals, you still need to place the texture image in the
assetsfolder and setfileName.Restart or refresh the server to activate new decals.
Last updated