Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed Dec 29, 2021
2 parents b1064b2 + 6fb4f5f commit 9ea1bf3
Show file tree
Hide file tree
Showing 32 changed files with 908 additions and 163 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ ipch/
*.psess
*.vsp
*.vspx
.vs

# TFS 2012 Local Workspace
$tf/
Expand Down
148 changes: 1 addition & 147 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,147 +1 @@
Added tags

0.2.1.3
Fixed data being left on screen after docking

0.2.1.2
Renamed DLL for CKAN compatibility
Added AssemblyFileVersion
Updated version file for 1.12

0.2.1.1
Changed initial nearClipPlane of the cameras from 0.01 to 0.05 to solve flickering problems during launch
Updated build configs

0.2.1
Added ModuleCargoPart to all parts for new KSP Inventory system

0.2.0.1
Added extra check for null in MovieTime.Update

0.2.0
Added InstallChecker
Updated for KSP 1.8

0.1.13
Updated AssemblyVersion.tt
Deleted old commented out code

0.1.12
Thanks to @4x4cheesecake for the following:
Did localization work
Added German translation
Added Chinese translation from @sosoxia

0.1.11
Added patch file for BlueDog Design Bureau
Fixed missing texture on the wide angle camera

0.1.10.2
Thanks to forum user @4x4cheesecake for the following:
Removed FINAL from patches
Added RPM as a dependency for the patch to run at all to prevent warnings about the missing partmodule if RPM is not installed.

0.1.10.1
Split aerocam into two files
added missing bulkheadProfiles to aerocam180

0.1.10
Added missing bulkheadProfiles

0.1.9.13


01.9.12
Fixed resetting the control point when using the Alt (on Windows) when cycling past the last camera

0.1.9.11
Reverted change to line 317 in MuMechModuleHullCamera, caused issues with cameras
Fixed cameras for the inline docking ports to match the navball when the docking port is the active control point
New feature, holding down Alt (on Windows) when hitting + or - will change the control point to the docking port with the camera, only works on docking ports and the original controlling part

0.1.9.10
Fixed nullref when using the equals sign and at the end of the list of cameras.
Added code to allow a docking node to be a target and have the docking info displayed on the docking camera

0.1.9.9
Fixed the KSC Launchpad Camera so it now is there
Removed the obsolete impactTolerance variable
Thanks to @Gordon Dry for this: patch to avoid the EVA cam to be added when the mod ThroughTheEyes is already installed.
Simplified the kerbalEVA patch

0.1.9.8
Removed code which was adding the eva camera at runtime and replaced it with a MM script
Moved all MM scripts into new folder

0.1.9.7
Fixed bug when the expansion is included, due to not finding the vintage kerbal parts

0.1.9.6
Version bump for 1.5 rebuild

0.1.9.5
fixed RPM patch for showing camera fov in the editor for the Kazzelblad and wide-angle camera

0.1.9.4
Fixed error: Texture 'HullCameraVDS/Parts/hc_wideangle/model000' not found

0.1.9.3
Added message to identify current camera when switching
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

0.1.9.2
Fixed shaders, thanks to @Kerbas_ad_astra

0.1.9.1
Disabled log spam due to missing shader
Updated version file

0.1.9
Added change suggested by forum user @jebs_sy to have the camera focus on the vessel (center of mass) instead of a part when leaving the hull camera
Updated for 1.4.1

0.1.8
Updated for KSP 1.3.1

0.1.7.1
Removed log spam

0.1.7
Updated for 1.3

0.1.6
Updated shaders code for windows, now supports both DirectX and OpenGL

0.1.5
Updated shaders for Linux and OSX

0.1.4.1
Undid the change from FINAL to AFTER

0.1.4
Updated patches to use AFTER instead of FINAL per Sarbian's note

0.1.3
Copied patch from RPM
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 RPM

0.1.2.2
Updated verison bvuild

0.1.2.1
Removed extra MM dll

0.1.1
Updated part cfg

0.1.0.1
Initial release
Added tags
4 changes: 2 additions & 2 deletions GameData/HullCameraVDS/HullcamVDSContinued.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"MAJOR": 0,
"MINOR": 2,
"PATCH": 1,
"BUILD": 2
"BUILD": 3
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 0
"PATCH": 2
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down
15 changes: 15 additions & 0 deletions GameData/HullCameraVDS/MM_Scripts/newcams_LaserDist.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@PART[DC_ChemCam]:NEEDS[LaserDist]
{
MODULE
{
name = LaserDistModule

MaxBendX = 0
MaxBendY = 0

MaxDistance = 500
SensorType = LASERDIST
ElectricPerSecond = 0.1
CPUGreedyPercent = 5.0
}
}
144 changes: 144 additions & 0 deletions GameData/HullCameraVDS/MM_Scripts/newcams_NeptuneCamera.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
@PART[DC_aerocam2]:NEEDS[NeptuneCamera]
{
MODULE
{
name = ModuleNeptuneCamera
cameraTransformName = cameraTransformU
cameraType = GREYSCALE_COLOUR
cameraHasCustomFieldOfView = True
cameraFieldOfView = 45
cameraHorizontalResolution = 512
cameraVerticalResolution = 512
cameraHasErrors = True
cameraErrorRate = 5
cameraHasNoise = True
cameraNoiseMaxStrength = 10
cameraHasCustomNearClipPlane = True
cameraCustomNearClipPlane = 0.05
cameraHasCustomTitle = True
cameraCustomTitle = "Aero Camera UP"
cameraHasDisplayWindow = True
}
}

