zippity21 / Stardew_Valley_Regression_Mod

Ported version of abandoned Mod for Stardew Valley that added a system for hunger, thirst and incontinence.
MIT License
24 stars 12 forks source link

Crinkle Noises While Walking #52

Open ghost opened 2 years ago

ghost commented 2 years ago

Who doesn't like a good crinkle? :3

Enhancement request for a simple crinkling noise while walking around if the player character is diapered or in pull-ups (perhaps different sound bites for each?). Ideally quieter than the regular footstep noises so it's not overshadowing other audio immersion in the game, but enough to be a reminder of the player's diapered state.

Not sure if I'm right about the following, but it seems like something that might be a small amount of effort for a significant amount of overall added flavor to the mod.

zippity21 commented 2 years ago

I, honestly, have no idea how much effort that would be. Worth looking into though!

ghost commented 2 years ago

Just wanted to update this since I was already around to mention the issues with continence in the current build. I ended up diving into attempting to add a crinkle a while back and it's unfortunately a bit beyond me.

If I had a template to go off of for adding sounds I might be able to get it running, but current mods only seem to allow for sound effect/music replacement, rather than adding new entries or allowing a second .wav be played at the same time an existing one gets called (though that would cause its own weird issues since some step sounds get used for other things, like grassyStep for placing hay in silos).

The actual movement portion is easy, I think. Something like:

if (Game1.player.running = true)
{
     Game1.playSound("crinkle");
}

But that would still require adding the "if player is diapered" condition and being able to add the "crinkle" sound effect to the existing list. I think I could fumble my way through the former (maybe "if (underwear.containment > 115 && underwear.containment < 1000)" to rule out the bed and actual undies?), but the latter is just out of my league.

It's looking like 1.6 is going to be primarily focused on making modding easier, so hopefully this is something I can look into further once it releases (or I could just bite the bullet and start learning C# for real...).