Skip to content

Adding Viral Dances to an Emote Menu ​

The route most servers take. The pack has no front end, so whatever you already run is what players will see.

What every menu asks for ​

Three things, and this pack makes all three easy:

FieldValue
Dictionaryredmorrow@emote_<source>_cmf for male, the same plus @f for female
ClipThe dance's id — they are identical on all 23
Flag1 to loop, which is what all 23 ship as

So a row for Pink Pony Club is:

dictionary  redmorrow@emote_forestjeanwink_cmf
clip        pink_pony_club
flag        1

Every pair is in the dance list.

Handling both bodies ​

Each dance exists twice, with the same clip name inside both dictionaries. How you use that depends on what your menu supports:

Your menuDo this
Takes a per-body dictionaryGive it the male one and the @f one. Nothing else changes
Takes one dictionary per rowAdd each dance twice — "Pink Pony Club (M)" and "(F)" — or pick the male set for everyone
Resolves the ped itselfAppend @f in your resolver when the ped is female

Both versions play on either body. The matching one simply fits better; the wrong one reads slightly off through the shoulders and hips. It is never an error and never crashes.

Fix the categories before you import ​

This is the step people skip, and it is the one that makes the menu unusable.

Every dance ships with its own category, named after its source file — 23 dances, 23 categories, one item in each. Import that as-is and your players get 23 collapsible headers to click through.

Replace them first. Length is the grouping that helps someone choose:

BucketRangeCount
Quick hitsunder 8 s3
Short8–12 s7
Full routines12–15 s8
Long setsover 15 s5

The full membership is on the dance list, and the find-and-replace is on The clips.txt file.

RedM Emotes ​

If you run RedM Emotes, these drop in like any other custom dictionary — a row carries a dictionary and a clip name, which is exactly what this pack provides. The three ways to add one are covered on its own page: Three ways to add an emote.

Generating the rows ​

23 rows is on the edge of worth hand-typing, and generating them is safer because the invariants hold without exception:

lua
for _, c in ipairs(DANCES) do
    addEmote({
        name     = c.id,
        label    = c.label,
        dictMale = c.bodies.male,
        dictFem  = c.bodies.female,
        clip     = c.clip,          -- always == c.id
        flag     = 1,               -- loop
        category = bucketFor(c.duration),
    })
end

Where DANCES comes from is on The clips.txt file.

Two rows need a thought before a generator runs over them:

  • 6_foot_7_foot starts with a digit. Fine as a Lua key and as a command argument. If your menu also accepts a list number, check tonumber(arg) and DANCES[tonumber(arg)] before falling through to the id lookup — tonumber('6_foot_7_foot') is nil, so you are safe, but a purely numeric id would collide.
  • come_n_go's label is COMË N GO. Non-ASCII. If it renders as mojibake in your menu, rename the label rather than re-encoding the file.

Showing length in the menu ​

These routines run from under two seconds to nearly thirty-five. That is a big enough range that a player picking blind will be surprised:

lua
local subtitle = ('%.1fs'):format(c.duration)

It matters most for scuba_juke at 1.833 s, which on loop cycles about 33 times a minute.

Which dances suit what ​

Filming a sceneThe long sets. A 34.667 s routine will not visibly restart during a take
A quick reactionscuba_juke, ransom, come_n_go — switch these to once
A saloon floorAnything in the 12–15 s band, on loop
Dancing while walkingNone of them, as shipped. Flags 25 make it possible, but half the choreography is in the legs — check each one on screen

Permissions ​

Nothing in this pack gates anything. Every dance is available to anyone who can reach your playback resource, so limits go in the resource that makes the call:

lua
RegisterCommand('dance', function(source, args)
    if not playerHasJob('performer') then return end
    playDance(args[1])
end, false)

Gating by location — a stage, a saloon, an out-of-character zone — works the same way.

Decide where dancing is allowed before you install

These are modern routines in an 1899 setting. If your server enforces period-accurate roleplay, settling that question up front is much easier than taking the feature away afterwards.

Editing clips.txt does not change your menu ​

The two lists are separate. clips.txt is reference data; your menu has its own config. Change a label in one and you have to change it in the other.

Documentation for RedMorrow. Scripts are licensed per server — redistribution is not permitted.