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
Custom entities in custom story, "file index out of bounds"
GraphicsKid Offline
Senior Member

Posts: 258
Threads: 34
Joined: Dec 2010
Reputation: 3
#1
Custom entities in custom story, "file index out of bounds"

Hi, I have a custom entity in my map (just the prison door, but a mover so the player has to use a lever to control it). It works perfectly in game, but every time I start up the editor, I get this message: "Found some errors while loading file. Check log for details. File index out of bounds!". Lo and behold, the door is missing.

I don't know what log file it's talking about anyways...

EDIT: Stupid me, forgot to mention the most important part: These custom entities reside in a subfolder "entities" in the custom story folder of my custom story. (so \custom_stories\my_mod\entities)
(This post was last modified: 01-23-2011, 06:40 AM by GraphicsKid.)
01-23-2011, 06:38 AM
Find
GraphicsKid Offline
Senior Member

Posts: 258
Threads: 34
Joined: Dec 2010
Reputation: 3
#2
RE: Custom entities in custom story, "file index out of bounds"

Anybody know how to fix this?

Is there some sort of relative path functionality? ie. "/" for up one level?
01-24-2011, 06:07 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#3
RE: Custom entities in custom story, "file index out of bounds"

Tried to place them in entities folder?
I know this way you have to make user to place it his/her own older, but worths for shot.

(This post was last modified: 01-24-2011, 06:57 PM by Tanshaydar.)
01-24-2011, 06:56 PM
Website Find
GraphicsKid Offline
Senior Member

Posts: 258
Threads: 34
Joined: Dec 2010
Reputation: 3
#4
RE: Custom entities in custom story, "file index out of bounds"

But I've seen other custom stories (like wake) use an entities folder in their own custom story directory.

Do you just have to place all these entities just before you distribute the map? It works fine in the game. The custom entities are just removed every time you load the map up in the editor.
01-24-2011, 07:15 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#5
RE: Custom entities in custom story, "file index out of bounds"

I'm using some custom things, and my editor does that rarely. However, I've never encountered a "out of bound" exception. So I can't tell I had same issue with you.
If you are using W7, try to run it with administrative rights. Maybe it helps. Other than that, I'm a noob to editors.

01-24-2011, 10:03 PM
Website Find
Mofo Offline
Member

Posts: 71
Threads: 4
Joined: Sep 2010
Reputation: 2
#6
RE: Custom entities in custom story, "file index out of bounds"

Placing your custom entities (and static objects) in the custom stories folder is only good for playing the map, not editing it.

If you want to edit your level, you'll need to place the entities inside the main Amnesia folder (Amnesia the dark descent/entities/*your stuff here*/
02-03-2011, 05:27 PM
Find
MrBehemoth Offline
Senior Member

Posts: 409
Threads: 19
Joined: Feb 2014
Reputation: 40
#7
RE: Custom entities in custom story, "file index out of bounds"

Sorry for bumping an old post, but this problem has been bothering me all day, and I finally worked out a solution, so I thought I'd share it.

Mofo's solution works - but it's a pain moving files around. If you want to keep your custom story (or TC in my case) nice and isolated and easy to install and distribute, then using a subfolder is the best way.

The problem is that the level editor (and the other tools too, maybe) use the resources.cfg of the default game: one located in the main folder (I use Steam, so off Steam I guess it's the redist folder).

The fix is to add the folders belonging to your mod (story/TC) to the default resources.cfg. Easy.

02-26-2014, 04:50 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 73
Joined: Feb 2012
Reputation: 185
#8
RE: Custom entities in custom story, "file index out of bounds"

WOW THAT'S ONE HELL OF A BUMP!

Closed.
02-26-2014, 07:16 PM
Find




Users browsing this thread: 1 Guest(s)