Project Zomboid

Project Zomboid

1,522 arvostelua
Item Stories [beta]
6
2
5
5
2
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
291.810 KB
19.9.2023 klo 3.10
25.10.2024 klo 2.55
12 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Item Stories [beta]

Kuvaus
This mod makes buildings more "lived in" by spawning items inside them. It is picking what to spawn randomly from a 'story' system.

If you've tried my "'immersive barricaded start" mod , this will spawn items in a similar way, but for every building, and at a much lower chance.

I've made it into a framework, so different item stories can easily be added.

I've tested this thoughout a 20-days-long savefile, so I'm still figuring out the balance for this, but it looks good so far. I'm open to feedback. You can tweak easily the values with the sandbox settings anyway.
Start and Peak sandbox settings use the same principle as my "Time Decreases Loot" or "Time Decreases Car Condition" mods : start settings are applied before the start day, peak settings applied after the peak day, and proportionally scaled settings are applied between start day and peak day.

Other stories can easily be added, to spawn specific items in specific rooms and/or on specific furniture sprites for example.




List of Item Story mods that I have/will release :

I will make an all-in-one mod with all item stories eventually.




Taking suggestions
If you have an idea for an item story, you want an item to have a chance to spawn in some rooms or furnitures, leave it in the comments.
Or better yet, simply make a mod yourself that uses the framework. You only need to know how set up a lua table, how building rooms are named (Click here for a list of PZ's rooms[pzwiki.net]), and how to check furniture sprite names using the Brush Tool of PZ's debug mode.
Though keep in mind that stories can only spawn inside a building. 'Forest' stories aren't possible, for example.




Limitations

Randomized Houses:
Item stories are only generated in rooms that have not generated a vanilla randomized house story event. So if you absolutely want Item Stories to trigger on every room, you'll need set the Sandbox Setting "Meta" -> "Randomized House Chance" to "Never".

Tilesets with no surface offsets :
Some mods use tilesets that haven't properly mapped their tiles' furniture surface offsets, which means some of their furniture tiles will be considered as floor instead of furniture. Which generally means much lower chances of item story spawns.
Even some furniture in vanilla don't have their surface offset mapped. I can't really do anything about it. The devs have said they're going to implement a sudo-3d map for each sprite, but it'll be a while before they release it in a build.
These sprites can be recognized easily by simply trying to "Place Item" on one of these tiles to see that it's not working.

The mod will still work though, it's not like these tiles break anything.




Note : Playing with this means obviously you're going to find more loot. So I recommend either turning down the vanilla loot, or turning down the Sandbox Settings of this mod.



Recommendation:
It is recommended to use Loot Tables Fixed [41.78] alongside this mod, but it's not strictly a must-have.




Can it spawn modded items?
Yes. Specifically, the 'Room Loot' story can spawn them, since it picks items from the same loot tables as containers. And then there's also Zupercarts carts, for which I specifed the item Ids of the carts.
However, I am NOT responsible if another modder hasn't properly inserted their custom items in the loot tables.




Multiplayer : does it work ?
It worked when I tested it on my own local dedicated server with only me on the server.
The framework is basically client side only, though, so I'm expecting some things to go wrong.




What about performance?
I made sure that when the player explores, the item stories spawner triggers on one unexplored room at a time, every tick, instead of all unexplored rooms at once. Because of this, even when I teleported into the middle of Louisville's biggest buildings, I didn't notice any lag.




Workshop ID: 3037988451
Mod ID: ItemStories_RoomLoot
Mod ID: ItemStories_Framework

Workshop ID: 3037988451
Mod ID: ItemStories_RoomLoot
Mod ID: ItemStories_Framework
Suositut keskustelut Näytä kaikki (3)
46
17.6. klo 16.27
Bug reports
Champy
1
9.2.2024 klo 4.34
Suggestions - Item stories
🌴 Zunder 🌴
1
10.12.2023 klo 14.26
That actually cool mod - Thanks!
Unamelable
185 kommenttia
f 20.6. klo 10.40 
Hello, I don't know why when I search for my own corpse or the corpse of my online teammates after my character dies, I get an error, after adding the bandit mod, it also reports an error when the bandit appears, your mod is very great, please fix these problems if you can, thank you
CocoBat 9.6. klo 11.55 
Does anyone know of any mods similar to this that work on B42?
Starman 2.3. klo 8.28 
Yeah, need update this cool mod! :steamthis:
ENERHEL 1.3. klo 12.06 
Update to b42 please? :c
xW1CK3DxDANKx 22.2. klo 13.08 
Your mods are fire. I gave you a lot of steam points so more people download them
Cyanide 10.2. klo 5.26 
@tilarum That would piss me off xd I like having loot spawned but I like to keep what I find. Insanely rare in sandbox and ridiculously rare mod makes me keep even 20 screwdrivers. Just in case.
tilarium 9.2. klo 10.18 
Fun fact #73: Just because you found something doesn't mean you have to take it. Just ignore the loot, or my preference to get rid of what I think is to much, take it and put it on the next zombie I kill so it'll eventually despawn when the zeds decays away.
Cyanide 9.2. klo 8.54 
Is there a way to make it spawn LESS loot as when I am playing on insanely rare loot this one carries me through the game too much but I really like having it. :)
Kaoeutsu 5.1. klo 9.13 
calm down people, the dev already said just a few comments below that it will be updated for B42, chill.
CrusaderDave 4.1. klo 18.48 
Is "Room Loot" part of this mode already? I tried clicking it like the others and it wont let me. I tried searching for it and couldnt find it. Anyone else having this issue?