minetest / minetest

Minetest is an open source voxel game-creation platform with easy modding and game creation
https://www.minetest.net/
Other
10.64k stars 2.01k forks source link

Feature Request: Night Vision. #6509

Open tenplus1 opened 6 years ago

tenplus1 commented 6 years ago

Would it be possible to add a player override setting that draws everything client-side in FULL brightness when enabled ? This way we could toggle proper night vision per player which would make an amazing feature in-game :)

ghost commented 6 years ago

i think it can be realized as mod (but it can be used as a cheat).

tenplus1 commented 6 years ago

if the feature exists then a mod can be added later to make use of it

Calinou commented 6 years ago

i think it can be realized as mod (but it can be used as a cheat).

It cannot be done as a mod (server-side or CSM), since it's all about how the client renders lighting.

HybridDog commented 6 years ago

Minetest needs automatic exposure adjustment. It hurts my eyes when I'm in a house lit by torches. The average brightness of a pixel belonging to a node is currently below 0.5 even in sunlight. You could then allow configuring the limits using mods, e.g. to allow unlimited exposure adjustment in creative mode (or priv) and disallow viewing everything at night in survival mode. Btw, fullbright mode is on the things to do soon.

paramat commented 6 years ago

HybridDog you can now edit the light curve in settings which might help you.

HybridDog commented 6 years ago

Increasing light in the light curve just means reducing the amount of darkening, the average brightness of the brightest face of a node is always less than or equal as bright as the average brightness of its texture.

tenplus1 commented 6 years ago

@paramat - exactly, and giving more functionality to the game for effects mods and special items.

mesecrafted commented 6 years ago

My night vision mod This is a server-side mod for night vision. Using /nightvis 1 for full night vision or /nightvis nil for no night vision. Also, use a number between 1 and 0 to use percentage of light (1 looks like time 12000, 0 looks like time 0) WARNING today is my first day making minetest mods and using github for files so i might have mad a noob mistake but please tell me if i did.

ClobberXD commented 6 years ago
player:override_day_night_ratio(1)

comes to mind, but I guess that would be useless in underground caverns...

mesecrafted commented 6 years ago

True and also is server side so no can.

Tcll commented 3 years ago

this would be a really good thing to have Minecraft has a potion of night vision which allows you to see in the dark for an amount of time and of course there are numerous mods which allow enchanting a helmet or something of the sort to grant constant night vision

and then of course Aroma1997 has the mining world mod which is constantly lit if enabled in the settings

if you're afraid of cheating (mining all ore in the area without a significant amount of work), add a mob engine

but even then, I personally don't claim that's cheating as I've worked towards modes of earned pseudo-creative (mine 1 block, get up to 5 ingots) in Minecraft (excluding project-e)... if you've put in numerous weeks of work to earn a pseudo-creative mode that needs at least some sort of fuel to function, then it's not cheating. (Magical Crops + Mekanizm + Solar Expansion + RF Tools + Applied Energistics 2 + Engineers Toolbox) ^ this takes months to build up and still needs a constant feed of resource and energy

paramat commented 3 years ago

It cannot be 'cheating' if it is server-controlled, as requested.

Tcll commented 3 years ago

I'm actually requesting both server and client server to set the world brightness (eg: having either pitch black OR dim daylight caves like in 0.4.16) client to set night vision effect from potion or enchantment, or via world

I personally prefer dim daylight as it makes the game more playable

I don't understand in what way this is cheating though... cheating would be more mining 1 block and getting 99 resource