Frictional Games Forum (read-only)
How To Make Door Entity - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: How To Make Door Entity (/thread-4588.html)



How To Make Door Entity - trancedj - 09-19-2010

Hi everyone.
I would like to make a door with another static mesh.
I used modeleditor and opened the mansion door entity and replaced with a custom static mesh door, but it dosent work!
Thanks for your replies
Wink


RE: How To Make Door Entity - jens - 09-20-2010

Give some more information as to what it is that does not work specifically? Can you load the entitiy, but you can't interact with it? Or does it not load at all?


RE: How To Make Door Entity - trancedj - 09-20-2010

I've imported a door mesh into modeleditor, I would like to know how to add properties to transform a simple door mesh into a door entity
I've tried to do that, but I cant interact with it.
I saw the video "From 3D model to interactive door in HPL2 engine", it's too fast for me to know the steps for creation door entity.
May be tutorial would be appreciated


RE: How To Make Door Entity - anzki - 09-20-2010

(09-20-2010, 05:44 PM)trancedj Wrote: I've imported a door mesh into modeleditor, I would like to know how to add properties to transform a simple door mesh into a door entity
I've tried to do that, but I cant interact with it.
I saw the video "From 3D model to interactive door in HPL2 engine", it's too fast for me to know the steps for creation door entity.
May be tutorial would be appreciated

Actually doors are entities Confused


RE: How To Make Door Entity - jens - 09-20-2010

Can try and make a tutorial some day, but the simple version is:

1. IMport a mesh
2. Create a body for the mesh (with shapes that you then click make body)
3. Attach the mesh to the body (can be done using outliner)
4. Give the body some weight and properties (test in the preview mode so that you can throw it around)
5. Add a hinge joint, set the body to be the child of the joint (test in preview mode and see if the door is now "stuck in air" but can rotate around the axis of the joint
6. Go into user settings (it is in one of the menus) set the entity type to be SwingDoor

Save and all should be ready to go. If I remember correctly.


RE: How To Make Door Entity - trancedj - 09-21-2010

Hi Jens!
Thank you very much, it works well.
I appreciated so much your help