[SOLVED] Creating two block high nodes?

Post Reply
Icalasari
Member
Posts: 166
Joined: Tue Sep 23, 2014 05:29
IRC: Icalasari
In-game: Icalasari

[SOLVED] Creating two block high nodes?

by Icalasari » Post

Not quite understanding how Doors does it. I'm attempting to make a two block tall flower (Sunflower, specifically). I figure I make the bottom flower node twice as tall with a 16x32 texture, selection box the same size as the texture, etc., but can't quite parse how to make on_place_node work with this. y+1 for the position, walkable... Just not sure how to make it place the invisible node when the flower is placed and how to make it remove the invisible node when the flower is broken
Last edited by Icalasari on Tue Aug 09, 2022 22:11, edited 1 time in total.

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: Creating two block high nodes?

by TenPlus1 » Post

Make the texture double size, so 32x32 and add visual_scale = 1.9 to scale things up. Tweak collisionbox though.

Icalasari
Member
Posts: 166
Joined: Tue Sep 23, 2014 05:29
IRC: Icalasari
In-game: Icalasari

Re: Creating two block high nodes?

by Icalasari » Post

TenPlus1 wrote:
Tue Aug 09, 2022 06:11
Make the texture double size, so 32x32 and add visual_scale = 1.9 to scale things up. Tweak collisionbox though.
That's... Actually pretty clever, did not think of that. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests