GithubHelp home page GithubHelp logo

timmiej93 / clipdistancecontrol Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 20 KB

Script for the game Farming Simulator 17. Reduces the clip distance (draw distance) of objects in a trigger, increasing performance.

Lua 100.00%
fs17 lua farmingsimulator mapping

clipdistancecontrol's People

Contributors

timmiej93 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sashaman

clipdistancecontrol's Issues

Clip distance not resetting after leaving trigger

The clip distance doesn't seem to reset properly on all parts of a vehicle when leaving a trigger. This somehow seems to be related to the OakField Farm map on multiplayer.

2018-02-17_13_52_38-farming_simulator_17

If you want to help find the issue, please download the script on the test-resetting branch (same script, just some print statements added), use it, and send me your log (and the server log if you play MP) if you notice it malfunctioning.
Please also inform me of the following things:

  • MP or SP
  • The map you're playing on
  • A short summary of what happened, preferably with screenshots
  • Any info you think might be relevant

[Testing] Different collision bits for less conflicts

When I started messing with this script, my knowledge of collision masks was pretty much non-existent. The original collision mask I recommended was found by trial and error. It works, but it may not be optimal. Now, I'm testing a new collision mask. So far, it seems to be working for me, but I would like your help to make sure there are no errors.

Old clipping mask: 56031c2 (1, 6, 7, 8, 12, 13, 21, 22, 24 and 26)
New clipping mask: 7e00000 (21, 22, 23, 24, 25 and 26)

As a reminder: clipDistanceControl should work on all vehicles, and all dynamic objects like bales, pallets, etc.
Please report your findings here, both positive and negative (so both if it works, and if it doesn't work).

Dedicated server problem

Hi! Is there a reason why the code is partialy not working on dedicated server?

Does not work: any vehicle
Works OK: all the other objects

Thank you for help

V.

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.