The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Phonograph and Waxroll Record
Then it must be the .snt file. Can you show it to us, please?
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
12-26-2012, 11:09 AM |
|
AGP
Senior Member
Posts: 448
Threads: 45
Joined: Dec 2012
Reputation:
23
|
RE: Phonograph and Waxroll Record
(12-26-2012, 11:09 AM)The chaser Wrote: Then it must be the .snt file. Can you show it to us, please?
This might sound silly, but how does one show the .snt file?
(This post was last modified: 12-26-2012, 06:39 PM by AGP.)
|
|
12-26-2012, 06:36 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Phonograph and Waxroll Record
Haha, I didn't mean that!
Open the .snt with Notepad++. There will be some text, copy and paste it I'm sure the .snt looks for the wrong file (wrong name, really).
Wait a sec, do you know how to make sounds? By what I can see the .ogg and the .snt have the same weight.
This is the link to the wiki on how to make .snt files:
http://wiki.frictionalgames.com/hpl2/tut...s[]=sounds
And this is how it should (more or less) look:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="swanlakephonograph.ogg</font> " />
</Main>
</SOUNDS>
<PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" />
</SOUNDENTITY>
THE OTHERWORLD (WIP)
Aculy iz dolan.
(This post was last modified: 12-26-2012, 06:49 PM by The chaser.)
|
|
12-26-2012, 06:45 PM |
|
AGP
Senior Member
Posts: 448
Threads: 45
Joined: Dec 2012
Reputation:
23
|
RE: Phonograph and Waxroll Record
(12-26-2012, 06:45 PM)The chaser Wrote: Haha, I didn't mean that!
Open the .snt with Notepad++. There will be some text, copy and paste it I'm sure the .snt looks for the wrong file (wrong name, really).
Wait a sec, do you know how to make sounds? By what I can see the .ogg and the .snt have the same weight.
This is the link to the wiki on how to make .snt files:
http://wiki.frictionalgames.com/hpl2/tut...s[]=sounds
And this is how it should (more or less) look:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="swanlakephonograph.ogg</font> " />
</Main>
</SOUNDS>
<PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" />
</SOUNDENTITY>
Yes, that's probably it. Never knew you did script for the snt file. It makes so much more sense now. I shall go attempt this scripting at once and report back.
Still doesn't seem to be playing. =/
(This post was last modified: 12-26-2012, 07:19 PM by AGP.)
|
|
12-26-2012, 06:53 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Phonograph and Waxroll Record
Try:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="swanlakephonograph.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0"
Interval="0" FadeEnd="False" FadeStart="False" Stream="False"
Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7"
Priority="5" />
</SOUNDENTITY>
I accidentaly copied something wrong. Obviously, replace the text in the .snt with this one
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
12-26-2012, 07:31 PM |
|
AGP
Senior Member
Posts: 448
Threads: 45
Joined: Dec 2012
Reputation:
23
|
RE: Phonograph and Waxroll Record
(12-26-2012, 07:31 PM)The chaser Wrote: Try:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="swanlakephonograph.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0"
Interval="0" FadeEnd="False" FadeStart="False" Stream="False"
Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7"
Priority="5" />
</SOUNDENTITY>
I accidentaly copied something wrong. Obviously, replace the text in the .snt with this one
Still not getting it to work. =/ Is there a possibility that something in the Level Editor didn't get connected correctly?
|
|
12-27-2012, 02:32 AM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Phonograph and Waxroll Record
Wait a sec, level editor? You don't have to use the sound thing, use the script and it will be fine although I don't really get what you mean.
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
12-29-2012, 04:21 PM |
|
AGP
Senior Member
Posts: 448
Threads: 45
Joined: Dec 2012
Reputation:
23
|
RE: Phonograph and Waxroll Record
Well, in the level editor for the script area around the phonograph. Maybe something isn't right there. The whole thing works fine, using the item on the phonograph and turning the crank for the phonograph, it's just the sound doesn't play.
|
|
12-29-2012, 06:40 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Phonograph and Waxroll Record
Well then, check names. Remain that in order to set a name you must hit ENTER. You know, that arrow at the center-right of the keyboard
If everything fails, you can send me the map, the script and the sound and I will fix it by my own
Oh: If there are map_cache, delete them.
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
12-29-2012, 06:51 PM |
|
AGP
Senior Member
Posts: 448
Threads: 45
Joined: Dec 2012
Reputation:
23
|
RE: Phonograph and Waxroll Record
(12-29-2012, 06:51 PM)The chaser Wrote: Well then, check names. Remain that in order to set a name you must hit ENTER. You know, that arrow at the center-right of the keyboard
If everything fails, you can send me the map, the script and the sound and I will fix it by my own
Oh: If there are map_cache, delete them.
I checked through the names, they all look good. Checked the hpl.log, but nothing came up, tried extending the script area around the phonograph, nothing happened. It's probably something incredibly obvious that's just being overlooked. =/
|
|
12-29-2012, 07:48 PM |
|
|