Frictional Games Forum (read-only)
Why, my dear, why? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Why, my dear, why? (/thread-20201.html)



Why, my dear, why? - The chaser - 02-05-2013

I was going to put my dear "custom" monster in my story. When I clicked "Entities<Enemy" the Level editor crashed, although model editor doesn't.

Here's the LevelEditor.log:


Code:
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100819012504

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Setting video mode: 1250 x 875 - 32 bpp
Init Glew...OK
Setting up OpenGL
  Vendor: NVIDIA Corporation
  Renderer: GeForce 210/PCIe/SSE2
  Version: 3.3.0
  Max texture image units: 32
  Max texture coord units: 8
  Max user clip planes: 8
  Two sided stencil: 1
  Vertex Buffer Object: 1
  Anisotropic filtering: 1
  Max Anisotropic degree: 16
  Multisampling: 1
  Texture compression: 1
  Texture compression S3TC: 1
  Auto generate MipMaps: 1
  Render to texture: 1
  Max draw buffers: 8
  Max color render targets: 8
  Packed depth-stencil: 1
  Texture float: 1
  GLSL Version: 3.30 NVIDIA via Cg compiler
  ShaderModel 2: 1
  ShaderModel 3: 1
  ShaderModel 4: 1
  OGL ATIFragmentShader: 0
Adding engine materials
Initializing DevIL
  Vendor String: Abysmal Software
  Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006
  Version Number: 168
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
  Available OpenAL devices:
   0. Generic Software on Speakers (Realtek High Definition Audio)(OpenAL default)
   1. Generic Software on Realtek Digital Output (Realtek High Definition Audio)
   2. Generic Software on Bluetooth Audio Renderer (Bluetooth Stereo Audio)
   3. Generic Software on Bluetooth Audio Renderer (LG GS290 (Stereo Audio))
  Trying to open device 'Generic Software on Speakers (Realtek High Definition Audio)'... Success!
  Number of mono sources: 32
  Streaming setup: 2 Buffers x 524288 bytes each
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
-----------------------------------------------------
LevelEditor Build ID: 20100917115131
-----------------------------------------------------
Created Entity Loader
Added object type: Compound <Compound>
Added object type: Light <BoxLight>
Added object type: Light <PointLight>
Added object type: Light <SpotLight>
Added object type: Billboard <Billboard>
Added object type: Particle System <ParticleSystem>
Added object type: Sound <Sound>
Added object type: Static Object <StaticObject>
Added object type: Entity <Entity> StaticProp
Added object type: Entity <Entity> CommentaryIcon
Added object type: Entity <Entity> Object,Static
Added object type: Entity <Entity> Object,Grab
Added object type: Entity <Entity> Object,Push
Added object type: Entity <Entity> Object,Slide
Added object type: Entity <Entity> SwingDoor
Added object type: Entity <Entity> Lever
Added object type: Entity <Entity> Wheel
Added object type: Entity <Entity> MultiSlider
Added object type: Entity <Entity> Lamp
Added object type: Entity <Entity> Button
Added object type: Entity <Entity> Photocell
Added object type: Entity <Entity> MoveObject
Added object type: Entity <Entity> Item,Puzzle
Added object type: Entity <Entity> Item,Coins
Added object type: Entity <Entity> Item,Note
Added object type: Entity <Entity> Item,Diary
Added object type: Entity <Entity> Item,Lantern
Added object type: Entity <Entity> Item,Health
Added object type: Entity <Entity> Item,Sanity
Added object type: Entity <Entity> Item,LampOil
Added object type: Entity <Entity> Item,Tinderbox
Added object type: Entity <Entity> Item,HandObject
Added object type: Entity <Entity> Chest
Added object type: Entity <Entity> OilBarrel
Added object type: Entity <Entity> EmotionStone
Added object type: Entity <Entity> NPC
Added object type: Entity <Entity> LevelDoor
Added object type: Entity <Entity> CritterBug
Added object type: Entity <Entity> CritterSpider
Added object type: Entity <Entity> Enemy_Grunt
Added object type: Entity <Entity> Enemy_WaterLurker
Added object type: Entity <Entity> PlayerHands
Added object type: Entity <Entity> HandObject
Added object type: Area <Area> Script
Added object type: Area <Area> PosNode
Added object type: Area <Area> Flashback
Added object type: Area <Area> Sign
Added object type: Area <Area> SlimeDamage
Added object type: Area <Area> Examine
Added object type: Area <Area> Insanity
Added object type: Area <Area> Ladder
Added object type: Area <Area> Liquid
Added object type: Area <Area> Sticky
Added object type: Area <Area> Rope
Added object type: Area <Area> PathNode
Added object type: Area <Area> PlayerStart
Added object type: Primitive <Plane>
Added object type: Decal <Decal>
Added object type: FogArea <FogArea>

