Page 1 of 1

[Mod] Glass Panes [panes] (missing license)

Posted: Mon Feb 13, 2012 23:57
by Jordach
This is the mod i made.

For the first mod I made, it works, (i did chop up parts of the fence and torch to make it work though, even though it was made on a laptop with keys missing.)

Note: My mods will get updates, and they are quick and dirty, no loss of speed, no lag over bugs. (Hopefully.)

How to craft:

G = Glass block
E = Empty space

EEE
GGG
GGG

Makes 16 panes.

Screenshots:

Image

Image

Download:
panes.zip
(854 Bytes) Downloaded 88 times

Posted: Tue Feb 14, 2012 00:23
by IPushButton2653
Just use the code for torches. Or where it says "fixed", you need to tinker around with the numbers. That's all I can say

Posted: Tue Feb 14, 2012 00:26
by IPushButton2653
Put .7 for the place that sets the front/back spacing. That should allow you to have the collision box be right

Posted: Tue Feb 14, 2012 00:36
by Jordach
Ipush, I (kinda( fixed it by changing the fixed to wall mounted, it now works in all left and right.

Its a sign, but not a sign, and it can be crafted.

Posted: Tue Feb 14, 2012 00:40
by IPushButton2653
The code fixed = {-0.5, -0.5, -0.05, 0.5, 0.5, 0.05},
The listing: fixed = {front,bottom,side,back,top,side}
Simple testing proved this. But the collision box seems to want to be turned a certain way. And signlike? I see what you mean. Good luck with this mod of yours :P

Posted: Tue Feb 14, 2012 00:56
by Jordach
Ok thanks, soon I am going to make some nice decorative blocks, (mainly ssp and smp, and maybe creative.)

One bug: Placing it on the bottom or top of a block makes it go somewhat diagonal, this is normal, its meant to be placed on the side of blocks, not on the top or bottom.

Posted: Tue Feb 14, 2012 01:00
by IPushButton2653
I love it! Definitely going on my server :D
And you're welcome :P

Posted: Tue Feb 14, 2012 01:02
by Jordach
Thanks! You have given me more inspiration for more thingsto make, (mainly some form of halo mods and texture pack. (How awesome would that be?)

Posted: Tue Feb 14, 2012 01:04
by jordan4ibanez
that is quite amazing

Posted: Tue Feb 14, 2012 01:09
by IPushButton2653
We can finally work out bed textures now we can change the texture to be two blocks long :D

Posted: Tue Feb 14, 2012 01:09
by Jordach
jordan4ibanez wrote:that is quite amazing
I might be a noob at LUA, but I am sure as hell I can code.

Posted: Tue Feb 14, 2012 01:14
by IPushButton2653
Can't wait to get my new mod ready :D

Posted: Tue Feb 14, 2012 01:25
by Jordach
Thanks, let me know how it goes, ok? Hopefully it should not be a pane... lol.

Posted: Tue Feb 14, 2012 01:28
by IPushButton2653
PUN ALERT

Posted: Tue Feb 14, 2012 01:33
by Melkor
aha! I can see you you're inspired by my fake glass panes post.
Jordach wrote:One bug: Placing it on the bottom or top of a block makes it go somewhat diagonal, this is normal, its meant to be placed on the side of blocks, not on the top or bottom.
unfortunately, this is how works "torchlike", put a torch on the floor and you will understand. The only way to change it (as far i know) is changing the source code

edit: darn! truncated post again

Posted: Tue Feb 14, 2012 01:36
by IPushButton2653
That's because its set as a torch. Torches are perpindicular to the block when you place them on a wall. When you place them on roof/floor, they turn diagonal. Same with teh panels. My math teach will kill me if she finds out I mispelled perpindicular

Posted: Tue Feb 14, 2012 01:39
by Jordach
thanks for the input, its gone midnight, and I need some sleep.

Posted: Tue Feb 14, 2012 10:06
by Jordach
IPushButton2653 wrote:That's because its set as a torch. Torches are perpindicular to the block when you place them on a wall. When you place them on roof/floor, they turn diagonal. Same with teh panels. My math teach will kill me if she finds out I mispelled perpindicular
Erm, you did.