2013-02-24 19:09:02 +01:00
Doyousketch2's Stained Glass mod
2013-09-01 04:42:33 +02:00
ver 1.7
2013-02-24 19:09:02 +01:00
2013-02-24 22:56:26 +01:00
Image: http://oi47.tinypic.com/hst6s3.jpg
2013-02-24 19:28:45 +01:00
2013-08-21 02:39:32 +02:00
With alpha enabled: http://oi44.tinypic.com/5vraxf.jpg
2013-05-04 19:52:23 +02:00
now tested with blocks created by previous versions of the mod. should be safe for worlds created before these changes.
superglowglass changed to super_glow_glass.
attempts at setting the hues and dyes and whatnot to fix the craft recipes, since changes to default dyes and unifieddyes broke them some time ago.
manual initialization for blocks and recipes. DON'T USE THIS YET, I'm still working on it.
WORKING: craft recipes, most blocks, use of new color palette
UNTESTED: mapping of old blocks to these new blocks
NOT WORKING: faint, pastel type blocks
much cleaner code. it LOOKS like the light/pastel blocks should be working perfectly, even when digging through the debug logs...however, they aren't craftable. I'm not sure why this is. hopefully, someone can point me in the right direction
dark green, magenta all sorted out now, thanks to vanessaE.
Still, this makes me wonder if I should be using exact dye names everywhere.
also, brown will no longer map to yellow stained glass.
uuuuugh, ugly hack -- had to define separate subs for pastel and faint blocks. could be worse I suppose.
This is now working for new worlds, but be careful on existing worlds -- it isn't tested there yet, though it SHOULD work.
updates to copyright and usage of the mod.
changelog updated.
doyousketch2 has returned! fixes to README file, since this is still his baby.
leftover temp file...didn't need to be here.
2013-08-21 06:12:34 +02:00
==============================================================================
Originally developed by Eli Innes/Doyousketch2, and distributed
under GPL v2. Further changes by VanessaE (removing from creative inventory)
and Jeremy Anderson (fixing craft recipes, renaming blocks)
2013-02-24 19:09:02 +01:00
==============================================================================
Dependencies: VanessaE's Unified Dyes, Calinou's More Blocks
to Install:
Unzip the mod file you just downloaded.
it should be something like: Doyousketch2-stained_glass-1.1.zip
or stained_glass-master.zip, depending on where you downloaded it from
2013-02-24 19:28:45 +01:00
rename the new folder that looks like:
Doyousketch2-stained_glass-1.1 -or- stained_glass-master
2013-02-24 19:09:02 +01:00
to simply read "stained_glass"
then move it into your Minetest mods folder.
now tested with blocks created by previous versions of the mod. should be safe for worlds created before these changes.
superglowglass changed to super_glow_glass.
attempts at setting the hues and dyes and whatnot to fix the craft recipes, since changes to default dyes and unifieddyes broke them some time ago.
manual initialization for blocks and recipes. DON'T USE THIS YET, I'm still working on it.
WORKING: craft recipes, most blocks, use of new color palette
UNTESTED: mapping of old blocks to these new blocks
NOT WORKING: faint, pastel type blocks
much cleaner code. it LOOKS like the light/pastel blocks should be working perfectly, even when digging through the debug logs...however, they aren't craftable. I'm not sure why this is. hopefully, someone can point me in the right direction
dark green, magenta all sorted out now, thanks to vanessaE.
Still, this makes me wonder if I should be using exact dye names everywhere.
also, brown will no longer map to yellow stained glass.
uuuuugh, ugly hack -- had to define separate subs for pastel and faint blocks. could be worse I suppose.
This is now working for new worlds, but be careful on existing worlds -- it isn't tested there yet, though it SHOULD work.
updates to copyright and usage of the mod.
changelog updated.
doyousketch2 has returned! fixes to README file, since this is still his baby.
leftover temp file...didn't need to be here.
2013-08-21 06:12:34 +02:00
Even better, get stained_glass from one of the github pages:
https://github.com/doyousketch2/stained_glass
https://github.com/VanessaE/stained_glass
https://github.com/andersje/stained_glass
-- this will get you the latest version of the code, and you
can update at any time by doing a git pull
2013-09-01 04:42:33 +02:00
==============================================================================
To turn off types of glass, alter settings.txt in the stained_glass directory.
By default, all six (SIX!) types of stained_glass are enabled: regular (based on super_glow_glass), med_glow (based on glow_glass) and no-glow (Based on default:glass), trap regular (based on trap_super_glow_glass), trap med_glow (based on trap_glow_glass) and trap_noglow (based on trapglass)
stained_glass.full_light = true
stained_glass.med_light = true
stained_glass.no_light = true
stained_glass.trap_full_light = true
stained_glass.trap_med_light = true
stained_glass.trap_no_light = true
Setting any of these to false will prevent that type of stained_glass from being loaded. If you set them all to false, you won't get any stained_glass. Mix and match as you choose -- you can turn on only one, if you wish, and it will work just fine.
One of the high points of trap stained glass is that liquids flow through it -- making illuminated waterfalls a possibility.
2013-02-24 19:09:02 +01:00
==============================================================================
2013-09-01 04:42:33 +02:00
(use trap super glow glass or trap glow glass or trapglass -- now available in moreblocks -- to make the trap variant of this)
2013-02-24 19:09:02 +01:00
Recipe for standard colors:
2013-02-24 22:56:26 +01:00
image: http://oi50.tinypic.com/1ibs7c.jpg
2013-02-24 19:09:02 +01:00
dye
super glow glass
super glow glass
super glow glass
2013-09-01 04:42:33 +02:00
2013-02-24 19:09:02 +01:00
Recipe for pastel colors:
2013-02-24 22:56:26 +01:00
image: http://oi45.tinypic.com/2wbvkti.jpg
2013-02-24 19:09:02 +01:00
light dye
white paint
super glow glass
super glow glass
super glow glass
Recipe for faint colors:
2013-02-24 22:56:26 +01:00
image: http://oi45.tinypic.com/2wbvkti.jpg
2013-02-24 19:09:02 +01:00
light dye
white paint
white paint
super glow glass
super glow glass
super glow glass
All recipes produce three glowing stained glass blocks.
==============================================================================
The Palette includes:
2013-02-24 22:56:26 +01:00
red, orange, yellow, lime, green, aqua
cyan, skyblue, blue, violet, magenta, redviolet
2013-02-24 19:09:02 +01:00
Full & half-saturation, medium and dark shades have been included
as well as light, pastel, and faint tints.
2013-08-31 03:52:19 +02:00
Look at settings.txt to see how you can enable/disable full-glow, half-glow and no-glow blocks -- tested in all combinations. enjoy.
2013-02-24 19:09:02 +01:00
==============================================================================
Misc. Notes
-----------
now tested with blocks created by previous versions of the mod. should be safe for worlds created before these changes.
superglowglass changed to super_glow_glass.
attempts at setting the hues and dyes and whatnot to fix the craft recipes, since changes to default dyes and unifieddyes broke them some time ago.
manual initialization for blocks and recipes. DON'T USE THIS YET, I'm still working on it.
WORKING: craft recipes, most blocks, use of new color palette
UNTESTED: mapping of old blocks to these new blocks
NOT WORKING: faint, pastel type blocks
much cleaner code. it LOOKS like the light/pastel blocks should be working perfectly, even when digging through the debug logs...however, they aren't craftable. I'm not sure why this is. hopefully, someone can point me in the right direction
dark green, magenta all sorted out now, thanks to vanessaE.
Still, this makes me wonder if I should be using exact dye names everywhere.
also, brown will no longer map to yellow stained glass.
uuuuugh, ugly hack -- had to define separate subs for pastel and faint blocks. could be worse I suppose.
This is now working for new worlds, but be careful on existing worlds -- it isn't tested there yet, though it SHOULD work.
updates to copyright and usage of the mod.
changelog updated.
doyousketch2 has returned! fixes to README file, since this is still his baby.
leftover temp file...didn't need to be here.
2013-08-21 06:12:34 +02:00
Blocks are now available by name:
e.g. /giveme stained_glass:orange 3 # get 3 orange sg blocks
or /giveme stained_glass:light_yellow
or /giveme stained_glass:pastel_yellow
or /giveme stained_glass:faint_yellow
or /giveme stained_glass:yellow
2013-08-31 03:52:19 +02:00
or /giveme stained_glass:lowglow_yellow
or /giveme stained_glass:noglow_dark_green
2013-09-01 04:42:33 +02:00
or /giveme stained_glass:trap_noglow_dark_green
or /giveme stained_glass:trap_lowglow_yellow
or /giveme stained_glass:trap_medium_aqua
2013-08-31 03:52:19 +02:00
now tested with blocks created by previous versions of the mod. should be safe for worlds created before these changes.
superglowglass changed to super_glow_glass.
attempts at setting the hues and dyes and whatnot to fix the craft recipes, since changes to default dyes and unifieddyes broke them some time ago.
manual initialization for blocks and recipes. DON'T USE THIS YET, I'm still working on it.
WORKING: craft recipes, most blocks, use of new color palette
UNTESTED: mapping of old blocks to these new blocks
NOT WORKING: faint, pastel type blocks
much cleaner code. it LOOKS like the light/pastel blocks should be working perfectly, even when digging through the debug logs...however, they aren't craftable. I'm not sure why this is. hopefully, someone can point me in the right direction
dark green, magenta all sorted out now, thanks to vanessaE.
Still, this makes me wonder if I should be using exact dye names everywhere.
also, brown will no longer map to yellow stained glass.
uuuuugh, ugly hack -- had to define separate subs for pastel and faint blocks. could be worse I suppose.
This is now working for new worlds, but be careful on existing worlds -- it isn't tested there yet, though it SHOULD work.
updates to copyright and usage of the mod.
changelog updated.
doyousketch2 has returned! fixes to README file, since this is still his baby.
leftover temp file...didn't need to be here.
2013-08-21 06:12:34 +02:00
You get the idea.
NUMERIC CODES FOR BLOCKS (this is the old way of coding these blocks
developed by Doyousketch2)
2013-02-24 19:09:02 +01:00
Please don't try to use /give commands, the items are now in numerical format,
and it would be tough to try to explain it.
If you really want to try, it goes like this:
yellow = 1
lime = 2
green = 3
aqua = 4
cyan = 5
skyblue = 6
blue = 7
violet = 8
magenta = 9
redviolet = 10
red = 11
orange = 12
however, minetest sees it in the order 10, 11, 12, 1, 2, 3...
2013-02-24 22:56:26 +01:00
so redviolet actually comes first.
2013-02-24 19:09:02 +01:00
and for whatever reason, minetest doesn't take blank spaces _ into consideration.
so the attributes just act like the next column of digits.
I had to offset them to keep it all in order.
Brightness:
dark = 3
medium = 4
full = 5
Saturation:
50% = 6
full = 7
so "Red, dark 50%" would be: stained_glass:11_3_6
"Blue, medium full-saturation" is: stained_glass:7_4_7
then we get to the bright colors.
same hue numbers, 1 - 12
but the attributes are:
light = 8
pastel = 9
faint = 91
so "Violet, light" is: stained_glass:8_8
and ""Orange, faint" is: stained_glass:12_91
I think this is too much to keep track of, but I hope this explains things in case anybody else is developing code.
For everyday purposes, let the computer keep track of the registered nodes, and just pick them out with the menu instead.
==============================================================================