Fall mod: torches, ladders, signs, rails & more now know gravity

User avatar
xyz
Member
 
Posts: 449
Joined: Thu Nov 10, 2011 14:25

Fall mod: torches, ladders, signs, rails & more now know gravity

by xyz » Fri Jan 20, 2012 09:14

This simple mod will fight against items hanged in air. Now if you have sign on side of node and you have dug it, it will fall (and drop itself out as item). Mod has simple API:
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
register_falling_item({name}, {type})

There are 2 types now:
  • bottom - item will fall if there is no walkable=true node below it (examples: rails, flowers)
  • param2 - item will fall if there is no walkable=true node which is it attached to. (examples: signs, torches)
Download - mod & example for torches, ladders, signs and rails (from default mod)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Jan 20, 2012 13:09

+2
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Fri Jan 20, 2012 13:14

wow very nice! i hope this is put into the default COUGH CELERON55 COUGH :P
If you can think it, you can make it.
 

User avatar
IPushButton2653
Member
 
Posts: 666
Joined: Wed Nov 16, 2011 22:47

by IPushButton2653 » Fri Jan 20, 2012 23:54

I just had a useless idea for hashtags on the forums....then I realized I've been on twitter a little TOO much. But that would definately be something worth implementing
 

neo
Member
 
Posts: 56
Joined: Fri Jun 15, 2012 07:50

by neo » Sun Jun 17, 2012 20:02

hi,

20120606 here, this mod is awesome, it influence make the thinking of the work and lighting so different.

The only drawback i found is that you can't no more fix torches on ceilings.

Any tips ?

Cheers.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Jun 18, 2012 05:25

The param2 changed and the Mod is not updated
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to WIP Mods

Who is online

Users browsing this forum: Google [Bot] and 8 guests

cron