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

Post Reply
User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

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

by addi » Post

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
Last edited by addi on Sat Oct 08, 2016 00:35, edited 5 times in total.

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

nice! but it's crafting recipe not "Craft rezieps:"

User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

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

by addi » Post

Thanks, Only if people give feedback about my mistakes I can get better :-)

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

Yes :)

User avatar
D00Med
Member
Posts: 943
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

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

by D00Med » Post

Very nice! I noticed that if the search light is placed high up from the ground, there is a dark area underneath the light.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

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

by addi » Post

You have to place more searchlights a bit away to each other to remove the dark patches

User avatar
Onyx
Member
Posts: 120
Joined: Fri Sep 25, 2015 08:36
In-game: onyx58
Location: Steinheim-NodesNation
Contact:

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

by Onyx » Post

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.
"Science sans conscience n'est que ruine de l'âme."
-----------------------------------------------------------------------------------------
Steinheim NodesNation : steinheim-minetest.servegame.com Pt : 28000

User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

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

by addi » Post

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.

TARD
Member
Posts: 45
Joined: Thu Sep 01, 2016 23:28
GitHub: kingtard
IRC: turd
In-game: TARD

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

by TARD » Post

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

User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

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

by addi » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests