Adding trees

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Nigey
Posts: 35
Joined: 17 Dec 2014, 21:55

Adding trees

Postby Nigey » 20 Jan 2015, 13:50

Hiya guys,

I'm trying to add a tree to the game, which takes up multiple tiles. It's a coconut tree, so it's thinner than one tile on it's body, however it's length is equal to about 4 tiles. What would be the best option to place a tree into the game so it fits well with the layering system?
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Adding trees

Postby Bax » 20 Jan 2015, 16:40

Can you please show a picture?
Paolo Bax
The SmartFoxServer Team
Nigey
Posts: 35
Joined: 17 Dec 2014, 21:55

Re: Adding trees

Postby Nigey » 20 Jan 2015, 17:35

Ideally I'd like it something like this:

tree.png
(184.74 KiB) Not downloaded yet
Nigey
Posts: 35
Joined: 17 Dec 2014, 21:55

Re: Adding trees

Postby Nigey » 20 Jan 2015, 17:36

This is only concept art, it's not actually placed in.. but I'd ideally like it put like something like this:

floor1a.png
(245.1 KiB) Not downloaded yet
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Adding trees

Postby Bax » 21 Jan 2015, 11:01

Actually this is very simple. Trees, especially those which are slim and tall like yours can occupy a single tile.
You can see an example in the picture on this page: http://openspace-engine.com/support/editor/skinEditor
Paolo Bax
The SmartFoxServer Team
User avatar
julifos
Posts: 33
Joined: 10 Oct 2009, 23:33
Contact:

Re: Adding trees

Postby julifos » 22 Jan 2015, 15:52

Add it to the topmost tile (red in the attached screenshot), ignore the others (yellow)
Attachments
Screen Shot 2015-01-22 at 15.53.40.png
(75.4 KiB) Not downloaded yet
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Adding trees

Postby Bax » 22 Jan 2015, 17:30

If the base must be larger than one tile (as in julifos example), then you could create a supertile made of four tiles as julifos suggested, attaching the whole skin to the lower tile just like he said.
Paolo Bax
The SmartFoxServer Team
Nigey
Posts: 35
Joined: 17 Dec 2014, 21:55

Re: Adding trees

Postby Nigey » 25 Jan 2015, 14:04

That's really handy guys, thank you!

When it comes to more complex objects larger objects, will I need to make supertiles out of those as well? Or can I possibly insert them as a background/foreground image??
User avatar
julifos
Posts: 33
Joined: 10 Oct 2009, 23:33
Contact:

Re: Adding trees

Postby julifos » 25 Jan 2015, 14:22

The avatar won't interact with stuff placed in the foreground/background. If you need the avatar to enter in the house, it must reside in tiles (or supertiles). If the house is just a decorative house in the horizon (where the avatar can't walk), place it in the background.

Appart from this, I think stuff placed in the foreground is automagically shifted, so it creates the illusion of atmosphere. So, you shouldn't place here things which need to match objects in the background or tiles.

Here is a pretty nice five-minute reading: http://openspace-engine.com/support/tut ... pStructure
Nigey
Posts: 35
Joined: 17 Dec 2014, 21:55

Re: Adding trees

Postby Nigey » 25 Jan 2015, 15:14

Aaah awesome, thanks bud :)

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 11 guests