Skip to content

Commit

Permalink
Added message to identify current camera when switching
Browse files Browse the repository at this point in the history
Added two new config options, both defaulting to true:
	DisplayCameraNameWhenSwitching
	DisplayVesselNameWhenSwitching
Added new config option, defaulting to 3 seconds, allowable range is 1-10
	MessageDuration
Commented out all old references to HullCamera and RESOURCE in the parts
  • Loading branch information
linuxgurugamer committed May 11, 2018
1 parent 592e0f3 commit 9e004df
Show file tree
Hide file tree
Showing 21 changed files with 641 additions and 596 deletions.
10 changes: 9 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,12 @@
Updated version file

0.1.9.2
Fixed shaders, thanks to @Kerbas_ad_astra
Fixed shaders, thanks to @Kerbas_ad_astra

0.1.9.3
Added message to identify current camera when switching
Added two new config options, both defaulting to true:
DisplayCameraNameWhenSwitching
DisplayVesselNameWhenSwitching

Commented out all old references to HullCamera and RESOURCE in the parts
80 changes: 40 additions & 40 deletions GameData/HullCameraVDS/Parts/MSIKerbPro/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,44 +52,44 @@ PART
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
}
// 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
// }
}
80 changes: 40 additions & 40 deletions GameData/HullCameraVDS/Parts/Telescope/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,46 +53,46 @@ PART{
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 = 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
//{
Expand Down
80 changes: 40 additions & 40 deletions GameData/HullCameraVDS/Parts/TelescopeLarge/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -138,45 +138,45 @@ PART
}
}

MODULE
{
name = HullCamera
cameraName = Pictozoom 2000
cameraForward = 0, 1, 0
cameraUp = 0, 1, 0
cameraPosition = 0.00, 3.00, 0.00
cameraFoVMax = 60
cameraFoVMin = 0.0005

//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 = HullCamera
// cameraName = Pictozoom 2000
// cameraForward = 0, 1, 0
// cameraUp = 0, 1, 0
// cameraPosition = 0.00, 3.00, 0.00
// cameraFoVMax = 60
// cameraFoVMin = 0.0005
//
// //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
// }

}
Loading

0 comments on commit 9e004df

Please sign in to comment.