Page 1 of 4

[Mod] BobBlocks [git] [bobblocks]

PostPosted: Fri Mar 16, 2012 10:13
by RabbiBob
BobBlocks

--------------------------------------------------------------

*** Please Note ***

Current code from GitHub:
Please refer to the most recent commit or active forks from the GitHub base by visiting GitHub.

Coders Please update the README.TXT and version information header on your forks\commits. While I am not actively maintaining, I can be reached at the e-mail supplied in the original code and I can merge with the base if there are substantial changes\improvements.

--------------------------------------------------------------

  • Description - Created for my children to add some colorful nodes to building and also to add light. Uses Unified Dyes to provide 89 colors in each of the four basic nodes. Simply craft and place a neutral-colored fence or block (or their "wavy" counterparts), then punch the block while wielding dye to change its color.
  • Code License - GPLv2/later
  • License of textures and sounds - Image
  • Mod dependencies: None
  • Development Version: 20120122 | 20120606
  • Dependencies: Mesecons, Unified Dyes

Servers Using
Let me know if you use this mod on your public server

Current code from GitHub:
Download: https://github.com/minetest-mods/BobBlo ... master.zip
...or browse the code: https://github.com/minetest-mods/BobBlocks
For the 0.4.15-stable version (no hardware coloring), get this ZIP file.

Old Downloads:
  • Minetest Build Test | Ver | TAR | ZIP | Alternate Texture Sizes*
  • 20120122 | 0.0.1 | tar | zip
  • 20120122 | 0.0.2 | tar | zip
  • 20120122 - 20120408 | 0.0.3 | tar | zip
  • 20120122 - 20120408 | 0.0.4 | tar | zip | 16x16 | 32x32
  • 20120122 - 20120408 | 0.0.5 | tar | zip | 16x16 | 64x64
  • 20120318 - 0.4.2 RC1 | 0.0.6 | tar | zip | 16x16 | 64x64
  • 20121207 - 0.4.4 | 0.0.7 | tar | zip | 16x16 | 64x64 (no changes to textures from 0.0.6)
  • 20130305 - 0.4.5 | 0.0.8 | tar | zip | 16x16 | 64x64 (no changes to textures since 0.0.6)
  • 20170209 - squashed and merged Vanessa's recent changes to Master. No changes to textures. Version info not updated

* Default texture size < v0.0.5 = 64x64, otherwise 32x32

minetestmapper.py

Alternate Textures
Note: untested by Me

Changelog
0.0.1
  • Initial publish
0.0.2
  • Reworked recipes output amounts per suggestion
  • Created lightpoles/fences based on "fencelike" drawtype. Building type is a fence, so all node properties follow suit.
  • Provided recipe for "Wavy" block and its corresponding pole - "Wavy" texture still under review
0.0.3
  • Updated for 20120318
  • Corrected un-diggable node issue re: groups
  • material left for backwards compatibility with 20120122
  • Verified works with 20120320 - no package changes needed

0.0.4
  • Added Health Node - defaults to off. Punch on and walk over to receive 10HP
  • Broke out parts into group lua files (blocks, poles, health)
  • On/Off states for all bobblocks blocks - default to light on \ punch for light off. Right-click the block to turn it on/off.
  • Translucent off state for bobblock blocks (not poles)
  • Screenshots and notes here
  • Added alternate texture sizes 16x16 & 32x32

0.0.5
  • Changed default texture to 32x32
  • On\Off states for all bobblocks poles - default to light on \ punch for light off
  • Added Mesecons (video) compatibility for blocks and poles: Making Discussion ~ Working Code. I'm debating on how I want to implement the dependency (either two versions of this or a straight depends) as I'm already seeing an issue of depending on another mod.
    • Added directions for dependency in main post and in the init.lua file.
  • Merged blocks and poles lua files. Long story.
  • Pit trap is available (currently in testing), however turned off in init.lua

0.0.6
  • Added ReadMe.txt (because people RTFM, right?)
  • Added recipes for traps, activated in init.lua, and created hidden (set) states for spike traps (see video). Added Death Dealer's spike textures. Fake grass node finished (see video).
  • Added sounds to blocks, poles, health and traps
  • Removed deprecated material = minetest.digprop_glasslike(1.0), from nodes (breaks backwards compatibility pre- v20120318) and deprecated registered falling node

