RimWorld

RimWorld

168 ratings
Light Map
3
3
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
406.674 KB
7 Feb, 2021 @ 3:41pm
19 Jul @ 5:50am
20 Change Notes ( view )

Subscribe to download
Light Map

Description
This mod adds overlays showing potentially interesting information about map tiles.

Light Map - brightness overlay
Adds an overlay which shows the brightness of tiles on the map.

Can be toggled to only show the overlay for roofed areas.

Dark areas are colored black and red.
Lit areas are color in shades of green if at 50% or above and yellow if below 50%.
Brightly lit areas show up white.


Path Map - movement speed overlay
Adds an overlay showing the movement speed of each tile on the map.

Inaccessible areas will show in black.
Movement speed is colored from lowest to highest in red to green.
100% is colored white to make it stand out a bit better.

Notes:
This overlay is not perfect.
Some things are not taken into account, like pawns standing in a tile causing the movement speed to be lowered as pawns have to move past them.
The game normally does not allow for movement speeds over 100% through the "pathCost"-parameter (it gets limited to 0 as the lowest value in some methods), but it can be achieved through other modding. As my overlay uses pathCost to determine the movement speed, it does not take this into account sadly.


Beauty Map - beauty overlay
An overlay that allows showing the beauty that is contained in each tile.

Notes:
There is also an option to toggle between showing the tile's beauty and the average beauty of the tile. The average beauty is what will affect the beauty need of a pawn, increasing or decreasing it depending on the value. Its calculation, though, is very very slow, especially when it has to be calculated over the whole map instead of just for where a pawn is currently standing or for the mouse cursor (beauty display, hotkey "t").
Because of how insanely slow the calculation is, I made the overlay force pause the game while it is active if the "average"-option is checked.
Unless I missed something there is no easy way to optimize the calculation for showing the average beauty, especially not to a point where it can run in real time. Still, I liked this overlay mode option enough to include it, despite this severe draw back.



Should be safe to add to an existing safe.



GitHub: https://github.com/XT-0xFF/LightMap

---

The code for this was derived from the highly recommendable mod "Heat Map", which shows temperature in rooms:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=947972722
38 Comments
Luneyl 19 Jul @ 6:32am 
Works nicely, thanks for update!
Syrus  [author] 19 Jul @ 5:50am 
Version 1.6.2
Fixed maps not drawing in space
Syrus  [author] 18 Jul @ 3:12pm 
Maybe there is neither light nor movement in space...!
Got Odyssey now, so I can look into several mod issues that came up
Luneyl 18 Jul @ 3:08pm 
Light Map and Movement Speed Map overlays don't work in space :(
16 Jul @ 1:59am 
Hey dude, thanks! I love this mod. It makes building EVERYTHING so much easier!
Vertigo 13 Jul @ 10:22pm 
Thank You! This mod is/was one of the primary reasons I still had hugslib installed. Heat Map was the other one, but I had switched to a different temp mod not long ago.
Syrus  [author] 13 Jul @ 7:00am 
Version 1.6.0
Update to 1.6
Removed HugsLib dependency
Reworked settings accordingly
bashnako 12 Jul @ 1:00am 
Please , we need 1.6
5 Jul @ 10:02pm 
I don't want to nag, but are you planning to update this to 1.6? It's really useful and I can't find another mod like it. I'd appreciate it.
Plague - No Computer 1 Dec, 2024 @ 8:54am 
Beautiful mod. Helped me find 0% areas to reduce Bug spawns. Thanks!