DayZ
Combine gasmask filters
11 Comments
4me 14 Jan, 2024 @ 2:33pm 
Octorn 24 Dec, 2023 @ 7:45am 
Thanks for this mod its so usefu l:steamthumbsup:
Bobcat  [author] 12 Mar, 2023 @ 4:23pm 
It's in the description. Repacking is allowed, just give some credit where you can.
Stéphane 12 Mar, 2023 @ 8:00am 
Hi Darling do you allow repack this mod ?
Thrombose-Paul 11 Jan, 2023 @ 3:06pm 
Good mod
Bobcat  [author] 4 Jan, 2023 @ 3:24pm 
After this experiment I can say that items on the map, no matter where they are, if they have the 'count_in_map' flag on they are taken into account. Meaning that if, let's say 30 filters can spawn on your server, and 2 ppl use up 10 filters each and drop them anywhere, then the server will see 20/30 filters on map and only cycle 10 filters on their normal spawnpoints until those 20 disappear.
Bobcat  [author] 4 Jan, 2023 @ 3:22pm 
So I spawned in, looked through the buildings and found exactly 5 masks and 5 filters. Picked them up, put them in a bag, moved 200m away for a few sec and went back. Again, I found exactly 5 masks and 5 filters. Now after I picked them up I just moved the masks and filters outside and placed all of them 100m away from the buildings. After this for 5 minutes I just teleported away, moved around, came back but every time the buildings were empty. So after waiting a little more I decided to pick up the filters from the spot where I left them and put them in a bag again. I went back to the buildings and found exactly 5 filters already spawned in but no masks. I kept picking them up, teleporting away, moving a little and they kept respawning, but not the masks. A while later just to make sure I picked up the masks too, went back and found exactly 5 masks spawned in.
Bobcat  [author] 4 Jan, 2023 @ 3:20pm 
Ok so I did a little bit of testing.
- placed 4 buildings which spawn hunting loot
- removed EVERYTHING from types.xml only leaving gasmask and gasmask filter in it
- set nominal to 5, min to 2, restock to 0
- set their 'usage name' to hunting
- exported the mapgrouppos (with only the 4 buildings), put it in the mission folder and started up my server
SkiGoggles 4 Jan, 2023 @ 12:50pm 
you can look at the github for the "GasMask" entry and see how the flags are set. As for how they work, BI hasn't documented it in their wiki, but I've been running servers for years and that's the accepted functionality. Ask in the dayz discord, enfusion modders or reddit. There was a time when those flags were widely used on weapons which made them rare, but they were mostly all set to 0 a year ago or more.
Bobcat  [author] 4 Jan, 2023 @ 12:17pm 
Do you have a source for that? Like some wiki entry or something
SkiGoggles 4 Jan, 2023 @ 11:37am 
you don't need to worry about the number of filters spawning in the world. the server config only counts filters in their spawn position, not ones in other places. none of the flags (count_in_cargo or count_in_hoarder, count_in_player) are set.