Soundscapes

After the gm13 update, lots of stuff that used to rely on text files ended up switching over to lua commands(like particle manifests)

What’s the gm13 lua equivalent, and how would i go about adding something like this?



// Generic outdoors ambience
//
"forest.generic"
{
    // underlying area "tone"
    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_01.wav"
    }
    "playlooping"
    { 
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_ambience.wav"
    }

    "playrandom"
    {
        "time"            "30,60"
        "pitch"            "90,100"
        "volume"        "1"
        "soundlevel"      "SNDLVL_NORM"

        "rndwave"
        {
            "wave"    "ambient/nature/wind_leaves_mild_gust_1.wav"
        }
    }
}


"forest.crickets"
{
    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_01.wav"
    }
    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_ambience.wav"
    }

    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "ambient/animal/crickets.wav"
    }

    "playrandom"
    {
        "time"            "30,60"
        "pitch"            "90,100"
        "volume"        "1"
        "soundlevel"      "SNDLVL_NORM"

        "rndwave"
        {
            "wave"    "ambient/animal/cricket_chirp_1.wav"
        }
    }
}

"forest.flys"
{
    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_01.wav"
    }
    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_ambience.wav"
    }


    "playrandom"
    {
        "time"            "30,60"
        "pitch"            "90,100"
        "volume"        "1" 
        "soundlevel"      "SNDLVL_NORM"

        "rndwave"
        {
            "wave"    "ambient/animal/flies1.wav"
            "wave"    "ambient/animal/flies2.wav"
            "wave"    "ambient/animal/flies3.wav"
            "wave"    "ambient/animal/flies4.wav"
            "wave"    "ambient/animal/flies5.wav"
        }
    }
}

"forest.birds"
{
    "playlooping"
    {
        "volume"    "1" 
        "pitch"        "100"
        "wave"        "de_forest/forest_01.wav"
    }
    "playlooping"
    {
        "volume"    "1"
        "pitch"        "100"
        "wave"        "de_forest/forest_ambience.wav"
    }

    "playrandom"
    {
        "time"            "30,60"
        "pitch"            "90,100"
        "volume"        "1"
        "soundlevel"      "SNDLVL_NORM"

        "rndwave"
        {
            "wave"    "ambient/animal/bird_flapping_1.wav"
            "wave"    "ambient/animal/bird1.wav"
            "wave"    "ambient/animal/bird11.wav"
            "wave"    "ambient/animal/crow.wav"
            "wave"    "ambient/animal/crow_2.wav"
        }
    }
}