hampusborgos / rme

Remere's Map Editor
Other
293 stars 221 forks source link

World light preview #138

Closed Ch3st3r2000 closed 1 year ago

Ch3st3r2000 commented 8 years ago

Hi, just asking if there is possibility to implent something like time of day mode? To see how the map would look at night, how would look light effects like lamps, torches etc underground. Something like ingame. I know that i can just start the server go there and see but this feature would save a lot of time.. So like i said before is that possible? if not now, maybe in future?

Kamenuvol commented 8 years ago

I agree and think it is possible. And there is also the problem to know what the player will see, if on that sqm he will see the mountain above, how many levels of it, or only his floor.

Ch3st3r2000 commented 8 years ago

Well, if that feature would be toggleable by ON/OFF, i think that only selected floor (or +1, 0 and -1) should have layer of effects visible. Why only current floor? because it would avoid some bugs like overlap of light layers.

hampusborgos commented 8 years ago

It's certainly possible, but it is quite difficult to imitate the lightning behaviour in the Tibia Client. If this is every implemented, I would recommend looking at the YATC code for it: https://github.com/opentibia/yatc/blob/master/engine.cpp#L386

totolol123 commented 8 years ago

Important feature and would worth the effort.