/////////////////////////////////////////////////////////////////
// Resetting scene
/////////////////////////////////////////////////////////////////

--------------------------------------------------------

Game Running
--------------------------------------------------------
WARNING: Could not find child with unique ID 39 to attach to bone 'servant_grunt_A_CenterRoot' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 38 to attach to bone 'servant_grunt_A_CenterSpine' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 40 to attach to bone 'servant_grunt_A_CenterNeck' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 44 to attach to bone 'servant_grunt_A_CenterHead' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 42 to attach to bone 'servant_grunt_A_joint21' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 43 to attach to bone 'servant_grunt_A_RightCollar' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 41 to attach to bone 'servant_grunt_A_RightShoulder' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Trying to delete pointer 189809296 in file \Hpl_2\tools\editors\common\EditorThumbnailBuilder.cpp at line 160 that does not exist!
WARNING: Could not find child with unique ID 39 to attach to bone 'servant_grunt_A_CenterRoot' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 38 to attach to bone 'servant_grunt_A_CenterSpine' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 40 to attach to bone 'servant_grunt_A_CenterNeck' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 44 to attach to bone 'servant_grunt_A_CenterHead' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 42 to attach to bone 'servant_grunt_A_joint21' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 43 to attach to bone 'servant_grunt_A_RightCollar' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
WARNING: Could not find child with unique ID 41 to attach to bone 'servant_grunt_A_RightShoulder' in 'P:/Jocs/Amnesia - The Dark Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'
ERROR: Couldn't load element ModelData

Any clue on what could it be? I'm only going to give the model to check to a few persons:

The enemy isn't made by myself:

Spoiler below!
Is a grunt without texture (modified with text editor). I applied particles and billboards, attached to the bones, making it a light that moves along with the others.



RE: Why, my dear, why? - NaxEla - 02-05-2013

Does it only crash if you have your custom enemy in the enemies folder?


RE: Why, my dear, why? - nivramm - 02-06-2013

Your log ends with:
Code:
WARNING: Could not find child with unique ID 39 to attach to bone
'servant_grunt_A_RightCollar' in 'P:/Jocs/Amnesia - The Dark
Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'

(IDs from 39-44).
I guess this is what you changed at the entity…have you noticed that you have a filepath like
"P:/Jocs/Amnesia - The Dark
Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent"
and the Dust-folder is written uppercase?
And did you notice that you have an "Amnesia - The Dark Descent" folder INSIDE the "Amnesia - The Dark Descent" folder?
Maybe just typo or wrong filepath?


RE: Why, my dear, why? - The chaser - 02-06-2013

(02-06-2013, 12:08 PM)nivramm Wrote: Your log ends with:
Code:
WARNING: Could not find child with unique ID 39 to attach to bone
'servant_grunt_A_RightCollar' in 'P:/Jocs/Amnesia - The Dark
Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent'

(IDs from 39-44).
I guess this is what you changed at the entity…have you noticed that you have a filepath like
"P:/Jocs/Amnesia - The Dark
Descent/Amnesia - The Dark Descent/redist/entities/enemy/Dust/dust.ent"
and the Dust-folder is written uppercase?
And did you notice that you have an "Amnesia - The Dark Descent" folder INSIDE the "Amnesia - The Dark Descent" folder?
Maybe just typo or wrong filepath?

No, the filepath is completely ok. It's something with the .ent itself:

In the model editor it opens fine. In LevelEditor crashes.