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
[SOLVED]Strange script problem
ide Offline
Junior Member

Posts: 20
Threads: 3
Joined: Oct 2010
Reputation: 0
#11
RE: Strange script problem

The areas are correct. The trigger is supposed to be different from area where the sound is played. The scream is meant to be heard from another room.
10-13-2010, 05:43 PM
Find
SLi78 Offline
Junior Member

Posts: 23
Threads: 6
Joined: Sep 2010
Reputation: 0
#12
RE: Strange script problem

(10-13-2010, 05:43 PM)ide Wrote: The areas are correct. The trigger is supposed to be different from area where the sound is played. The scream is meant to be heard from another room.
Ah OK, then it was my faultConfused
10-13-2010, 06:04 PM
Find
ide Offline
Junior Member

Posts: 20
Threads: 3
Joined: Oct 2010
Reputation: 0
#13
RE: Strange script problem

No problem.
Opened the .snt file I used and found these little properties:
<SOUNDENTITY>
  <SOUNDS>
      <Main>
        <Sound File="15_the_big_scream1.ogg" />
        <Sound File="15_the_big_scream2.ogg" />
        <Sound File="15_the_big_scream3.ogg" />
      </Main>
  </SOUNDS>
  <PROPERTIES Volume="0.5" MinDistance="20" MaxDistance="120" Random="0.5" Interval="60" FadeEnd="False" FadeStart="False" Stream="False" Loop="True" Use3D="True" Blockable="False" BlockVolumeMul="0.8" Priority="0" />
</SOUNDENTITY>
Random="0.5"
Interval="60"
Loop="True"
Could the bolded parts be the reason for the strange behavior? Random would explain why the sound wasn't always heard and loop + interval could explain why I heard the sound randomly.

If this is the case could someone tell how I can use custom .snt in my custom story?
10-13-2010, 06:24 PM
Find




Users browsing this thread: 2 Guest(s)