Sam Hall

[1.2.x] Kerbonov Kn-2 Cockpit Module

Recommended Posts

7 minutes ago, Deimos Rast said:

Wish you hadn't said that...I've been explicitly told to let that one stay dead, but it is one of my favorites...*sigh*

In the mean time, off to work on Taurus 3.75m.:P

What? Whyever for? It's an awesome mod. If 1.2.* remains fairly stable for a while, I'd love it if all of this good stuff comes back :)

This is just a *drop these cfgs into the mod folder* install, yeah? Or do we need to hunt out the subfolder part cfgs and replace them?

Edited by Beetlecat

Share this post


Link to post
Share on other sites

Thanks @Deimos Rast.

I had updated mine to 1.2 a few days ago and was about to update this thread. I'll check out your version and compare to mine.

I'll put in any pull requests on GitHub - if needed.

 

Share this post


Link to post
Share on other sites
24 minutes ago, Snacksquatch said:

Thanks @Deimos Rast.

I had updated mine to 1.2 a few days ago and was about to update this thread. I'll check out your version and compare to mine.

I'll put in any pull requests on GitHub - if needed.

 

would be much appreciated. Even if it's just balance related (in which case probably easier to talk it out here), as I made some slight changes for the sake of balancing values to modern standards.

On 11/4/2016 at 10:13 PM, Beetlecat said:

What? Whyever for? It's an awesome mod. If 1.2.* remains fairly stable for a while, I'd love it if all of this good stuff comes back :)

This is just a *drop these cfgs into the mod folder* install, yeah? Or do we need to hunt out the subfolder part cfgs and replace them?

sorry didn't see this earlier - these are just module manager patches if you haven't figured it out already. Apparently github likes to remove a layer of folders when it redistributes things, so you might get several folders when you extract it. Really need to fix that.

Regarding FASA: 'cuz it wouldn't have an active developer, there are other mods that do and are as good already available. I don't fully agree with the counter arguments, but I do understand them.

Share this post


Link to post
Share on other sites

OKay 1.2.2 is out and KSP looks pretty unlikely to see any significant changes in the future so i guess now's about as good a time as any to blow the dust off this thing and give it a maintenance update. New cockpit, new parts, grid fins fold now (this needs RetractableLiftingSurface Module by linuxgurugamer installed to work correctly), redid most of the models and textures, airplane parts look stockalike with the Porkjet parts instead of the old C7 ones.

Curse is I guess on vacation or something tonight and has had the file upload stuck on "Under Review" for the last hour so here's a Backup Dropbox Link for until that gets sorted out.

i6A3cpD.png

 

QdNVDVq.jpg

 

EN4I4qz.jpg

 

K0DUzHu.jpg

 

 

Share this post


Link to post
Share on other sites

I'm looking up the old configs for RPM screens, but now I don't want to cover your awesome panels with boring screens.

Share this post


Link to post
Share on other sites

Hi,

i've created a mod wich is compatible and include a patch for your external seat,

please let me know if you agree with it (i will remove your patch if not), if you want to include the patch in your mod instead of mine, also can you notify me if something is changing in the concerned parts?

Thank you.

 

Share this post


Link to post
Share on other sites

Another heads up:: Still working fine on 1.4.3. :-)

0VifhJeju3z6wz-6dHGqLJAX_oW6vw6ZexrpXRTu
Test Plane: Kerbonov Cabin, BA-4U Cyclone (Airplane Plus) and Stock Parts

 

KYPa93BqgwQX05ojBsN2UxkGpgMtVx8JyaIe_Sw0

Internal Cockpit View: (almost) everything appears to work!

Edited by Lisias

Share this post


Link to post
Share on other sites

hey, I've been using this since 1.2.2.  Question: has the model been upgraded to have internal lights?  (ie: Turns light on with lights key or right-click ) ?

Share this post


Link to post
Share on other sites
12 hours ago, Francois424 said:

hey, I've been using this since 1.2.2.  Question: has the model been upgraded to have internal lights?  (ie: Turns light on with lights key or right-click ) ?

Looking at the cfg I would say no don't have time to test now but one could try and edit or change the cfg to see if it work 

Here is the old 

	MODULE
	{
			name = ModuleAnimateGeneric
			animationName = KN7Lights
			actionGUIName = Toggle Lights
			startEventGUIName = Lights On
			endEventGUIName = Lights Off
	}

and here is what KSP uses now 

	MODULE
	{
		name = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
		eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
		eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}

