Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bizarre Music Error
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#11
RE: Bizarre Music Error

(02-03-2013, 03:27 AM)JustAnotherPlayer Wrote: I think i found the problem.
It should have been:
PHP Code: (Select All)
PlaySoundAtEntity("Player""hallking.snt""hallking_area"0.5false); 
]
NOT
PHP Code: (Select All)
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.

(This post was last modified: 02-03-2013, 03:53 AM by AGP.)
02-03-2013, 03:46 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#12
RE: Bizarre Music Error

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

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-03-2013, 03:54 AM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#13
RE: Bizarre Music Error

(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!

02-03-2013, 04:18 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#14
RE: Bizarre Music Error

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

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 05:18 AM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#15
RE: Bizarre Music Error

(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.

02-03-2013, 05:20 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#16
RE: Bizarre Music Error

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.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
02-03-2013, 11:55 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#17
RE: Bizarre Music Error

(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 ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-03-2013, 12:00 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#18
RE: Bizarre Music Error

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

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
02-03-2013, 12:20 PM
Find




Users browsing this thread: 1 Guest(s)