Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Grum

Bad lights on maps

Recommended Posts

Yes, that light is probably valid. The client always prints an error when the light is outside the map, but this one is barely so (x=-1.32). My thought was that this light is probably still visible, so the script didn't remove it (it only removes lights with coordinates < -10).

 

We can update the script to remove all lights with negative coordinates, but I think that in this case it's better to check in the map editor that the light really is invalid, and if so, remove it there. And probaly we should also update the client to not print an error for these lights.

Share this post


Link to post
Share on other sites

Yeah, as I said above, just extend the valid range in the check (to match your script, most likely) and all should be well :medieval:

Lights that close will be valid since they cast light, it's only the "garbage" numbers that need to be cut.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×