Coder Social home page Coder Social logo

stjerneidioten / adjustablemirrors Goto Github PK

View Code? Open in Web Editor NEW
18.0 14.0 4.0 886 KB

Adjustable mirrors mod for Farming Simulator 2019

Lua 95.74% Batchfile 1.94% Shell 2.32%
fs19 farmingsimulator19 farming-simulator-19 farmingsimulator farming-simulator fs

adjustablemirrors's People

Contributors

stjerneidioten avatar turbostar190 avatar zed636 avatar

Stargazers

 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

adjustablemirrors's Issues

More mirror position controls

Create a new translation/rotation system for moving the camera around. Instead of the current rotation-only based system. With the current system the mirror essentially stays in the same spot, but a proper mirror should be able to change its translation as well, which is analogous to extending/subtracting the mirror arm.

Move entire mirror arm

It would be awesome if it was possible to move the entire mirror arm. Also in 3 person.

Bring back mouse control

Allow the use of mouse to adjust the mirrors. The key controls should remain and it should be toggle-able, whether to use one control scheme or the other.

[BUG] Error with vehicles without mirrors

Big bud mod from official modhub or something else without mirrors, like Ponsse ScorpionKing, throw errors in the log when ctrl + 0 (kp) is being clicked.
Action event are activated but mirrors don't exist.

P2P support

Currently the mod does not work properly on player to player servers.

Weird behavior with the DF M2680 Mod

Hi, thanks for bringing this mod to FS22, this is super useful for realistic playstyles!
The mod works with most machines; I got weird behavior with the Deutz Fahr harvester of the DF M2680 mod, though: If I adjust the mirrors in any direction, I end up having a fixed green image which doesn't reflect.
I guess there's a high chance that the harvester mod itself would have to be fixed for this, but I wanted to let you know anyway just in case there's an easy workaround or something:

Mod Link: https://www.farming-simulator.com/mod.php?lang=en&country=gb&mod_id=267177

Video:
https://github.com/StjerneIdioten/AdjustableMirrors/assets/10223149/0bac886e-df33-403f-9e26-e58cdd7a7bd5

Mirrors are not saved to the server, when multiple players are present.

The mirrors refuse to be saved, when there are multiple people on the server. It works flawlessly with only one player present and the other player will get the correct values upon joining.

I noticed in the log that the value received by the server is just the old value, when there are multiple people.

Fs22 Version

Hi, have you any plans to convert the mod for FS22?
Tanks

Adjustable FOV

Be able to adjust the field of view of the camera, since some cameras are insanely zoomed in.

Unknown specialization

Hi! There are errors in the log (MP dedi server session) like this:

Error: Vehicle type 'xxx' has unknown specialization 'AdjustableMirrors'!

Is it OK?

Thank you

Mod fails when graphic settings are low!

The mod has never been tested with low settings, where mirrors are not present. So I just always assumed that mirrors are present on clients in MP, but that is not the case. And this causes errors and issues. And in some cases crashes.

FS19 Vehicle Integration

Make it so the mod is able to be integrated directly into a vehicle mod, where the mirror arms have been created as individual objects and map it in the vehicle specialization tags in the vehicles xml-file.

Configurations

Make it so you can setup different configurations than you can switch between fx "no implement" or "manure spreader"

Possible unintended behaviour if multiple people with the same name joins server

This have not been tested. But sometimes a player will get a (1) appended to their name even if they are the only one with that name on the server. To fix that I have implemented a little fix in the code. The problem is that this will mess with the mirror update if two players with the same name actually plays on the server and one legitimatly gets a (1) appended.

Toggleable debug feature

The code is already using the log() function for all logging instead of print directly. But maybe create a debug flag for easier toggling of log outputs.

Mirrors do not update, when player has (1) in their name

Sometimes a player connects which has (1) in their nickname on server join. The problem is that this is their name in the user database, but the name that is used in controllerName variable is without the one and this makes the check weird.

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.