Git Product home page Git Product logo

Comments (6)

DeckerMMIV avatar DeckerMMIV commented on June 12, 2024

Hi @fdanapfel

Now that my mod have finally appeared on GIANTS Software's ModHub for FS22, I can take a look at your suggestion.

Personally I have not tried the 'Vehicle Control Addon' mod, but I know of it.

So what you are looking for, is basically a "one button" that do two actions simultaneously;

  • toggles the driving direction,
  • flips/rotates the vehicle's currently selected camera[*] towards the driving direction.

[*] By "currently selected camera", I mean that if you switch between the vehicle's inside and external camera, then only the camera that was active, at the time of "pressing the one button", will be affected.

If I can find the location(s) in the script code, where GIANTS Software does the "toggle driving direction", then I think it can be done with "one button".

from farmsim_mod_quickcamera.

DeckerMMIV avatar DeckerMMIV commented on June 12, 2024

@fdanapfel - a preliminary beta of this is now available in the master branch.
I hope you know how to download here from GitHub and place in your mods folder.

There is now a (very raw) new control action, called QuickCamDirectionChangeFlipCamera in the list of Quick Camera actions, that you need to bind to a key. - In case you bind it to the Space key, make sure to unbind the key from the vanilla Change direction action, otherwise there could be issues.

from farmsim_mod_quickcamera.

fdanapfel avatar fdanapfel commented on June 12, 2024

@DeckerMMIV Thanks a lot for taking a look at this request and for adding it as an option to your mod.

I've tested the beta now and it mostly works as expected. For standard vehicles the driving direction and the camera view are switched as expected after assigning a button on my PS4 Controller to the QuickCamDirectionChangeFlipCamera action (after disabling the controls for the default 'Change Direction' action of the game).

But when using it with vehicles that have a 'reverse driving' feature, like the Valtra Valmet 8750 or any of the Komatsu or Ponsse Forestry machines, the camera starts to behave 'wonky' when the reverse driving feature is activated: when the the camera is switched around initially as expected (I'm guessing this is part of the 'reverse driving' feature), but when the driving direction is then changed the camera isn't flipped on the first occasion, and afterwards it is flipped every time the driving direction changes, so you end up looking in the opposite direction as you are actually driving. When the reverse driving feature is disabled again then the camera starts to behave as expected again, i. e. it is flipped in the correct direction when changing the driving direction.
Hope this explanation makes halfway sense, its probably best to try this out for yourself to see what is going on.

Another small issue I've noticed is that the following warning appears in the log:
' Warning: Missing l10n 'input_QuickCamDirectionChangeFlipCamera' in mod 'FS22_QuickCamera''

from farmsim_mod_quickcamera.

DeckerMMIV avatar DeckerMMIV commented on June 12, 2024

@fdanapfel - I have modified the script code, so it now examines if it is a 'reverse driving' vehicle.

So the in-cabin (inside) camera now follow the driving direction, even when the seat has been rotated, when using the 'Change direction & Flip camera' action.

from farmsim_mod_quickcamera.

fdanapfel avatar fdanapfel commented on June 12, 2024

@DeckerMMIV Just tested BETA-2, and everything seems to work as expected now.

Thanks again for adding this!

from farmsim_mod_quickcamera.

THOMAS96-MODDING avatar THOMAS96-MODDING commented on June 12, 2024

hello @DeckerMMIV!!
Will you add in a future update the function MOVEABLE CABIN CAMERA come in Quick Camera FS19?

from farmsim_mod_quickcamera.

Related Issues (13)

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.