05-21-2014, 06:05 AM
Well, I added the flashlight and all the jazz to my mod and the audio samples for the lantern on/off sound just fine out of game but when I activate them in-game, they produce a rush like noise on top of the audio sample. I have never had this problem before when I had tinkered with it and not sure how else to explain it. It also seems to happen in White Night, or from what I heard in the flashlight demonstration video.
I've checked the game.cfg and everything looks fine as well as the .snt files for the ui. Anyone have any suggestions?
Here is the section for the lantern in the game.cfg
<Player_Lantern
Color="0.88 0.82 0.40 0.8"
Radius = "0.0001"
Gobo = ""
LocalOffset = "0.3 -0.3 -0.1"
TurnOnSound = "ui_lantern_on"
TurnOffSound = "ui_lantern_off"
OutOfOilSound = "ui_lantern_off"
DisabledSound = ""
CastShadows = "true"
LowerOilSpeed = "0.23"
FadeLightOilAmount = "10"
/>
and the .snt files
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="ui_lantern_on" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.8" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="ui_lantern_off" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
I've checked the game.cfg and everything looks fine as well as the .snt files for the ui. Anyone have any suggestions?
Here is the section for the lantern in the game.cfg
<Player_Lantern
Color="0.88 0.82 0.40 0.8"
Radius = "0.0001"
Gobo = ""
LocalOffset = "0.3 -0.3 -0.1"
TurnOnSound = "ui_lantern_on"
TurnOffSound = "ui_lantern_off"
OutOfOilSound = "ui_lantern_off"
DisabledSound = ""
CastShadows = "true"
LowerOilSpeed = "0.23"
FadeLightOilAmount = "10"
/>
and the .snt files
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="ui_lantern_on" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.8" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="ui_lantern_off" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>