EDIT- Here is a patch you can make 

Spoiler

@PART[KN2Cabin]
{
  !MODULE[ModuleAnimateGeneric] {}
  %MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }
}
}

@PART[KN7Cabin]
{
  !MODULE[ModuleAnimateGeneric] {}
  %MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }
}
}

@PART[InlinePassengerCan]
{
  !MODULE[ModuleAnimateGeneric] {}
  %MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }
}
}

 

Edited by Mecripp

Share this post


Link to post
Share on other sites
12 hours ago, Francois424 said:

thanks I'm going to try that when I have time.

Unfortunately it did not work.
Most likely because the model does not have a "lightbulb" in it.  Thus pressing the button to turn lights on/off does nothing :( 

Oh well.

Share this post


Link to post
Share on other sites
36 minutes ago, Francois424 said:

Unfortunately it did not work.
Most likely because the model does not have a "lightbulb" in it.  Thus pressing the button to turn lights on/off does nothing :( 

Oh well.

That's funny I have tested it and it works but I did edit my cfg's , Do you have TextureReplacer installed ?

Share this post


Link to post
Share on other sites
Just now, Mecripp said:

That's funny I have tested it and it works but I did edit my cfg's , Do you have TextureReplacer installed ?

I don't as I try to minimize the amount of mods.  Need TextureReplacer mod then ?

Share this post


Link to post
Share on other sites

These are my cfg's for them 

Spoiler

PART
{

// --- general parameters ---
name = KN2Cabin
module = Part
author = Sam Hall

// --- asset parameters ---

MODEL
    {
        model = Kerbonov/Parts/KN2Cabin/KN2model
    }
rescaleFactor = 1.0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 0.85, 0.0, 0.0, 1.0, 0.0
node_stack_bottom = 0.0, -1.6, 0.0, 0.0, -1.0, 0.0

// --- editor parameters ---
TechRequired = aerodynamicSystems
entryCost = 8000
cost = 3500
category = Pods
subcategory = 0
title = Kn-2 Cockpit
manufacturer = Kerbonov Design Bureau
description = Made with up to 70% recycled crop duster parts, the Kn-2 cockpit module seats up to 3 Kerbals in conditions described in Kerbonov advertising copy as "cozy".
//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- standard part parameters ---
mass = 2.25
dragModelType = default
maximum_drag = 0.08
minimum_drag = 0.08
angularDrag = 1
crashTolerance = 40
maxTemp = 1000
skinMaxTemp = 2000

vesselType = Plane

// --- internal setup ---
CrewCapacity = 3
bulkheadProfiles = size1


INTERNAL
{
    name = KN2CabinInternal
}

MODULE
{
    name = ModuleCommand
    minimumCrew = 1
}

RESOURCE
{
    name = ElectricCharge
    amount = 120
    maxAmount = 120
}


MODULE
{
    name = ModuleReactionWheel
    
    PitchTorque = 5
    YawTorque = 5
    RollTorque = 5
    
    RESOURCE
    {
        name = ElectricCharge
        rate = 0.25
    }
}
MODULE
{
    name = ModuleScienceExperiment    
    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
    usageReqMaskInternal = 5
    usageReqMaskExternal = -1
}

MODULE
{
    name = ModuleScienceContainer
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 1.3
}

MODULE
{
    name = FlagDecal
    textureQuadName = KN2_FlagPlate
}

//MODULE
//{
//        name = ModuleAnimateGeneric
//        animationName = KN2Lights
//        actionGUIName = Toggle Lights
//        startEventGUIName = Lights On
//        endEventGUIName = Lights Off
//}

  MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }

    MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 5000
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }        

RESOURCE
{
    name = MonoPropellant
    amount = 20
    maxAmount = 20
}
}
 

Spoiler

