Farming Simulator 22

Ive got the modfile gps steer, went looking for the info. Giants lets you run scripts to change the game so tricky but not impossible.

Just getting good at c#, but fs22 is in Lua. It makes sense when i see math, but the rest is amazing that it executes to create anything.

I wonder if there are modders on a fs22 forum somewhere interested in helping?

There was a “dealer” type fellow who was willing to pay to get it done, in one chat group.

I think the “free” nature of AOG would make this mod if it existed the biggest advertisement for AOG ever. Anyone could use a tablet as a game controller. AOG is smarter than the game AI currently.

Add to my lists of reasons to learn how to master the art of pc. I have made the forestry mulcher kick more butt, so at 0.01% competence in Lua.

There is a mod or at least for farmingsimulator19 there was one where you could use a tablet to run a tractor diagnostics screen. It would look like the screens a lot of us have in the newer more expensive tractors. Don’t know what it is called anymore.
Also the coursplay mod already uses a lot of the users that would be interested in this. And that is a great mod that probably could be used to generead more complex ab lines.

Lets say all the data ins and outs worked.

The conundrum is the game coordinate system is based on x,y,z of a cubic earth

Gga gives coordinates of a sphere. So AOG may draw bananas or it may not matter.

As another aside, all of the tractor graphics and implement mods are freeware. I know aog got a huge graphics upgrade already. But another possible crossover would be using the game tractors graphics in AOG. But not sure of the feasibility of this.

It would not be great for low power tablets, but it would look cool.

One potential issue or limitation of using an external tablet would be that you could only use AgOpenGPS to steer one in game tractor at a time.

1 Like

The other helper tractors are trash AI but they work for the most part.

It would not matter that it could only steer one tractor. You can only drive one at a time anyway. The added realism would mostly appeal to those playing it as close to real rules as possible.

Finally after getting some new economy mods, I spent 3 million on equipment that just keeps getting older. I profit but not really enough to buy more land or upgrade anything. I am tempted to take out a loan to get more land, but the loan will most likely eat up any profit of the new property for at least 20 years. Land is $3400 an acre. I had to buy a clapped out massey to pick rocks and run grain cart.

But at least you can freeze time!

That’s starting to sound realistic.

2 Likes

Not possible with winforms, I already explored this way, for this AOG needs a big change

Shucks the models are really pretty, people have been spending huge time getting incredible detail.

But at least its another ag related outlet to learn about programming and help make tough decisions about how to spend future lottery winnings.

1 Like

I actually do use AgOpenGPS in Farming Simulator 19. Kind of. The biggest problem is getting data in and especially out of FS as there is no real API to hook into FS externally. The only way i found this to work easily is using an XML that FS writes to and read it with another Program. The programs will often then create a sharing violation and it takes a lot of resources for the Giants Engine to constantly write to XML. All I do is write the Position from FS to the File, read it externally and then turn it into NMEA strings that get sent to AOG via UDP. The required steer angle can get sent back to FS19 as Joystick inputs. I don’t know how much of this I can publish as I did this for a research project at my university. LUA script to write position to XML should be okay but I have to check on that. To convert the position to NMEA I wrote a Python program a while ago, I’ll see if a can dig this up somewhere.

I am also currently working on an API for the connection between FS22 and AgOpenGPS. Yesterday evening I got it working the first time. I drove with the combine through my map and was also able to draw filed boundaries in AgOpenGPS.

I will keep you updated here about my progress. I have still a lot to do, but it was nice to see that it is working in general :slight_smile:

3 Likes

Awesome! while you are at it if you could make the unlimited money supply mod work in real life too :rofl:

But very cool if you have this working, the AI in FS22 is pretty dumb and can only navigate perfect squares.

1 Like

How are you bridging the two?

I wrote a mod that is reading the coordinates of the machine and saving it to a XML File.

Then I wrote a application in C# that is reading the XML file, converts the coordinates to GPS coordinates and then sending it via a virtual serial port to AgOpenGPS.

I have still a lot to do and also performance testing, but the result of yesterday evenings coding session was very good. I can share some pictures this evening.

2 Likes

Out of interest, you might want to check out SimDashboard - it’s pretty cool. This guy makes some fantastic screens for it. I’ve used it on my Amazon Fire tablet (once I’d installed the Play store)

2 Likes

We need this kind of energy put into AoG dashboard.

I actually did this 2 years back but lost some interest, wrote a mod to export the location then had some C# to read the location and fake it as gps input for aog / emulate a joystick to actually control the tractor from AOG , if anyone’s interested I could probably dig it up, now with UDP it would be pretty easy to integrate one would think, you could even open up the port on your pc and have a tablet on the same internet and theoretically feed it into AOG. Sounds dumb but I bet you could do lots of interesting tests without having to run out in the tractor in winter or even just special situations

Video of it in action, apologies for it being sideways
https://youtube.com/shorts/t7QSmiFy-V0

6 Likes

That looks awesome - great mod for those that play the game. If the code is available, I’d love to take a look. Cheers!

OMG dude……

so cool!

Release date, number of beers required to get a copy?

This is so much better than fs22’ current gps integration.