Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Make Door Entity
Author Message
trancedj Offline
Member

Posts: 60
Joined: Sep 2010
Reputation: 0
Post: #1
How To Make Door Entity

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
09-19-2010 11:56 PM
Find all posts by this user Quote this message in a reply
jens Offline
Frictional Games

Posts: 4,095
Joined: Apr 2006
Reputation: 202
Post: #2
RE: How To Make Door Entity

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?
09-20-2010 07:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
trancedj Offline
Member

Posts: 60
Joined: Sep 2010
Reputation: 0
Post: #3
RE: How To Make Door Entity

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
Find all posts by this user Quote this message in a reply
anzki Offline
Member

Posts: 88
Joined: Apr 2010
Reputation: 1
Post: #4
RE: How To Make Door Entity

(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

[Image: 2qnr5av.png]
09-20-2010 05:55 PM
Find all posts by this user Quote this message in a reply
jens Offline
Frictional Games

Posts: 4,095
Joined: Apr 2006
Reputation: 202
Post: #5
RE: How To Make Door Entity

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.
09-20-2010 07:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
trancedj Offline
Member

Posts: 60
Joined: Sep 2010
Reputation: 0
Post: #6
RE: How To Make Door Entity

Hi Jens!
Thank you very much, it works well.
I appreciated so much your help
09-21-2010 10:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)