Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]Strange script problem
Author Message
ide Offline
Junior Member

Posts: 20
Joined: Oct 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
SLi78 Offline
Junior Member

Posts: 23
Joined: Sep 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
ide Offline
Junior Member

Posts: 20
Joined: Oct 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)