RimWorld

RimWorld

484 ratings
Sense Of Depth For Tall Buildings
5
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
584.956 KB
15 May, 2024 @ 1:48am
17 Jun @ 1:51pm
24 Change Notes ( view )

Subscribe to download
Sense Of Depth For Tall Buildings

Description



Description
This mod visually adds a sense of depth to tall buildings.
Pawns at behind tall buildings will be drawn hidden.

What this mod does is very simple. Just add an additional layer with a higher altitudeLayer to the tall buildings.
This additional layer will be referred to as BSL (Back Side Layer) below.







Differences From Previous Mods
  • Auto Support
    All BSL are applied by filtered automatic patches. Most of the buildings by other mods will be supported automatically.


  • Use Print Method
    Drawing of additional layers now uses the print method and can be implemented drawn with the same workload as normal buildings.
    *If the parent building graphic does not use Print method, use the Draw method.


  • Graphic Reuses
    BSL uses the mesh and textures by the parent building as is. (If there has cached graphics, use it.)
    This eliminates the need to prepare a new texture for the BSL.



  • Buildings Scratch
    Building scratches are now drawn correctly.



  • Storage Buildings Supported
    BSL is also available in storage buildings. However, only if there have no contents. (because the BSL will cover and draw the contents item)


If use BSL for the storage building, recommend Deep Storage or Adaptive Storage.
Storage setting to "hide contents item" by these mods, BSL will be drawn even after stored items.



  • Mod Setting Enhanced
    In case automatic patching causes additional layers to be added even to inappropriate buildings, the mod settings option can be toggle to enable or disable.


  • Attach Icon

Attach an additional icon to the Architect icon for BSL supported buildings.

It also supports VFE Props unique window.


Note) If you have a lot of buildings by other mods, you may notice a decrease FPS, but Rimworld's architect gizmos are heavy to begin with if there are lot of buildings items.



Known Incompatibility and Issues

*Huge pawns may have their heads hidden or look ungainly due to BSL.


Extremely large headgears and weapons may also be hidden.
(Might I solve this issue in the future...)


*The BSL attach icon is not displayed for those that use their unique dropdown menu.

*BSL will hides "fillable bar" that displayed on top of buildings.

*BSL even hides flying pawns (using jump packs, special genes, etc.)

*Buildings with their own additional Draw may not be drawn correctly.

*Buildings with special animations are clearly incompatible but may BSL applied.


*Currently perhaps the apply filter is insufficient.
If you see BSL applied to something that is clearly inappropriate, please report it.


Just in case the Xml patch can also be used to enforce whether or not the BSL applied.
(Please see the discussion page for more details.)




Defs Fixes Patch
Automatically Patch to BSL supported buildings.

Patch Contents:
  • altitudeLayer
    Replace "non-Building" with "Building". Because it doesn't need to ”other than Building" if it has BSL.

  • passability
    Replace "Standable or Undefined" with "passthroughOnly". Because BSL-support-buildings should not be "Standable". Unless it's done intentionally by the original mod buildings author...

  • passCost
    Replace "less than 30 or undefined" with "30". Because BSL-support-buildings should not be "PassCost is 0". Unless it's done intentionally by the original mod buildings author...


The above patch is intended to ensure that BSL can be used properly. If a Issue occurs, you can stop the Defs patch by the mod settings. You can check the details of the patch by turning on [Detailed Log Output] in the mod settings and launching the game.


Auto Defs Fixes Patch is now discontinued.



Required



Languages
  • English
  • Japanese
  • Chinese (by 摄魂狼) -- translate mod






Recommended My Mod





If you like my mod, please buy me a ko-fi. That as a fuel for modding.
[ko-fi.com]
Popular Discussions View All (6)
3
6 Jul @ 7:01am
Sense of Depth stopped working, Rimworld 1.5
Jisto
1
17 Jun @ 1:54pm
Exception Error from Bookcases
Vermillion Cardinal
2
3 Jun @ 12:49am
PINNED: Criteria for BSL Auto Supported.
Si-Cafe
164 Comments
Si-Cafe  [author] 11 Jul @ 3:08am 
@KawwaK Rimworld is not a pure 2D game, so it is not easy to measure the rendering order of objects by coordinates.
This mod adds depth in a fairly hacky way, so it is highly unlikely to make it into vanilla.
KawwaK 10 Jul @ 1:37pm 
How isn't this vanilla yet??
Si-Cafe  [author] 29 Jun @ 1:45am 
@Danger Close Trees are not supported by this mod. Please see past comments.
Danger Close 28 Jun @ 2:15pm 
Does this work for Zal's Big Trees mod?
Beef 22 Jun @ 9:04am 
I tried the instructions you have provided and it fixed it, thanks for the help :dogmeng:
Si-Cafe  [author] 17 Jun @ 1:57pm 
The errors introduced by the update to version 1.6 have been fixed.
I'm sorry for the confusion.
Si-Cafe  [author] 17 Jun @ 5:07am 
In the latest update, the folders were separated into 1.5 and 1.6.
There are no changes to the code of this mod at this time, but it seems that an error occurred in 1.5 due to the addition of reference dll added in 1.6.
OreOMll 17 Jun @ 5:05am 
@Si-Cafe Thanks for the quick fix.
VitaKaninen 17 Jun @ 4:42am 
I am getting massive amounts of errors for lots of my buildings after the update.
Si-Cafe  [author] 17 Jun @ 4:27am 
@OreOMll Ah, sorry, I forgot to separate assemblies folder of 1.6 and 1.5. I'll fix that right away.