Free tool

Dance Floor Config Builder (OpenSim)

Get the dance floor scripts, then sort your animations into menus and sub-menus and copy the finished notecard back into the floor.

A dance floor for OpenSim with couples, single and group dances, NPC Companion NPCs and your own menus. The floor keeps its dances in a small .Dances notecard. Use this page to sort your animations into menus and sub-menus, then copy the result into the floor. New animations you drop into the prim are noticed automatically and show up here when you send the list from the floor.

How to use this page Watch the how-to video 2 minutes, opens in its own window

1. Get the scripts

  1. Make a prim for the floor and put the Controller script in it. The first time it runs it asks you a few setup questions (NPC style, adult dances, hovertext and so on).
  2. Make a small ball, name it Dance Ball, put the Poseball script in it and drop the ball into the floor prim. If you already have a poseball object, just swap its script.
  3. Add the three name notecards below (they start with a dot so they sort to the top), your animations, and NPC appearance cards named like .M-Casual-1 and .F-Formal-2 (types: Formal, Casual, Beachwear, Nude).
  4. Touch the floor as owner, choose Owner > Website and the floor sends its animation list here. Open the link it prints, sort the dances below, and paste the finished .Dances notecard into the floor.

The scripts use OpenSim functions (osNpcCreate, osMessageObject, osMakeNotecard and friends), so the floor owner needs permission for them in the region’s OSSL settings. Positions are measured from the floor’s middle line, so fine-tune them in-world with Owner > Fine Tune.

2. Load your dances

Or paste your .Dances notecard, an old .Single/.Couple card, or a list of animation names

3. Sort them into menus

Type a category such as Slow or Latin/Salsa (a slash makes a sub-menu). Couples pair a female and a male animation; the page guesses pairs from names ending in _f/_m, F/M or female/male. Select rows to change several at once.

Categories and sub-categories

Order and nesting: drag a category by its dotted grip. Drop it on the middle of another category to put it inside, or on a row's top or bottom edge to change the order (the menu on the floor shows categories in this order). Drop it on Top level to move it out. Dances: tick one or more in the table and press Add selected here on a category, or pick the category in the list above the table and press Move selected, or drag a dance by its own dots (ticked dances all go together) onto a category. To make a category, type a name (and a parent for a sub-category) and press New category: with dances ticked they move into it, with none ticked you get an empty one to drag into (it is only saved once something is inside). Rename also renames everything inside it, and you can type a full path to move it (touch screens: use Rename or the Add buttons instead of dragging). Delete removes only that menu level: its dances move up one level.

Hidden animations stay in the prim but never show in the menu. To delete animations are removed from the prim itself: when you paste the notecard the floor asks you to confirm before deleting anything.

4. Your .Dances notecard

In the floor prim make a new notecard named .Dances (replace the old one) and paste this in. The floor picks it up by itself within a few seconds.

Menu preview

5. Settings notecard (optional)

The floor asks these questions itself on first run and again under Owner > Settings. If you would rather set everything here, paste this into a notecard named .Config instead.