Giter Club home page Giter Club logo

contracthud's Introduction

FS22 Contract HUD

Helpful small HUD displaying the current completion percentage of all active contracts. Hud is hidden if no active contracts!

Hotkeys:

ALT + M => Toggle between 5 possible modes (display mode 0 is default)

If you dont want to display decimals in percentage value, open zip file and change line 46 in ContractHUD.lua file:

  • from: ContractHUD.displayDecimals = true
  • to:  ContractHUD.displayDecimals = false

If you want headline to match cyan game color, open zip file and change line 37 in ContractHUD.lua file:

  • from: ContractHUD.HeadlineColor = 13
  • to:  ContractHUD.HeadlineColor = 7

If you want to change default display mode, open zip file and change line 60 in ContractHUD.lua file:

  • from: ContractHUD.displayMode = 0
  • to:  ContractHUD.displayMode = 3 -- mode number, in this example I want to have display mode 3 as default

Version 1.2.1.0: (the.geremy)

  • corrected error when weather has two icons and overlay will not adjust
  • added alert time, when remaining mission time is below this value color of contract will change
  • when remaining mission time is below 1 minute color will also change
  • horizontal marin of overlay is bit bigger
  • display mode 5 is more talkative (default)
  • now you can choose from this display modes:
     0 - field mission - display field number and field work type and also crop type if available, if progress display bar
       - transport mission - display mission type and crop type, if progress display bar instead of remaining time
     1 - field mission - display field number and field work type and also crop type if available, if progress display bar
       - transport mission - display mission type and crop type, if progress display % number instead of required amount
     2 - field mission - display field number and field work type and also crop type if available, if progress display % number and bar
       - transport mission - display mission type and crop type, if progress display % number and bar instead of required amount
     3 - field mission - display field number and field work type and also crop type if available, if progress display % number and bar
       - transport mission - display crop type, if progress display % number instead of required amount also display destination
     4 - field mission - display field number and field work type and also crop type if available, if progress display % number and bar
       - transport mission - display crop type, if progress display % number instead of required amount also display destination and remaining time
     5 - field mission - display field number and field work type and also crop type if available, if progress display % number and bar (default)
       - transport mission - display crop type, if progress display remaining amount instead of required amount also display destination and remaining time (default)
     6 - hide HUD

Version 1.2.0.8: (the.geremy)

  • some minor adjustments

Version 1.2.0.7: (the.geremy)

  • formating number error fixed

Version 1.2.0.6: (the.geremy)

  • change in display mode 3:
     Display mode: 3
      - field mission - display field number and field work type and also crop type if available, if progress display % number and bar
      - transport mission - display crop type, if progress display % number instead of required amount also display destination

Version 1.2.0.5: (the.geremy)

  • added display modes
  • now you can choose from this display modes:
     Display mode: 0
      - field mission - display field number and field work type and also crop type if available, if progress display bar (default)
      - transport mission - display mission type and crop type, if progress display bar instead of remaining time (default)
     Display mode: 1
      - field mission - display field number and field work type and also crop type if available, if progress display bar
      - transport mission - display mission type and crop type, if progress display % number instead of required amount
     Display mode: 2
      - field mission - display field number and field work type and also crop type if available, if progress display % number and bar
      - transport mission - display mission type and crop type, if progress display % number and bar instead of required amount
     Display mode: 3
      - field mission - display field number and field work type and also crop type if available, if progress display % number and bar
      - transport mission - display crop type, display % number and also display destination
     Display mode: 4
      - HUD hidden

Version 1.2.0.0: (the.geremy)

  • added dynamic background with default width and height, so it will not shrink under this values
  • matching colors of contract with status and ingame notification message colors

Version 1.1.0.4: (the.geremy)

  • optimization and code clean up
  • correction of % display when decimal part below 0.1
  • try to match green color of completed mission message, no luck :D
  • back to default white color

Version 1.1.0.3: (the.geremy)

  • added translation support

Version 1.1.0.2: (the.geremy)

  • row height adjustment + 18%

Version 1.1.0.1: (the.geremy)

  • small displaying adjustments (in same cases text was too long)
  • when zero progress show contracted litters or remaining time (percentage mode / progress bar mode)
  • row height adjustment + 15%

Version 1.1.0.0: (the.geremy)

  • autohide info when no active missions
  • change of colors to see it better during day and night
  • row height adjustment + 10%
  • show percentage with one decimal number
  • enhance info
    • show field work type (sow, cultivate, harvest...)
    • show also fruit type when available (barley, wheat, oat ...)
  • when zero progress (progress bar / percentage) show other info (fruit type, remaining time, contracted litters)
  • when progress show only field number and progress bar or percentage
  • enhanced progress bar
    • now each bar means 5% exactly - | "full bar"
    • also show progress by 2.5% - ¦ "half bar"
  • support for supplyTransport missions mod
    • when zero progress show fruit type, contracted litters and remaining time
    • when progress show fruit type and progress bar / fruit type and percentage

contracthud's People

Contributors

thegeremy avatar tn4799 avatar stingertopgun avatar

Forkers

watho

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.