Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add What Do I Need? from SpaceDock #10377

Merged
merged 3 commits into from
Jan 20, 2025
Merged

Add What Do I Need? from SpaceDock #10377

merged 3 commits into from
Jan 20, 2025

Conversation

netkan-bot
Copy link
Member

@netkan-bot netkan-bot commented Jan 20, 2025

This pull request was automatically generated by SpaceDock on behalf of linuxgurugamer, to add What Do I Need? to CKAN.

Please direct questions about this pull request to linuxgurugamer.

Mod details

Key Value
Name What Do I Need?
Authors linuxgurugamer
Abstract Show on-screen what science parts are needed
License GPL-3.0
Size 169.15 KiB
Homepage <>
Source code https://github.com/linuxgurugamer/WhatDoINeed

Description

This is a simple mod designed to show on-screen what science parts are needed to support the selected contracts. The display can be made transparent and click-through can be allowed to allow it to not interfere with the editor. It is only available in the Editor (VAB or SPH)

The toolbar button looks like the following:
Toolbar button
Clicking the button for this mod will bring up a simple window which will look similar to the following image:

<IMAGE=WhatDoINeed/PluginData/Textures/window.png>
help image

The initial screen will initially show all active contracts. At the bottom there will be 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 contracts. You can deselect some or all of the active contracts on this screen. Click the toggle to select those contracts you want to display or deselect, then click the Select Button

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

* Display Briefing		If checked, then the briefing for the contract will be shown
* Bold					Make the display font bold
* Lock Position			Clock the window position
* Hide Buttons			Hide the buttons at the bottom when the selection screen is closed

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
* Show all active contracts upon entry	If enabled (defaults to enabled), then entering the editor will
                        automatically populate all the active contracts in the mod

The following sliders are available:

* Transparency			Set the transparency of the window, all the way left makes the 
                        window totally transparent
* Hide Time				Sets the amount of time the window will hide when the H button 
                        in the upper right is pressed
* 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.  When locked, the window cannot be moved or resized
* S					Show the Settings panel

Upper right:

* X					Close the window

Lower right:

* diagonal arrow		Resize the window

The window will show the selected active contracts. Initially all experiments will be shown, along with all
the parts that can provide the experiment needed. There is a button to the left of each contract, which will
allow you to collapse the experiments included in that contract.

Font Colors

* Contacts will be shown in yellow.
* If enabled, the briefing text will be white
* Experiments will be shown in a light blue.  
* Fulfilling parts (parts which can run the experiment):  The parts will be shown in either red or green.  
  Red means it is NOT part of the current vessel, green means it IS on the current vessel.  Additionally, 
  for parts which are already on the vessel, the number of those parts on the vessel will be shown in 
  parenthesis to the right of the part name

This is an automated commit on behalf of linuxgurugamer
@HebaruSan HebaruSan merged commit ea605e9 into master Jan 20, 2025
1 check passed
@HebaruSan HebaruSan deleted the add/WhatDoINeed branch January 20, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants