Open Franz-Inc opened 9 months ago
Hi,
This is a very good set of questions and helps me plug a hole in the docs!
is_filtered
is the result of the latest node that was processed. I will create a subgroup "Debugging" in the inspector and move is_filtered
and score
properties there. Basically you can test out the search with a single node, for example, and see what the results become for the different criteria.The logic for a criterion goes as follows:
is_filtered
to false and score
to 0.0.is_filtered
property.For the custom criterion the values are what ever the custom code assigns them to, so in that criterion there are no checks in place.
I checked through the code and I did find a bug. I've attached the fixed versions of the dll-files. Could you check if with these you get the results you are expecting?
Oh and for this build I set the score to be 1 if ”Use for Scoring” is false. It should work better like that if you need to disable scoring for in-between criteria.
I just wrote up a whole paragraph with photos about how I thought it still wasn't working, but then I realized I had one of the criterion deactivated from previous testing. Oops. But in conclusion, the fix seems to work as expected! and thanks for the thorough explanation.
If you want some more feedback on documentation, there are a few other areas where some clarification could be useful (I am merely mentioning this because I was a bit confused and did my own testing to verify): Explaining the graph a bit better, perhaps with a picture. Definitively indicate that the value that you apply to the range value will convert to a sensor value of 0-1, which is on the X part of the graph, which is used to calculate the Y value, which is the resultant score. I was 90% sure this is how it worked, but when I wasn't seeing expected results I began to doubt, so some specificity here would have been helpful.
Thanks again!
I've been playing with the NQS nodes (and your cover-taking example where the enemies run from the player and hunker down behind cover) and I have a few questions:
Thanks a lot!