Project Zomboid

Project Zomboid

2,964 voti
Barricaded World - Extended Erosion [b41+]
8
3
8
4
2
2
3
2
2
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Mods: Build 41
Dimensioni del file
Pubblicato in data
Aggiornato in data
65.400 KB
27 dic 2021, ore 11:25
24 set 2022, ore 13:24
9 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Barricaded World - Extended Erosion [b41+]

Descrizione
Features
Most of the time, I play at very advanced erosion. But I always found that houses were "too clean" so I created this mod to put erosion to the next level. It makes most of the houses look like abandoned safehouses and city buildings appear desolated.

Depends on the world's current erosion level.
When loaded, windows and doors in the world may be broken and/or randomly barricaded.

Windows
  • 60% will be destroyed
  • 44% chance of planks barricades
  • 6% chance of metal sheet barricade
  • Note: Only ground floor windows may get barricaded
Doors
  • 40% will be destroyed
  • 20% chance of planks barricades
  • Note: Only doors leading outside may get barricaded

You can protect some doors / windows from erosion
  • Right click on your safehouse’s doors/windows and select “Protect from erosion”
  • You can also remove protection from erosion the same way
  • See it in action here

Erosion Integration

Here is my personal recommendation for playing with this mod: Sandbox Config[i.imgur.com]
You could also use the "Six Month Later" Sandbox preset with a "Normal" zombie count for a quicker configuration.

Apparition of broken and barricaded windows depends on erosion advancement:
  • In options, adjust erosion with "Erosion Speed" and keep "Erosion Days" at 0
  • The more advanced the erosion, the more chances the following code has to happen
  • 25% of current erosion advancement means 25% chance for a window to go through the Barricaded World code
  • If erosion below 100%, 30 days after a place load, if the place is loaded again, the code will be run again
  • When code is loaded for a place at 100% erosion, it will not run anymore even past several days

Examples of Sandbox configuration for erosion:
  • A world with normal "Erosion Speed" (100 days) and with "Month since Apocalypse" set to 2 (60 days) will start at 60% of Erosion.
  • A world with very fast "Erosion Speed" (20 days) and with "Month since Apocalypse" set to 1 (30 days) will start at 100% of Erosion.

Upcoming Plans
I have several ideas that I may implement in the future:
  • Increase performance if possible to rely on something else than LoadGridsquare
  • Remove some water from sinks depending on erosion
  • More configurability of script (percentages, toggle on-off, etc.)
  • Randomly open & add sheet ropes to windows on upper floors
  • Reintroduce top floor barricades and have them always inside
  • Reintroduce metal bars barricade once found a way to avoid placing on bay windows
  • Find a way to handle alarms being triggered when glasses are broken

Map Pre-loading (optional)
If you are encountering performance issues using the mod, it is because checking squares for windows and doors can be performance intensive and rely on the LoadGridsquare function. If you want to benefit from the apocalypse look allowed by this mod but are experiencing stuttering, you can pre-load the key parts of the map one time and then disable the mod from your save/server.

I have created a mod specifically for that use case:


Since this is a one-shot map loading. It will obviously not work for progessive erosion but only at the erosion level set during the map loading (I usually do it with maximum erosion, but you may want to load your map at lower erosion levels).

The process takes time but I find it very useful, especially when preparing a server as admin before playing with friends. Hope this can help, meanwhile I will continue to try improving the mod’s performance!

Extra
I tested the mod in solo and local multiplayer. It relies on the LoadGridsquare event so it has more impact on performances than some other mods. Many thanks to co` for showing me how to access decompiled PZ code which allowed me to do the erosion integration.

Workshop ID: 2696986935
Mod ID: BarricadedWorld

More Mods by Onkeen:


Workshop ID: 2696986935
Mod ID: BarricadedWorld
Discussioni più popolari Visualizza tutte (1)
2
24 set 2022, ore 16:59
Bug Report
Kyrox
339 commenti
MGoolic 10 mag, ore 15:18 
Is there still an update for this Mod?
ShadowMonolith 10 mag, ore 3:49 
Are you planning to add a function to the mod that disables the barricading of doors and windows?
ily. 9 mag, ore 10:32 
nice mod bro, thx
Crusader 1 apr, ore 20:09 
Works for me fine also does anyone know how to disable doors being broken at start? im not too familiar with coding and im afraid i might mess up the lines
Ricksdetrix 30 mar, ore 18:13 
Is this working for anyone? A few months ago it stopped working, doesn't work with no mods either
Green -.- 30 mar, ore 7:37 
I do not recommend using this mod on multiplayer servers. It will refresh the doors and windows of the building you pass over a period of time, which will cause a very serious problem. For example, if you just repair a door or a window, as long as When the module is running and refreshed, there will be a chance of destroying the doors and windows you just repaired, and causing the house with the alarm bell to attract a large number of zombies to gather. This is obviously a bad situation, after all, the multiplayer server There will be out-of-sync issues
22JUAN22 28 mar, ore 12:33 
I'm trying to do a more societal-collapse type scenario in singleplayer with no zombies using Superb Survivors. I'm trying to do a playthrough at the beginning of the apocalypse, but I want to use this mod because I want the world to look more chaotic. Is there any way to get this to activate during the earlier months of the apocalypse? Such as one week later?
Funny 22 feb, ore 6:37 
this mod is very cool and atmospheric, but when I turn it on, I lose about 50 fps, given that I have a pretty good PC, so use it carefully)
Don't use this mod if you use buildcraft. It arbitrarily and repeatedly breaks and barricades windows and doors even when you've just placed them.
Tevin 13 feb, ore 15:58 
Hey, is there a way to change the percentages of broken windows and barricades? I find it annoying how almost every house is boarded, especially when you are just starting and can't enter a garage that is barricaded with a metal sheet on the inside.