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
Level Editor Crashed
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#1
Level Editor Crashed

Hi,
I took the infected from a custom story and experimented a bit in the model editor.I forgot to make a folder and put my enemy in Redist/Entites/enemy.
Now, i wanna open the enemy folder in the level editor and the editor crashes.
I think i had to make a folder for the infected.I deleted the whole enemy folder and made a new one, copied the enemys on my destop,created a new enemy folder and dragged the enemys back in the enemy folder.
It still doesn't work.When i go back to the model editor and click "open"
and go to the enemy file, i can see my infected.ent (the model i created)
Is there any way to delete him?The .ent file is not displayed in my folder, if i'm not in the editor.
i really need some help
07-07-2011, 09:39 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Level Editor Crashed

Delete .ent file?

07-07-2011, 09:40 PM
Website Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#3
RE: Level Editor Crashed

I cant see the .ent file. And i dont know how to delete objects over the editor.
07-07-2011, 09:56 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#4
RE: Level Editor Crashed

Before you do this, backup your map file. Open your .map file in notepad or a similar text editing program. Do a ctrl+f search for FileIndex_Entities. Under that, search for the file ID that represents the entity you want to delete. Delete that line, but memorize the ID number.

Now, search for Entity Active="true" FileIndex="X", where X matches the ID of the line you deleted in the previous step.

For example, say I wanted to delete a paper pile. Here's the map file code

<FileIndex_Entities NumOfFiles="116">
                <File Id="0" Path="entities/desktop/paperpile01/paperpile01.ent" />
                ........
                ........
                ........
                <Entity Active="true" FileIndex="0" Group="0" ID="3207" Name="paperpile01_1" Rotation="0 -2.35619 0" Scale="1 1 1" Tag="" WorldPos="-12.8635 0 -19.9977">
                    <UserVariables>
                        <Var Name="CastShadows" Value="true" />
                        <Var Name="IsAffectedByDecal" Value="true" />
                    </UserVariables>
                </Entity>

I would delete that first line under the <FileIndex> heading, as well as the entire <Entity></Entity> block of code, wherever it appears in the file (you may have placed multiple entities, so don't delete one and think it's over.

Good luck, and be careful with that file! One mistake and you may not be able to open your map ever again D: (until you fix it of course)

(This post was last modified: 07-07-2011, 11:42 PM by palistov.)
07-07-2011, 11:41 PM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#5
RE: Level Editor Crashed

Okay thanks, but i didn't put the enemy in my map.I only dragged the enemy to Amnesia/redist/entities/enemy . That was a mistake.I schould make a folder for the enemy.Now, the .ent file is in the enemy folder.And i dont know how to delete the .ent file, because the .ent file is not displayed.In the Model Editor, the .ent file is displayed.
07-08-2011, 01:12 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#6
RE: Level Editor Crashed

Oh I see I thought you mean level editor. If it's showing up in the model editor but not in the folders then it's just some kind of bug

07-08-2011, 01:16 AM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#7
RE: Level Editor Crashed

Yep.And i don't know how to fix that :[ I could try to make a new folder.For example "monster" and drag the enemys in that folder.
07-08-2011, 11:32 AM
Find
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#8
RE: Level Editor Crashed

Recopies file in objects && entities directory

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
07-08-2011, 11:39 AM
Find
Janni1234 Offline
Member

Posts: 134
Threads: 24
Joined: Jan 2011
Reputation: 1
#9
RE: Level Editor Crashed

Ah it works now.I restarted my pc.And now, it works.I was some kind of bug.
*it was some kind of bug
(This post was last modified: 07-08-2011, 01:17 PM by Janni1234.)
07-08-2011, 01:16 PM
Find




Users browsing this thread: 1 Guest(s)