Back to mods

Vintage Story Mod DB · Vintage Story mod

Practice Makes Perfect

Requires VS Instruments Redux This mod makes songs need practice before they sound right, and makes instrument quality change how an instrument sounds. Here you can see how a song like "Canon in D" by Pachelbel can sound very wrong in the hands of an unlearn

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Practice Makes Perfect release should I use?

Updated 11 days ago
Latest stable file 1.1.0
Game version 1.22.0, 1.22.1, 1.22.2
Loader Built-in Vintage Story mod system

Practice Makes Perfect 1.1.0 targets 1.22.0, 1.22.1, 1.22.2. It must be installed on the client. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is Practice Makes Perfect required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Practice Makes Perfect 1.1.0 need?

1.1.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install VS Instruments Redux first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

1 listed on this file 1 pulled in by one of those mods
VS Instruments Redux Needed by Practice Makes Perfect 1.1.0
required
Matching file found Matched file: 2.3.0
Purposeful Storage Needed by VS Instruments Redux
pulled in
Matching file found Matched file: 2.3.1

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Practice Makes Perfect without breaking your instance.

Built for Practice Makes Perfect 1.1.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.0. It targets 1.22.0, 1.22.1, 1.22.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install VS Instruments Redux first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.0. It opens that exact file at the source.

About this project

What does Practice Makes Perfect add?

Requires VS Instruments Redux

This mod makes songs need practice before they sound right, and makes instrument quality change how an instrument sounds.

 

Here you can see how a song like "Canon in D" by Pachelbel can sound very wrong in the hands of an unlearned musician.

Learning songs

  • A song you have never played before will have most of its notes missing, some wrong notes and an unsteady tempo (by default up to 75% missed, 10% wrong and 15% tempo drift).
  • Every time you play a song, you learn more of it. By default it takes 40 plays to master a song (configurable). You learn the most in the first plays: 10 plays gets you to 44% and 20 plays to 75%.
  • Stopping a song halfway counts as half a play, and every loop of a looping song counts as a play.
  • Songs shorter than 60 seconds count as if they were 60 seconds long, and stopping before 10 seconds counts for nothing (both configurable), so spamming short songs does not work.
  • After each song, the chat shows your plays, how much of the song you have mastered and how familiar you are with the instrument.
  • Songs are recognized by their content, not their file name. Renaming a song keeps your progress, editing even a single note makes it a new song. Different tracks of the same MIDI file count as different songs.
  • Everyone nearby hears the same mistakes.
  • Players in creative mode play every song perfectly and do not learn anything.
  • There is a handbook guide explaining all of this (Game Mechanic: Instrument Practice).

Instruments

  • A song you have learned can be played on any instrument.
  • Every song you play on an instrument makes you more familiar with it. The more familiar you are, the faster you learn new songs on it, up to 2x faster after 100 songs (configurable).
  • Familiarity also means fewer mistakes on songs you have not learned yet, up to 50% fewer after 100 songs (configurable).
  • Familiarity is tracked per instrument type, so your violin practice does nothing for the tuba, although a fully learned song is easier to pick up on a new instrument.
  • Freestyle playing does not count by default, because it can be spammed. It can be turned on in the config (300 notes count as 1 song).

Learning faster

  • Traits listed in the config make you learn faster, and the bonus shows up in the trait descriptions. By default the Bard and Skald class traits from my FClasses mod give +25% each, and the vanilla Precise and Focused traits give +15% and +10%.
  • The bonus is the songLearningRate stat, so other mods can give it too and it all adds up (my FSkills mod gives Bard and Skald +5% per class level).

Instrument quality

  • Quality comes from the quality attribute on the instrument. This mod does not give instruments quality on its own, something like my FStats mod has to. Instruments without quality sound normal.
  • Quality never makes you play wrong notes, it only changes the sound.
  • Below quality 8, instruments sound muffled and are up to 30% quieter. Below quality 4, they are also out of tune (by default 8 to 25 cents, always sharp or always flat).
  • Placed instruments like the pipe organ or the harp keep the quality of the item they were placed from, show it when you look at them and give it back when broken.

Commands

All of them require the controlserver privilege and work for offline players too. /pmp is a shorter alias.

  • /practicemakesperfect show <player> - list the songs and instruments a player has practiced
  • /practicemakesperfect familiarity <player> <instrument> <percent> - set how familiar a player is with an instrument (for example /pmp familiarity SiiMeR instrument-violin 50)
  • /practicemakesperfect reset <player> - forget every song and instrument a player has practiced
  • /practicemakesperfect maxout <player> <instrument> <on|off> - max out an instrument knowledge for a player, including song knowledge

For mod authors

Other mods can ask how familiar a player is with an instrument through the event bus, without referencing this mod. It only works on the server and also works for offline players.

var data = new TreeAttribute();
data.SetString("playeruid", player.PlayerUID);
data.SetString("instrument", "instrument-violin");   // the domain defaults to vsinstrumentsredux
sapi.Event.PushEvent("practicemakesperfect:familiarity", data);

if (data.HasAttribute("familiarity"))
{
    var familiarity = data.GetFloat("familiarity");  // 0 to 1, 1 when maxed out
}

If the mod is not installed or the player is unknown, familiarity is not set.

Configuration

The config can be found at ModConfig/practicemakesperfect.json. It is sent to clients on join, and the handbook guide follows the configured numbers.

{
  "PlaysToMaster": 40.0,                // plays to master a song
  "MinSongSeconds": 60.0,               // shorter songs count as if they were this long
  "MinPlaySeconds": 10.0,               // stopping a song earlier than this counts for nothing
  "MinLearningVolume": 0.3,             // nothing is learned while the volume slider is below this (0.3 = 30%)
  "InstrumentPlaysToMaster": 100.0,     // songs on one instrument until the full learning bonus
  "MaxInstrumentLearningBonus": 1.0,    // extra learning speed on a familiar instrument (1 = up to 2x)
  "MaxInstrumentMistakeReduction": 0.5, // fewer mistakes on a familiar instrument (0.5 = up to 50% fewer)
  "LearningTraits": {                   // traits that learn faster (0.25 = +25%), bonuses add up
    "fclasses-stats-bard": 0.25,
    "fclasses-stats-skald": 0.25,
    "precise": 0.15,
    "focused": 0.1
  },
  "FreestyleLearning": false,           // freestyle notes count toward instrument familiarity
  "FreestyleNotesPerPlay": 300.0,       // freestyle notes that count as 1 song
  "OtherInstrumentPractice": 0.5,       // how much a fully learned song you instantly know on another instrument
  "MaxMissedChance": 0.75,              // missed notes on a song you have never played
  "MaxWrongChance": 0.1,                // wrong notes on a song you have never played
  "MaxTempoDrift": 0.15,                // tempo drift on a song you have never played (0.15 = up to 15%)
  "InTuneQuality": 4.0,                 // instruments below this quality are out of tune
  "MinDetuneCents": 8.0,                // detune just below InTuneQuality
  "MaxDetuneCents": 25.0,               // detune at quality 0
  "FullToneQuality": 8.0,               // instruments below this quality are muffled and quieter
  "DullestCutoffHz": 1500.0,            // tone cutoff at quality 0 (lower = more muffled)
  "QuietestVolume": 0.7                 // volume at quality 0 (0.7 = 30% quieter)
}

Project description from Vintage Story Mod DB.

Pick your setup

Practice Makes Perfect releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

23 available setups

Showing the newest 12 of 23 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Practice Makes Perfect versions and loaders

5 of 5 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.