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

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

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

by addi » Mon Jul 04, 2016 09:15

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: 7428
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

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

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

by addi » Tue Jul 05, 2016 04:37

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

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

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

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

by D00Med » Wed Jul 06, 2016 08:06

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: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

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

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

by addi » Wed Jul 06, 2016 08:52

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

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

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

by Onyx » Sun Jul 17, 2016 08:31

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: 636
Joined: Thu Sep 20, 2012 03:16
Location: Black-Forest, Germany
GitHub: adrido

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

by addi » Mon Jul 18, 2016 16:25

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 » Thu Oct 06, 2016 23:12

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: 636
Joined: Thu Sep 20, 2012 03:16
Location: Black-Forest, Germany
GitHub: adrido

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

by addi » Sat Oct 08, 2016 00:44

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
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 6 guests