Custom Decal¶
On this page, I'll give you snippets on how to add custom decal to Decal V
.
Config (shared/cfg.lua
)¶
If you want to add custom stickers in any way, you must add it to the config. I will explain how to add custom stickers way.
Add Custom Decal with Direct URL
¶
- Open the config file. (rm_decalv/shared/cfg.lua)
- Find this lines:
cfg['decals'] = { { label = 'RAINMAD', url = 'https://cdn.discordapp.com/attachments/1066929380300955689/1119314739080736820/logo.png', job = 'police', }, { label = '5Zigen', image = 'decals/vehicle/5Zigen.png', textureName = '5Zigen', textureDict = 'vehicledecals', },
- Add your decal like this:
cfg['decals'] = { { label = 'new decal', url = 'https://new-decal.com/decal.png', }, { label = 'RAINMAD', url = 'https://cdn.discordapp.com/attachments/1066929380300955689/1119314739080736820/logo.png', job = 'police', }, { label = '5Zigen', image = 'decals/vehicle/5Zigen.png', textureName = '5Zigen', textureDict = 'vehicledecals', },
- Restart script, your decal will be active.
Add Custom Decal with YTD File
¶
- Open OpenIV.
- Click
Edit Mode
- Click
New
button. - Select
Texture dictionary (.ytd)
- Enter your
Texture dictionary name
. - Find
Texture dictionary
you created in GTA V folder. Double-click and open. - Click
Import
. - Select your all images for convert to decal.
- After select, you need choose
DXT5 for Texture format
. - Save and copy your .ytd file to
rm_decalv/stream
folder. - Open the config file. (rm_decalv/shared/cfg.lua)
- Find this lines:
cfg['decals'] = { { label = 'RAINMAD', url = 'https://cdn.discordapp.com/attachments/1066929380300955689/1119314739080736820/logo.png', job = 'police', }, { label = '5Zigen', image = 'decals/vehicle/5Zigen.png', textureName = '5Zigen', textureDict = 'vehicledecals', },
- Add your decal like this:
cfg['decals'] = { { label = 'RAINMAD', url = 'https://cdn.discordapp.com/attachments/1066929380300955689/1119314739080736820/logo.png', job = 'police', }, { label = '5Zigen', image = 'decals/vehicle/5Zigen.png', textureName = '5Zigen', textureDict = 'vehicledecals', }, { label = 'Your Decal Name', image = 'decals/vehicle/your_decal_image.png', textureName = 'Your Decal Texture Name', textureDict = 'Your Decal Texture Dictionary (.ytd file name)', },
- Restart script, your decal will be active.