Git Product home page Git Product logo

proseed's Introduction

ProSeed for Farming Simulator 22

For Farming Simulator 22 Releases

Readme in German can be found here.

ProSeed adds a bundle of functionality to enhance sowing machines in the game. With ProSeed you're able to create tramlines (with optional pre-emergence marking), halfside shutoff for creating the perfect tramlines, fertilizer shutoff and active feedback with sounds.

Publishing

Only Wopster is allowed to publish any of this code as a mod to any mod site, or file sharing site. The code is open for your own use, but give credit where due. I will not accept support for any 'version' of the ProSeed that is obtained from a sketchy mod page. Versioning is controlled by me and not by any other page. This confuses people and really holds back the development which results in no fun for me!

Special thanks to

Special thanks to gotchTOM and webalizer for allowing me to redo the mod for FS19/FS22!

Warning!

Please be aware that this is a DEVELOPMENT VERSION!

  • The development version can break the game or your savegame!
  • The development version doesn´t support the full feature package yet!

Multiplayer

This version should also work in Multiplayer.

Installation / Releases

Currently the development version is only available via GitHub. When a official release version is avaiable you can download the latest version from the release section.

Please note: if there's no release version available it means there's no official release yet.

All official releases will be available at the offical Farming Simulator ModHub.

For installing the release:

Windows: Copy the FS22_proSeed.zip into your My Games\FarmingSimulator2022\mods directory.

Documentation

Overview

When a sowing machine is attached the following HUD will be displayed. Image

In the table below there's a description on what every bottom does.

Number Description
1 Toggle pre-emergence marking (this only toggles the visually cultivated lines and not the actual tramline creation!)
2 Toggle fertilizer usage
3 Change the tramline mode (manual, semi and auto)
4 Change the tramline distance (to fit your followup machines e.g. spreader and sprayers)
5 Minimize and maximize the HUD display
6 Change track number (only in semi mode)
7 Toggle halfside shutoff mode
8 Toggle interactive sounds

NOTE: Some functions / buttons are only available for certain modes, they will be marked grey when disabled.

Further there are some visuals that help you guide your seeding process. In the top bar the seed usage and hectare counters are displayed. In order to reset them you can click on the reset button. In the middle of the HUD the working width of your seeder is displayed together with the marker state. The big orange bar on the bottom displays if the tramline is active or if a part of the seeder is shutoff.

You can position the HUD to any position you desire and the position will be saved.

Usage

Modes

In the table below the possible modes are explained. You can toggle the modes by clicking on the arrows shown at number 3 of the HUD image from above.

Mode Description Supports helper
Manual In Manual mode the player has full freedom whether to create the tramline or not by simply pressing the buttons KEY_lctrl + KEY_r. The option to configure distance or counting tracks are disabled. no
Semi In Semi mode the player has to configure the tramline distance by clicking on the arrows (increment is based on the working width). The tracks are counted automatically when the sowing machine is lifted, you can manually correct this in the HUD. Tramlines are created automatically. yes
Auto In Auto mode the player only has to configure the tramline distance by clicking on the arrows (increment is based on the working width). Correct the working width of GPS when needed and the tracks will be counted automatically by the GuidanceSteering mod. Tramlines are created automatically. no

NOTE: In order to use the mode Auto the GuidanceSteering mod is required!

How to start

If the number of total amount of lanes is even, always start with a half track otherwise the distance to the edge of the field will not be valid. E.g. in the HUD above you have a total of 2 lanes x / 2 so in this case you start with a half line.

Use the halfside shutoff function for creating the first track. When using GuidanceSteering, the first track of GS must be aligned at the edge of the field and set to zero (ALT + HOME). For the second track shift the GS track by half the working width towards the field edge.

A description of possible working widths and distances is given in this neat PDF file: proSeed.pdf (Page 1: German; Page 2: English)

Using tramline animation

You can trigger an animation once the tramlines are active like so:

<vehicle>
    <proSeed>
       <tramLinesAnimation name="tramLines" speed="1"/>
    </proSeed>

    <animations>
       <animation name="tramLines">
          <part node="NODE_NAME" startTime="0" endTime="1" startTrans="0 1 0" endTrans="0 0 0" />
       </animation>
    </animations>
</vehicle>

Copyright

Copyright (c) 2022 Wopster. All rights reserved.

proseed's People

Contributors

kitt3000 avatar lactic68 avatar phenixnoir avatar snickers125 avatar stijnwop avatar vanquish081 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

proseed's Issues

CP (AI) creates tramlines

Hi Wopster, what would you need from our side to allow AI to create the tramlines?
Courseplay/Courseplay_FS22#2362

General integration of fruit destruction is not wanted by us.
So it would need a specific point where the seeder will create those lines.

