Поиск по STEAMB

Игры по онлайну и скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

Dubs Bad Hygiene: StallDoorFix

Положительные голоса99%114 голосов игроков
Подписчики25,1 тыс.25 066 в Steam Workshop
Размер файла496,43 КБЗагрузка через Steam
Обновление автора4 июл. 2026 г.Дата обновления материала
Dubs Bad Hygiene: StallDoorFix

Добавить в игру через Steam

  1. Перейдите в Steam

    Откроется страница именно этого материала.

    Открыть в Steam Workshop
  2. Нажмите «Подписаться»

    На странице Steam войдите в аккаунт, если потребуется.

    Подписаться

О материале

«Dubs Bad Hygiene: StallDoorFix» — материал мастерской RimWorld. Моды для колонии: новые возможности, предметы и удобство игры. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.

Описание автора

Short Description:

Fix the graphic issue (T shape) of stall door when dubs hygiene and rebuild are used together.

Also work for Dubs Bad Hygiene LITE:

Make sure you are using ONE OF THE FOLLOWING: Dubs Bad Hygiene OR Dubs Bad Hygiene Lite .

Detailed Descriptions

Rebuild gives a new perspective for doors in the game. Original patch of StallDoor in Rebuild raises a graphic issue (T shape) caused by Dubs Bad Hygiene. Currently, the patch for StallDoor is deleted in Rebuild Mod.

I re-added the patch for StallDoor and using transpiler to clean up some codes in DrawAt method in the class Building_StallDoor (from Dubs Bad Hygiene).

Now, Stall Door will have perspective door function in Rebuild working without giving T-Shape.

Technical Explanation

The issue there is a visual error in StallDoor is that this building has custom animation logic in its DrawAt method. However, in this method it also call base.DrawAt(). So in a naive way to understand this issue is that the drawing is called twice.

My way to fix this issue is to remove base.DrawAt call in DrawAt method of StallDoor. (This is done in the first version of this patch).

Since some comments saying that there is memory leak problem while using my mod, I investigated the cause. I guess some mods are using transpiler patch to find this base.DrawAt call and if they could not find the base.DrawAt then they may create a dead loop. Therefore, in the current version, instead of removing base.DrawAt() call, I use if-condition to hide this call. That is:

if original codes in the mod are:

base.DrawAt();
// Remaining Codes

Now the codes become:

if false {
base.DrawAt();
}
// Remaining Codes

Hope this can solve the memory leak issue. However, I should warn that this way for fixing is not the most performant since removing is more performant than hiding.

Credits

I used the original patch code and texture in Perspective Door Mod created by Owlchemist.

Since Dubs is too busy to fix his code, I temporarily upload this mod. Once Dubs decide to fix this problem, I will delete the mod.

Currently, I am trying to contact with the authors of Rebuild so that they could absorb this fix into Rebuild mod (Maybe in future you do not need to use this mod.)

Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения