Jump to content

[1.7.x] Comfortable Landing Continued [V1.6.1]


flywlyx

Recommended Posts

  • 3 weeks later...
On 6/7/2020 at 2:46 AM, PyjackMeat said:

Restock patch?

//Adds Comfortable Landing stuff to ReStock Pods

@PART[mk1pod_v2]:AFTER[ReStock]
{
	MODEL
	{
		model = ComfortableLanding/Models/Mk1/AirBagMk1
   		scale = 1.0, 1.0, 1.0
		rotation = 0.0, 0.0, 0.0
		position = 0.0, 0.0, -0.11
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = CL_Mk1
		startEventGUIName = Deploy
		endEventGUIName = Close
		actionGUIName = Toggle
		restrictedNode = bottom
		eventAvailableEditor = true
		eventAvailableFlight = false
		eventAvailableEVA = true
	}
	MODULE
	{
		name = CL_ControlTool
	}
	MODULE
	{
		name = CL_AirBag
		inflateAltitude = 500.0
		crashToleranceAfterInflated = 45.0
		DeflateTransformName = DeflateTransform
		deflateScale = 1.0, 1.0, 1.0
		InflateTransformName = InflateTransform
		inflateScale = 0.01, 0.01, 0.01
		inflateSoundPath = ComfortableLanding/Sounds/Inflate_A
		volume = 1.0
		deflateSoundPath = ComfortableLanding/Sounds/Touchdown
		volume2 = 1.0
		damageAfterSplashed = true
		buoyancyAfterInflated = 1.5
        COBAfterInflated = 0.0, 0.0, 0.0
		//animName = CL_Mk1
		//animLayer = 0
	}
}

@PART[mk1-3pod]:AFTER[ReStock]
{
	MODEL
	{
		model = ComfortableLanding/Models/Mk1-2/AirBagMk1-2
   		scale = 1.0, 1.0, 1.0
		rotation = 0.0, 0.0, 0.0
		position = 0.0, 0.0, 0.0
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = CL_Mk1-2
		startEventGUIName = Deploy
		endEventGUIName = Close
		actionGUIName = Toggle
		restrictedNode = bottom
		eventAvailableEditor = true
		eventAvailableFlight = false
		eventAvailableEVA = true
	}
	MODULE
	{
		name = CL_ControlTool
	}
	MODULE
	{
		name = CL_Buoy
		buoyancyAfterInflated = 1.2
		COBAfterInflated = 0.0, 0.8, 0.0
		playSoundPath = ComfortableLanding/Sounds/Inflate_B
		volume = 1.0
		//animName = CL_Mk1-2
		//animLayer = 0
	}
}

copy and paste that into a .cfg file in your GameData directory.

Disclaimer: I haven't used this since 1.6.x since that was the last time I was regularly playing KSP with Restock. I'm now on 1.10.1, so I don't have restock installed. If they've moved the models around since then, it might look weird.

Edited by theonegalen
Link to comment
Share on other sites

  • 4 weeks later...
On 8/11/2020 at 11:27 PM, theonegalen said:

//Adds Comfortable Landing stuff to ReStock Pods

@PART[mk1pod_v2]:AFTER[ReStock]
{
	MODEL
	{
		model = ComfortableLanding/Models/Mk1/AirBagMk1
   		scale = 1.0, 1.0, 1.0
		rotation = 0.0, 0.0, 0.0
		position = 0.0, 0.0, -0.11
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = CL_Mk1
		startEventGUIName = Deploy
		endEventGUIName = Close
		actionGUIName = Toggle
		restrictedNode = bottom
		eventAvailableEditor = true
		eventAvailableFlight = false
		eventAvailableEVA = true
	}
	MODULE
	{
		name = CL_ControlTool
	}
	MODULE
	{
		name = CL_AirBag
		inflateAltitude = 500.0
		crashToleranceAfterInflated = 45.0
		DeflateTransformName = DeflateTransform
		deflateScale = 1.0, 1.0, 1.0
		InflateTransformName = InflateTransform
		inflateScale = 0.01, 0.01, 0.01
		inflateSoundPath = ComfortableLanding/Sounds/Inflate_A
		volume = 1.0
		deflateSoundPath = ComfortableLanding/Sounds/Touchdown
		volume2 = 1.0
		damageAfterSplashed = true
		buoyancyAfterInflated = 1.5
        COBAfterInflated = 0.0, 0.0, 0.0
		//animName = CL_Mk1
		//animLayer = 0
	}
}

@PART[mk1-3pod]:AFTER[ReStock]
{
	MODEL
	{
		model = ComfortableLanding/Models/Mk1-2/AirBagMk1-2
   		scale = 1.0, 1.0, 1.0
		rotation = 0.0, 0.0, 0.0
		position = 0.0, 0.0, 0.0
	}
	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = CL_Mk1-2
		startEventGUIName = Deploy
		endEventGUIName = Close
		actionGUIName = Toggle
		restrictedNode = bottom
		eventAvailableEditor = true
		eventAvailableFlight = false
		eventAvailableEVA = true
	}
	MODULE
	{
		name = CL_ControlTool
	}
	MODULE
	{
		name = CL_Buoy
		buoyancyAfterInflated = 1.2
		COBAfterInflated = 0.0, 0.8, 0.0
		playSoundPath = ComfortableLanding/Sounds/Inflate_B
		volume = 1.0
		//animName = CL_Mk1-2
		//animLayer = 0
	}
}

copy and paste that into a .cfg file in your GameData directory.

Disclaimer: I haven't used this since 1.6.x since that was the last time I was regularly playing KSP with Restock. I'm now on 1.10.1, so I don't have restock installed. If they've moved the models around since then, it might look weird.

What do you mean by a config file by the way? Like a file you make for making a part return to normal or

Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...
  • 2 months later...
On 2/9/2021 at 11:27 AM, DaOPCreeper said:

the gemin,  buoy isnt showing up in the pats list, and yes i have the revamp mod in the game data folder

 

Would be helpful to see the log file, you have given very little information.

Among other things, are you running ReStock?

Edited by linuxgurugamer
Link to comment
Share on other sites

I've decided to see if I can update this.  I've contacted the current maintainer  @flywlyx, since he hasn't made any changes in the past three years.

I have it working in 1.11.2, along with the patch from @theonegalen for Restock (fixed a bug in it)

I'm not ready to release, need to give @flywlyx a chance to respond (he hasn't been around since the end of January). 

Contact me if you would like to try it out in a private beta

Edited by linuxgurugamer
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...