Frictional Games Forum (read-only)

Full Version: changing the sounds of the Flashlight
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I have the flashlight model for Amnesia and the Penumbra flashlight sound files...

How do i change it so you hear the original flashlight sounds.
(09-22-2011, 06:25 PM)ZyLogicX Wrote: [ -> ]So I have the flashlight model for Amnesia and the Penumbra flashlight sound files...

How do i change it so you hear the original flashlight sounds.
I think you should take a look at where you placed your flashlight in the Amnesia game directory. And looking for the sound of the flashlight that you want to replace. Must be an .ogg file.

After that, replace it by the new sound you want (in .ogg too) and it should work. Don't forget to put all the custom models, sounds, entities, textures etc... in your custom story directory.

Peace !

In configuration file, there are lines respect to lantern sounds. You can change them there.
(09-22-2011, 08:07 PM)Tanshaydar Wrote: [ -> ]In configuration file, there are lines respect to lantern sounds. You can change them there.
What configuration file?
Since you are doing a full conversion, you can specify a custom game.cfg, and settings are in it.
I changed the sounds in the configuration file made an .snt for the .ogg files, but when I use the flashlight, it still doesnt work.

This is what is in the .snt file

<SOUNDENTITY>
<MAIN MainSound="ui_flashlight_on" StartSound="" StopSound="" />
<PROPERTIES Volume="0.5" MinDistance="1" MaxDistance="2" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="False" Blockable="False" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>

and in the game.cfg file is this:

TurnOnSound = "ui_flashlight_on"
TurnOffSound = "ui_flashlight_off"
OutOfOilSound = "ui_flashlight_nopower"

What is wrong?


<Player_Lantern

Color="0.88 0.82 0.40 0.8"
Radius = "0.0001"
Gobo = ""
LocalOffset = "0.3 -0.3 -0.1"
TurnOnSound = "ui_flashlight_on"
TurnOffSound = "ui_flashlight_off"
OutOfOilSound = "ui_flashlight_nopower"
DisabledSound = ""
CastShadows = "false"
LowerOilSpeed = "0.23"
FadeLightOilAmount = "10"

Does it have something to do with lantern at <Player_lantern ?