Artificial Lighting

Discussion in 'Archived: Plugin Requests' started by Tibbs, Mar 26, 2011.

  1. Offline

    Tibbs

    I was wondering if it was possible to create a plugin that simulates daylight in certain areas, for instance, a house or shop. That way you wouldn't need to rely on torches or jack-o-lanterns.

    Just a thought.
     
  2. Offline

    Astrognome

    That would be cool, however, it probably requires a client side mod. Come on, Notch. Were waiting for the modding API you promised us.
     
  3. Offline

    lapzoo

    I wanted to ask EXACTLY the same 1 second ago but just wanted to have a quick look weather there's thread already :)
    And here I am, I want to set the time to night for a... graveyard :D
     
  4. Offline

    zytherxy

    Would be nice for a server that's always night except for in a city, and even if it was client side, I would have it in a jiffy.
     
  5. Offline

    flAked

    I did a little testing and was able to create artificial lighting for any block. I was wondering how to integrate this into a nice plugin (bed side lamp, paper balloon lamp etc).

    Illuminating houses would not be a problem, I don't know if a whole city is feasible, though. Placing new blocks in the city will trigger a "light remap" every time for each block in the whole city.

    Any downloadable city-maps I can test this on?

    One idea would be to generate a massive bounding box defined by city walls and all inside would be lit up. A special trigger (maybe a switch on glow stone) could toggle the city lights.

    It would be purely server-side, I tested this already on my server and 3 clients.

    Thoughts, ideas?
     
  6. Offline

    zytherxy

    Sounds good, with the whole city light on and off, would be annoying for some guy to over there and flick them on and off really fast, but other than that would be a good idea.
     
  7. Offline

    Tibbs

    Bump
     
  8. Offline

    Deathly

    flAked could you post your code? Would be nice to see how it works :)
     

Share This Page