Bug: Westby Wi 4x breaks line 56.

Westby 4x map breaks ProSeed and the error is line 56. Removing the mod breaks the entire HUD afterwards. The first time it loads it is fine but save and reload and it snaps in two. No other map does this so it might be just this map but thought I'd mention it.

Error message is: InteractiveHUD.lua:56: attempt to index local value 'element' (a nil value).

Edit: this is not a proseed related issue the hud breaking upon investigation. However the proseed preventing loading is still a proseed bug that should be looked at.

HUD Display

The hud display doesnt appear when a seeder is attached. How can you get it

enhancement: add more inputbinding options

I would greatly appreciate to be able to assign more keybindings to the ProSeed menu,
so that all following functions can be assigned to keyboard or controller:

-toggle ProSeed HUD display
-reset Proseed stats seed usage and hectare counters
-toggle Mode
-increase/decrease Distance
-increase/decrease Track
-toggle Fertilizer
-toggle Tramline
-toggle Halfside shutoff
-toggle Interactive sounds

Option to turn off tramlines

I'm trying to plant a cover crop (oil seed radish) & I won't be fertilizing this later. So there's no need to make tramlines when planting this crop. But I don't see a way to turn off tramlines other than set the width to a very high number.

HUD Y-coordinate is increased every restart

As the title says.

I couldn't see the HUD, and as in FS19, sometimes the coordinates get moved off the screen. The Y-coordinate was set to 1.000000.

I reset it to 0.5, reloaded and the HUD was back.
Placed it near the top of the screen where I like to have it, and saved and quit the game.
Next load the HUD was halfway outside the top of the screen.. I saved again, reloaded, and the HUD was even further up.

Here's the positions from two consecutive game starts.

Please let me know if I can provide any helpful info.

My screen resolution is 3440x1440, no resolution scaling.

Section Control

At first, thank you for this great mod. Loved it in FS19.
I just think out loud and it could b closed if not possible.
We have an ingame manual section control for sprayers, so couldn't that implement in an easy way to the seeders?
I saw a lot of seeders with SC an we have them to on our farm.

Anyway good job on your mods, keep up the good work.

Automatic mode with VCA-GPS

Hi,

is it possible to use automatic mode with the GPS system implemented in VCA (Vehicle Control Addon) instead of Guidance Steering?

If not: is it possible to implement this as an alternative?

Many Thanks!

Nes


Change width and wide of Lanes

should be an integrated feature to change the width and wide of the lanes, to adjust them do different wheel sizes and track width.

Also should be possible ingame

Option to switch between Hectare/Acre or follow in-game preference.

Mod is yet another amazing work of art and if this is already planned (Or a feature that I just completely missed) please feel free to close but it's sometimes a bit of a brain teaser for me trying to figure out how much I'm actually covering. Would make the numbers presented much more useful for those of us unlucky enough to live without metric measurements.

Thanks!

HUD changes Position automatically

Hello guys,
does anyone of you have the same problem like me? CPU changes HUD-position of ProSeed-HUD automatically after many restarts (mostly when I play FS a few days later), without having done any new settings or something like that. I tried deleting the ProSeed XML and giving new coordinates for „x“ and „y“, but CPU doesn’t hold ProSeed-HUD constant. The coordinates in XML are always changed automatically then (values overwritten). I‘m playing with the newest versions of ProSeed from github and Giants FS Patches. Can you help me?

Saatgutverbrauch höher bei aktivierten Fahrgassen

Wenn die Fahrgassen aus sind (manuell), wird das Saatgut langsamer verbraucht, als wenn die Fahrgassen an sind.
Vielleicht liegt es am Saatguttyp, momentan ist es Ölrettich, eingebracht durch einen Tiefenlockerer.
Aber nichtsdestotrotz ist es umgekehrte Logik, dass bei mehr zu besäender Fläche weniger gesät wird.
Als ob da irgendwo im Code ein umgekehrtes Vorzeichen wäre.

Diesen Bug hatte ich bei einer früheren Version von proSeed (LS19 oder sogar LS17) schon mal gemeldet.

Measurement accuracy

It seems to me that there is some mistake in calculating the seeding rate.
This field was sown in approximately 2 hours. Then the seeding rate should be about 10 ha/hour. But not 2.6!
fsScreen_2020_09_09_23_49_58

Bug: irregular seeding

hello there,

I don't really know how I should explain this but I think a screenshot explains better what I mean...

Screenshot 2021-01-19 205504

I used a modded cultivator with 4m of working width.
I used the "manual" mode. When using a 7m cultivator there was no such issue although this bug occured to me on my main playing map as this is just another map for testing.

Maybe you can help me or fix this possible bug.

ProSeed FS22

