Frictional Games Forum (read-only)
[MDL ED] EffectOnSound problem - 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: [MDL ED] EffectOnSound problem (/thread-22400.html)



EffectOnSound problem - Tomzzz - 08-12-2013

Ok so i downloaded flashlight model, opened it in model editor and ive gone to settings>user defined variables so.. the problem is that ive selected EffectOnSound and EffectOffSound but ingame i hear classic lantern sounds... any ideas how to fix this? or if anyone know how to put flashlight ( with sounds ) without overwriting lantern model, please tell me, Thanks..


RE: EffectOnSound problem - Statyk - 08-14-2013

I believe you have to change the settings in the game.cfg (or the full conversion's game.cfg). It looks like this:

<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 = ""
DisabledSound = ""
CastShadows = "false"
LowerOilSpeed = "0.08"
FadeLightOilAmount = "50"

/>