Jump to content
Sign in to follow this  
RamZesIV79

Can't add new sound to vanila vehicle

Recommended Posts

Trying to change sounds of  "Van_02_base_F" and "Van_02_base_F" classes. Recorded real russian engine UMZ-421 samples, wrote appropriate sound config, but it didn't work. Vehicle, based on these classes, still sounds as vanila via soundshaders while I see my new records in config veiwer. Added this 

soundSetsInt[] = {};
soundSetsExt[] = {};

but still no result. I can hear my engine start and stop sounds, sound of shaders now disappeared, but my new sound still inactive.
 

Spoiler

 


class Sounds
        {
            class Idle_ext
            {
                sound[] = {"wog_vehicleSounds\SOUNDS\UMZ-421_UAZ-452\UMZ-421_UAZ-452_ext_IDLE", 1, 1, 150};
                frequency = "0.9 + ((rpm/7000) factor[(400/7000),(1150/7000)])*0.2";
                volume = "engineOn*camPos*(((rpm/7000) factor[(100/7000),(500/7000)])* ((rpm/7000) factor[(1100/7000),(900/7000)]))";
            };
            class Engine_ext
            {
                sound[] = {"wog_vehicleSounds\SOUNDS\UMZ-421_UAZ-452\UMZ-421_UAZ-452_ext_RPM0", 1, 1, 200};
                frequency = "0.8 + ((rpm/7000) factor[(900/7000),(2100/7000)])*0.2";
                volume = "engineOn*camPos*(((rpm/7000) factor[(870/7000),(1100/7000)])* ((rpm/7000) factor[(2100/7000),(1300/7000)]))";
            };
            class Engine1_ext
            {
                sound[] = {"wog_vehicleSounds\SOUNDS\UMZ-421_UAZ-452\UMZ-421_UAZ-452_ext_RPM1", 1, 1, 240};
                frequency = "0.8 + ((rpm/7000) factor[(1300/7000),(3100/7000)])*0.2";
                volume = "engineOn*camPos*(((rpm/7000) factor[(1250/7000),(2050/7000)])* ((rpm/7000) factor[(3100/7000),(2300/7000)]))";
            };

.

.

.

 

 

 


What should be a reason? Please, help! I don't want to make new sounds via soundshaders because of bugs and current soundset of thises classes doesn't meet my requirements, so i can't just rewrite vanilla soundshaders.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×