ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
224 stars 25 forks source link

Compile Pal doesn't pack sounds using special operators #46

Closed Rawrington closed 6 years ago

Rawrington commented 6 years ago

In soundscripts/soundscapes? (not sure about this one with #)/ambient_generic sounds theres 2 special operators/prefixes that can be added to sounds: '*' forces the sound to precache at the start of the map (and is required for mp3s in CS:GO iirc) '#' makes the sound obey the music volume slider in CS:S and other related games. While I haven't tested '*' Compile Pal will currently not pack ambient_generics with the '#' operator, and (I assume) it won't pack soundscripts/scapes using the same operator.

maxdup commented 6 years ago

I will be taking care of that thanks

Rawrington commented 6 years ago

Just looked at the code, and you seem to have missed that the '*' and '#' operators work within ambient_generic entities meaning these currently don't get automatically packed in compile pal.

maxdup commented 6 years ago

ah yes you're right, I only implemented the operators for soundscapes and soundscripts. Thanks for pointing that out.

maxdup commented 6 years ago

Should be fixed for good now, we'll try to get v26 out soonish (valve time). c664be5