0.0.7
  • Corrected for latest Mesecons version
  • All blocks and poles are now Mesecon conductors
  • Removed Jeija support (not backwards compatible)
  • Added conductor property to health block


0.0.8
  • BobBlocks has a birthday! (3/13/12)
  • Added "not_in_creative_inventory=1" to all off-state light blocks & sprung traps per suggestion
  • Corrected drop type issues (major trap dropped minor trap, extra orange pole)
  • Corrected internal version documentation issue
  • Added GitHub repo. We'll see how that goes...

Current Worklist

  • This fall I want to learn a better way of generating multiple like nodes in .lua before completing this.
  • Create stair nodes.
  • Also see Basic node_box thread for ideas on new blocks
  • Remove fake grass node after passing through
  • Frickin' Laser Beams <-April Fool's Joke. I may see if it works some day.


Current Bug List

  • Minor: Using "alpha = WATER_ALPHA," to achieve transparency creates a block that sees through the ground beneath it. See this postfor example.
  • Minor: Need to figure out way to trigger spike death sound without the loop due to being with the ABM proximity loop (sound plays after death until respawn).

PostPosted: Fri Mar 16, 2012 10:14
by RabbiBob
Recipes
Blocks
ImageImage
ImageImage
ImageImage
ImageImage
Image

Poles
ImageImage
ImageImage
ImageImage
ImageImage
Image

Health
Image

Traps
ImageImage
Image

Let me know if I've crossed recipe spaces with anyone.

PostPosted: Fri Mar 16, 2012 10:15
by RabbiBob
Video Examples

Development Screenshots

Screenshots

Image
Hot Tub Mood Lighting

Image
Rainbow

Image
Rainbow Bridge

Image
0.0.2 LightPoles Added

Image
0.0.5 Mesecons Compatibility Added

PostPosted: Fri Mar 16, 2012 14:29
by bgsmithjr
RabbiBob wrote:BobBlocks
Let me know if you use this mod on your public server


I am using it.

PostPosted: Fri Mar 16, 2012 14:33
by Calinou
Hah, nice. :)

PostPosted: Fri Mar 16, 2012 17:11
by Hackeridze

PostPosted: Fri Mar 16, 2012 17:21
by wokste
Dont you think getting 20 blocks is a bit too much.

(Considering balance, I would limit them to 2.)

Secondly, consider adding the blocks to the creative inventory.

PostPosted: Fri Mar 16, 2012 21:39
by RabbiBob
wokste wrote:Secondly, consider adding the blocks to the creative inventory.


How so?

bgsmithjr wrote:
RabbiBob wrote:BobBlocks
Let me know if you use this mod on your public server


I am using it.


