No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
RE: Sound problem
So I tested the script myself and use this script
PlaySoundAtEntity("WaterFlow", "12_epoxy_flow.ogg", "WaterStreamArea", 1, true);
It worked.
(This post was last modified: 07-23-2013, 02:14 PM by No Author.)
|
|
07-23-2013, 02:11 PM |
|
Lizard
Member
Posts: 174
Threads: 23
Joined: Jul 2012
Reputation:
5
|
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
PlaySoundAtEntity("WaterFlow", "12_epoxy_flow.ogg", "WaterStreamArea", 1, true);
It worked.
Quess that's there is something wrong with my game or something, cuz that did't work either for me
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 |
|
No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
RE: Sound problem
Can you like give the screenshot of your "WaterStreamArea" ? I think that's the main problem. In the level editor.
(This post was last modified: 07-23-2013, 02:16 PM by No Author.)
|
|
07-23-2013, 02:16 PM |
|
Lizard
Member
Posts: 174
Threads: 23
Joined: Jul 2012
Reputation:
5
|
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 |
|
No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
RE: Sound problem
Wait so you didn't restart your game while changing the script ?
|
|
07-23-2013, 02:18 PM |
|
Lizard
Member
Posts: 174
Threads: 23
Joined: Jul 2012
Reputation:
5
|
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 |
|
No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
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).
(This post was last modified: 07-23-2013, 02:27 PM by No Author.)
|
|
07-23-2013, 02:22 PM |
|
Lizard
Member
Posts: 174
Threads: 23
Joined: Jul 2012
Reputation:
5
|
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 |
|
GoranGaming
Member
Posts: 183
Threads: 30
Joined: Feb 2012
Reputation:
7
|
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 |
|
Lizard
Member
Posts: 174
Threads: 23
Joined: Jul 2012
Reputation:
5
|
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 |
|
|