Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
LastEmployeeAlive
Plays music from nullscape and displays an banner when only one employee remains alive.
By Tricky085
| Date uploaded | 2 weeks ago |
| Version | 1.0.1 |
| Download link | Tricky085-LastEmployeeAlive-1.0.1.zip |
| Downloads | 22 |
| Dependency string | Tricky085-LastEmployeeAlive-1.0.1 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
Last Employee Alive
When the whole crew is gone and only one employee remains alive, the real tension begins.
THE IDEA IS TAKEN FROM ROBLOX GAME - NULLSCAPE!
Last Employee Alive turns the loneliest moment of a run into a cinematic event. As soon as the second-to-last teammate dies, everyone in the lobby — both the last survivor and the dead spectators — experiences the shift
How it works:
- Multiplayer Only: Designed for co-op lobbies (2+ players).
- Paced for Progression: In standard lobbies (up to 6 players), the event only activates starting from the 2nd quota, keeping your very first days chill. In massive lobbies (7+ players), the chaos starts right from Quota 1.
- 👁️ Survive long enough into the deeper quotas, and the atmosphere might change even further...
Installation & Notes:
- Client-side compatible: Works out of the box. For the best experience, all players in the lobby should have the mod installed so everyone sees and hears the event at the exact same moment.
- Fully configurable via the BepInEx config file (
com.zcode.lastsurvivor.cfg) if you want to adjust quota thresholds.
Testing:
If you need to test the mod, start the day alone, then the Hotkeys will become available:
- F10 - Start the event
- F11 - End the event
- Shift + F10 - Start the event (quota 6+)
Последний выживший
Когда вся команда погибла и в комплексе остаётся последний живой сотрудник — начинается настоящее напряжение.
ИДЕЯ ВЗЯТА ИЗ ИГРЫ NULLSCAPE!
Last Employee Alive превращает самый одинокий момент вылазки в кинематографичное событие. Как только погибает предпоследний член экипажа, у всех игроков в лобби — и у самого выжившего, и у мёртвых — срабатывает эффект
Особенности:
- Только для мультиплеера: Мод создан для кооператива (от 2 и более игроков).
- Баланс по квотам: В обычных лобби (до 6 человек) мод начинает работать со 2-й квоты, чтобы не перегружать самое начало игры. В больших компаниях (7+ человек) работает сразу с 1-й квоты.
- 👁️ А для тех, кто сможет забраться достаточно далеко по квотам, припасён отдельный сюрприз...
Установка:
- Рекомендуется устанавливать через r2modman / Thunderstore Mod Manager.
- Чтобы момент разделяли все (и выживший, и наблюдатели), мод должен стоять у каждого участника лобби.
- При желании пороги квот можно настроить под себя в конфиг-файле (
com.zcode.lastsurvivor.cfg).
Тестирование:
Если вам нужно протестировать мод то начните день одни, тогда станут доступны Хоткеи:
- F10 - Начать событие
- F11 - Закончить событие
- Shift + F10 - Начать событие (квота 6+)
CHANGELOG
Changelog / История изменений
1.0.3 — Client quota fix, reliable player counting, memory economy / Фикс квоты на клиентах, надёжный подсчёт игроков, экономия памяти
- Quota detection on clients joining a saved lobby:
timesFulfilledQuotais NOT synced by the game to clients (stays 0). Now, if the base value points to quota 1 but the always-syncedTimeOfDay.profitQuotaexceedsstartingQuota, the mod treats the lobby as quota 2+ (and jumps straight to theme 2 whenprofitQuota >= 800) / Определение квоты на клиентах, зашедших в сохранённое лобби:timesFulfilledQuotaигрой не синхронизируется (остаётся 0). Если базовое значение указывает на 1-ю квоту, а всегда синхронизируемыйTimeOfDay.profitQuotaбольшеstartingQuota, мод считает лобби квотой 2+ (а приprofitQuota >= 800— сразу темой 2). - Reliable player counting via
StartOfRound.allPlayerScripts(GetPlayerCounts): counts controlled-alive players and dead-but-not-disconnected spectators; compatible with MoreCompany-sized lobbies; falls back toconnectedPlayersAmount + 1if slots are not synced yet / Надёжный подсчёт игроков поallPlayerScripts: живые под контролем и мёртвые-но-не-отключившиеся зрители; совместим с большими лобби MoreCompany; при несинхронизированных слотах — откат наconnectedPlayersAmount + 1. - Round activation safety net: if the
openingDoorsSequencepostfix does not fire, activation is evaluated once per landing inUpdate()(shipHasLanded && !inShipPhase) / Страховка активации раунда: если постфикс не сработал, активация оценивается один раз за высадку вUpdate(). - Music fade logging:
StopMusicWithFade(reason)logs why/when the music fades (last survivor died, ship leaving, stats, test) / Логирование затухания музыки: причина и момент глушения пишутся в лог. - Memory economy for long tracks:
music.ogg/music2.oggload withDownloadHandlerAudioClip.compressed = true(CompressedInMemory instead of hundreds of MB of raw PCM); shortbell.oggstays uncompressed for instant playback / Экономия памяти для длинных треков: музыка грузится сжатой в памяти, короткий колокол — без сжатия.
1.0.2 — Stability hardening / Защита стабильности
- All Harmony postfix bodies and the per-frame Update loop are now isolated with try/catch: an exception thrown from a postfix would otherwise propagate into the caller of the original game method (which participates in the network flow) — now any mod error is logged and safely swallowed / Тела всех Harmony-постфиксов и покадровый Update изолированы try/catch: исключение из постфикса иначе пробрасывается в вызывающий код игрового метода, участвующего в сетевом потоке — теперь любая ошибка мода пишется в лог и безопасно поглощается.
1.0.0 — Initial release / Первый релиз
- Animated banner + bell + looping music when only one employee remains alive / Анимированная картинка, колокол и зацикленная музыка, когда в раунде остаётся один выживший.
- Smooth 3-second music fade-out on the last survivor's death and at round end; instant stop on disconnect / Плавное 3-секундное затухание музыки при гибели последнего выжившего и в конце раунда; мгновенная остановка при отключении от игры.
- Activation rules: multiplayer only; normal lobbies (2–6 players) from quota 2, large lobbies (7+ players) from quota 1 / Активация только в мультиплеере: обычные лобби (2–6 игроков) — со 2-й квоты, большие (7+) — с 1-й.
- Theme 2 (
survivor2.png/music2.ogg/bell2.ogg) from quota 6 with automatic fallback to theme 1 when files are missing; theme-2 art and music are bundled with the package / Вторая тема с 6-й квоты с автоматическим откатом на тему 1 при отсутствии файлов; арт и музыка темы 2 включены в пакет. - Thresholds configurable via BepInEx config (
MinQuotaNormal,LargeLobbyThreshold,Theme2Quota) / Пороги настраиваются в конфиге BepInEx без перекомпиляции. - White-fringe pixel cleanup and Clamp wrap mode for banner textures / Программная очистка текстур от белой каймы и Clamp wrap mode.
- Solo test hotkeys: F10 (LeftShift + F10 for theme 2), F11 / Тестовые клавиши в соло: F10 (LeftShift + F10 — тема 2), F11.