Frictional Games Forum (read-only)
changing the sounds of the Flashlight - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: changing the sounds of the Flashlight (/thread-10437.html)



changing the sounds of the Flashlight - ZyLogicX - 09-22-2011

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.


RE: changing the sounds of the Flashlight - Pr3d4t0r - 09-22-2011

(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 !




RE: changing the sounds of the Flashlight - Tanshaydar - 09-22-2011

In configuration file, there are lines respect to lantern sounds. You can change them there.


RE: changing the sounds of the Flashlight - ZyLogicX - 09-22-2011

(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?


RE: changing the sounds of the Flashlight - Tanshaydar - 09-22-2011

Since you are doing a full conversion, you can specify a custom game.cfg, and settings are in it.


RE: changing the sounds of the Flashlight - ZyLogicX - 09-23-2011

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 ?