DayZ
GarbageSearch
EpikWynn 7 Jan, 2023 @ 2:28pm
Potential Bug Report:
Testing this on latest server as of today, on Deer Isle. I am able to search Garbage piles, and specifically small grey garbage containers. Larger dumpsters, such as the white and green topped bins (Pictures 3 and 4 in the mod slideshow) and the large trash pile with the chair on it (Picture 5) can not be searched on Deer Isle 5.0(c). I checked, and VPP does see these as "GarbagePoint"s, so I know the mod is likely working. Any idea on how to fix?

Confirmed the following DOES work for me:
Searching, getting sick, getting custom loot from the trash that does allow searching, getting cut.

Love this mod, thank you so much for the effort put into it!

Question:
I noticed that there are some custom classes generated by this mod. Are there any additional types/recipes included in this mod that should be added to the cfgeconomycore.xml? (I noticed that there is `SodaCan_Cola_Empty`, but I wanted to see if there is an exact list of what the mod adds)
< >
Showing 1-6 of 6 comments
[S.C.] Zedmag  [developer] 7 Jan, 2023 @ 2:50pm 
Just that. The empty soda cans. You can add them to xml if you want. They arnt used for anything as of yet. I was gonna make them to be used with improvised soda can knifes. But just haven’t. if you can see the ‘search points’ then it’s all working as intended. Try getting on top of the objects or super close and in first person
EpikWynn 7 Jan, 2023 @ 6:18pm 
Thanks for that! I'll add the XMLs for the types and spawnabletypes in (I declare all of them explicitly for all mods).

I will try walking over all of the dimensions of the trash piles and let you know. Also, this server config only allows first person config, and I'm verifying it with a crosshair turned on. I have video of my runthrough, and could send that along.
MastaHiggins 8 Jan, 2023 @ 1:34am 
Everything works fine on DeerIsle, including that dumpsters and pile with chair.
1PP no crosshair.
Last edited by MastaHiggins; 8 Jan, 2023 @ 1:37am
EpikWynn 15 Jan, 2023 @ 1:53pm 
Thanks @MastaHiggins. I'll take a look at the layering of the mods. We're also using Winter - and some folks found that climbing on top of the textures helped.

Follow up question:
One of the items we have in the GarbageSearch is the `Matchbox`. We have VERY low quantmin/quantmax values for scarcity. When the Matchbox was found from Garbage search, it seemed to use its own custom item amount - much higher than what we have in our types. Is it supposed to pull from what's defined in the types file, or is there another way to affect # of units found for partial-type items (matchbox, rags, cans of food).
MastaHiggins 15 Jan, 2023 @ 2:43pm 
Yes, the quantity of items is hardcoded.

Find this line in ActionSearchGarbage.c:
float z_setQty1 = (Math.RandomFloat(-1, z_maxQty1));

That means you can find up to maximum possible quantity of item.

To get, say, 5 times less, add " / 5" after "z_maxQty1". It should look like this:
float z_setQty1 = (Math.RandomFloat(-1, z_maxQty1 / 5));
Last edited by MastaHiggins; 12 Feb, 2023 @ 11:03pm
EpikWynn 20 Jan, 2023 @ 2:56pm 
I'm not much of a C programmer. I'm wondering if the mod could be updated to include this as a feature? Like, by default - it should pull from the default in the types, rather than overwriting that with some "magic number"?
< >
Showing 1-6 of 6 comments
Per page: 1530 50