PART
{

// --- general parameters ---
name = KN7Cabin
module = Part
author = Sam Hall

// --- asset parameters ---

MODEL
    {
        model = Kerbonov/Parts/KN7Cabin/KN7model
    }
rescaleFactor = 1.0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 1.7, 0.0, 0.0, 1.0, 0.0
node_stack_bottom = 0.0, -1.7, 0.0, 0.0, -1.0, 0.0

// --- editor parameters ---
TechRequired = supersonicFlight
entryCost = 25000
cost = 5000
category = Pods
subcategory = 0
title = Kn-7 Cockpit

description = With redundant life support systems and an advanced suite of electronics, this tough and reliable cockpit module is designed to keep a crew of up to three Kerbals as alive as possible for as long as possible.

manufacturer = Kerbonov Design Bureau
//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- standard part parameters ---
mass = 3.0
dragModelType = default
maximum_drag = 0.15
minimum_drag = 0.1
angularDrag = 2
crashTolerance = 40
maxTemp = 1400
skinMaxTemp = 2400

vesselType = Plane

CrewCapacity = 3
bulkheadProfiles = size1, mk2
breakingForce = 50
breakingTorque = 50
tags = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque


// --- internal setup ---

INTERNAL
{
    name = KN7CabinInternal
}

MODULE
{
    name = ModuleCommand
    minimumCrew = 1
}

RESOURCE
{
    name = ElectricCharge
    amount = 200
    maxAmount = 200
}


MODULE
{
    name = ModuleReactionWheel
    
    PitchTorque = 5
    YawTorque = 5
    RollTorque = 5
    
    RESOURCE
    {
        name = ElectricCharge
        rate = 0.25
    }
}
MODULE
{
    name = ModuleScienceExperiment    
    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
    usageReqMaskInternal = 5
    usageReqMaskExternal = -1
}

MODULE
{
    name = ModuleScienceContainer
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 1.3
}

MODULE
{
    name = FlagDecal
    textureQuadName = FlagObject
}


    //MODULE
    //{
    //        name = ModuleAnimateGeneric
    //        animationName = KN7Lights
    //        actionGUIName = Toggle Lights
    //        startEventGUIName = Lights On
    //        endEventGUIName = Lights Off
    //}
  MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }
}


    RESOURCE
    {
        name = MonoPropellant
        amount = 10
        maxAmount = 10
    }

    MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 5000
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }        

    MODULE
    {
        name = ModuleProbeControlPoint
        minimumCrew = 1
        multiHop = False
    }

}
 

Spoiler

PART
{

// --- general parameters ---
name = InlinePassengerCan
module = Part
author = Sam Hall

// --- asset parameters ---
//mesh = can_exterior_model.mu
//scale = 1.0

MODEL
    {
        model = Kerbonov/Parts/Passenger_Can/can_exterior_model
    }
rescaleFactor = 1.0


// --- editor parameters ---
TechRequired = generalConstruction
entryCost = 1800
cost = 400
category = Utility
subcategory = 0
title = KPM-1 Small Inline Passenger Compartment
manufacturer = Kerbonov Design Bureau
description = A light, pressurized container for transporting a single Kerbal plus baggage.
//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 0.5, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.5, 0.0, 0.0, -1.0, 0.0, 1
//node_attach = 0.0, 0.0, .512, 0.0, 0.0, -1.0, 1

 

// --- standard part parameters ---
mass = .65
dragModelType = default
maximum_drag = 0.08
minimum_drag = 0.08
angularDrag = 1
crashTolerance = 40
maxTemp = 1000
skinMaxTemp = 2000

vesselType = Ship

// --- internal setup ---
CrewCapacity = 1
bulkheadProfiles = size1

INTERNAL
{
    name = InlinePassengerCanInternal    
   }


MODULE
{
    name = ModuleScienceExperiment    
    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
}
MODULE
{
    name = ModuleScienceContainer
    
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 1.3
    }
    
    
MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 5000
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }    
    
//MODULE
//{
//        name = ModuleAnimateGeneric
//        animationName = CanLights
//        actionGUIName = Toggle Lights
//        startEventGUIName = Lights On
//        endEventGUIName = Lights Off
//}    

  MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }

    
MODULE
{
    name = FlagDecal
    textureQuadName = FlagPanel
}

}
 

 

5 minutes ago, Francois424 said:

I don't as I try to minimize the amount of mods.  Need TextureReplacer mod then ?

No it can block the lights from working I seen when testing

-

Edited by Mecripp

Share this post


Link to post
Share on other sites
7 minutes ago, Mecripp said:

These are my cfg's for them 

  Hide contents

