Skip to content

Commit

Permalink
Copied patch from RPM
Browse files Browse the repository at this point in the history
	Fixed patches for cameras in RPM
	Fixed Telescopes
	Fixed various offsets and rotations
	fixed names in files, so that L-Tech will now have the same camera name as Hullcam
	Got all cameras working with RP
  • Loading branch information
linuxgurugamer committed Oct 30, 2016
1 parent 9763e12 commit 99bba13
Show file tree
Hide file tree
Showing 31 changed files with 1,419 additions and 1,273 deletions.
2 changes: 1 addition & 1 deletion GameData/HullCameraVDS/HullcamVDSContinued.version
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"VERSION": {
"MAJOR": 0,
"MINOR": 1,
"PATCH": 2,
"PATCH": 3,
"BUILD": 0
},
"KSP_VERSION": {
Expand Down
170 changes: 85 additions & 85 deletions GameData/HullCameraVDS/Parts/MSIKerbPro/part.cfg
Original file line number Diff line number Diff line change
@@ -1,95 +1,95 @@
PART
{
// --- general parameters ---
name = kerbpro
module = Part
author = sirkut

// --- asset parameters ---
mesh = model.mu
scale = 1
rescaleFactor = 0.25

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_attach = 0.0, 0.0, 0.15, 0.0, 0.0, -1.0
node_stack_bottom = 0.0, -0.1, 0.0, 0.0, 1.0, 0.0, 0
node_stack_top = 0.0, 0.6, 0.0, 0.0, 1.0, 0.0, 0


// --- editor parameters ---
TechRequired = advElectrics
entryCost = 5200
cost = 100
category = Utility
subcategory = 0
title = KerbPro
manufacturer = Magic Smoke Industries
description = The KerbPro is an extremely durable camera primarily used in various sporting activities. Kerbal Space Program asked if these were durable enough to be used as rocket cams. Only time will tell.
tags = (cam hull science

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0

// --- standard part parameters ---
mass = 0.001
dragModelType = default
maximum_drag = 0
minimum_drag = 0
angularDrag = 0
crashTolerance = 8
impactTolerance = 8
maxTemp = 1200

MODULE
{
name = MuMechModuleHullCameraZoom
cameraName = KerbPro
cameraForward = 0, 0, -1
cameraUp = 0, 1, 0
cameraPosition = 0.0, 0.0, 0.0
cameraFoVMax = 40
cameraFoVMin = 10
}

MODULE
{
name = HullCamera
cameraName = KerbPro
cameraForward = 0, 0, -1
cameraUp = 0, 1, 0
cameraPosition = 0.0, 0.0, 0.0
cameraFoVMax = 40
cameraFoVMin = 0.0001
// --- general parameters ---
name = kerbpro
module = Part
author = sirkut

//This camera uses film resource to get science
usesfilm = false
// --- asset parameters ---
mesh = model.mu
scale = 1
rescaleFactor = 0.25

specialExperimentName = photo-

specialExperimentTitle = #Anon# Picture
// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_attach = 0.0, 0.0, 0.15, 0.0, 0.0, -1.0
node_stack_bottom = 0.0, -0.1, 0.0, 0.0, 1.0, 0.0, 0
node_stack_top = 0.0, 0.6, 0.0, 0.0, 1.0, 0.0, 0

//you still have to set this to something or it throws an error when the part loads
experimentID = hullcampicture

experimentActionName = Snap Picture
resetActionName = Delete Picture
collectActionName = Take Photo
// --- editor parameters ---
TechRequired = advElectrics
entryCost = 5200
cost = 100
category = Utility
subcategory = 0
title = KerbPro
manufacturer = Magic Smoke Industries
description = The KerbPro is an extremely durable camera primarily used in various sporting activities. Kerbal Space Program asked if these were durable enough to be used as rocket cams. Only time will tell.
tags = (cam hull science

useStaging = False
useActionGroups = True
hideUIwhenUnavailable = True
xmitDataScalar = 0.8
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0

dataIsCollectable = True
interactionRange = 1.2
// --- standard part parameters ---
mass = 0.001
dragModelType = default
maximum_drag = 0
minimum_drag = 0
angularDrag = 0
crashTolerance = 8
impactTolerance = 8
maxTemp = 1200

rerunnable = True
}
RESOURCE
{
name = Resolution
amount = 1
maxAmount = 15
}
MODULE
{
name = MuMechModuleHullCameraZoom
cameraName = KerbPro
cameraForward = 0, 0, -1
cameraUp = 0, 1, 0
cameraPosition = 0.0, 0.0, 0.0
cameraFoVMax = 40
cameraFoVMin = 10
}

MODULE
{
name = HullCamera
cameraName = KerbPro
cameraForward = 0, 0, -1
cameraUp = 0, 1, 0
cameraPosition = 0.0, 0.0, 0.0
cameraFoVMax = 40
cameraFoVMin = 0.0001

//This camera uses film resource to get science
usesfilm = false

specialExperimentName = photo-

specialExperimentTitle = #Anon# Picture

//you still have to set this to something or it throws an error when the part loads
experimentID = hullcampicture

experimentActionName = Snap Picture
resetActionName = Delete Picture
collectActionName = Take Photo

useStaging = False
useActionGroups = True
hideUIwhenUnavailable = True
xmitDataScalar = 0.8

dataIsCollectable = True
interactionRange = 1.2

rerunnable = True
}
RESOURCE
{
name = Resolution
amount = 1
maxAmount = 15
}
}
184 changes: 92 additions & 92 deletions GameData/HullCameraVDS/Parts/Telescope/part.cfg
Original file line number Diff line number Diff line change
@@ -1,102 +1,102 @@
PART{
// --- general parameters ---
name = Telescope
module = Strut
author = Part: NovaSilisko Mod: hubbazoot

// --- asset parameters ---
mesh = model.mu
scale = 0.1
specPower = 0.1
rimFalloff = 3
alphaCutoff = 0.5

// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z, size

node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0
node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0


// --- editor parameters ---
TechRequired = unmannedTech
entryCost = 4900
cost = 500
category = 5
subcategory = 0
title = Ordan Industrial Pictozoom 1000 Series
manufacturer = Ordan Industrial in association with Probodobodyne
description = Jeb was fiddling around with the camera one day when he "accidentally" bumped a lever labeled DO NOT TOUCH. Following some alarmingly zoomed in pictures of Bill's panicked eyes, they decided this could be strapped to the front of a rocket for a telescope, too.
tags = (cam telescope science hull
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0
// --- standard part parameters ---
mass = 0.5
dragModelType = default
maximum_drag = 0.0
minimum_drag = 0.0
angularDrag = 0
crashTolerance = 8
impactTolerance = 8
maxTemp = 1200
MODULE
{
name = MuMechModuleHullCameraZoom
cameraName = Pictozoom 1000
cameraForward = 0, 1, 0
cameraUp = 0, 1, 0
cameraPosition = 0, 0.18, 0.00
cameraFoVMax = 60
cameraFoVMin = 0.5
}
MODULE
{
name = HullCamera
cameraName = Pictozoom 1000
cameraForward = 0, 1, 0
cameraUp = 0, 1, 0
cameraPosition = 0, 0.18, 0.00
cameraFoVMax = 60
cameraFoVMin = 0.5
name = Telescope
module = Part
author = Part: NovaSilisko Mod: hubbazoot

//This camera uses film resource to get science
usesfilm = false
// --- asset parameters ---
mesh = model.mu
scale = 0.1
specPower = 0.1
rimFalloff = 3
alphaCutoff = 0.5

specialExperimentName = photo-
specialExperimentTitle = #Anon# Picture
// --- node definitions ---
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z, size

//you still have to set this to something or it throws an error when the part loads
experimentID = hullcampicture
node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0
node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

experimentActionName = Snap Picture
resetActionName = Delete Picture
collectActionName = Take Photo

useStaging = False
useActionGroups = True
hideUIwhenUnavailable = True
xmitDataScalar = 0.8
// --- editor parameters ---
TechRequired = unmannedTech
entryCost = 4900
cost = 500
category = Science
subcategory = 0
title = Ordan Industrial Pictozoom 1000 Series
manufacturer = Ordan Industrial in association with Probodobodyne
description = Jeb was fiddling around with the camera one day when he "accidentally" bumped a lever labeled DO NOT TOUCH. Following some alarmingly zoomed in pictures of Bill's panicked eyes, they decided this could be strapped to the front of a rocket for a telescope, too.
tags = (cam telescope science hull
dataIsCollectable = True
interactionRange = 1.2
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0
// --- standard part parameters ---
mass = 0.5
dragModelType = default
maximum_drag = 0.0
minimum_drag = 0.0
angularDrag = 0
crashTolerance = 8
impactTolerance = 8
maxTemp = 1200
MODULE
{
name = MuMechModuleHullCameraZoom
cameraName = Pictozoom 1000
cameraForward = 0, 1, 0
cameraUp = 0, 1, 0
cameraPosition = 0, 0.18, 0.00
cameraFoVMax = 60
cameraFoVMin = 0.5
}
MODULE
{
name = HullCamera
cameraName = Pictozoom 1000
cameraForward = 0, 1, 0
cameraUp = 0, 1, 0
cameraPosition = 0, 0.18, 0.00
cameraFoVMax = 60
cameraFoVMin = 0.5
//This camera uses film resource to get science
usesfilm = false
specialExperimentName = photo-
specialExperimentTitle = #Anon# Picture
//you still have to set this to something or it throws an error when the part loads
experimentID = hullcampicture
experimentActionName = Snap Picture
resetActionName = Delete Picture
collectActionName = Take Photo
useStaging = False
useActionGroups = True
hideUIwhenUnavailable = True
xmitDataScalar = 0.8
dataIsCollectable = True
interactionRange = 1.2
rerunnable = True
}
RESOURCE
{
name = Resolution
amount = 1
maxAmount = 15
}
//MODULE
//{
// name = BOSS
//}
rerunnable = True
}
RESOURCE
{
name = Resolution
amount = 1
maxAmount = 15
}
MODULE
{
name = BOSS
}
}
Loading

0 comments on commit 99bba13

Please sign in to comment.