Giter VIP home page Giter VIP logo

Comments (8)

DeckerMMIV avatar DeckerMMIV commented on August 28, 2024 1

@BlackFox403 - I did a simple code-alteration in my almost-upgraded FollowMe regarding that 'reverse driving', but unfortunately it of cause wasn't "just flipping a switch", as the follower wouldn't do as expected.
So more 'thinking' is needed, to figure out a solution.

from farmsim_mod_followme.

DeckerMMIV avatar DeckerMMIV commented on August 28, 2024 1

@Sythos - I do not understand your "send each 5 meters done" suggestion.

However the "skipping if 2 points are too close" is something I have been pondering about. Actually it is not the problem of "too close", but more "vehicle is too much perpendicular and in speed going towards a destination point" that is the cause of the zig-zag.

I need to alter the "follow the trail-crumbs" code, so it examines the angle the vehicle is approaching from, and if "too steep" then it should decide if needing to choose the next destination point in the trail (and so forth).

The 'reverse gear' - which I suppose you mean 'reverse driving' - may look like it is "a simple problem as such", but due to how the FS17 base-scripts works, it poses a problem for me. There are too many unknowns and derivatives I have yet to study in the base-scripts, to fully understand what is going on.

LUA is a simple language. If you already know C/C++ then LUA should be no problem for you to understand, once you've read the few semantic/syntax rules. - The "FS17 framework (base-scripts)" however, as with any "framework" (STL, BOOST, etc.) takes time to study and understand.

from farmsim_mod_followme.

mereman avatar mereman commented on August 28, 2024

Great news

from farmsim_mod_followme.

Dzi4d3k avatar Dzi4d3k commented on August 28, 2024

Can wait to see it in game πŸ‘

from farmsim_mod_followme.

BlackFox403 avatar BlackFox403 commented on August 28, 2024

Hi DeckerMMIV, a while back I had messaged you about FollowMe and the Reverse Driving Mode (some tractors such as MBTracs allow you to rotate cab and drive backwards). We have an issue when the leader is in "reverse driving" mode, the follower does not follow. You had suggested to me it may be a small code change, but I still cannot get it to work in FS15. Since you will be porting into FS17, will you be able to address this particular mode? I ask because the MBTracs we use in FS15 are being ported into FS17 and with this feature it would be great to have the follower still follow regardless of which mode is used.

Regards

from farmsim_mod_followme.

Sythos avatar Sythos commented on August 28, 2024

If you need a tester give a call :D

By the way, why not each leader send each 5 meters done (up the directions) to the follower, and the follower move across the "path" each time the leader go far than distance setup (smoothing turns, accelerations and brake, skipping if 2 points are too close and follower cannot match all). In this way each relationship leader-follower is indipendent and the the fact the leader of follower is using a reverse gear shouldn't affect. I've done sort of (was C++ code into a metaverse browser, for NPC players movements) and i've no clue how LUA work and how GIANT implemented it inside FS17, justtrying to contribute.

from farmsim_mod_followme.

Sythos avatar Sythos commented on August 28, 2024

this issue can be closed, i think :D

from farmsim_mod_followme.

DeckerMMIV avatar DeckerMMIV commented on August 28, 2024

Yes πŸ˜„
http://www.farming-simulator.com/mod.php?mod_id=55367&title=fs2017

from farmsim_mod_followme.

Related Issues (20)

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.