View Issue Details

IDProjectCategoryView StatusLast Update
0006007DarkRadiantSound Systempublic22.07.2022 10:18
ReporterFrost_Salamander Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSWindowsOS Version10
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0006007: 'Reload Sounds' doesn't load new FM sound shader definitions
DescriptionI would expect 'Reload Sounds' to reload new sound shaders added to an FM folder, but it doesn't seem to do this. You need to restart DR before you can use them.

There are no errors/warnings in the console, just something like this:

[DeclParser] Parsed SoundShader declarations in 0.0445001 seconds
3152 sound shaders found.
Steps To Reproduce1. In your FM folder, add a new sound shader definition in sounds/<map name>.sndshd
2. in DR, choose File -> Reload Sounds
3. add a new speaker to a map, and look for the new sound shader. It won't be there
4. restart DR and retry step 3. The new sound shader will be where you expect it to be

If it's of any relevance:
- all of my custom sound shaders are in the same file in the FM 'sound' folder
- they all have this line in them: editor_displayFolder map_specific
Additional Informationhere's a sound shader I used:

city_sounds_dogs_fs
{
    editor_displayFolder map_specific
    minDistance 999999
    maxDistance 999999
    volume 1

    sound/ambient/environmental/animal_dog01.ogg
    sound/ambient/environmental/animal_dog02.ogg
    sound/ambient/environmental/animal_dog_twobarking01.ogg
}
TagsNo tags attached.

Relationships

related to 0005977 resolvedgreebo Improve Declaration Block Parsing 

Activities

greebo

greebo

22.07.2022 05:36

administrator   ~0015069

This is going to be resolved when 0005977 is merged into master

Issue History

Date Modified Username Field Change
13.07.2022 18:00 Frost_Salamander New Issue
13.07.2022 18:01 Frost_Salamander Steps to Reproduce Updated
15.07.2022 17:06 greebo Status new => acknowledged
22.07.2022 05:33 greebo Relationship added related to 0005977
22.07.2022 05:36 greebo Assigned To => greebo
22.07.2022 05:36 greebo Status acknowledged => assigned
22.07.2022 05:36 greebo Note Added: 0015069
22.07.2022 05:36 greebo Target Version => 3.1.0
22.07.2022 10:18 greebo Status assigned => resolved
22.07.2022 10:18 greebo Resolution open => fixed
22.07.2022 10:18 greebo Fixed in Version => 3.1.0