RimWorld

RimWorld

272 ratings
Sense Of Depth For Tall Buildings
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
458.740 KB
May 15 @ 1:48am
May 28 @ 10:10am
9 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.



Required



Languages
  • English
  • Japanese
  • Chinese (by 摄魂狼)







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 (2)
0
May 15 @ 7:14am
PINNED: About Xml Patch
Si-Cafe
0
May 15 @ 6:37am
PINNED: Criteria for BSL Auto Supported.
Si-Cafe
72 Comments
Science Bear Jun 7 @ 8:23am 
Not sure if mentioned before but seems to cut off half of the battery charge graphic
hypergeekoid Jun 1 @ 2:50pm 
Cool!
Thetaprime May 28 @ 5:45pm 
Thanks for checking. Wasn't sure if there would be overlap in function.
Si-Cafe  [author] May 28 @ 4:30pm 
@Thetaprime I think there is no need for the you mentioned mod to be compatible with this mod. Maybe that mod just needs to be reworked.
Si-Cafe  [author] May 28 @ 3:39pm 
@Thetaprime I'll check if it is possible.
Thetaprime May 28 @ 11:31am 
or rather, do the same job that Perspective: Buildings did for Awnings and Roofs.
Thetaprime May 28 @ 11:29am 
Could this be made compatible with [DBL]Awnings And Roofs @ https://steamcommunity.com/sharedfiles/filedetails/?id=2836493333
Si-Cafe  [author] May 28 @ 8:53am 
Updated: Added compatibility to weapon racks.
Note that if you toggled BSL on a rack with a weapon already stored, you will need to use the rack’s gizmo to update the weapon's position.
Mr. J Soda May 27 @ 3:53am 
From doing testing, it seems this mod is incompatible with Weapon Racks by Aelanna https://steamcommunity.com/sharedfiles/filedetails/?id=2788630748
Si-Cafe  [author] May 22 @ 6:15pm 
@Draconian_Alpha1990 May not work properly for some buildings that have additional draw.
BSL currently has no way to automatically detect them, so sorry, currently I would like user to use the manually enable/disable per buildings in the mod settings.