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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting issues: sounds & other.
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#3
RE: Scripting issues: sounds & other.

(08-30-2011, 07:33 PM)Enexeus Wrote: Some sounds won't play, for example the scare_baby one, the piano one, the wind one, ...
Some others do play, such as the sounds with the doorslam.

Now, why won't it work? I've looked at the .snt file of e.g. the pianosound and it has a big range and 1,00 sound volume. Loud enough for me to hear it, right?
void OnPickup(string &in asEntity, string &in type)
{
     PlaySoundAtEntity("", "Pianosound_1.snt", "piano_01", 0, false);
     FadeInSound("Pianosound_1.snt", 0, true);
     SetEntityActive("wind_1", true);
     }
I noticed that you have "Pianosound_1.snt". You may have imported your own sounds, I don't know. But if you didnt...
I looked into the sounds > general > "general_piano01.snt" is probally the one you want.

So check up on the rest of them and make sure their names match up correctly.

(08-30-2011, 07:33 PM)Enexeus Wrote: Another thing, in the waking up script the screen starts shaking heavily. My starterarea box is on the ground, not in any object.

Any thoughts? Thanks so much!

-Enexeus
Didn't see any StartScreenShake function in their. Not sure if their is another function that shakes the screen though.
08-30-2011, 08:13 PM
Find


Messages In This Thread
Scripting issues: sounds & other. - by Enexeus - 08-30-2011, 07:33 PM
RE: Scripting issues: sounds & other. - by Rapture - 08-30-2011, 08:13 PM
RE: Scripting issues: sounds & other. - by Juby - 08-30-2011, 10:43 PM



Users browsing this thread: 1 Guest(s)