[3D Sound] Playing external sounds in-game based on offsetted coords?
Has anyone succeded it?
Could be something really interesting and it wouldn't require too much extra-hacking with a proper sound library.
We could use SFML for example : https://www.sfml-dev.org/tutorials/2.0/audio-spatialization.php
Get the player coords
Vector3 pCoords, calculate the relative distance to the
Vector3 origin, get the
Vector3 resultand play the sound. Of course this should be used at last resort when internal game sounds are not sufficient and I can imagine the mayhem it would be if everyone starts initiating their own sound engine in every mod...
Forgot to say, I'm out of thermal paste and can't risk starting GTA V to try this out.
@AHK1221 Is there a specific mod of his that does that?
@Jitnaught idk he told me he knows how to do it tho.