Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Dionysius on February 05, 2008, 06:37:44 AM

Title: Free entities order
Post by: Dionysius on February 05, 2008, 06:37:44 AM
How to say to WME which free entity must be drawn first? I have 2 free entities in my scene: the bed and the luggage on it. 3D-actor will open the luggage. The entity "luggage" has animated sprite. Here is screenshot (http://img161.imageshack.us/my.php?image=screenshotgd1.jpg) from SceneEdit.
And how to set correctly hotspot to make actor's hands is drawn in front of the bed when the actor is openning the luggage?
Title: Re: Free entities order
Post by: Pixelschmied on February 05, 2008, 08:18:30 AM
Hello Dionysius,

maybe I can help you with the hot spot. In my scene with the fountain I use the piece of fountain as free entity and the hotspot is a region entity. So I have the cursor only at the fountain. On my screenshot you can see it perhaps better.

(http://www.seelentanz.de/wme/entity1.jpg)

I would make appropriate region entities. Hope it helps a little bit.

hotspot greets,

Pixelschmied
Title: Re: Free entities order
Post by: Mnemonic on February 05, 2008, 12:03:37 PM
Simply put, free entities/actors are sorted by their Y position (as long as they stand in the same region).
Title: Re: Free entities order
Post by: Dionysius on February 06, 2008, 04:40:02 AM
Mnemonic, the bed has hotspot{268, 321} and the luggage {73, 321}. I tried to change luggage's hotspot to {73, 323}, but  all thesame the luggage is closed by the bed. What's wrong?
So, I guess, I need to use region entity to solve this issue.
Title: Re: Free entities order
Post by: Mnemonic on February 06, 2008, 04:23:40 PM
I don't know what's wrong. Are they in the same region?
Title: Re: Free entities order
Post by: Dionysius on February 07, 2008, 05:05:09 AM
Yes, they are. The scene has no any region entities.