Frictional Games Forum (read-only)
Bizarre Music Error - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Bizarre Music Error (/thread-20148.html)

Pages: 1 2


RE: Bizarre Music Error - AGP - 02-03-2013

(02-03-2013, 03:27 AM)JustAnotherPlayer Wrote: I think i found the problem.
It should have been:
PHP Code:
PlaySoundAtEntity("Player""hallking.snt""hallking_area"0.5false); 
]
NOT
PHP Code:
PlaySoundAtEntity("HallKing""hallking.snt""hallking_area"0.5false); 
Or if that didn't work, delete the void OnLeave and OnEnter. And wasn't it supposed to be 0.0, not 0.5?

Neither worked.

I'm wondering if maybe the sound file is corrupt or something, because I've been copying and pasting scripts that work from previous files and just exchanging names. I've reviewed all the names multiple times, but nothing is out of place with them.

EDIT:
I attempted to change the music to see if it was a corrupt file and no. It just doesn't play.


RE: Bizarre Music Error - PutraenusAlivius - 02-03-2013

Here, try the .hps that i've made. If it didn't work, your .ogg file may be corrupted or your sound isn't in your /redist/sounds folder.
http://www.mediafire.com/?5453kakyq77cxx7


RE: Bizarre Music Error - AGP - 02-03-2013

(02-03-2013, 03:54 AM)JustAnotherPlayer Wrote: Here, try the .hps that i've made. If it didn't work, your .ogg file may be corrupted or your sound isn't in your /redist/sounds folder.
http://www.mediafire.com/?5453kakyq77cxx7

I used your hps file and it didn't work, so I just went and restarted the computer and guess what! It works now.

When in doubt: try turning it off and on again.

Thank you very much for your help! =D The music now plays and work can continue!


RE: Bizarre Music Error - No Author - 02-03-2013

Just asking, did you save the script before you run the game ?


RE: Bizarre Music Error - AGP - 02-03-2013

(02-03-2013, 05:18 AM)No Author Wrote: Just asking, did you save the script before you run the game ?

Yep. Always do, and then I reload the map to make sure saves went through.


RE: Bizarre Music Error - The chaser - 02-03-2013

Map caches, pls-is there any .map_cache? If you save the script and map and there isn't any change, it's possibly because of that.


RE: Bizarre Music Error - No Author - 02-03-2013

(02-03-2013, 11:55 AM)The chaser Wrote: Map caches, pls-is there any .map_cache? If you save the script and map and there isn't any change, it's possibly because of that.

I thought map_caches only effect maps. But scripts too ?


RE: Bizarre Music Error - The chaser - 02-03-2013

yeah, they affect scripts too, but at their way:

When the script is compiled, it applies itself to the map. As the .map_cache determines how the map is, the script cannot change what there was.

For more information, read this:

http://www.frictionalgames.com/forum/thread-19933.html