I hope ProSeed finds the way into fs 22. Great work wopster, thanks for all Mods

Probleme mit ProSeed und durwachsener Silphie

Hello folks,

Have a problem with ProSeed and Silphie, tested only with Hof Bergmann mods and easydev, prossed and Realisticseeder. Precisions Farming Hof Bergmann edition

As soon as I looked at it, I noticed that the seed machine was empty very quickly, a look at the log told me that I had Lua call stacks. Mods out only started with miner no problems. I already had a suspicion of what could be and it actuated when it was my turn to prossed, again lua error and the error only comes with the silphie

Hello and thank you

log 1.txt
log 2.txt

2023-04-23 14:16 2023-04-23 14:16 D:\auto_builder\cache\svn\e06572c54475b895898b848290fc5041\src\base\scripting\lua\LuaScriptSystem.cpp (903)2023-04-23 14:16 : 2023-04-23 14:16 expectedType == Value::VoidType || expectedType == Value::ClassType
2023-04-23 14:16 LUA call stack:
dataS/scripts/utils/FSDensityMapUtil.lua (2838) : executeSet
dataS/scripts/internalMods/FS22_precisionFarming/scripts/misc/HarvestExtension.lua (513) : superFunc
dataS/scripts/vehicles/specializations/SowingMachine.lua (430) : updateDirectSowingArea
dataS/scripts/internalMods/FS22_precisionFarming/scripts/environmentalScore/EnvironmentalScoreTillage.lua (181) : superFunc
=C:/Users/andre/Documents/My Games/FarmingSimulator2022/mods/FS22_proSeed/src/vehicle/ProSeedSowingExtension.lua (406) : superFunc
dataS/scripts/internalMods/FS22_precisionFarming/scripts/specializations/ExtendedSowingMachine.lua (199) : superFunc
dataS/scripts/vehicles/specializations/WorkArea.lua (286) : processingFunction
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/Vehicle.lua (1978) : raiseEvent
dataS/scripts/network/NetworkNode.lua (182) : updateTick
dataS/scripts/network/Server.lua (79) : updateActiveObjectsTick
dataS/scripts/BaseMission.lua (1141) : update
dataS/scripts/FSBaseMission.lua (1985) : update
dataS/scripts/missions/mission00.lua (577) : update
dataS/scripts/main.lua (1257) : update

please forgive me for typos and spelling mistakes, I had a stroke and I'm glad I can still write 🙃

Problems with the tramlines

I used the Vaderstad 400C mod with 24m tramlines, but when i go with a 24 meter wide sprayer, tramlines isnt 24m, its more like 26, so i had to use the 20m tramlines, but then the sprayer is too wide. tell me how to fix it plz(FS19)

ProSeed mit Courseplay nutzen

Hallo Leute,

kann man irgendwie etwas tun, damit ProSeed sauber mit CP zusammenarbeitet?
Fehler, welche mir aufgefallen sind:

  • sobald man CP aktiviert, verschwindet das HUD
  • beim ProSeed Modus "Auto" funktioniert zwar alles, jedoch nur solange man selbst im Traktor sitzt. Steigt man aus, werden die
    Spuren nicht weiter geschaltet

Modus ändern

Hallooo,

Kann man irgendwo im Datei ändern das beim anKoppeln nicht auf Auto Modus kommt sondern Semi Modus? So wie bei LS17. Mich nervt immer wenn ich ein gemietete Sähmaschine ankoppeln und immer Text vor mir blinkend das kein GPS verbaut statt Semi Modus. Hin und her klicken ist schon nervig..

Danke Lg Chris

Bug: Incompatible with courseplay.

When you attempt to do a seeding course with courseplay the moment it tries to seed, it considers the job finished and packs up and finishes. Only does this with proseed enabled. Verified its not another mod by starting a new save with just proseed and courseplay.

Seedingrate

I suggest a change from l/qm up to l/ha, so the number is more visible.

Visual Tramline not working properly in MP

Hey,
When i am using the ProSeeds Mod in MP i have the follwing issue:
If i toggle the visibility of the tramline to off, it still shows the tramline on some seeders (but not on every seeder). For example:

  • Horsch Pronto 3 DC (DLC): can´t toggle the visibilty
  • Aerosem 3002 (Alpine DLC): works perfectly fine

Also in MP it doesn´t save the position of the interface. It will always be at the same spot after everytime I left the server, even if I moved it somewhere else.

grafik

Unable to use ProSeed, Errors

With ProSeed installed in FS22, I am unable to play the game. About 5% of the time, the map won't even load, and this error occurs:

Error: Running LUA method 'update'.
(I do not have access to the full error here. The log file got overwritten and getting it to repeat is hit and miss. It did mention proseed as the cause of the error though.)

