Project Zomboid

Project Zomboid

评价数不足
CDC Rapid Response Settings - No Hope
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
23.842 KB
2022 年 9 月 29 日 下午 6:58
1 项改动说明 ( 查看 )

订阅以下载
CDC Rapid Response Settings - No Hope

描述
'CDC Rapid Response' is required as a base mod for this mod.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2857296919

Using this mod will override the CDCRR dynamic loot system and will utilize the PZ loot table system.
PZ loot tables are much faster - but sandbox settings for loot are disabled.

This mod is 'No Hope' Mode.

Loot is severely reduced.
Useful loot only spawns on first-responders, military and hospital staff - with an extremely rare chance.

Sandbox settings for loot are disabled.
Sandbox settings for Hardcore mode still affect packets being opened.
Sandbox settings for viral test fake infections are used.

Workshop ID: 2869308545
Mod ID: CDCRapidResponseSettingsNoHope
16 条留言
tot4ll3d 2023 年 4 月 19 日 下午 4:39 
No worries and nothing major, its the typical SP/MP drama with functions etc.

Just to stress I didn't test the exact solution below but the problem is confirmed, I do use a similar code chunk in my mod for checking for your's ironically and it works =)

Fingers crossed on this update you mentioned. I was thinking it would be absolutely amazing if there was a door open in your base mod for people with the knowledge (other modders) to create their own settings files! (maybe a pointer to a filename to use). But if something is in the works to remove them I'll sit tight and see what comes down the road :D

Many Thanks again, your Mod has become a mainstay of our servers and even integrated with our own mod for added loot on some of our special Z's!

Stay safe out there!
Tot4ll3d
Phil J Herman  [作者] 2023 年 4 月 18 日 上午 9:31 
@tot4ll3d I will take a look at this more closely in the next few days and see what I can find out with all this. Thank you for all the information. Good news is whenever I finally get this next update out, no settings mods are needed. Good luck out there!
tot4ll3d 2023 年 4 月 17 日 下午 2:22 
Hi Phil,

Sorry to fill your comments here Sir but we've got to the bottom of it. That line I mentioned below is only functional in SP - so none of these settings mods actually work MP atm!

print(ActiveMods.getById("currentGame"):getMods()) returns an empty array in MP.

Maybe something like:

local activatedModsTable = {}
local activatedMods = getActivatedMods()
for i=0,activatedMods:size()-1 do
activatedModsTable[activatedMods:get(i)] = 1
end

and then replace all the mod checks with:

if activatedModsTable['CDCRapidResponseSettingsStandard'] then
-- stuff
end

(NOT TESTED)

This will fix for MP and SP.

Awesome Mod BTW - hope you might find time to take a look at this!
tot4ll3d 2023 年 4 月 17 日 下午 1:41 
Further to below - used print on my mod to grab a printed list of active installed mods...

LOG : General , 1681763659212> 1,630,511,557> got mod: CDCRapidResponse
LOG : General , 1681763659212> 1,630,511,557> got mod: CDCRapidResponseSettingsNoHope
tot4ll3d 2023 年 4 月 17 日 下午 1:39 
Hi Phil,

I've run both with the hardcore and with the No Hope and neither are being found by the base mod. I run a few dedicated servers and have my own mod as well so checked all the basic/normal things.

I've also tried downloading both the core mod and the settings again, and changing the load order on 3 of our servers, same result everytime. It's like the line:

elseif(ActiveMods.getById("currentGame"):isModActive("CDCRapidResponseSettingsNoHope")) then

Just isn't working. Will investigate further and come back to you!
tot4ll3d 2023 年 4 月 17 日 上午 11:25 
Hi Phil,

I'll give that a try, I'm sure the settings mod was suppose to print a load of other stuff to the console saying that dynamic loot was being used and sandbox was disabled. But I'm not seeing those messages anywhere...

I'll try and switch over to the hardcore and see what happens....
Phil J Herman  [作者] 2023 年 4 月 15 日 下午 6:34 
@tot4ll3d That is an odd one. At first thought I am not sure. Have you verified that the ID and name are correct and that the settings mod is getting added? If that is all right, you can try doing the hardcore mode and seeing if that works, if it does, then you can switch back to No Hope and see if that corrected it.
tot4ll3d 2023 年 4 月 15 日 上午 8:37 
Hi Phil,

I'm using this Mod loaded AFTER the base CDC mod and still getting a console print saying no settings have been found and need to add one to disable dead container loot etc.

Any ideas why this might be happening...? I can see the settings loading in the console straight after :S

Thanks!
Sebastianech04 2022 年 10 月 22 日 上午 11:55 
Hi Phil!
This mod option is where the spawning of this type of loot is the most reduced?
My idea of using it would be that it doesn't exist in the loot tables so it does not spawn.
Phil J Herman  [作者] 2022 年 9 月 30 日 上午 8:51 
@DrTuSo - There is a great abundance in standard mode. It is to allow for sprinters mainly and to allow players to be a bit more reckless. Hardcore mode is the same as 'No Hope' but with higher loot chances.