Jump to content

[1.8.x] Contracts Window + [v9.4] [11/1/2019]


DMagic

Recommended Posts

Hi! Possible wrong topic, sorry :(

Some science name, and I need to find what part .

Example:  Contract: Experiments: Spectroscopy Scan.

A long time to find: Photopolarimeter scan.

Which mod that shows which science/experiment uses which tool?

 

 

Link to comment
Share on other sites

38 minutes ago, akyyy said:

Hi! Possible wrong topic, sorry :(

Some science name, and I need to find what part .

Example:  Contract: Experiments: Spectroscopy Scan.

A long time to find: Photopolarimeter scan.

Which mod that shows which science/experiment uses which tool?

 

 

None unfortunately. Best I've come up with is a Module Manager patch to show the internal experiment ID in the contract and in the part information box in the editor.

Spoiler
@PART[*]:HAS[@MODULE[*ModuleScience*]]:FINAL
{
  @MODULE[*ModuleScience*]
  {
	   @experimentActionName = #$experimentActionName$ ($experimentID$)
  }
}

@CONTRACT_TYPE:FINAL
{
	@PARAMETER:HAS[#type[CollectScience]]
	{
		&title = "Collect science"
		@title = #$title$ [$experiment$]
		
		@PARAMETER:HAS[#type[CollectScience]]
		{
			&title = "Collect science"
			@title = #$title$ [$experiment$]
			
			@PARAMETER:HAS[#type[CollectScience]]
			{
				&title = "Collect science"
				@title = #$title$ [$experiment$]
				
				@PARAMETER:HAS[#type[CollectScience]]
				{
					&title = "Collect science"
					@title = #$title$ [$experiment$]
				}
			}
		}
	}
}

kgkb4BW.jpg

This is only a partial fix however as some contracts are written in a way that won't display any useful extra info with this patch.

Link to comment
Share on other sites

  • 8 months later...
On 5/31/2022 at 9:20 AM, Aelfhe1m said:

None unfortunately. Best I've come up with is a Module Manager patch to show the internal experiment ID in the contract and in the part information box in the editor.

  Hide contents
@PART[*]:HAS[@MODULE[*ModuleScience*]]:FINAL
{
  @MODULE[*ModuleScience*]
  {
	   @experimentActionName = #$experimentActionName$ ($experimentID$)
  }
}

@CONTRACT_TYPE:FINAL
{
	@PARAMETER:HAS[#type[CollectScience]]
	{
		&title = "Collect science"
		@title = #$title$ [$experiment$]
		
		@PARAMETER:HAS[#type[CollectScience]]
		{
			&title = "Collect science"
			@title = #$title$ [$experiment$]
			
			@PARAMETER:HAS[#type[CollectScience]]
			{
				&title = "Collect science"
				@title = #$title$ [$experiment$]
				
				@PARAMETER:HAS[#type[CollectScience]]
				{
					&title = "Collect science"
					@title = #$title$ [$experiment$]
				}
			}
		}
	}
}

kgkb4BW.jpg

This is only a partial fix however as some contracts are written in a way that won't display any useful extra info with this patch.

Thank you!

I've been working on an MM patch that takes duplicate experimentIDs and removes all but the ones from the part packs wanted (configured in the patch). But short of going through every single science def list I didn't see an easy way to populate it. This is so useful, thank you!

 

13 hours ago, SneakyGunz said:

I found this mod amazing. I see it's no longer working in game. Will this be brought up to date at some time? Thanks.

I have no issue with it in either of my heavily modded installs (each with custom contracts galore). Do you have any errors/conflicts in your log? If the icon doesn't show up I have the same issue with another mod (kind of just stopped showing up), but I think it's just due to a 20Gb gamedata folder, too many icons >.<

 

Edited by shoe7ess
Link to comment
Share on other sites

On 2/10/2023 at 12:45 PM, shoe7ess said:

I have no issue with it in either of my heavily modded installs (each with custom contracts galore). Do you have any errors/conflicts in your log? If the icon doesn't show up I have the same issue with another mod (kind of just stopped showing up), but I think it's just due to a 20Gb gamedata folder, too many icons >.<

 

The contract button no longer works at all when Contract Window+ is installed. I'm using a handful of mods including Kerbalism.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
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...