PART
{

// --- general parameters ---
name = KN2Cabin
module = Part
author = Sam Hall

// --- asset parameters ---

MODEL
    {
        model = Kerbonov/Parts/KN2Cabin/KN2model
    }
rescaleFactor = 1.0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 0.85, 0.0, 0.0, 1.0, 0.0
node_stack_bottom = 0.0, -1.6, 0.0, 0.0, -1.0, 0.0

// --- editor parameters ---
TechRequired = aerodynamicSystems
entryCost = 8000
cost = 3500
category = Pods
subcategory = 0
title = Kn-2 Cockpit
manufacturer = Kerbonov Design Bureau
description = Made with up to 70% recycled crop duster parts, the Kn-2 cockpit module seats up to 3 Kerbals in conditions described in Kerbonov advertising copy as "cozy".
//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- standard part parameters ---
mass = 2.25
dragModelType = default
maximum_drag = 0.08
minimum_drag = 0.08
angularDrag = 1
crashTolerance = 40
maxTemp = 1000
skinMaxTemp = 2000

vesselType = Plane

// --- internal setup ---
CrewCapacity = 3
bulkheadProfiles = size1


INTERNAL
{
    name = KN2CabinInternal
}

MODULE
{
    name = ModuleCommand
    minimumCrew = 1
}

RESOURCE
{
    name = ElectricCharge
    amount = 120
    maxAmount = 120
}


MODULE
{
    name = ModuleReactionWheel
    
    PitchTorque = 5
    YawTorque = 5
    RollTorque = 5
    
    RESOURCE
    {
        name = ElectricCharge
        rate = 0.25
    }
}
MODULE
{
    name = ModuleScienceExperiment    
    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
    usageReqMaskInternal = 5
    usageReqMaskExternal = -1
}

MODULE
{
    name = ModuleScienceContainer
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 1.3
}

MODULE
{
    name = FlagDecal
    textureQuadName = KN2_FlagPlate
}

//MODULE
//{
//        name = ModuleAnimateGeneric
//        animationName = KN2Lights
//        actionGUIName = Toggle Lights
//        startEventGUIName = Lights On
//        endEventGUIName = Lights Off
//}

  MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }


    MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 5000
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }        

RESOURCE
{
    name = MonoPropellant
    amount = 20
    maxAmount = 20
}
}
 

  Reveal hidden contents

PART
{

// --- general parameters ---
name = KN7Cabin
module = Part
author = Sam Hall

// --- asset parameters ---

MODEL
    {
        model = Kerbonov/Parts/KN7Cabin/KN7model
    }
rescaleFactor = 1.0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 1.7, 0.0, 0.0, 1.0, 0.0
node_stack_bottom = 0.0, -1.7, 0.0, 0.0, -1.0, 0.0

// --- editor parameters ---
TechRequired = supersonicFlight
entryCost = 25000
cost = 5000
category = Pods
subcategory = 0
title = Kn-7 Cockpit

description = With redundant life support systems and an advanced suite of electronics, this tough and reliable cockpit module is designed to keep a crew of up to three Kerbals as alive as possible for as long as possible.

manufacturer = Kerbonov Design Bureau
//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- standard part parameters ---
mass = 3.0
dragModelType = default
maximum_drag = 0.15
minimum_drag = 0.1
angularDrag = 2
crashTolerance = 40
maxTemp = 1400
skinMaxTemp = 2400

vesselType = Plane

CrewCapacity = 3
bulkheadProfiles = size1, mk2
breakingForce = 50
breakingTorque = 50
tags = aero aircraft cmg command control ?eva fly gyro ?iva moment pilot plane react space stab steer torque


// --- internal setup ---

INTERNAL
{
    name = KN7CabinInternal
}

MODULE
{
    name = ModuleCommand
    minimumCrew = 1
}

RESOURCE
{
    name = ElectricCharge
    amount = 200
    maxAmount = 200
}


MODULE
{
    name = ModuleReactionWheel
    
    PitchTorque = 5
    YawTorque = 5
    RollTorque = 5
    
    RESOURCE
    {
        name = ElectricCharge
        rate = 0.25
    }
}
MODULE
{
    name = ModuleScienceExperiment    
    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
    usageReqMaskInternal = 5
    usageReqMaskExternal = -1
}

MODULE
{
    name = ModuleScienceContainer
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 1.3
}

MODULE
{
    name = FlagDecal
    textureQuadName = FlagObject
}


    //MODULE
    //{
    //        name = ModuleAnimateGeneric
    //        animationName = KN7Lights
    //        actionGUIName = Toggle Lights
    //        startEventGUIName = Lights On
    //        endEventGUIName = Lights Off
    //}
  MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }
}


    RESOURCE
    {
        name = MonoPropellant
        amount = 10
        maxAmount = 10
    }

    MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 5000
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }        

    MODULE
    {
        name = ModuleProbeControlPoint
        minimumCrew = 1
        multiHop = False
    }

}
 

  Reveal hidden contents

