Jump to content

[1.12.x] Simple Contract Display


Recommended Posts


jetdfZZ.png  ZTDwP7J.png

This is a simple mod designed to show on-screen any selected contracts you want.  The display can be made transparent

Toolbar icon:   arH4rOZ.png

The initial screen will show three buttons:

  • Select        click to open contract selection screen
  • Close        Close the window
  • Settings    Open the settings panel

The Contract Selection screen will show a list of all active contract.  Click the toggle to select those contracts you want to display, then click the Select Button

The Settings page will display three toggles on the first line:

  • Bold            Make the display font bold
  • Lock Position    Clock the window position
  • Hide Buttons    Hide the buttons when the selection screen is closed.  Buttons will only hide if there are contracts to display

The next two lines will have the following toggles:

  • Allow click-through        If enabled, this will have the contract display window to allow clicks to fall through to game objects below.  This will only be enabled when the settings panel is NOT displayed
  • Save to file            If selected, then an entry field will open up to allow you to specify a file to write the selected contracts to.  Full paths are allowed.  If the folder/directory is invalid, it will be shown in red

The following sliders are available:

  • Transparency    Set the transparency of the window, all the way left makes the window totally transparent
  • Font Size        Set the size of the font to be used

Additional controls are in the upper left:

  • B    Hide or show the buttons
  • L    Lock the position of the window

upper right:

  • X    Close the window

and lower right:

  • diagonal arrow    Resize the window

The window position is saved for each scene


When first opening the mod, this appears:  7tc3fJD.png


Settings window, with a contract selected: dhrUalk.png


Contract Selection Window:  5rsRsa0.png



Available via CKAN 


This mod depends on the ContractParser, which, in CKAN, is only listed as being compatible up to version 1.8.1.  It works in 1.12.3, so in order to install this using CKAN, you need to  do the following in CKAN:

  1. Select the menu: Settings->Compatible Game Versions
  2. Put a check mark in front of the line for 1.8 and click Accept


Toolbar icon obtained from flaticon.com
    Icons made by Freepik  from https://www.flaticon.com/ 


Known bugs:  The buttons don't hide when requested unless you are writing the contracts to a file.  Will be fixed in next release

Edited by linuxgurugamer
Link to comment
Share on other sites

New release,

  • Fixed buttons not hiding
  • Thanks to a suggestion form @OrbitalBear, updated window  titles to include mod name
  • Increased width of selection window
  • Made the selection text as buttons to make it easier to select
  • Fixed title of window to properly show plural contracts or non plural contract
Link to comment
Share on other sites

New release,

  • Added saving of font size
  • Added optional display of notes
  • Added optional display of Requirements
  • Added scrollview for displayed contracts
  • Added ability to hide briefing
  • Added expandable items
  • Hiding resize button when locked now
  • Added H button, to hide window for 15 seconds
Link to comment
Share on other sites

  • 2 weeks later...

New release,

  • Added manual contract entry, manual contract entries get saved to the save file
  • Renamed DLL from CurrentContractDisplay  to SimpleContractDisplay
  • Fixed alpha background for all display field
  • Added slider for adjustable hide time

Note:  the name of the DLL has been changed, so if you are installing this by hand, please delete the entire directory and reinstall it.  CKAN should properly delete the old dll

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 3 months later...
  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...