[PAID] | MD Speed bag w/ Animations

Description

MD Speed Bag adds a real boxing speed bag to RedM. Players mount it on a wall or a ceiling, then train with rhythm: each tap builds speed, the bag rebounds faster and faster against the platform, and every player around sees exactly the same motion.

The bag is driven by a synchronized physics simulation (rebounds, spin, hand contact), not a looped animation. Custom bag, platform and mounts, custom animations and impact sounds. Bags are saved in the database and stay in place after a restart.

Standalone resource: works bare-handed, no gloves required. It also works alongside MD Boxing Gloves and MD Punching Bag with no shared dependency.

Features

  • Rhythm training: hold right mouse to guard, tap E to the rhythm to speed up the bag (cadence builds up, then slows down when you stop)
  • Synchronized physics: rebounds against the platform, spin and damping, hand contact computed from the real hand shape, server-authoritative state with client interpolation
  • Optimized: allocation-free contact solver, throttled checks while training, bag data only sent to nearby players
  • Placement on a wall or a ceiling with a live preview
    • Free camera with a fixed mounting point to place the bag precisely
    • Automatic hand height: the bag is placed at the character’s forehead height
    • Shift + wheel: rotation, automatic suspension length on ceilings (0.2 → 1.2 m)
    • Clearance and stable ground checks in front of the bag
  • Adjust an installed bag at any time (J or /adjustspeedbag)
  • Character scale support (0.5× → 2.0×) for servers that resize peds
  • One user at a time per bag, weapon must be holstered
  • 3 impact sounds played to nearby players, with configurable volume
  • Pack your bag with G or /packspeedbag: the item goes back to the inventory with its metadata
  • Persistence with oxmysql (bags survive restarts); an invalid saved row is skipped and logged instead of breaking the resource
  • Limits: bags per character (MaxBagsPerCharacter) and total installed bags (maxBags)
  • Only the owner can pack or adjust a bag (or ACE md_boxing.admin)
  • Server-side security: distance, routing bucket, limits, sessions, rate limits and item possession checked on the server
  • Safe inventory flow: full inventory = bag stays installed, interrupted operations are journaled (no duplication, no automatic refund)
  • Frameworks: VORP, RSG, standalone (no inventory) or custom
  • Inventories: vorp_inventory, rsg-inventory, or any other inventory through an open bridge
  • Locales: English and French (editable)
  • No ox_lib or ox_target needed

Developer API

Client exports:

exports['md_speedbag']:UseSpeedBag()
exports['md_speedbag']:PackNearestBag()
exports['md_speedbag']:AdjustNearestBag()
exports['md_speedbag']:IsTraining()
exports['md_speedbag']:FindSpeedBag()   -- nearest bag, or nil
exports['md_speedbag']:GetSpeedBag(id)

Server exports:

exports['md_speedbag']:UseItem(source, 'speed_bag', slotOrId)
exports['md_speedbag']:GetBags(bucket) -- bucket is optional

Open files (not escrowed)

config.lua, config/*.lua, locales/*.lua, bridge/*.lua, install/* — framework, inventory, keys and character bridges are fully editable.

Installation

  1. Drop md_speedbag in your resources (keep the folder name).
  2. In config.lua, keep Framework = 'auto' (detects VORP or RSG) or set 'standalone' / 'custom', and choose Locale ('en' or 'fr').
  3. VORP: import install/vorp_items.sql. RSG: add the entry from install/rsg_items.lua to rsg-core/shared/items.lua.
  4. Copy install/images/speed_bag.png to your inventory image folder.
  5. ensure oxmysql then ensure md_speedbag after your framework and inventory. The SQL table is created automatically.

Full documentation is included in INSTALL.html.


Preview

Download

Store: https://shop.medouille.com/redm/md-speed-bag


Code is accessible Partially (config, locales and bridges are open)
Subscription-based No
Lines (approximately) ~3 500
Requirements OneSync, oxmysql, VORP / RSG / standalone
Support Yes
Assets are accessible No
Subscription-based No
Polygons (model and LOD) TODO
Texture size and amount 1 texture dictionary: 3 × 2048×2048 (albedo, normal, material)
Requirements & dependencies OneSync, oxmysql, VORP / RSG / standalone
Support Yes
9 Likes

Very great job mate :flexed_biceps:

2 Likes

High quality as always :ok_hand:

1 Like