Draws the names of rooms, stockpiles and growing zones as labels on the floor, like Prison Architect does.
Features
- Names are drawn on the floor, so they will not obscure items and furniture on top of them.
- Rooms can be renamed using a button on the 'Architect -> Orders' menu. Use a blank string to reset.
- Colour, opacity and size limits of labels can be configured in Mod Settings.
- The names of rooms come from their role. Rooms without a role don't get a label, for now.
- Stockpiles will draw their name.
- Growing zones draw their plant name, unless the player renames the zone, in which case that is shown.
- Labels will be shown along the bottom edge or left edge of a room or zone, whichever has the most visible tiles.
- Mod can be added or removed from any save and should not conflict with any other mods.
Notes
- For now this only works in English (or any language using Latin letters without accents).
- The placement of labels is not always the smartest; the logic will improve in future updates.
- Rooms containing zones will show the zone names, but not the room label, as the mod is not yet smart enough to avoid the labels clashing. I will fix that in a future update.
Configuration
- Disable the display of room labels or zone labels, if you only want one type displayed.
- Customise maximum size of text.
- Configure minimum size below which a label will not be drawn.
- Configure furthest zoom level at which labels will be drawn.
Subscribe: Steam Workshop (https://steamcommunity.com/sharedfiles/filedetails/?id=1408863965) Direct Download: Github Release (https://github.com/Falconne/LabelsOnFloor/releases)
Source Code: Github (https://github.com/Falconne/LabelsOnFloor) Licence: GPLv3 (free to do what you like, just give me credit).
| (http://i.imgur.com/svyZ00am.png) (https://imgur.com/svyZ00a)
(http://i.imgur.com/k6BUfPsm.png) (https://imgur.com/k6BUfPs)
(http://i.imgur.com/YHhhKYkm.png) (https://imgur.com/YHhhKYk)
|
Simple Mod, helps alot. GREAT! Gotta try this ;)
Great idea! It would be cool to have the option to rename everything (even stockpiles).
As a side note, some time ago, I made a function (https://gitlab.com/rwmods/universal-fermenter/blob/ace34a5078a43d1f42d09d9a3594f2e13d004ef5/Source/Utils.cs#L49-83) which trims unnecessary vowels from a string to fit into a given number of characters. For example
VowelTrim("Building Materials", 13)
would output "Buildng Mtrls". This fitting is used in Dwarf Fortress. I just remembered this when I saw the "Building Mats" which is probably to shorten "Building Materials".
Also some of the fonts seem quite huge (Kitchen). It might be worthwhile to limit the maximum font size (in the mod settings). The above trimming method would help keeping the font size big enough in case of a too long name.
How does it look on small zones/rooms (like 1x1)? Maybe limit the label drawing above some size?
These are just some random thoughts, without actually testing it.
Nice mod! Before i started to play Rimworld i played much Prison Architect, so i will instantly download this :)
instead of a mod opton to disable a icon u ccan hit ingame would be better.
Just done an update with some quick changes based on feedback:
Configure label display in mod options:
* Customise maximum size of text.
* Configure minimum size below which a label will not be drawn.
* Configure furthest zoom level at which labels will be draw.
Nice! ;D
I also played Prison Architect even if Rimworld is very much a different game.
Useful for telling me which is the stone chunk dump pile and which is the potato farm and healroot farm!
Downloading it!
Just done another update. This time I made the text black by default, instead of white, to make the labels more subtle.
You can switch it back to white if you prefer, in the Mod Options, as well as configure the label opacity.
Done another update: Rooms can now be renamed using a button on the 'Architect -> Orders' menu.
Mod has been updated for v0.19
Quote from: sidfu on June 11, 2018, 12:19:50 PM
instead of a mod opton to disable a icon u ccan hit ingame would be better.
I just found this thread, and this mod looks really great! I have to agree with this post that a button to toggle this on and off would be perfect. Put it down in the bottom-right corner where you toggle viewing zones, roofs, etc.
Updated to 1.0
not support Chinese?
Quote from: publicuser on October 20, 2018, 07:28:56 AM
not support Chinese?
Only English for now, sorry. The labels are created using images for the letters, so it will be some effort to support other languages.
If you need Chinese characters, I can type it for you
Updated to 1.1
Updated for 1.2