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
Script Help Music playing while file not on my computer.
MrIcabod123 Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jan 2012
Reputation: 0
Music playing while file not on my computer.

Hey guys, I guess you can infer from the title what my problem is; I have music playing when I start the map, yet the music file isn't on my computer. It used to work fine, I would enter a room and the music would start, very simple, yet all of a sudden it started playing on start up, without even being close to the script zone. I then deleted the function, script zone, and Callback, yet it was still playing. I then removed the file from my computer completely, but it still plays.

If anyone could help me it would be greatly appreciated.


(Here's the .hps file if it helps)

Spoiler below!

void OnStart()
AddUseItemCallback("", "Sec_Blue_1", "Security_Panel_3", "Unlock_Door_1", true);
AddEntityCollideCallback("Player", "Death", "Fall", false, 1);
AddEntityCollideCallback("Player", "Music_1", "MusicPlay_1", true, 1);
AddEntityCollideCallback("Player", "intro", "cr1", true, 1);

void cr1(string &in asParent, string &in asChild, int alState)
PlaySoundAtEntity("", "general_speaker_noise.snt", "Player", 0, false);
PlaySoundAtEntity("", "CR_1.snt", "Player", 0, false);

void Unlock_Door_1(string &in asItem, string &in asEntity)
SetSwingDoorLocked("door_infected_1", false, true);
PlaySoundAtEntity("", "Security_Slide_1.snt", "door_infected_1", 0, false);

void MusicPlay_1(string &in asParent, string &in asChild, int alState)
PlayMusic("Penumbra_BP_A15.ogg", true, 2, 3, 0, true);

void Fall(string &in asParent, string &in asChild, int alState)
GivePlayerDamage(200, "Fall", true, true);
CheckPoint("checkpoint1","CP_1","", "", "");

04-28-2012, 12:21 AM
Find Reply

Messages In This Thread
Music playing while file not on my computer. - by MrIcabod123 - 04-28-2012, 12:21 AM

Users browsing this thread: 1 Guest(s)