Frictional Games Forum (read-only)

Full Version: How To Make Door Entity
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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?
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
(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
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.
Hi Jens!
Thank you very much, it works well.
I appreciated so much your help