StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
146 stars 3 forks source link

Enhancement: Allow Trigger_Portal_Cleanser to use custom sounds. #1691

Open PRYZMwubs opened 6 months ago

PRYZMwubs commented 6 months ago

What would this enhancement be for?

Entity

Describe your enhancement suggestion in more detail

Full disclosure, I'm not sure whether this is a feature already in the engine and/or suggested already by anyone else. But, from some small amount of searching, it seems not to have been suggested yet so on the off chance that it isn't in/planned for the engine already, I wanted to suggest it here.

Currently, there is no way to create custom sounds for Trigger_Portal_Cleanser other than to overwrite the existing fizzler sound effects, which is not ideal if you have multiple custom fizzler types in a mod. What I'm proposing is a way of specifying which sounds that the trigger_portal_cleanser should use, similar to how func_tanktrain allows you to specify which sounds for it to use (screenshot example below.)

Screenshot 2023-12-19 215726

This would be extremely useful for sound designers who want to add an extra touch to their custom fizzlers with custom made SFX to match. At the very least, a way of disabling sound from Trigger_Portal_Cleanser and allowing mappers to add in their own ambient_generic entities to provide the sound for the fizzlers would be useful as well.