@PART[DC_aerocam2_180]:NEEDS[NeptuneCamera]
{
MODULE
{
name = ModuleNeptuneCamera
cameraTransformName = cameraTransformD
cameraType = GREYSCALE_COLOUR
cameraHasCustomFieldOfView = True
cameraFieldOfView = 45
cameraHorizontalResolution = 512
cameraVerticalResolution = 512
cameraHasErrors = True
cameraErrorRate = 5
cameraHasNoise = True
cameraNoiseMaxStrength = 10
cameraHasCustomNearClipPlane = True
cameraCustomNearClipPlane = 0.05
cameraHasCustomTitle = True
cameraCustomTitle = "Aero Camera DN"
cameraHasDisplayWindow = True
}
}

@PART[DC_munCam]:NEEDS[NeptuneCamera]
{
MODULE
{
name = ModuleNeptuneCamera
cameraTransformName = cameraTransform
cameraType = FULL_COLOUR
cameraHasCustomFieldOfView = True
// HASSELBLAD was 80mm = 25.4 deg fov
cameraFieldOfView = 25
cameraFieldOfViewMax = 25
cameraFieldOfViewMin = 25
// HASSELBLAD used 35mm film (22mm x 16mm) scanned at 2400 DPI = 2079px by 1512px
cameraHorizontalResolution = 2079
cameraVerticalResolution = 1512
cameraHasErrors = false
cameraErrorRate = 0
cameraHasNoise = True
cameraNoiseMaxStrength = 15
cameraHasCustomNearClipPlane = True
cameraCustomNearClipPlane = 0.05
cameraHasCustomTitle = True
cameraCustomTitle = "Mun Cam"
}
}


@PART[DC_RoverCam]:NEEDS[NeptuneCamera]
{
MODULE
{
name = ModuleNeptuneCamera
cameraTransformName = cameraTransform
cameraType = FULL_COLOUR
cameraHasCustomFieldOfView = True
cameraFieldOfView = 70
cameraFieldOfViewMax = 100
cameraFieldOfViewMin = 50
cameraHorizontalResolution = 1920
cameraVerticalResolution = 1080
cameraHasErrors = false
cameraErrorRate = 3
cameraHasNoise = false
cameraNoiseMaxStrength = 1
cameraHasCustomNearClipPlane = True
cameraCustomNearClipPlane = 0.05
cameraHasCustomTitle = True
cameraCustomTitle = "Rover Camera R"
cameraHasDisplayWindow = True
}

MODULE
{
name = ModuleNeptuneCamera
cameraTransformName = cameraTransform2
cameraType = FULL_COLOUR
cameraHasCustomFieldOfView = True
cameraFieldOfView = 70
cameraFieldOfViewMax = 100
cameraFieldOfViewMin = 50
cameraHorizontalResolution = 1920
cameraVerticalResolution = 1080
cameraHasErrors = false
cameraErrorRate = 3
cameraHasNoise = false
cameraNoiseMaxStrength = 1
cameraHasCustomNearClipPlane = True
cameraCustomNearClipPlane = 0.05
cameraHasCustomTitle = True
cameraCustomTitle = "Rover Camera L"
cameraHasDisplayWindow = True
}
}

@PART[DC_TurretCam]:NEEDS[NeptuneCamera]
{
MODULE
{
name = ModuleNeptuneCamera
cameraTransformName = cameraTransform
cameraType = FULL_COLOUR
cameraHasCustomFieldOfView = True
cameraFieldOfView = 50
cameraFieldOfViewMax = 100
cameraFieldOfViewMin = 20
cameraHorizontalResolution = 1024
cameraVerticalResolution = 1024
cameraHasErrors = True
cameraErrorRate = 0.1
cameraHasNoise = True
cameraNoiseMaxStrength = 1
cameraHasCustomNearClipPlane = True
cameraCustomNearClipPlane = 0.1
cameraHasCustomTitle = True
cameraCustomTitle = "Turret Camera"
cameraHasDisplayWindow = True
}
}
Loading

0 comments on commit 9ea1bf3

Please sign in to comment.