Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configuration Files Help Lantern --> FlashLight --> Resources error :/ FIXED!! NVM THIS THREAD
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
Exclamation  Lantern --> FlashLight --> Resources error :/ FIXED!! NVM THIS THREAD

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/tu...game-files


any clue why it dosnt work ???

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 04-17-2012, 11:09 AM by jessehmusic.)
04-15-2012, 07:53 PM
Website Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Lantern --> FlashLight --> Resources error :/

Can you tell us the error? Or when it occurs?
04-16-2012, 01:32 AM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#3
RE: Lantern --> FlashLight --> Resources error :/

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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-16-2012, 07:14 AM
Website Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#4
RE: Lantern --> FlashLight --> Resources error :/

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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-16-2012, 09:04 AM
Website Find
MrIcabod123 Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jan 2012
Reputation: 0
#5
RE: Lantern --> FlashLight --> Resources error :/

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.
04-16-2012, 05:06 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#6
RE: Lantern --> FlashLight --> Resources error :/

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



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.
Please post code when you get home Smile
not sure i will make it , first mode i make

okey i tried make it , still no sound :S

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
(This post was last modified: 04-16-2012, 06:39 PM by jessehmusic.)
04-16-2012, 05:08 PM
Website Find
MrIcabod123 Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jan 2012
Reputation: 0
#7
RE: Lantern --> FlashLight --> Resources error :/

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.
(This post was last modified: 04-16-2012, 08:34 PM by MrIcabod123.)
04-16-2012, 08:32 PM
Find




Users browsing this thread: 3 Guest(s)