[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4866: Undefined array key "database_gc"
FOSS gamedev and creative worlds • View topic - Fall mod: torches, ladders, signs, rails & more now know gravity
Page 1 of 1

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

PostPosted: Fri Jan 20, 2012 09:14
by xyz
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)

PostPosted: Fri Jan 20, 2012 13:09
by sfan5
+2

PostPosted: Fri Jan 20, 2012 13:14
by jordan4ibanez
wow very nice! i hope this is put into the default COUGH CELERON55 COUGH :P

PostPosted: Fri Jan 20, 2012 23:54
by IPushButton2653
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

PostPosted: Sun Jun 17, 2012 20:02
by neo
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.

PostPosted: Mon Jun 18, 2012 05:25
by sfan5
The param2 changed and the Mod is not updated