Crop detection, yield calculation updated#23
Open
Knowen wants to merge 2 commits into
Open
Conversation
Signed-off-by: Knowen <47173160+Knowen@users.noreply.github.com>
changed how this mod detects all fruits which are registered in the map. this also includes custom crops. also detects the correct hud image. also changed how the yield is calculated. it now tracks the amount of crop which goes through the pipe of a combine or forage harvester. grass and hay is still the same with bales. tried also to adjust the GUI so it is always centered. all the GUI elements are far to the left and are not readable if you play on an ultrawide like I do. Signed-off-by: Knowen <47173160+Knowen@users.noreply.github.com>
Owner
|
Awesome work @Knowen! I will start going through it all just so I can understand what is all happening here and get it pushed into the next update. I believe I have a fix for the UI to be responsive but still in testing (I run 16:9, trying to test isn't impossible but less efficient on my end at higher res). If you wanted to test it to see if it works, there is a WIP XML file here, just swap it out with the current yieldTrackerPage.xml https://github.com/BitBarn-Mods/FS25_YieldTracker/blob/main/src/WIP/yieldTrackerPage_wip.xml |
Author
Well, it looks like this with the new xml @BitBarn-Mods |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

changed how this mod detects all fruits which are registered in the map. this also includes custom crops. also detects the correct hud image.
also changed how the yield is calculated. it now tracks the amount of crop which goes through the pipe of a combine or forage harvester. If you unload the combine while it moves, this amount wasn't detected with the "old" detection method. Now every piece of yield gets detected.
grass and hay is still the same with bales.
Also tried to adjust the GUI so it is always centered but fucked it up. So this is something which needs to be "repaired".
All the GUI elements are far to the left and are not readable in the "old" version, if you play on an ultrawide like I do.