Custom Decal

On this page, I'll give you snippets on how to add custom decal to `Decal V`.

Config (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 PNG File

  • Copy your PNG file to rm_decalv2/assets folder inside.

  • Open the config file. (rm_decalv2/cfg.lua)

  • Find this lines:

cfg.decals = {
    {
        label = 'RAINMAD',
        fileName = 'RAINMAD.png', -- needs to be unique
        jobs = { 'police', 'ambulance' },
    },
    {
        label = 'RAINMAD2',
        fileName = 'RAINMAD2.png',
        gangs = { 'ballas' },
    },
    {
        label = 'RAINMAD3',
        fileName = 'RAINMAD3.png',
        identifiers = {
            -- ['steam:00000000a000a00'] = true,
            -- ['license:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['license2:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['fivem:0000000'] = true,
            -- ['XWJ4Q354'] = true, -- citizenid is also available for qb users
        },
    },
  • Add your decal like this:

    {
        label = 'RAINMAD3',
        fileName = 'RAINMAD3.png',
        identifiers = {
            -- ['steam:00000000a000a00'] = true,
            -- ['license:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['license2:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['fivem:0000000'] = true,
            -- ['XWJ4Q354'] = true, -- citizenid is also available for qb users
        },
    },
    {
        label = 'Your New Decal Label',
        fileName = 'Your New Decal File Name.png',
        identifiers = {
            ['myIdentifier'] = true,
        },
    },
  • 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_decalv2/stream folder.

  • Copy your image files to rm_decalv2/assets folder inside.

  • Open the config file. (rm_decalv2/cfg.lua)

  • Find this lines:

cfg.decals = {
    {
        label = 'RAINMAD',
        fileName = 'RAINMAD.png', -- needs to be unique
        jobs = { 'police', 'ambulance' },
    },
    {
        label = 'RAINMAD2',
        fileName = 'RAINMAD2.png',
        gangs = { 'ballas' },
    },
    {
        label = 'RAINMAD3',
        fileName = 'RAINMAD3.png',
        identifiers = {
            -- ['steam:00000000a000a00'] = true,
            -- ['license:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['license2:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['fivem:0000000'] = true,
            -- ['XWJ4Q354'] = true, -- citizenid is also available for qb users
        },
    },
  • Add your decal like this:

    {
        label = 'RAINMAD3',
        fileName = 'RAINMAD3.png',
        identifiers = {
            -- ['steam:00000000a000a00'] = true,
            -- ['license:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['license2:0aa00a00a00aa000a000000a00000a00a00aa000'] = true,
            -- ['fivem:0000000'] = true,
            -- ['XWJ4Q354'] = true, -- citizenid is also available for qb users
        },
    },
    {
        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 script, your decal will be active.

Notes

You can create decal using only png file, make sure the png file is inside the assets folder
You can also create decals using the textures in the ytd file, but you still need to put the texture image in the assets folder and set the file name to fileName
When you add a new png, type “refresh” and then “ensure rm_decalv2” in the server console or restart your server.

Last updated