Hey guys. I'm trying to add really cool sound effects, I got the Audio Description made, however no sound is made. I even used the Advance Music addon as a reference for the sound source. Heres the Audio Description I used:
new AudioDescription(TC_SFX)
{
is3D = 0;
isLooping = 1;
loopcount = -1;
type = 8;
volume = 100;
};
Heres the console.txt:
Datablock Report:
Base: 424
Paint: 252
Add-Ons: 393
Music: 15
Total: 1084
*** CREATING MISSION
*** Stage 1 create
136 environmental resource files found
Regenerating file manifest
Got 1429 items in manifest, 0 files hashed
Can't post to master server in LAN game
Got connect request from IPX:00000000:000000000000:0
lan name = Blockhead
Connection established
Connected successfully, killing other pending connections
AUTHCHECK: Blockhead = LAN client -> LAN server, loading
CADD: 6352 local
+- bl_id = 999999
+- no auto admin
Can't post to master server in LAN game
*** New Mission
*** Phase 1: Download Datablocks & Targets
Received manifest and requested 1033 blobs. (396 duplicates removed)
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
Got non-CURLE_OK result on a request, result was 3 'URL using bad/illegal format or missing URL'
- Request was for ''
CDN Download finished
Authentication: SUCCESS
*** Phase 2: Download Ghost Objects
*** Phase 3: Mission Lighting
Mission lighting done
Blockhead spawned.
Unable to locate audio profile '0'
Window reactivating...
Window reactivating...
Window reactivating...
Window reactivating...
Issuing Disconnect packet.
Exporting server prefs
Exporting client prefs
Exporting client config
Shutting down the OpenGL display device...
Making the GL rendering context not current...
Deleting the GL rendering context...
Releasing the device context...
It doesn't have any errors, which is rather weird. The audio file type is .ogg, which is compatible with blockland. What am I doing wrong?
Heres the CS file:
function playsfx(%filename)
{
if(isFile("Add-Ons/Server_TCcoreAlpha/TimeControl stuff/sfx/" @ %filename @ ".ogg"))
{
if(alxIsPlaying($Client::PlayingMusic))
alxStop($Client::PlayingMusic);
$Client::PlayingMusic = alxCreateSource(TC_SFX, "Add-Ons/Server_TCCcoreAlpha/TimeControl stuff/" @ %filename @ ".ogg");
alxPlay($Client::PlayingMusic);
}
}
function stopsfx()
{
if(alxIsPlaying($Client::PlayingMusic))
alxStop($Client::PlayingMusic);
$Client::PlayingMusic = "";
}