LarryG on 2/2/2014 at 15:33
A while ago I noticed that when jumping while standing in water there often is no splashing sound made. If you walk through shallow water there is a splashing sound. If you jump into shallow water from above the water, there is a splashing sound. But if you start from standing in the water and just jump up, even though your feet clearly leave the water and then land in the water, there is no sound. The problem, it turns out, is that there is no schema defined for this. The expected schema "land_water_p" does not get triggered in this instance. To remedy this I have developed two new schemas to be added to your FOOT.SCH file:
Quote:
// Added 01Feb2014 to fix water landing sounds from jumping in place in the water
schema land_ip_water_p
archetype LAND_PLAYER
volume -1300
ftwat_1 ftwat_2
env_tag (Event MediaTrans) (CreatureType Player) (MediaLevel Foot Body) (Material Liquid) (MedTransDir Enter)
// jumping out of water should also make some sounds, just not as loud as landing
schema jump_up_water_p
archetype LAND_PLAYER
volume -1500
ftwat_3 ftwat_4
env_tag (Event MediaTrans) (CreatureType Player) (MediaLevel Foot Body) (Material Liquid) (MedTransDir Exit)
//
After updating FOOT.SCH use the reload_schemas command and test it out. You may want to also use the ftwat_j sound. I didn't because I wanted jumping up in-place to be quieter than jumping down from a height. Instead you get an exiting the water sound followed by a landing in the water sound. The sounds are guaranteed to be different for each, so you don't get the exact same sound twice in a row. You may want to play around with the volume parameter to get it to your taste. I'm still fussing with that a little.
Tannar on 2/2/2014 at 16:59
Thank you, Larry! :thumb: And I always wondered about that.
Yandros on 2/2/2014 at 18:33
Nice work, Larry! I'll make use of this for certain. Also, just as a nitpick, the filename is FEET.SCH, not FOOT.SCH.
qolelis on 2/2/2014 at 19:12
I have a lot of water going on, so this will come in handy, thank you!
Lady Rowena on 2/2/2014 at 19:23
Same here, thanks! :)
R Soul on 3/2/2014 at 02:08
A good find.