New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sound_effect property doesn't seem to work with helicopters #8348
Comments
It's not a NML limitation (see GRF specs) |
Apparently "sound_effect" is intentionally ignored for helicopters: https://newgrf-specs.tt-wiki.net/wiki/Action0/Vehicles/Planes#Sound_effect_.2812.29 You can use the sound_effect callback though: |
So if I edit the wiki to remove that part, does that magically fix anything? :) |
The default value of the property is the aircraft sounds. So if you remove the "helicopter" condition, most NewGRF helicopters will play the aircraft take-off sound. |
Possible solution in #8347 |
Changing the takeoff sound for helicopters using the sound_effect property doesn't seem to work. I've tried the same code with other vehicles including regular aircraft and it only fails when setting the aircraft to helicopter. Using a callback as a workaround works fine though.
The text was updated successfully, but these errors were encountered: