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 Mod Error
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#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


Messages In This Thread
Mod Error - by jessehmusic - 04-14-2012, 08:31 PM
RE: Mod Error - by Your Computer - 04-14-2012, 08:48 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 09:24 PM
RE: Mod Error - by Cranky Old Man - 04-14-2012, 09:26 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 09:36 PM
RE: Mod Error - by Your Computer - 04-14-2012, 09:40 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 09:41 PM
RE: Mod Error - by Cranky Old Man - 04-14-2012, 09:47 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 09:49 PM
RE: Mod Error - by Cranky Old Man - 04-14-2012, 10:35 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 11:54 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 12:09 AM
RE: Mod Error - by jessehmusic - 04-15-2012, 12:24 AM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 06:54 AM
RE: Mod Error - by jessehmusic - 04-15-2012, 12:24 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 12:58 PM
RE: Mod Error - by Your Computer - 04-14-2012, 09:51 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 09:53 PM
RE: Mod Error - by Your Computer - 04-14-2012, 10:14 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 10:15 PM
RE: Mod Error - by SilentStriker - 04-14-2012, 10:19 PM
RE: Mod Error - by jessehmusic - 04-14-2012, 10:30 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 01:11 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 01:21 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 01:23 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 01:33 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 01:39 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 01:43 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 02:19 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 03:04 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 03:06 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 03:17 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 03:23 PM
RE: Mod Error - by Cranky Old Man - 04-15-2012, 03:37 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 04:40 PM
RE: Mod Error - by Your Computer - 04-15-2012, 08:14 PM
RE: Mod Error - by jessehmusic - 04-15-2012, 08:15 PM



Users browsing this thread: 2 Guest(s)