PART
{

// --- general parameters ---
name = InlinePassengerCan
module = Part
author = Sam Hall

// --- asset parameters ---
//mesh = can_exterior_model.mu
//scale = 1.0

MODEL
    {
        model = Kerbonov/Parts/Passenger_Can/can_exterior_model
    }
rescaleFactor = 1.0


// --- editor parameters ---
TechRequired = generalConstruction
entryCost = 1800
cost = 400
category = Utility
subcategory = 0
title = KPM-1 Small Inline Passenger Compartment
manufacturer = Kerbonov Design Bureau
description = A light, pressurized container for transporting a single Kerbal plus baggage.
//attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,0,1,1,0

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0.0, 0.5, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.5, 0.0, 0.0, -1.0, 0.0, 1
//node_attach = 0.0, 0.0, .512, 0.0, 0.0, -1.0, 1

 

// --- standard part parameters ---
mass = .65
dragModelType = default
maximum_drag = 0.08
minimum_drag = 0.08
angularDrag = 1
crashTolerance = 40
maxTemp = 1000
skinMaxTemp = 2000

vesselType = Ship

// --- internal setup ---
CrewCapacity = 1
bulkheadProfiles = size1

INTERNAL
{
    name = InlinePassengerCanInternal    
   }


MODULE
{
    name = ModuleScienceExperiment    
    
    experimentID = crewReport
    
    experimentActionName = Crew Report
    resetActionName = Discard Crew Report
    reviewActionName = Review Report
    
    useStaging = False    
    useActionGroups = True
    hideUIwhenUnavailable = True    
    rerunnable = True
    
    xmitDataScalar = 1.0
}
MODULE
{
    name = ModuleScienceContainer
    
    reviewActionName = Review Stored Data
    storeActionName = Store Experiments
    evaOnlyStorage = True
    storageRange = 1.3
    }
    
    
MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 5000
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }    
    
//MODULE
//{
//        name = ModuleAnimateGeneric
//        animationName = CanLights
//        actionGUIName = Toggle Lights
//        startEventGUIName = Lights On
//        endEventGUIName = Lights Off
//}    

  MODULE
  {
    name = ModuleColorChanger
    shaderProperty = _EmissiveColor
    animRate = 0.8
    animState = false
    useRate = true
    toggleInEditor = true
    toggleInFlight = true
    toggleInFlight = true
    unfocusedRange = 5
    toggleName = #autoLOC_502011 //#autoLOC_502011 = Toggle Lights
    eventOnName = #autoLOC_502012 //#autoLOC_502012 = Lights On
    eventOffName = #autoLOC_502013 //#autoLOC_502013 = Lights Off
    toggleAction = True
    defaultActionGroup = Light
    redCurve
    {
        key = 0 0 0 3
        key = 1 1 0 0
    }
    greenCurve
    {
        key = 0 0 0 1
        key = 1 1 1 0
    }
    blueCurve
    {
        key = 0 0 0 0
        key = 1 0.7 1.5 0
    }
    alphaCurve
    {
        key = 0 1
    }

    
MODULE
{
    name = FlagDecal
    textureQuadName = FlagPanel
}

}
 

 

No it can block the lights from working I seen when testing

Still not working.  ReDownloading the part now, if there was an update, I might have the wrong one.

Share this post


Link to post
Share on other sites

Ok now it worked.  Just needed the new model.
There was an update late 2016 and I had the 2015 version.

Thanks for your help now everything's working !

Share this post


Link to post
Share on other sites
On 10/1/2018 at 10:06 PM, Francois424 said:

Ok now it worked.  Just needed the new model.
There was an update late 2016 and I had the 2015 version.

Thanks for your help now everything's working !

Oh, man -- the xmas 2016 update was amazing. Glad you caught that. :)

Share this post


Link to post
Share on other sites

@Sam Hall would it be ok if I revived this mod? Seems like nice parts, and apparently people have it working in 1.5

Share this post


Link to post
Share on other sites

I love the vertical mk2 cockpit from this, and I really should add the new codes to use the open cockpit in 1.5.x...

Share this post


Link to post
Share on other sites
46 minutes ago, JH4C said:

I love the vertical mk2 cockpit from this, and I really should add the new codes to use the open cockpit in 1.5.x...

So I assume that all the above messages are referring to 1.4.5?

As you can see from my previous message, I think this is too good to lose, I'm hoping that @Sam Hall replies.  In the meantime,  if you do update it, I'd appreciate seeing the changes

Share this post


Link to post
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.