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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to combine Entities?
Vipes Offline
Junior Member

Posts: 39
Threads: 11
Joined: Dec 2011
Reputation: 0
#1
How to combine Entities?

I need to somehow combine a few entities together, a bookshelf and its row of books.

If not, has someone made an entity of a shelf full of books?
12-13-2011, 08:11 PM
Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#2
RE: How to combine Entities?

(12-13-2011, 08:11 PM)Vipes Wrote: I need to somehow combine a few entities together, a bookshelf and its row of books.

If not, has someone made an entity of a shelf full of books?
select all the stuff you want to duplicate, then press B in level editor. That way when you click any of those they all get selected.

Making all bookshelves like that doesn't look good though.

12-13-2011, 08:15 PM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#3
RE: How to combine Entities?

If you want it to become one only mesh you will have to import both models into a compatible 3D software, like Maya, and then edit the meshes and merge them together, before re-exporting them into Amnesia.

Otherwise you can use what Khyrpa mentioned above.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
(This post was last modified: 12-13-2011, 08:16 PM by nemesis567.)
12-13-2011, 08:15 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: How to combine Entities?

(12-13-2011, 08:15 PM)nemesis567 Wrote: If you want it to become one only mesh you will have to import both models into a compatible 3D software, like Maya, and then edit the meshes and merge them together, before re-exporting them into Amnesia.

Otherwise you can use what Khyrpa mentioned above.
lol thats like telling a person to cut through a backyard to get to another street, or make a 1 mile U-turn. derp. XD


12-14-2011, 01:33 AM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#5
RE: How to combine Entities?

Not exactly. It depends on what you're trying to do. Many things would require that to be one only mesh.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
12-14-2011, 01:45 AM
Find
Vipes Offline
Junior Member

Posts: 39
Threads: 11
Joined: Dec 2011
Reputation: 0
#6
RE: How to combine Entities?

(12-14-2011, 01:45 AM)nemesis567 Wrote: Not exactly. It depends on what you're trying to do. Many things would require that to be one only mesh.
A broken doorway leads you to a hallway full of bookshelves; stacked to the brim with books. You walk down, the candles behind you blow out as the first two bookshelves fall behind you. You start to run, they fall faster, almost seemingly like they want to crush you out of your very existence. At the end of the hall there is salvation, a door. You open the door and rush inside as the last bookshelf falls.
(This post was last modified: 12-14-2011, 01:55 AM by Vipes.)
12-14-2011, 01:54 AM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#7
RE: How to combine Entities?

To create such an effect, with accurate precision you'd need to use a specific entity(MoveObject type or Object type with hinges). If you want books to fall from shelves you should use Khyrpa's way after you create that same entity. There are easier ways to do this, although with not so much precision.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
(This post was last modified: 12-14-2011, 02:04 AM by nemesis567.)
12-14-2011, 02:00 AM
Find
Vipes Offline
Junior Member

Posts: 39
Threads: 11
Joined: Dec 2011
Reputation: 0
#8
RE: How to combine Entities?

(12-14-2011, 02:00 AM)nemesis567 Wrote: To create such an effect, with accurate precision you'd need to use a specific entity. If you want books to fall from shelves you should use Khyrpa's way after you create that same entity.
I dont want the boos to fall, I want the whole thing to.

And I tried to do it like Khyrpa said. It's not working for me, it still wont combine.


12-14-2011, 02:02 AM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#9
RE: How to combine Entities?

What I mean is. If you want the books to fall from the shelves along with the shelves has physics you should use Khyrpas way. Otherwise, if you want the books to fall glued to the shelves you'll probably have to use the Maya way.

Just select everything in your bookshelf including itself and press the B key.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
12-14-2011, 02:06 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#10
RE: How to combine Entities?

Making an entire book shelf fall with all of its contents has nothing to do with combining objects. The easiest way to make a book shelf fall with all of its contents is to make all the items on the shelves non-static entities. Then you put a script area at the foot of the shelf. The script area will be used to rotate the book shelf around the area in hopes of creating a fall down effect. Then you use RotatePropToSpeed on the shelf, passing in the area that is at the foot of the shelf. Note the book shelf might also need to be made an entity if it isn't already.

Tutorials: From Noob to Pro
12-14-2011, 04:53 AM
Website Find




Users browsing this thread: 2 Guest(s)