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
Sound problem
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#11
RE: Sound problem

So I tested the script myself and use this script
PHP Code: (Select All)
PlaySoundAtEntity("WaterFlow""12_epoxy_flow.ogg""WaterStreamArea"1true); 
It worked.

[Image: the-cabin-in-the-woods-masked-people.jpg]
(This post was last modified: 07-23-2013, 02:14 PM by No Author.)
07-23-2013, 02:11 PM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#12
RE: Sound problem

(07-23-2013, 02:07 PM)GoranGaming Wrote: I used this line in one of my custom stories, it worked:

PlaySoundAtEntity("Water1", "12_epoxy_flow", "ParticleArea1", 0, true);

So try to remove the .snt extension

Did't work either. And i've tryed with .ogg .snt and without extension on both the area and particle. Nothing has worked

(07-23-2013, 02:11 PM)No Author Wrote: So I tested the script myself and use this script
PHP Code: (Select All)
PlaySoundAtEntity("WaterFlow""12_epoxy_flow.ogg""WaterStreamArea"1true); 
It worked.

Quess that's there is something wrong with my game or something, cuz that did't work either for me Sad

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-23-2013, 02:15 PM by Lizard.)
07-23-2013, 02:12 PM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#13
RE: Sound problem

Can you like give the screenshot of your "WaterStreamArea" ? I think that's the main problem. In the level editor.

[Image: the-cabin-in-the-woods-masked-people.jpg]
(This post was last modified: 07-23-2013, 02:16 PM by No Author.)
07-23-2013, 02:16 PM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#14
RE: Sound problem

It works now. For some reason i could't use the reload function in the develop enviroment. i had to restart game it self, and then it worked.

Anyway thanks for the help guys

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-23-2013, 02:19 PM by Lizard.)
07-23-2013, 02:17 PM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#15
RE: Sound problem

Wait so you didn't restart your game while changing the script ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
07-23-2013, 02:18 PM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#16
RE: Sound problem

(07-23-2013, 02:18 PM)No Author Wrote: Wait so you didn't restart your game while changing the script ?

Normally i use Debug Toolbar to reload maps in-game, and then it works. But for some reason it did't work this time

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-23-2013, 02:22 PM by Lizard.)
07-23-2013, 02:20 PM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#17
RE: Sound problem

(07-23-2013, 02:20 PM)ZereboO Wrote:
(07-23-2013, 02:18 PM)No Author Wrote: Wait so you didn't restart your game while changing the script ?

Normally i can reload it in-game, and then it works. But did't work this time

I don't think you can reload a script in-game. Restart your game every time you change the script( I don't know if it needs to restart or not. But that's what I do when change my script).

[Image: the-cabin-in-the-woods-masked-people.jpg]
(This post was last modified: 07-23-2013, 02:27 PM by No Author.)
07-23-2013, 02:22 PM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#18
RE: Sound problem

(07-23-2013, 02:22 PM)No Author Wrote:
(07-23-2013, 02:20 PM)ZereboO Wrote:
(07-23-2013, 02:18 PM)No Author Wrote: Wait so you didn't restart your game while changing the script ?

Normally i can reload it in-game, and then it works. But did't work this time

I don't think you can reload a script in-game. So you must restart your game every time you change the script.

I've done it in several maps before without any problems

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-23-2013, 02:23 PM by Lizard.)
07-23-2013, 02:23 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#19
RE: Sound problem

Yes, you can use the debug thing to reload scripts, that's how FG does it and that's how I always done it

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
07-23-2013, 04:43 PM
Website Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#20
RE: Sound problem

(07-23-2013, 04:43 PM)GoranGaming Wrote: Yes, you can use the debug thing to reload scripts, that's how FG does it and that's how I always done it

Yep. it's just fucked that it did not work this time. Well screw that it works now

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-23-2013, 09:13 PM by Lizard.)
07-23-2013, 09:13 PM
Find




Users browsing this thread: 3 Guest(s)