Page 1 of 1

[Mod] Searchlight, Spotlight, colored glow glass [lights]

Posted: Mon Jul 04, 2016 09:15
by addi

Lights mod for Minetest

This mod adds a few coloured lights (blue, red, yellow, green) a fancy lamp, a Searchlight and a Spotlight to Minetest.
The Searchlight and Spotlight are great to light up huge caves. Both can be controlled by Mesecons, if Mesecons mod is installed.

This mod was written by mauvebic in 2012.
Its rewritten now by King-Arthurs-Team in 2016.

License:
Code: CC BY-SA
Textures: (c) 2012 Mauvebic


Dependencies:

* default (builtin in mintest_game)
* mesecons (optional)


Download:

v1.0.0 zip gz bz2 View Source
v1.1.0 zip gz bz2 View Source

Nodes and crafting recipes:
Fancy Lamp
Classic Light bulb. Like it or not.

Image

Yellow Glow Glass

Base Material for most other craft recipes of this mod.

ImageImage

Green Glow Glass

Image

Red Glow Glass

Image

Blue Glow Glass


Image

Searchlight

This light hangs on the ceiling and produces a high amount of light.
Very great to light up dark caves or other dark spots. Turn on with right click.
The Searchlight also supports Mesecons mod if installed.

Image

Spotlight

Place this on the floor. If you turn it on with right-click, it produces a high amount of light as a small ray to heaven. The Spotlight also supports Mesecons mod if installed.
Image

Re: [mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Mon Jul 04, 2016 12:57
by azekill_DIABLO
nice! but it's crafting recipe not "Craft rezieps:"

Re: [mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Tue Jul 05, 2016 04:37
by addi
Thanks, Only if people give feedback about my mistakes I can get better :-)

Re: [mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Tue Jul 05, 2016 10:09
by azekill_DIABLO
Yes :)

Re: [mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Wed Jul 06, 2016 08:06
by D00Med
Very nice! I noticed that if the search light is placed high up from the ground, there is a dark area underneath the light.

Re: [mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Wed Jul 06, 2016 08:52
by addi
You have to place more searchlights a bit away to each other to remove the dark patches

Re: [Mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Sun Jul 17, 2016 08:31
by Onyx
Hi,

Good mod, we use it on our server for its effectiveness,
I just noticed that when you place a searchlight on
ceiling in a room, the light is reflected in several block
below passing through the ground.

Re: [Mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Mon Jul 18, 2016 16:25
by addi
Yes, thats true, I made some tries with stopping if hitting a massive node, but it was realy bad and not performant. In the next version I might let it stop if it hits any node other than air.

Re: [Mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Thu Oct 06, 2016 23:12
by TARD
Is this something to do with this mod? Just a server startup message

2016-10-06 19:00:04: WARNING[Main]: Node 'light_source' value exceeds maximum, limiting to maximum: lights:daylight

Re: [Mod] Searchlight, Spotlight, colored glow glass [lights

Posted: Sat Oct 08, 2016 00:44
by addi
TARD wrote:Is this something to do with this mod? Just a server startup message

2016-10-06 19:00:04: WARNING[Main]: Node 'light_source' value exceeds maximum, limiting to maximum: lights:daylight
Normaly you shouldn't care about this. Everything is working right. Its not a bug of this mod, its because a new limitation of the Minetest engine. They limited the maximum light source from 15 to 14 for no reason.

But you can download version 1.1 of this mod to keep the warning quite.
In this version I also added some ideas from posts above.
v1.0.0 zip gz bz2 View Source