Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
But I forsee problems with this. When players go to sleep voluntarily, they are probably safe and are definitely out of vahicles and ladders. Players currently driving vehicles, climbing ladders, or ighting zombies, will get a high chance to get injured or even die. Anyway they may suffer illness from cold etc. when awake.
But I guess I could check if players are safe, with no AI around + positioned on the ground. It is a bit complicated, will probably drain resourses on highly populated servers.
I sugest we make a configurable message if someone tries to sleep. So if one player lies down at night, others may get a message "Players asleep: 1 of 35. If all 35 player lie down, The night will be skipped."
Glad to hear!
Yes, it works, thanks ;)
Сколько лет делаю моды, но когда работает, радуюсь как первый раз.
Should be fixed now. Set RestoreSleepTiredPerMinute to 0.08 to get started. Current 0.3 will be too quick.
dzr_sleep_till_morning/5_Mission/mission\missionserver.c(428): Can't find variable 'current_state'
Found bug. Will be fixing tomorrow.
I will investigate tomorrow. Thank you for feedback.
Regardless of the setting and the length of sleep, it always fully recovers from tiredness.
You're welcome
It is already implemented internally and is coming up in the next update as well as other cool stuff.
I will drop the new version on discord or telegram - https://t.me/dayrussia_dzr , so you can test it and give feedback before I publish it.
Да, я тестировал с максимальными значениями... Сон не убьёт игрока, то есть там да, есть минимальный порог, когда не будет отнимать. Я забыл об этом упомянуть. Надо это вынести в конфиг тоже. Как-то не подумал. Исправим.
Или вот эти цифры в файле снимают лишь относительно максимальных значений 5000?
SCRIPT : int EnergyLoss = 1500
SCRIPT : float m_Energy = 4987.32
SCRIPT : float m_NewEnergy = 3487.32
SCRIPT : int WaterLoss = 1500
SCRIPT : float m_Water = 4999.48
SCRIPT : float m_NewWater = 3499.48
Отнимается в единицах энергии. Я только что проверил, исправно снимает и еду и воду. ПО умолчанию 1500 было. Всего у игрока на спавне 5000 и отнимается. Попробуй побольше поставить, чтобы заметнее было. И можно в админке смотреть, как отнимается.
А я баг нешел :) Игроки спят не до утра, а сутки и потом до утра :) Забыл где-то убрать добавление суток.
Пофиксил и обновил. Но надо тестить. Если что пишите в телегу.
https://t.me/dayrussia_dzr
Same for water.
Fixing.
I use Inedia Sleeping System, if it helps narrow the issue down, but...
I've edited the EnergyLoss.txt and WaterLoss.txt files in the "...\profiles\DZR\dzr_sleep_till_morning" folder. I set the numbers at the top all the way down to 1, but I'm still dropping down to yellow.
I was hoping to set it so I just drain a little bit of hunger, rather than nearly starve to death every morning.
How do we fix this?
Where can I configure it ?=)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2799531123