When it does allow the map to load, any attempts at saving causes the game to get stuck on the Save screen and manually closing is the only way to escape it, which also means switching to a backup save as said save was just royally messed up. The log provides this error;

2022-06-01 16:10 Error: Running LUA method 'onSaveStartComplete'.
I:/Farming Simulator Files/FS22/Wyoming/FS22_proSeed/src/hud/InteractiveHUD.lua:70: attempt to index local 'element' (a nil value)

Not sure if this is caused by a mod conflict or what, but all errors go away when proseed is not installed. Here is a list of my installed mods/dlc.

https://pastebin.com/ScvW6sWA

SeedUsage value is too small

fsScreen_2020_10_17_13_16_32
Hey. As I understand it, the element highlighted in the picture is "SeedUsage".
But its value is so small that it is not very informative.
Is it possible to increase the number of signs after the dot or to make liters per 100 ha?

Vorauflauf Markierung

Hallo,

Bei mir auf dem Dedi Server kann ich die vorauflauf Markierung nicht abschalten. Spiele die MVP 19. Ist so ein Fehler bekannt ? Im SP funktioniert es wunderbar.

Grüße.

Crop destruction on all growth stages

Can we have an option to enable crop destruction on all growth stages, not just later ones?

Using precision farming it is generally preferable to fertilize & weed shortly after seeding/planting. Unfortunately even with crop destruction turned on, its possible to drive on the crop with regular & wide tires during the first few growth stages without damaging the crop. This somewhat negates the need for tramlines. Ideally I would like to have to stay within my Proseed tramlines in order to avoid crushing the crop.

Could this mod introduce an option to force crop destruction during all growth stages?

PS does not work when using the combination tractor + tank + seeder

On machines that have a separate tank and seeder, and tank attached to the tractor and the seeder to the tank does not appear hud, options appear in the help window, but pressing the keys does not change anything. An example of a sowing kit from the game stand is Seed Hawk 980 Air Cart + Seed Hawk XL Toolbar 84FT, similar to the machines from the Bourgault DLC.

THANK YOU!

This is absolutely awesome! Thank you very very much!

Resetting the counter breaks ha/h counter

As the title says.

I had seeded a season, reset the counter for the next year, and the ha/h counter is impossibly high. I assume it uses the total acreage for the average, but only elapsed time after the reset.

ProSeed prevents sowing missions from finishing/ProSeed verhindert erfolgreiches Abschließen von Sämissionen

When ProSeed is installed and activated, sowing missions can't be accomplished, at least via Courseplay, even though the whole field is completely covered. It caps at 89 %. If the mod is deactivated, the field resetted via EasyDevelopement Tools and the same Courseplay course again is used for sowing, everything is fine. Tested on Oberthal.

Wenn ProSeed installiert und aktiviert ist, können Sämissionen nicht erfolgreich abgeschlossen werden, zumindest nicht, wenn Courseplay genutzt wird, auch wenn das komplette Feld fertig gesäht ist. Sobald ProSeed deaktiviert, das Feld via EasyDevelopement Tools zurückgesetzt und neu gesäht wird, kann die Mission normal abgeschlossen werden - auch wenn der selbe Kurs abgefahren wird. Getestet auf der Oberthal.

Hud dont open

Hello,

i have the problem, that the HUD isnt show. I dont know why. I downloaded it via modhub an updated it to 1.0.0.1

Please Help

Problem with Lanes

Hello Wopster,

first a very big thank you from me for this script. I loved ProSeed mod in FS17 and now you brought it to FS19.
I downloaded it today and as always with new mods I did some testing and found a little issue.
I tried the auto mode with a seeding machine 6m working width for 24m working width of sprayer. I had a look in the linked pdf and saw that i have to do one and a half lane before i doe the drivelane in the third. My problem now is, that in auto mode the system always activates the drive laner in the second lane and not in the third. I did as you described it in the readme. maybe it is just a bug with the seeding machine, but i tried it with a 3m seeding machine and it is the same problem. The drive laner gets activated one lane to early in auto mode. Maybe I did something wrong but when I have a sprayer with 24m working width i need 12m distance to the field edge. So one full lane, one half lane and the second half of the lane with drive laner makes 12m. The problem is only with the first drive lane. The second drive lane is placed right, because i can drive the third and fourth lane and then start again at the number one and at 2 the drive laner is activated again.

Kind regards

Barnabas

Game not detecting mod

I recently downloaded the development version (through this github), but the game won't seem to detect the mod.

I tried unpacking and repacking as stated in #23

@KITT3000:

@Crixy-power In the "code" tab, you need to download the entire repository (green button on the right) and unpack it and pack it into a new ZIP archive.

How would I install it so that it's usable in game?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.