Project Zomboid

Project Zomboid

SearchModeAPI
21 kommentarer
chris.s.clevenger 26. dec. 2024 kl. 15:51 
42?
star  [ophavsmand] 30. mar. 2024 kl. 3:56 
@Morgan, sure.
@Retrad_, you can make such a mod.
Morgan 28. mar. 2024 kl. 17:57 
May I add this to my modpack?
Retrad_ 7. feb. 2024 kl. 17:05 
i did not expect a user manual for it, wow!

say, how would you go about making a script that detects clothing and triggers the fog? say... sunglasses, yes, sunglasses
Camoblast 6. okt. 2023 kl. 0:58 
it wasnt your mod that i was concerned about but i noticed my problem after moving the reading mod in the list is why i used your mod.but yea ill give it a whirl
Camoblast 6. okt. 2023 kl. 0:57 
Ok cool.ill give that a whirl..i have not had these many problems using most mods really until i cam bak to PZ for a spin and had found MY SON lol who loves PZ had subbed to the Manager Mod because he hated the cursor lag with so many mods in the list normally,without Manager,,IMa fuck it off.and see what happens and put your mod above what ever mod request that when i sub to em..Is the reading mod the only mod this serves..I found it because walk while readin was buggin out...was working then not working..put your mod in and it works..
star  [ophavsmand] 4. okt. 2023 kl. 21:49 
I don't use Load Manager, so I'm not sure. But I think it's better to load this mod first. This mod is just a framework and doesn't conflict. Conflicts between other mods may arise in theory if some mods use this API and others don't. Anyway, it's very specific, and you can treat these notices as warnings.
Camoblast 4. okt. 2023 kl. 20:55 
With just Load Manger and Load enhancer enabled and nothing else,when you go into the manage order you will notice Text on top of the Order window,,IT tells you 2 different things,i will try explain....
ok so just enable those 2 mods i said.go into your load order and read the Text above...IT will usually say (You Normally have to change load order to avoid conflicts and errors...NOW..when i attempt to put in any mod after those 2,and that mod would be Mod Options the Text above will change after i refresh and say (You DO have to change this to resolve certain conflicts and errors,as precedence is important in many cases yada yada yada).. I understand what it means but is it telling me this as a reminder or is this part of the functions for the load manger/Enhancer? I mean is it designed to switch between text when mods conflict?
star  [ophavsmand] 1. okt. 2023 kl. 22:37 
@Camoblast, who tells you? "it"?
Camoblast 1. okt. 2023 kl. 10:49 
So where do you put this in load order? Im using :
Mod Options
Mod manager
Mod Server
when i add SearchModeAPI it tells me i DO have to change order to avoid certain conflicts and errors.cant add anything past Mod :oad Enhancer without getting that message above the Load Panel...even if i leave SearchModeAPI out...any ideas..ive rusubbed to all my subs and even reinstalled PZ but still says same thing...
star  [ophavsmand] 4. mar. 2023 kl. 14:14 
@LineTinzer, yes, you can.
LineTinzer 4. mar. 2023 kl. 11:11 
Hi! Can I use this mod on my server's modpack? I'll wait on your answer. Thanks.
star  [ophavsmand] 30. dec. 2022 kl. 14:16 
This will work in any version of the game, even 42+, but only until the developers change the game features related to the search fog.
Billiard Bastard 30. dec. 2022 kl. 12:51 
this still work?
Temporomandibular Grind 23. nov. 2022 kl. 22:37 
Is this mod working?
Zow 21. nov. 2022 kl. 16:19 
after i remove the mode i get error when i i start searching how can i fix that with my server some of my friends get the same error some of them not
star  [ophavsmand] 17. sep. 2022 kl. 21:02 
@Kyrox,
if you are not mod author, you can only install and use.
All "search mode" mods should use this API, plus one mod may not use.

Using this API means that a mod takes its place in priority system and won't be mixed with other mechanics. Not using just means that a mod will be at the bottom of priority system and will be mixed with other such mods.
Kyrox 17. sep. 2022 kl. 13:50 
How do I add this to Udderly Skillbook XP?
DahakaMVl 21. aug. 2022 kl. 3:26 
@star Thanks you for the explanation! I'm very new to Project Zomboid modding so I didn't quite understand it. I'll incorporate the changes then :)
star  [ophavsmand] 21. aug. 2022 kl. 2:00 
@DahakaMVl,
First, that pull request doesn't require HARD dependency. See the code. It is backwards compatible with no SearchModeAPI.

Second, it's ok if you don't use it. Actually if two mods uses getSearchMode, only one needs this API.
DahakaMVl 21. aug. 2022 kl. 1:32 
Hi star. I just got a pull request on my repository about the SearchModeAPI and that is how I came to know about this mod/api.

The only incompatibility I've noticed so far is that the read-mode-search radius is slightly bigger after passing out. If this is the only incompatibility, I'd accept that for now to stay without dependencies.
Could there be any other incompatibility?