Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 Before February 2015

kooldude9000
Guest

Cloud block.

I placed some cloud blocks in my world and noticed they didn't have a shadow.

...

Only the cloud blocks though.
Anyone else?

#2 Before February 2015

Zoidy☺
Guest

Re: Cloud block.

yah i noticd that 2 :O

#3 Before February 2015

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: Cloud block.

It was intentional. Shadows are programatically generated, for there to be otherwise would have be a hard-coded exception, where it adds blocks (ItemManager). This also applies to some industrial and factory pack items.

Where it calls the add:

addBrick(createBrick(143,ItemLayer.FORGROUND,forgroundBricksBMD,"brickcloud",ItemTab.BLOCK,false,false,120)

For this:

1 = ID 2 = Layer 3 = BitmapData 4 = PayvaultID 5 = Tab 6 = requireOwner 7 = useShadow 8 = ID(Position) <Override of block position in the main block strip> <unspecified>9 = MinimapColor <Ovveride of block color, used for custom color>

I'm not sure about all this, I just did it a few minute ago and I'm still half-asleep:
For CreateBrick

1 = id 2 = layer 3 = bitmapdata 4 = payvaultid 5 = itemtab 6 = requiresOwner 7 = param10 (default:false) 8 = param11 (default:false) 9 = param7   (bool) = UseShadow 10 = param9 (default:-1) <ItemBrick->useminimapcolor>

Alternate for ItemBrick

1 = id 2 = layer 3 = bitmap data 4 = payVaultID 5 = tab 6 = requiresOwner 7 = requiresAdmin 8 = requiresPurchase 9 = DrawWithShadow 10 = HasMinimapColor

Last edited by ?tilla (Jul 14 2013 5:12:09 am)


signature.png
*u stinky*

Offline

#4 Before February 2015

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Cloud block.

The shadow overlays cloud decors.

@Atilla: that's all you had to say.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

kooldude9000 1423698499262933

Board footer

Powered by FluxBB

[ Started around 1733173761.9669 - Generated in 0.067 seconds, 12 queries executed - Memory usage: 1.39 MiB (Peak: 1.49 MiB) ]