So, writing my Extended Compass mod, I noticed that colored text doesn't get recognized as a valid string to play their associated player voice sounds. (like argh!, nice shot, sorry, etc.) I know why, it's because of the formatting that goes before the actual text, which causes it not to match the valid ones.
So, one of my ideas was to simply show the text, AND play the voice manually with a command, but after an hour of looking through commands and referencing vanilla RE files, I can't figure out how it's done. Is there a command, or a set of commands I can use? Other than including a modified voices.cfg file with my mod, I'm really not sure how else to go about this. I'd rather not do that, but I will if there's no other way.