Catalyst lets you create custom visual effects for GTA V, including snow, smoke, and sparks. You can design and preview these effects on your PC before adding them to a FiveM server.

In this guide, you'll create a small snow effect, export it, and test it in FiveM using a chat command. The result will be visible to you locally, rather than creating server-wide snowfall.

What You Need Before You Start

Download the free Catalyst installer from Cfx Portal and install it on Windows 10 or 11. You'll also need GTA V installed and access to a working FiveM server where you can upload files.

When Catalyst opens, it should detect your GTA V installation and load the game's built-in assets. If prompted, locate GTA5.exe or core.ypt so the editor can access the snow model used in this tutorial.

We'll use GTA V Legacy for this example.

Catalyst’s graph, timeline, and live preview share one window.
Preview of Catalyst. This example uses a different effect from the snow project below.

Understand The Files You'll Create

FiveM uses resources to load custom content. A resource is simply a folder containing the files needed for a particular feature.

For this project, you'll work with four file types:

  • .ctlst — Your editable Catalyst project, which stays on your PC.
  • .ypt — The exported particle effect that you'll upload to the server.
  • fxmanifest.lua — Tells FiveM which game the resource supports and which script to load.
  • client.lua — Loads the particle effect and creates a command to test it in-game.

The last two files belong inside your resource folder, alongside a stream folder containing the exported effect.

Create And Preview The Snow Effect In Catalyst

Catalyst uses a node graph to build particle effects. Nodes are connected boxes that control how particles appear and behave.

  1. Open Catalyst, select New Project, and click Add Collection. Rename the collection to market_fx.
  2. Select your collection, click the + button to add an effect, and name it market_snow.
  3. Open the effect's graph, right-click, and add ParticleDrawModel. Connect its output to the Draw Command input on ParticleRule.
  4. Add ParticleDrawable and connect its output to Drawables on ParticleDrawModel.
  5. Open the Drawables tab, find ptfx_model_snow/ptfx_model_snow, right-click it, and select Copy To, choosing your market_fx collection.
  6. Return to ParticleDrawable and select ptfx_model_snow_copy from its Mesh dropdown.
  7. Add Sprite Shader, connect it to the Shader input on ParticleDrawModel, and select the RGBA_lit technique.
  8. Under ParticleEmitterRule, set both Spawn Rate Over Time values, Min and Max, to 20.000. These values control how many particles spawn per second.
  9. Press Play on the timeline to preview your snow. Zoom in if needed, then save your project as market_snow.ctlst.

If the preview is empty, check the node connections and make sure Catalyst successfully loaded the snow model from GTA V.

Catalyst node graph editor showing connected particle nodes for the effect.
Catalyst Node graph editor example

Export Your Snow Effect

Once you're happy with the preview, export the effect so FiveM can load it.

  1. Make sure the export checkbox beside market_fx is selected.
  2. Open File > Export YPT.
  3. Choose an output folder and select Legacy for this example.
  4. Resolve any validation errors, then click Export.

For the steps below, the exported file should be named market_fx.ypt. If Catalyst gives it a suffix such as _legacy, rename it to market_fx.ypt so it matches the script.

Catalyst also supports Enhanced exports, which use a separate stream_enhanced folder. This tutorial uses the Legacy format and the regular stream folder.

Create Your FiveM Resource

Create a folder called market-particles on your PC. Inside it, create another folder called stream and place market_fx.ypt there.

You'll also need two Lua files directly inside market-particles. Make sure Windows displays file extensions so you don't accidentally save them as .lua.txt.

Add The fxmanifest.lua File

Create fxmanifest.lua, paste the following code, and save it.

fx_version 'cerulean'
game 'gta5'

client_script 'client.lua'

Add The client.lua Script

Next, create client.lua beside your manifest file.

This script loads your exported snow effect, displays it near your character for five seconds, and then stops it automatically. It also stops waiting if the particle file cannot be loaded.

local dictionary = 'market_fx'
local effect = 'market_snow'
local testing = false

RegisterCommand('ptfx_test', function()
    if testing then return end
    testing = true

    RequestNamedPtfxAsset(dictionary)
    local deadline = GetGameTimer() + 5000

    while not HasNamedPtfxAssetLoaded(dictionary) do
        if GetGameTimer() >= deadline then
            print('Particle dictionary did not load: ' .. dictionary)
            testing = false
            return
        end
        Wait(0)
    end

    local pos = GetEntityCoords(PlayerPedId())
    UseParticleFxAssetNextCall(dictionary)

    local handle = StartParticleFxLoopedAtCoord(
        effect, pos.x, pos.y, pos.z + 1.0,
        0.0, 0.0, 0.0, 1.0,
        false, false, false, false
    )

    if handle ~= 0 then
        Wait(5000)
        StopParticleFxLooped(handle, false)
    end

    testing = false
end, false)

Save the file without changing the resource, dictionary, or effect names.

Upload The Resource To Your FiveM Server

Once you've created your market-particles resource with both Lua files and the exported .ypt file, you'll need to move it into your FiveM server's resources directory.

On A Self-Hosted FiveM Server

  1. Open File Explorer on the Windows computer running your FiveM server.
  2. Navigate to your active server-data directory. This is usually the folder containing your server.cfg file and resources folder.
  3. Open resources and copy your complete market-particles folder into it.
  4. Open the uploaded folder and confirm that fxmanifest.lua, client.lua, and the stream folder containing market_fx.ypt are all present.

Your resource is now in the correct location and can be enabled through server.cfg.

With Pine Hosting

With FiveM hosting from Pine Hosting, you can manage your resource files directly through the Pine Panel.

  1. On your PC, right-click the market-particles folder and compress it into a .zip archive.
  2. Open your FiveM server in the Pine Panel, select Files, and navigate to the resources folder.
  3. Upload the .zip archive, then right-click it and select Unarchive to extract its contents.
  4. Confirm that the extracted market-particles folder contains both Lua files and the stream folder with market_fx.ypt inside.

Make sure the files are directly inside resources/market-particles/, rather than an additional nested folder. You can delete the uploaded .zip afterward, as the extracted files are what FiveM will use.

Start The Resource And Test Your Effect

Open the server.cfg file used by your active server and add this line:

ensure market-particles

Save your changes and restart the server. On Pine Hosting, you can manage the restart through the Pine Panel.

Once the server is running, join with your FiveM client and enter /ptfx_test in chat.

A small snow effect should appear slightly above your character's position and disappear after five seconds. Only your client displays this test effect; showing it to everyone requires additional multiplayer scripting.

What To Do If The Snow Doesn't Appear

If the effect doesn't load, open FiveM's client console with F8 and check for errors.

  • Resource not starting: Make sure fxmanifest.lua is directly inside market-particles and the ensure command matches the folder name.
  • Particle file not loading: Check that market_fx.ypt is inside stream and matches the market_fx dictionary in your script.
  • Effect loads but nothing appears: Confirm the effect is named market_snow in Catalyst and that the node connections are correct.

You can also reduce both spawn-rate values to 10.000 in Catalyst for a lighter snowfall. Save the project, export the updated .ypt, and replace the file on your server. Restart the resource using restart market-particles, and reconnect if the old streamed effect is still appearing.

Customize Your FiveM Server With Pine Hosting

With our FiveM server hosting, you can upload custom resources, edit server configuration files, and manage restarts directly through the Pine Panel.

Our Backup Manager helps protect your existing server files before larger changes, and our support team is available 24/7 if you need help with server management.