Spotlights [testing]

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

Spotlights [testing]

by mauvebic » Thu Apr 19, 2012 19:56

Modes: 90degrees from the ground (straight up), 45 d in every direction (diagonal), and off; punch node to toggle modes; range of 20 nodes :-)


Image
Image
Image
Last edited by mauvebic on Fri Apr 27, 2012 14:11, edited 1 time in total.
"Fuck the hat." - Paulie Gualtieri
 

User avatar
Ragnarok
Member
 
Posts: 213
Joined: Thu Mar 22, 2012 12:56

by Ragnarok » Fri Apr 20, 2012 07:00

Great :) I was wondering how to highlight a waterfall and you "made" the answer.
Last edited by Ragnarok on Fri Apr 20, 2012 07:01, edited 1 time in total.
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Fri Apr 20, 2012 09:24

woulda been cool against the waterfall of my "starbase" (floating city) too if i still had the map :S lol

also useful when you fast/fly far away from any settlements, i find my way back easier lol
"Fuck the hat." - Paulie Gualtieri
 

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

by sfan5 » Fri Apr 20, 2012 12:56

Really nice!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Fri Apr 20, 2012 13:27

im thinking of adding an extra mode: automatic. where the light moves around :-)
"Fuck the hat." - Paulie Gualtieri
 

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

by sfan5 » Fri Apr 20, 2012 14:00

+1 That would be awesome!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Fri Apr 20, 2012 14:04

up and down or more circular?
"Fuck the hat." - Paulie Gualtieri
 

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

by sfan5 » Fri Apr 20, 2012 14:22

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

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Fri Apr 20, 2012 17:02

shouldnt be too dificult, though the moving spotlights will almost have to be a seperate mod since it will probably have 20+ states lol

Image
"Fuck the hat." - Paulie Gualtieri
 

User avatar
kddekadenz
Member
 
Posts: 323
Joined: Mon Jun 27, 2011 17:21
GitHub: tinyworlds

by kddekadenz » Mon Apr 23, 2012 14:03

Tested your mod.
Suggestions:
- make a blinking variant (abm?)
- add to the spotlights:light node:
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
selection_box = {
        type = "fixed",
        fixed = {0, 0, 0, 0, 0, 0},
    },
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Mon Apr 23, 2012 15:29

kddekadenz wrote:Tested your mod.
Suggestions:
- make a blinking variant (abm?)
- add to the spotlights:light node:
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
selection_box = {
        type = "fixed",
        fixed = {0, 0, 0, 0, 0, 0},
    },


I was supposed to program a pattern into the spotlights, though blinking could work just as well. though the more modes i add the more likely ill have to split up the splotlights by function, as it stands it can take a while to toggle the spotlight to the last mode when playings on P4 lol

What does that bit of code do?

i also noticed they work underwater though they only illuminate above the water, is this desirable behaviour?
"Fuck the hat." - Paulie Gualtieri
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Mon Apr 23, 2012 15:39

A spotlight should illuminate the water surrounding it as well as solid objects above and below the water line, if possible.

I occasionally place torches while working underwater, they work well for that, if shorter range than a spotlight.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
kddekadenz
Member
 
Posts: 323
Joined: Mon Jun 27, 2011 17:21
GitHub: tinyworlds

by kddekadenz » Wed Apr 25, 2012 15:06

mauvebic wrote:
kddekadenz wrote:
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
selection_box = {
        type = "fixed",
        fixed = {0, 0, 0, 0, 0, 0},
    },

What does that bit of code do?


It will make your light-node non selectable.
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Wed Apr 25, 2012 15:24

omg thank you for that, its been driving me nuts since i started testing lol
"Fuck the hat." - Paulie Gualtieri
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 9 guests

cron