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
Phonograph and Waxroll Record
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#11
RE: Phonograph and Waxroll Record

Then it must be the .snt file. Can you show it to us, please?

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-26-2012, 11:09 AM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#12
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
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#13
RE: Phonograph and Waxroll Record

Haha, I didn't mean that! Big Grin

Open the .snt with Notepad++. There will be some text, copy and paste it Wink 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)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 12-26-2012, 06:49 PM by The chaser.)
12-26-2012, 06:45 PM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#14
RE: Phonograph and Waxroll Record

(12-26-2012, 06:45 PM)The chaser Wrote: Haha, I didn't mean that! Big Grin

Open the .snt with Notepad++. There will be some text, copy and paste it Wink 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
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#15
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 Wink

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-26-2012, 07:31 PM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#16
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 Wink

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
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#17
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 Wink although I don't really get what you mean.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-29-2012, 04:21 PM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#18
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
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#19
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 Big Grin
If everything fails, you can send me the map, the script and the sound and I will fix it by my own Wink

Oh: If there are map_cache, delete them.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-29-2012, 06:51 PM
Find
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#20
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 Big Grin
If everything fails, you can send me the map, the script and the sound and I will fix it by my own Wink

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
Find




Users browsing this thread: 4 Guest(s)