Cuxial Dance Class lets a player open a dance class anywhere on the map. Whoever steps into the class zone joins as a student and follows each dance with a rhythm minigame.
What it does
- Classes drawn on the spot. The instructor draws the class zone as a polygon, then sets the name, difficulty, fee, capacity and dances.
- Join by walking in. Stepping into the zone joins the class; leaving it takes you out. Classes with a fee ask for confirmation before charging.
- Rhythm minigame. Students press the right key as each note reaches the line. Three misses in a row and the character falls, gets up and picks the dance back up.
- Three difficulties. Each one has its own speed, timing windows and set of keys.
- Entry fee. Paid by the student to the instructor, refunded when the class closes without a single dance.
- Live view for the instructor. Hits, misses and streak of every student during the dance, then a results table and a final podium.
- History and ranks. Classes taken, classes taught, dances, points and best accuracy are saved per character.
- Cuxial Gym points (optional). A well-followed dance raises a gym skill for the students and the instructor.
Requirements
| Resource | Required | Used for |
|---|---|---|
ox_lib | Yes | Zones, key bindings, locales |
oxmysql | Yes | Class history |
cuxial_bridge | Yes | Connects to your framework (QBox, QBCore or ESX) and provides the zone creator |
cuxial_emotes | Yes | Source of every dance. See Cuxial Emotes |
cuxial_gym | No | Turns dance points into a gym skill |
The common base for every script is in Requirements.
Without Cuxial Gym, classes, results, history and ranks work the same. Points are still counted for the history; they just do not raise any skill.
