Skip to content

Conversation

@KABoissonneault
Copy link
Collaborator

This can be used for custom enemies to pass new sounds in EnemySounds (ex: by providing 1000.mp3 and using 1000 as the attack sound in its Mobile structure). The value is forwarded to SoundReplacement, which handles non-standard values just fine.

I added some extra sanitization for negative numbers in BsaFile, because SoundClips.None is -1, which is often used as a default.

…sed for custom enemies to pass new sounds in EnemySounds
@Interkarma
Copy link
Owner

This is good, thank you Kab. :)

@Interkarma Interkarma merged commit 2b150e8 into Interkarma:master Jun 18, 2023
@KABoissonneault KABoissonneault deleted the feat/custom-sounds branch January 29, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants