Frictional Games Forum (read-only)
[CONFIG] Machine for pigs lantern does not work. - 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: [CONFIG] Machine for pigs lantern does not work. (/thread-25311.html)

Pages: 1 2


Machine for pigs lantern does not work. - Slanderous - 05-17-2014

Hey guys, so I have the 13111 patch and I replaced the TDD lantern with MFP one. Everything works fine with the lantern, but I forgot about replacing the item entity, so I decided to do it. I took the item file from MFP, resaved it, deleted mesh file and it shows me this when I try to open items in level editor.

Spoiler below!
Quote:-------- THE HPL ENGINE LOG ------------
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
--------------------------------------------------------
Init lowlevel graphics: 1920x990 bpp:32 fs:0 ms:0 gpufmt:2 cap:'HPL Level Editor' posSad-1x-1)
Setting video mode: 1920 x 990 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon HD 7800 Series
Version: 4.2.11931 Compatibility Profile Context
Max texture image units: 32
Max texture coord units: 16
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: 4.20
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 1
Setting up G-Bugger: type: 0 texturenum: 4
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 Głośniki (Realtek High Definition Audio)(OpenAL default)
1. Generic Software on Realtek Digital Output (Realtek High Definition Audio)
Trying to open device 'Generic Software on Głośniki (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: 20101027185544
-----------------------------------------------------
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_ManPig
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: Error finding Directory bullseye_lantern_item in list for path E:/Amnesia - Mroczny Obledos/entities/item/
ERROR: Couldn't load mesh 'test_mod/models/hand_objects/lantern/lantern_mandus.dae'




RE: Machine for pigs lantern does not work. - Viper85626 - 05-17-2014

I'm not too sure about this since I don't use the patch, but you say you deleted the mesh file and the game can't load the mesh... Couldn't that be the problem? Sorry if that's a dumb question. Like I said, I don't use the MFP assets. Tongue


RE: Machine for pigs lantern does not work. - Romulator - 05-18-2014

Nah, you have to delete the meshes for it work properly in some cases for entities/static_objects.

It's interesting, I got mine working without any trouble at all. I'll take a look.


RE: Machine for pigs lantern does not work. - Slanderous - 05-18-2014

(05-18-2014, 12:01 AM)Romulator Wrote: Nah, you have to delete the meshes for it work properly in some cases for entities/static_objects.

It's interesting, I got mine working without any trouble at all. I'll take a look.

Romulator, I would be very thankful if you could send me your mfp lantern since I still can't get it to work, propably the problem can be solved in a very easy way but i'm too tired today to think about anything.


RE: Machine for pigs lantern does not work. - Romulator - 05-18-2014

Alright. I'll get onto it within the next hour. Gotta get out of bed first :p


RE: Machine for pigs lantern does not work. - Slanderous - 05-18-2014

(05-18-2014, 12:41 AM)Romulator Wrote: Alright. I'll get onto it within the next hour. Gotta get out of bed first :p

Thank you kindly. You're saving me a lot of time Tongue


RE: Machine for pigs lantern does not work. - Romulator - 05-18-2014

Just before I post anything, is this the actual lantern model which you hold up, or the lantern which you can pick up in the map? Tongue


RE: Machine for pigs lantern does not work. - Slanderous - 05-18-2014

(05-18-2014, 12:51 AM)Romulator Wrote: Just before I post anything, is this the actual lantern model which you hold up, or the lantern which you can pick up in the map? Tongue

The one you can pick up Tongue


RE: Machine for pigs lantern does not work. - Romulator - 05-18-2014

Alright, now that lantern, I'll have to look at a bit more in-depth xD The hand_model is easy to do. I'm pretty sure I have gotten it to work without any issues in terms of a lantern to pick up before though o.0

Unless I just overwrote everything in Amnesia's lantern folder to get it to work. Tongue

I'll keep looking at it and let you know!


RE: Machine for pigs lantern does not work. - Slanderous - 05-18-2014

(05-18-2014, 01:37 AM)Romulator Wrote: Alright, now that lantern, I'll have to look at a bit more in-depth xD The hand_model is easy to do. I'm pretty sure I have gotten it to work without any issues in terms of a lantern to pick up before though o.0

Unless I just overwrote everything in Amnesia's lantern folder to get it to work. Tongue

I'll keep looking at it and let you know!

Okay, thanks again. I'll stay here for next few hours so I will tell you if it works or not once you send me your lantern entity Tongue