![]() |
[CONFIG] Lantern --> FlashLight --> Resources error :/ FIXED!! NVM THIS THREAD - 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: [CONFIG] Lantern --> FlashLight --> Resources error :/ FIXED!! NVM THIS THREAD (/thread-14823.html) |
Lantern --> FlashLight --> Resources error :/ FIXED!! NVM THIS THREAD - jessehmusic - 04-15-2012 hey i'v tryed to add flashlight instead but get some error <Resources> <Directory Path="/_temp" AddSubDirs="true" /> <Directory Path="/fonts" AddSubDirs="false" /> <Directory Path="/maps" AddSubDirs="true" /> <Directory Path="/textures" AddSubDirs="true" /> <Directory Path="/models" AddSubDirs="true" /> <Directory Path="/gui" AddSubDirs="true" /> <Directory Path="/static_objects" AddSubDirs="true" /> <Directory Path="/sounds" AddSubDirs="true" /> <Directory Path="/main_menu" AddSubDirs="true" /> <Directory Path="/shaders" AddSubDirs="true" /> <Directory Path="/lights" AddSubDirs="true" /> <Directory Path="/billboards" AddSubDirs="true" /> <Directory Path="/entities" AddSubDirs="true" /> <Directory Path="/graphics" AddSubDirs="true" /> <Directory Path="/viewer" AddSubDirs="true" /> <Directory Path="/particles" AddSubDirs="true" /> <Directory Path="/test_mod/wn_models" AddSubDirs="true" /> <Directory Path="/music" AddSubDirs="true" /> <Directory Path="/flashbacks" AddSubDirs="true" /> <Directory Path="/textures" AddSubDirs="true" /> <Directory Path="/misc" AddSubDirs="true" /> <Directory Path="/commentary" AddSubDirs="true" /> <Directory Path="/custom_stories" AddSubDirs="true" /> <Directory Path="/test_mod/wn_sounds" AddSubDirs="true" /> </Resources> followed this tutorial : http://www.moddb.com/mods/white-night/tutorials/how-to-create-a-total-conversion-mod-without-changing-original-game-files any clue why it dosnt work ??? RE: Lantern --> FlashLight --> Resources error :/ - Statyk - 04-16-2012 Can you tell us the error? Or when it occurs? RE: Lantern --> FlashLight --> Resources error :/ - jessehmusic - 04-16-2012 (04-16-2012, 01:32 AM)Statyk Wrote: Can you tell us the error? Or when it occurs?dont get error anymore , the lantern keeps pop up :/ here is the new resc <Resources> <Directory Path="/_temp" AddSubDirs="true" /> <Directory Path="/fonts" AddSubDirs="false" /> <Directory Path="/maps" AddSubDirs="true" /> <Directory Path="/textures" AddSubDirs="true" /> <Directory Path="/test_mod/wn_models" AddSubDirs="true" /> <Directory Path="/gui" AddSubDirs="true" /> <Directory Path="/static_objects" AddSubDirs="true" /> <Directory Path="/sounds" AddSubDirs="true" /> <Directory Path="/test_mod/wn_sounds" AddSubDirs="true" /> <Directory Path="/main_menu" AddSubDirs="true" /> <Directory Path="/shaders" AddSubDirs="true" /> <Directory Path="/lights" AddSubDirs="true" /> <Directory Path="/billboards" AddSubDirs="true" /> <Directory Path="/entities" AddSubDirs="true" /> <Directory Path="/graphics" AddSubDirs="true" /> <Directory Path="/viewer" AddSubDirs="true" /> <Directory Path="/particles" AddSubDirs="true" /> <Directory Path="/models" AddSubDirs="true" /> <Directory Path="/music" AddSubDirs="true" /> <Directory Path="/flashbacks" AddSubDirs="true" /> <Directory Path="/textures" AddSubDirs="true" /> <Directory Path="/misc" AddSubDirs="true" /> <Directory Path="/commentary" AddSubDirs="true" /> <Directory Path="/custom_stories" AddSubDirs="true" /> <Directory Path="/test_mod" AddSubDirs="true" /> </Resources> RE: Lantern --> FlashLight --> Resources error :/ - jessehmusic - 04-16-2012 okey i finally made the flashlight to work , but the sound from the old lantern is still there?! how i fix that ?! <Resources> <Directory Path="/_temp" AddSubDirs="true" /> <Directory Path="/fonts" AddSubDirs="false" /> <Directory Path="/maps" AddSubDirs="true" /> <Directory Path="/textures" AddSubDirs="true" /> <Directory Path="/hoh_models" AddSubDirs="true" /> <Directory Path="/gui" AddSubDirs="true" /> <Directory Path="/static_objects" AddSubDirs="true" /> <Directory Path="/test_mod oh_sound " AddSubDirs="true" /> <Directory Path="/sounds" AddSubDirs="true" /> <Directory Path="/main_menu" AddSubDirs="true" /> <Directory Path="/shaders" AddSubDirs="true" /> <Directory Path="/lights" AddSubDirs="true" /> <Directory Path="/billboards" AddSubDirs="true" /> <Directory Path="/entities" AddSubDirs="true" /> <Directory Path="/graphics" AddSubDirs="true" /> <Directory Path="/viewer" AddSubDirs="true" /> <Directory Path="/particles" AddSubDirs="true" /> <Directory Path="/hoh_models" AddSubDirs="true" /> <Directory Path="/music" AddSubDirs="true" /> <Directory Path="/flashbacks" AddSubDirs="true" /> <Directory Path="/textures" AddSubDirs="true" /> <Directory Path="/misc" AddSubDirs="true" /> <Directory Path="/commentary" AddSubDirs="true" /> <Directory Path="/custom_stories" AddSubDirs="true" /> <Directory Path="/test_mod" AddSubDirs="true" /> </Resources> how do i fix the freaking sound?! RE: Lantern --> FlashLight --> Resources error :/ - MrIcabod123 - 04-16-2012 First download the flashlight sound mod, make a new folder in the test_mod/sounds/ directory named ui then make .snt files for those sounds (all in the same folder). Then you must change what sound will play in the game.cfg file. (So the final directory should look like this: test_mod/sounds/ui/sounds here) If you have White Night installed, it makes the process a lot easier as the sounds are already there and you can just copy/paste into your sounds folder, and copy/paste the code in the game.cfg (just give credit where it`s due). I`m in class right now, I could post the code when I get home. RE: Lantern --> FlashLight --> Resources error :/ - jessehmusic - 04-16-2012 (04-16-2012, 05:06 PM)MrIcabod123 Wrote: First download the flashlight sound mod, make a new folder in the test_mod/sounds/ directory named ui then make .snt files for those sounds (all in the same folder). Then you must change what sound will play in the game.cfg file. (So the final directory should look like this: test_mod/sounds/ui/sounds here)Please post code when you get home ![]() not sure i will make it , first mode i make okey i tried make it , still no sound :S RE: Lantern --> FlashLight --> Resources error :/ - MrIcabod123 - 04-16-2012 Ok so make sure you have your game.cfg file ready and you did the sound thing I said earlier. Open it up with NotePad++ and go to line 290-302 delete what it says and paste this: <Player_Lantern Color="0.88 0.82 0.40 0.8" Radius = "0.0001" Gobo = "flashlight.tga" LocalOffset = "0.3 -0.3 -0.1" TurnOnSound = "ui_flashlight_on" TurnOffSound = "ui_flashlight_off" OutOfOilSound = "ui_flashlight_off" DisabledSound = "" CastShadows = "false" LowerOilSpeed = "0.25" FadeLightOilAmount = "10" /> You can change some of the values if you want, and if it doesn't work let me know. |