Laylem reports: [node suggestion] Directional ... #3303

Open
opened 2022-12-23 08:00:25 +00:00 by yourland-report · 2 comments

Laylem reports a bug:

[node suggestion] Directional light. Current lights decay by 1 light level for each node. I suggest a light, such that, for one direction it decays rather slowly. (Equivalent to having a line of invisible lights of decreasing strength?)

Player position:

{
	y = -34.499000549316,
	z = -2000.58203125,
	x = -971.61395263672
}

Player look:

{
	y = -0.40514159202576,
	z = -0.49994441866875,
	x = -0.76545143127441
}

Player information:

{
	protocol_version = 41,
	formspec_version = 6,
	major = 5,
	lang_code = "",
	version_string = "5.6.1",
	state = "Active",
	minor = 6,
	min_rtt = 0.16500000655651,
	ip_version = 6,
	max_rtt = 1.569000005722,
	avg_rtt = 0.17299999296665,
	min_jitter = 0,
	max_jitter = 1.3909999132156,
	avg_jitter = 0.0020000040531158,
	connection_uptime = 2728,
	serialization_version = 29,
	patch = 1
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 22040\", \"3d_armor:chestplate_crystal 1 22040\", \"3d_armor:leggings_crystal 1 22040\", \"3d_armor:boots_crystal 1 22040\", \"shields:shield_rainbow 1 8816\", \"\"}",
		partychat = "main",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		["signslib:pos"] = "(-946,-7,-2015)",
		yl_commons_player_created = "1659420654",
		yl_commons_player_joined = "1671779723",
		jointime = "1659420654",
		["ocean_build.last_warning"] = "1.66072e+09",
		digged_nodes = "285150",
		placed_nodes = "75067",
		died = "32",
		yl_commons_thankyou = "47",
		crafted = "53251",
		xp = "299005",
		arenalib_infobox_arenaID = "0",
		["stamina:level"] = "12",
		bitten = "0",
		repellant = "0",
		hud_state = "on",
		["stamina:exhaustion"] = "139.5",
		["stamina:poisoned"] = "no",
		punch_count = "21813",
		["ocean_build.ocean_built"] = "11",
		inflicted_damage = "450644",
		yl_church = "return {[\"last_death_portal\"] = 1670664823, [\"last_death\"] = {[\"z\"] = -2000, [\"x\"] = -961, [\"y\"] = -26}, [\"last_heal\"] = 1662278340}",
		played_time = "1556915"
	}
}

Log identifier


[MOD] yl_report log identifier = 0rXl7FDcxmqGYZWDP3lLHiJIwPwVm8gx

Profiler save:

profile-20221223T080025.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 3d 19h 12min 16s | max lag: 1.89s | clients (13/42): 9T9, AliasAlreadyTaken, Bailiff, bizon, daydream, floater, Katze, kha13, Laylem, marmar22, Murmel, niceride, Service

Teleport command:

/teleport xyz -972 -34 -2001

Compass command:

/give_compass Construction 0rXl7FDcxmqGYZWDP3lLHiJIwPwVm8gx D2691E -972 -34 -2001
Laylem reports a bug: > [node suggestion] Directional light. Current lights decay by 1 light level for each node. I suggest a light, such that, for one direction it decays rather slowly. (Equivalent to having a line of invisible lights of decreasing strength?) Player position: ``` { y = -34.499000549316, z = -2000.58203125, x = -971.61395263672 } ``` Player look: ``` { y = -0.40514159202576, z = -0.49994441866875, x = -0.76545143127441 } ``` Player information: ``` { protocol_version = 41, formspec_version = 6, major = 5, lang_code = "", version_string = "5.6.1", state = "Active", minor = 6, min_rtt = 0.16500000655651, ip_version = 6, max_rtt = 1.569000005722, avg_rtt = 0.17299999296665, min_jitter = 0, max_jitter = 1.3909999132156, avg_jitter = 0.0020000040531158, connection_uptime = 2728, serialization_version = 29, patch = 1 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 22040\", \"3d_armor:chestplate_crystal 1 22040\", \"3d_armor:leggings_crystal 1 22040\", \"3d_armor:boots_crystal 1 22040\", \"shields:shield_rainbow 1 8816\", \"\"}", partychat = "main", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", ["signslib:pos"] = "(-946,-7,-2015)", yl_commons_player_created = "1659420654", yl_commons_player_joined = "1671779723", jointime = "1659420654", ["ocean_build.last_warning"] = "1.66072e+09", digged_nodes = "285150", placed_nodes = "75067", died = "32", yl_commons_thankyou = "47", crafted = "53251", xp = "299005", arenalib_infobox_arenaID = "0", ["stamina:level"] = "12", bitten = "0", repellant = "0", hud_state = "on", ["stamina:exhaustion"] = "139.5", ["stamina:poisoned"] = "no", punch_count = "21813", ["ocean_build.ocean_built"] = "11", inflicted_damage = "450644", yl_church = "return {[\"last_death_portal\"] = 1670664823, [\"last_death\"] = {[\"z\"] = -2000, [\"x\"] = -961, [\"y\"] = -26}, [\"last_heal\"] = 1662278340}", played_time = "1556915" } } ``` Log identifier ``` [MOD] yl_report log identifier = 0rXl7FDcxmqGYZWDP3lLHiJIwPwVm8gx ``` Profiler save: ``` profile-20221223T080025.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 3d 19h 12min 16s | max lag: 1.89s | clients (13/42): 9T9, AliasAlreadyTaken, Bailiff, bizon, daydream, floater, Katze, kha13, Laylem, marmar22, Murmel, niceride, Service ``` Teleport command: ``` /teleport xyz -972 -34 -2001 ``` Compass command: ``` /give_compass Construction 0rXl7FDcxmqGYZWDP3lLHiJIwPwVm8gx D2691E -972 -34 -2001 ```
AliasAlreadyTaken was assigned by yourland-report 2022-12-23 08:00:25 +00:00

The use case is for large buildings, lights placed on upper floors cannot reach the ground, making it pitch black... which means the floor has to have integrated lights or be lit from underneath. Directional lights would allow ceiling mounted lights to light up the ground.

The use case is for large buildings, lights placed on upper floors cannot reach the ground, making it pitch black... which means the floor has to have integrated lights or be lit from underneath. Directional lights would allow ceiling mounted lights to light up the ground.
AliasAlreadyTaken added the
1. kind/enhancement
label 2022-12-23 13:45:42 +00:00

Sound easy, but light in MT is some black magic. So far, MT only knows omnidirectional lights.

Your suggestion migh require a block sending a raycast to a wall or the floor and then create an invisible lightblock there, much like its done with wieldlight

Sound easy, but light in MT is some black magic. So far, MT only knows omnidirectional lights. Your suggestion migh require a block sending a raycast to a wall or the floor and then create an invisible lightblock there, much like its done with wieldlight
flux added the
3. source/engine
label 2022-12-23 17:55:55 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#3303
No description provided.