Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
tryteyker

ArmA and special characters

Recommended Posts

Hey,

been running into another issue recently. I'm trying to play a sound from the root mission folder with playSound3D. The issue isn't that playsound3d is unable to read from the mission root folder, but rather special characters. Here's the snippet that's proving to be an issue:

_soundPath = [(str missionConfigFile), 0, -15] call BIS_fnc_trimString; 
_soundToPlay = _soundpath + "sounds\siren.wss";
sleep .1;
hint str(_soundtoplay);
playSound3D [_soundToPlay,_car, false, getpos _car, 20, 1, 50];

The hint returns the following value:

C:\Users\S ren\Documents\pathuptomissionfolderblabla\sounds\siren.wss

Now initially my profile name is Søren. It's obvious that ArmA isn't able to read these characters, and I wasn't expecting it to - however I was kind of expecting it to find the path anyway and be able to play the sound. It doesn't, however. I'm fairly certain that the issue's lying within the special character, as the sound was properly converted to .wss from .wav using the ArmA3 tools, and the original .wav plays perfectly fine. No errors being thrown at me or anything, just doesn't play. Any ideas?

EDIT

As expected, ArmA fails at reading special characters. Time to change my profile name, then!

Edited by tryteyker

Share this post


Link to post
Share on other sites
Sign in to follow this  

×