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

  • 1 year later...
  • 3 weeks later...
On 6/22/2024 at 11:48 PM, feral_fenrir said:

It looks like a super cool mod to have. Does this work on v1.12.5?

Unfortuanly I think its dead unless someone takes it over. Real shame was a great addition to the game.

Link to comment
Share on other sites

2 hours ago, SheepDog2142 said:

Unfortuanly I think its dead unless someone takes it over. Real shame was a great addition to the game.

@feral_fenrir - It may not be getting regular updates but it works just fin e on v1.12.5. If a mod says it works in 1.8 or above, there's a very good chance it will still work. Contract mods are especially robust in this manner.

Link to comment
Share on other sites

6 hours ago, ttikkoo said:

@feral_fenrir - It may not be getting regular updates but it works just fin e on v1.12.5. If a mod says it works in 1.8 or above, there's a very good chance it will still work. Contract mods are especially robust in this manner.

Thank you for the update! I will check it out. Coming back to KSP from 2015 or so allot to re-learn.

 

Link to comment
Share on other sites

On 5/3/2021 at 12:51 AM, adriangm44 said:

Got a tiny issue... I can only see the mission window when I'm not on a loaded vessel. So only in the KSC, VAB... I can toggle it working perfectly but on the mission, whilst I'm on the vessel, flying, in space, wherever I am with a loaded vessel or kerbal it just won't show up :( 

Edit: I SOLVED IT

Create a new career game, add some contracts and toggle the contract window in both the KSC and on a loaded vessel. Copy and paste the contract window lines in the persistent.sfs files :) 

Hi Adrian!
thx for your hint!

I also lost my ContractsWindow+ Window during flight. Out of a sudden it was no longer displayed. This was especially annoying as I replaced the standard contract display with ContractsWindow+.

The fix 4me was to simply delete the WindowPosition in the persistant.sfs and get new default window positions in all scenes on next game load.

Unified Diff:
 

--- persistent.sfs.old  2024-07-23 23:35:02.376805694 +0200
+++ persistent.sfs      2024-07-24 21:41:17.043408531 +0200
@@ -8435,5 +8435,4 @@
                Contracts_Window_Parameters
                {
-                       WindowPosition = 50,-80,250,300,2333,-354,484,762,2358,-111,483,845,50,-80,250,300
                        WindowVisible = False,False,False,False
                        Contracts_Window_Mission


 

Link to comment
Share on other sites

  • 1 month later...

Hi

The contract windows does not want to show in the flight scene.

All other scene's work just fine.

It was working just fine before, I tried to reinstall the mod without any result.

Using version 9.4 on KSP 1.12.5
 

 

Edited by Villain Vibe
Link to comment
Share on other sites

Hi Villain Vibe. The solution seems to be in the post right above yours.

So, Edit your persitent fille and delete the line relative to windowPosition.

Of course you ll do a backup of the persistent.sfs file before :)

Link to comment
Share on other sites

On 9/2/2024 at 12:57 AM, LTQ90 said:

Hi Villain Vibe. The solution seems to be in the post right above yours.

So, Edit your persitent fille and delete the line relative to windowPosition.

Of course you ll do a backup of the persistent.sfs file before :)

I did a fresh install of ksp and the mods.
Everything seems to be working now.
Thanks for the help anyways.
I'll remember to edit the file when it happens again. 
Cheers.

Edited by Villain Vibe
Link to comment
Share on other sites

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