Project Zomboid

Project Zomboid

SearchModeAPI
21 条留言
chris.s.clevenger 2024 年 12 月 26 日 下午 3:51 
42?
star  [作者] 2024 年 3 月 30 日 上午 3:56 
@Morgan, sure.
@Retrad_, you can make such a mod.
Morgan 2024 年 3 月 28 日 下午 5:57 
May I add this to my modpack?
Retrad_ 2024 年 2 月 7 日 下午 5: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 2023 年 10 月 6 日 上午 12: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 2023 年 10 月 6 日 上午 12: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  [作者] 2023 年 10 月 4 日 下午 9: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 2023 年 10 月 4 日 下午 8: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  [作者] 2023 年 10 月 1 日 下午 10:37 
@Camoblast, who tells you? "it"?
Camoblast 2023 年 10 月 1 日 上午 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  [作者] 2023 年 3 月 4 日 下午 2:14 
@LineTinzer, yes, you can.
LineTinzer 2023 年 3 月 4 日 上午 11:11 
Hi! Can I use this mod on my server's modpack? I'll wait on your answer. Thanks.
star  [作者] 2022 年 12 月 30 日 下午 2: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 2022 年 12 月 30 日 下午 12:51 
this still work?
Temporomandibular Grind 2022 年 11 月 23 日 下午 10:37 
Is this mod working?
Zow 2022 年 11 月 21 日 下午 4: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  [作者] 2022 年 9 月 17 日 下午 9: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 2022 年 9 月 17 日 下午 1:50 
How do I add this to Udderly Skillbook XP?
DahakaMVl 2022 年 8 月 21 日 上午 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  [作者] 2022 年 8 月 21 日 上午 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 2022 年 8 月 21 日 上午 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?