REDHUB SMOKES

REDHUB SMOKES

This item is free.

Add to Basket

REDHUB Smokes β€” Ritual Campfire & Colored Ceremonial Smoke (VORP)

REDHUB Smokes is a lightweight, fully open RedM resource for VORP that lets players place persistent ritual campfires anywhere in the world and bring them to life with colored ceremonial smoke. Players carry "ritual dust" items, throw them into a nearby campfire, and the smoke column changes color for a set time before fading back to its natural grey. Every campfire is saved to the database and shared with all players in real time.

Perfect for shamans, native camps, mystic ceremonies, signal fires, faction meeting points or any roleplay that needs an atmospheric, interactive fire.


How It Works (step by step)

  1. Placing a campfire. A player uses the campfire item (fogata_ritual by default). A semi-transparent preview of the campfire appears in front of them, and a small on-screen control panel (NUI) shows the placement keys.
    • Arrow keys move the campfire on the ground.
    • 1 / 2 rotate it.
    • Enter confirms Β· G cancels. The preview snaps to the ground automatically as it moves.
  2. Confirming. When the player confirms, their character plays a short kneeling/lighting animation, the real campfire prop spawns on the exact spot, it is saved to the database, and it is synced to every connected player so everyone sees it.
  3. Interacting. When a player stands close to any campfire, a hold-prompt appears in the bottom-right:
    • Hold [right prompt] β€” Perform ritual: opens the smoke ritual menu.
    • Hold [left prompt] β€” Put out campfire: plays an inspect animation, removes the campfire and deletes it from the database for everyone.
  4. The smoke ritual. The ritual menu (centered NUI window) reads the player's inventory and shows only the ritual dusts they actually carry, each with a colored dot and the quantity owned. Selecting one:
    • consumes 1 dust from the inventory,
    • plays a throwing animation,
    • tints the campfire's smoke to that dust's color at its configured size,
    • and keeps that color for the dust's duration, after which the smoke returns to the default grey. All color changes are broadcast to every player, so the effect is fully synchronized.
  5. Persistence. On server start the resource loads every saved campfire from the database. When a player joins (or the resource restarts), all existing campfires are re-spawned for them automatically. When the resource stops, props and particle effects are cleaned up safely.

Features

  • Free placement with live ghost preview, ground snapping, move, rotate, confirm and cancel β€” all on native controls.
  • Persistent & synced β€” campfires are stored in MySQL and shared with everyone in real time; they survive restarts and reconnects.
  • Colored ceremonial smoke β€” four ready-to-use dusts (red, green, blue, dark) driving a tinted particle-effect smoke column.
  • Inventory-aware ritual menu β€” only shows the dusts the player owns, with live counts and a color swatch per option.
  • Timed effects β€” each dust colors the smoke for a configurable duration, then reverts to the default smoke automatically.
  • Native interaction β€” hold-prompts to perform the ritual or put out the fire; no target system required.
  • 5 languages β€” English, Spanish, Italian, Portuguese and German, switchable from the config.
  • Fully configurable β€” items, prop model, control keys, interaction distance, default smoke, and per-dust color / size / duration.
  • Clean & open β€” no comments, no decorative markers, fully open files (no escrow encryption).

Items you need (VORP inventory)

Create these items in your vorp_inventory database (names are configurable):

  • fogata_ritual β€” the campfire item used to place a fire.
  • polvo_rojo β€” red ritual dust.
  • polvo_verde β€” green ritual dust.
  • polvo_azul β€” blue ritual dust.
  • polvo_oscuro β€” dark ritual dust.

Each dust's color, smoke size and how long it lasts are defined in config.lua under Config.RitualItems, so you can recolor, resize, retime or add your own dusts freely.


Configuration (config.lua)

  • Config.Locale β€” interface language: en, es, it, pt, de.
  • Config.CampfireItem β€” the placement item name.
  • Config.CampfireProp β€” the campfire prop model.
  • Config.DoubleClickWindow β€” double-use window (ms) for the item shortcut.
  • Config.InteractDistance β€” how close you must be to interact with a campfire.
  • Config.Keys β€” the controls used during placement (move / rotate / confirm / cancel).
  • Config.DefaultSmoke β€” the natural smoke color and size when no dust is active.
  • Config.RitualItems β€” per-dust color, scale and duration (ms).

Installation

  1. Drop the redhub_smokes folder into your resources.
  2. Import install.sql (creates the redhub_smokes_campfires table).
  3. Add the items (fogata_ritual and the dusts) to your vorp_inventory.
  4. Add ensure redhub_smokes to your server.cfg.

Dependencies

  • vorp_core
  • vorp_inventory
  • oxmysql

Compatibility

  • Framework: VORP
  • Game: RedM

REDHUB Smokes β€” light the fire, throw the dust, color the sky.