Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configuration Files Help Mod Error
Author Message
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #11
RE: Mod Error
(04-14-2012 09:51 PM)Your Computer Wrote:  Not sure if a forward slash is required in front of every path, but your resources.cfg file doesn't list the original gui folder. I highly doubt you created your own gui, so that could be one of the reasons why the game is crashing.
i copied

here is the rar

http://www.mediafire.com/?3vkokyzltbptsyw

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-14-2012 09:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,235
Joined: Jul 2011
Reputation: 215
Post: #12
RE: Mod Error
The issue is that you don't have the original gui and graphics folder listed in your resources.cfg file.

Tutorials: From Noob to Pro
04-14-2012 10:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #13
RE: Mod Error
(04-14-2012 10:14 PM)Your Computer Wrote:  The issue is that you don't have the original gui and graphics folder listed in your resources.cfg file.
so what i have to do?

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-14-2012 10:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
SilentStriker Offline
Posting Freak

Posts: 939
Joined: Jul 2011
Reputation: 39
Post: #14
RE: Mod Error
Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.

04-14-2012 10:19 PM
Find all posts by this user Quote this message in a reply
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #15
RE: Mod Error
(04-14-2012 10:19 PM)SilentStriker Wrote:  Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.
still error


<Resources>
<Directory Path="/_temp" AddSubDirs="true" />
<Directory Path="/fonts" AddSubDirs="false" />
<Directory Path="/maps" AddSubDirs="true" />
<Directory Path="/test_mod/maps" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/models" AddSubDirs="true" />
<Directory Path="/gui" AddSubDirs="true" />
<Directory Path="/test_mod/gui" AddSubDirs="true" />
<Directory Path="/static_objects" AddSubDirs="true" />
<Directory Path="/test_mod/static_objects" AddSubDirs="true" />
<Directory Path="/sounds" AddSubDirs="true" />
<Directory Path="/test_mod/sounds" AddSubDirs="true" />
<Directory Path="/main_menu" AddSubDirs="true" />
<Direcatry Path="/test_mod/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="/test_mod/entities" AddSubDirs="true" />
<Directory Path="/graphics" AddSubDirs="true" />
<Directory Path="/test_mod/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="/test_mod/music"AddSubDirs="true" />
<Directory Path="/flashbacks" AddSubDirs="true" />
<Directory Path="/test_mod/flashbacks" AddSubDirs="true" />
<Directory Path="/textures" AddSubDirs="true" />
<Directory Path="/test_mod/textures" AddSubDirs="true" />
<Directory Path="/misc" AddSubDirs="true" />
<Directory Path="/commentary" AddSubDirs="true" />
<Directory Path="/test_mod/commentary" AddSubDirs="true" />

</Resources>

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-14-2012 10:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cranky Old Man Offline
Posting Freak

Posts: 925
Joined: Apr 2012
Reputation: 37
Post: #16
RE: Mod Error
(04-14-2012 09:49 PM)jessehmusic Wrote:  
(04-14-2012 09:47 PM)Cranky Old Man Wrote:  http://wiki.frictionalgames.com/hpl2/amn...evenvguide
"8. In order to avoid running into “File index out of bounds” errors when
designing your custom story in the level editor, edit the file resources.cfg located in the root the directory of Amnesia (i.e. where Amnesia is installed) and add the custom_stories directory to the list."
what you mean?
This is how my resources.cfg looks:

Spoiler below!
<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="/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" />
</Resources>




First:
I already told you to add this line - do it:
<Directory Path="/custom_stories" AddSubDirs="true" />

Second:
"Direcatry"


(04-14-2012 10:19 PM)SilentStriker Wrote:  Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.
He only added the following lines:
Spoiler below!

<Directory Path="/test_mod/maps" AddSubDirs="true" />
<Directory Path="/test_mod/gui" AddSubDirs="true" />
<Directory Path="/test_mod/static_objects" AddSubDirs="true" />
<Directory Path="/test_mod/sounds" AddSubDirs="true" />
<Direcatry Path="/test_mod/main_menu" AddSubDirs="true" />
<Directory Path="/test_mod/entities" AddSubDirs="true" />
<Directory Path="/test_mod/graphics" AddSubDirs="true" />
<Directory Path="/test_mod/music"AddSubDirs="true" />
<Directory Path="/test_mod/flashbacks" AddSubDirs="true" />
<Directory Path="/test_mod/textures" AddSubDirs="true" />
<Directory Path="/test_mod/commentary" AddSubDirs="true" />


The only folder missing is the custom_stories folder which he forgot to add.


Also, instead of all these new directory paths, why don't you just add this line?
<Directory Path="/test_mod" AddSubDirs="true" />

Noob scripting tutorial: From Noob to Pro

(This post was last modified: 04-14-2012 10:53 PM by Cranky Old Man.)
04-14-2012 10:35 PM
Find all posts by this user Quote this message in a reply
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #17
RE: Mod Error
(04-14-2012 10:35 PM)Cranky Old Man Wrote:  
(04-14-2012 09:49 PM)jessehmusic Wrote:  
(04-14-2012 09:47 PM)Cranky Old Man Wrote:  http://wiki.frictionalgames.com/hpl2/amn...evenvguide
"8. In order to avoid running into “File index out of bounds” errors when
designing your custom story in the level editor, edit the file resources.cfg located in the root the directory of Amnesia (i.e. where Amnesia is installed) and add the custom_stories directory to the list."
what you mean?
This is how my resources.cfg looks:

Spoiler below!




First:
I already told you to add this line - do it:

Second:
"Direcatry"


(04-14-2012 10:19 PM)SilentStriker Wrote:  Something tells me you renamed things in the resource.cfg right? You are supposed to add lines not rename them except maps and some more things.
He only added the following lines:
Spoiler below!





TTYTYTYTYTYTYTY +REP FOR THAT!!!








The only folder missing is the custom_stories folder which he forgot to add.


Also, instead of all these new directory paths, why don't you just add this line?

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-14-2012 11:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cranky Old Man Offline
Posting Freak

Posts: 925
Joined: Apr 2012
Reputation: 37
Post: #18
RE: Mod Error
(04-14-2012 11:54 PM)jessehmusic Wrote:  TTYTYTYTYTYTYTY +REP FOR THAT!!!
Oh, thank you. Smile

Noob scripting tutorial: From Noob to Pro

04-15-2012 12:09 AM
Find all posts by this user Quote this message in a reply
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #19
RE: Mod Error
(04-15-2012 12:09 AM)Cranky Old Man Wrote:  
(04-14-2012 11:54 PM)jessehmusic Wrote:  TTYTYTYTYTYTYTY +REP FOR THAT!!!
Oh, thank you. Smile
But now i get error when i change settings Confused like sound from 10 to 5 any clue`?

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-15-2012 12:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cranky Old Man Offline
Posting Freak

Posts: 925
Joined: Apr 2012
Reputation: 37
Post: #20
RE: Mod Error
(04-15-2012 12:24 AM)jessehmusic Wrote:  But now i get error when i change settings Confused like sound from 10 to 5 any clue`?
Sorry, went to bed. I also don't know anything about changing the sound settings. Do you mean changing them in-game, or some map property in the editor?

Noob scripting tutorial: From Noob to Pro

04-15-2012 06:54 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)