Thanks! Added server to the list (didn't see it on your mod list, but added anyway).

PostPosted: Fri Mar 16, 2012 21:59
by RabbiBob
Updated to 0.0.2 - added LightPoles

PostPosted: Sat Mar 17, 2012 22:29
by evildrummer
Oh cool now we can have mario cart

PostPosted: Sun Mar 18, 2012 00:51
by evildrummer
evildrummer wrote:Oh cool now we can have mario cart

only if we have minecart cough c55 cough

PostPosted: Sun Mar 18, 2012 00:53
by sdzen
cough I cough see cough

PostPosted: Sun Mar 18, 2012 22:36
by RabbiBob
Updated for 20120318, see changelog.

PostPosted: Tue Mar 20, 2012 20:39
by RabbiBob
Verified for 20120320

PostPosted: Wed Mar 21, 2012 19:26
by Death Dealer
Added to [url]Minetest.com[/url]:D waiting for your recipes.

PostPosted: Wed Mar 21, 2012 20:31
by LolManKuba
I just saw the recipes so know I know how to make these blocks.

PostPosted: Thu Mar 22, 2012 06:58
by Death Dealer
RabbiBob wrote:Replaced the above recipes with individual pictures.

If it helps:

http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/01_redblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/02_blueblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/03_yellowblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/04_whiteblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/05_greyblock.jpg

http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/06_orangeblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/07_greenblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/08_purpleblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/09_indigoblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/10_redpole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/11_bluepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/12_yellowpole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/13_whitepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/14_greypole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/15_orangepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/16_greenpole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/17_purplepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/18_indigopole.jpg

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/01_redblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/02_blueblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/03_yellowblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/04_whiteblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/05_greyblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/06_orangeblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/07_greenblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/08_purpleblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/09_indigoblock.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/10_redpole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/11_bluepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/12_yellowpole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/13_whitepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/14_greypole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/15_orangepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/16_greenpole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/17_purplepole.jpg
http://i64.photobucket.com/albums/h195/rabbibob/Minetest/BobBlocks/bbrecipes/18_indigopole.jpg

thanks so mush i will add them:D

PostPosted: Thu Mar 22, 2012 15:31
by Death Dealer
ok Recipes added:D

PostPosted: Thu Mar 22, 2012 21:28
by RabbiBob
+1

PostPosted: Sat Mar 24, 2012 13:21
by RabbiBob
Coming soon in 0.0.4

Health Kit (Video)

PostPosted: Sat Mar 24, 2012 15:24
by Death Dealer
nice vid on health block, the nyan cat heaven mod has this tho. not as a recipe just the nots in the trees do the same thing,very nice:D

PostPosted: Sat Mar 24, 2012 16:01
by RabbiBob
Thanks. I was an avid Quake CTF player and the CTF discussion had me thinking about this approach.

PostPosted: Sat Mar 24, 2012 17:47
by Death Dealer
RabbiBob wrote:Thanks. I was an avid Quake CTF player and the CTF discussion had me thinking about this approach.

Awesome, ya i wasnt even thinkig of thatXD but ya that would be perfect to heal up at your main base:D+1

PostPosted: Sat Mar 24, 2012 22:13
by RabbiBob
Updated test

http://www.youtube.com/watch?v=X5MYE5CZvP8

Node now can be placed indefinitely and when punched will deliver a does of health, then disappear.

PostPosted: Sat Mar 24, 2012 22:57
by Death Dealer
RabbiBob wrote:Updated test

http://www.youtube.com/watch?v=X5MYE5CZvP8

Node now can be placed indefinitely and when punched will deliver a does of health, then disappear.

thats cool man, i like how it lights up when you punch it .

PostPosted: Sun Mar 25, 2012 18:02
by RabbiBob
Added ver 0.0.4

Image
Added translucent node state

Inadvertently figured out how to do something that was part of my original idea for this mod: translucent\opaque nodes. Note the translucent blocks in the off state, which would work well for stained glass sculptures.

Image
Health Kit - Off State

Image
Health Kit - On State

Walking through Health Kit while on will deliver 10HP to the player

PostPosted: Mon Mar 26, 2012 16:20
by cosarara97
lol:
Image
What you see under the block is the same you would see in fly mode, the caves underground xD

PostPosted: Mon Mar 26, 2012 16:24
by RabbiBob
Noticed that last night & I need to test to see where else it does it (other than on ground level).

Unsure if it's a 'feature' or a 'bug' at this point ;-) <j/k>

Out of curiousity, what are your game settings in your mintest.conf file? Your image looks far more glassly than what I've seen on my system (and I like it).

PostPosted: Mon Mar 26, 2012 17:14
by cosarara97
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
address = localhost
creative_mode = 0
enable_damage = 0
name = cosarara97
new_style_leaves = 1
port = 30000
smooth_lighting = 1
free_move = false
enable_3d_clouds = 1
opaque_water = 0
only_peaceful_mobs = 1
fast_move = false
selected_mainmenu_tab = 0
selected_world_path = /home/jaume/.minetest/worlds/world

I'm on linux (so I use opengl) and I'm currently using the default texture pack :D

PostPosted: Mon Mar 26, 2012 17:16
by Death Dealer
cosarara97 wrote:lol:
Image
What you see under the block is the same you would see in fly mode, the caves underground xD

This is cool. A windows to underground.