Jump to content

[1.11.1] Hullcam VDS Continued


linuxgurugamer

Recommended Posts

any chance this gets updated to 1.4.3 someday soon ? 

current version lets you add cams, but they do not respond

or am i doing something wrong?!

Edited by dxeh
Link to comment
Share on other sites

16 hours ago, dxeh said:

any chance this gets updated to 1.4.3 someday soon ? 

current version lets you add cams, but they do not respond

or am i doing something wrong?!

Current version should work in 1.4.3.

log file, please

Link to comment
Share on other sites

There are a lot of errors.

Note: The MovieTime and NightVision modes are currently not working.  This is known, please do not report as a bug

Are these meant?

Just to be sure it's them and not something else.

KSP.log excerpt:

[LOG 04:51:40.341] PartLoader: Compiling Part 'HullCameraVDS/Parts/aerocam/part/aerocam'
[ERR 04:51:40.359] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.360] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.362] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.362] Could not create PartResource of type 'Resolution
[ERR 04:51:40.368] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.390] PartLoader: Part 'HullCameraVDS/Parts/aerocam/part/aerocam' has no database record. Creating.
[LOG 04:51:40.396] DragCubeSystem: Creating drag cubes for part 'aerocam'
[LOG 04:51:40.445] PartLoader: Compiling Part 'HullCameraVDS/Parts/aerocam/part/aerocam180'
[ERR 04:51:40.462] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.463] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.465] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.465] Could not create PartResource of type 'Resolution
[ERR 04:51:40.470] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.492] PartLoader: Part 'HullCameraVDS/Parts/aerocam/part/aerocam180' has no database record. Creating.
[LOG 04:51:40.498] DragCubeSystem: Creating drag cubes for part 'aerocam180'
[LOG 04:51:40.545] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_booster/part/hc_booster'
[ERR 04:51:40.563] [ShipTemplate]: No Resource definition found for RESOURCE

[ERR 04:51:40.563] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.563] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.565] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.565] Could not create PartResource of type 'Resolution
[ERR 04:51:40.567] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.567] Could not create PartResource of type 'Resolution
[ERR 04:51:40.572] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.594] PartLoader: Part 'HullCameraVDS/Parts/hc_booster/part/hc_booster' has no database record. Creating.
[LOG 04:51:40.601] DragCubeSystem: Creating drag cubes for part 'hc.booster'
[LOG 04:51:40.651] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_kazzelblad/part/hc_kazzelblad'
[ERR 04:51:40.669] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.669] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.671] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.671] Could not create PartResource of type 'Resolution
[ERR 04:51:40.676] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.698] PartLoader: Part 'HullCameraVDS/Parts/hc_kazzelblad/part/hc_kazzelblad' has no database record. Creating.
[LOG 04:51:40.704] DragCubeSystem: Creating drag cubes for part 'hc.kazzelblad'
[LOG 04:51:40.760] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_launchcam/part/hc_launchcam'
[ERR 04:51:40.778] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.778] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.780] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.780] Could not create PartResource of type 'Resolution
[ERR 04:51:40.785] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.807] PartLoader: Part 'HullCameraVDS/Parts/hc_launchcam/part/hc_launchcam' has no database record. Creating.
[LOG 04:51:40.813] DragCubeSystem: Creating drag cubes for part 'hc.launchcam'
[LOG 04:51:40.878] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_navcam/part/hc_navcam'
[ERR 04:51:40.896] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.896] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.898] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.898] Could not create PartResource of type 'Resolution
[ERR 04:51:40.903] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.924] PartLoader: Part 'HullCameraVDS/Parts/hc_navcam/part/hc_navcam' has no database record. Creating.
[LOG 04:51:40.930] DragCubeSystem: Creating drag cubes for part 'hc.navcam'
[LOG 04:51:40.995] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_nightvision/part/hc_nightvision'
[ERR 04:51:41.012] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.013] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.015] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.015] Could not create PartResource of type 'Resolution
[ERR 04:51:41.020] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.041] PartLoader: Part 'HullCameraVDS/Parts/hc_nightvision/part/hc_nightvision' has no database record. Creating.
[LOG 04:51:41.047] DragCubeSystem: Creating drag cubes for part 'hc.nightvision'
[LOG 04:51:41.103] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_scicam/part/hc_scicam'
[ERR 04:51:41.120] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.121] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.123] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.123] Could not create PartResource of type 'Resolution
[ERR 04:51:41.128] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.149] PartLoader: Part 'HullCameraVDS/Parts/hc_scicam/part/hc_scicam' has no database record. Creating.
[LOG 04:51:41.155] DragCubeSystem: Creating drag cubes for part 'hc.scicam'
[LOG 04:51:41.209] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_wideangle/part/hc_wideangle'
[ERR 04:51:41.227] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.228] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.230] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.230] Could not create PartResource of type 'Resolution
[ERR 04:51:41.235] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.256] PartLoader: Part 'HullCameraVDS/Parts/hc_wideangle/part/hc_wideangle' has no database record. Creating.
[LOG 04:51:41.263] DragCubeSystem: Creating drag cubes for part 'hc.wideangle'
[LOG 04:51:41.314] PartLoader: Compiling Part 'HullCameraVDS/Parts/hullcam_hubbazoot/part/mumech_hullcam'
[ERR 04:51:41.315] PartCompiler: Cannot find Part of type 'Strut'

[ERR 04:51:41.315] PartCompiler: Error parsing config

[ERR 04:51:41.315] PartCompiler: Cannot compile part

[LOG 04:51:41.315] PartLoader: Compiling Part 'HullCameraVDS/Parts/MSIKerbPro/part/kerbpro'
[ERR 04:51:41.331] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.332] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.334] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.334] Could not create PartResource of type 'Resolution
[ERR 04:51:41.339] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.361] PartLoader: Part 'HullCameraVDS/Parts/MSIKerbPro/part/kerbpro' has no database record. Creating.
[LOG 04:51:41.367] DragCubeSystem: Creating drag cubes for part 'kerbpro'
[LOG 04:51:41.419] PartLoader: Compiling Part 'HullCameraVDS/Parts/Telescope/part/Telescope'
[ERR 04:51:41.436] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.437] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.439] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.439] Could not create PartResource of type 'Resolution
[ERR 04:51:41.444] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.465] PartLoader: Part 'HullCameraVDS/Parts/Telescope/part/Telescope' has no database record. Creating.
[LOG 04:51:41.471] DragCubeSystem: Creating drag cubes for part 'Telescope'
[LOG 04:51:41.522] PartLoader: Compiling Part 'HullCameraVDS/Parts/TelescopeLarge/part/Pictozoom_2000'
[ERR 04:51:41.541] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.542] PartLoader Warning: Variable rotPower not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable linPower not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable maxTorque not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable Ki not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable Kp not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable Kd not found in Part
[ERR 04:51:41.552] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.552] Could not create PartResource of type 'Resolution
[WRN 04:51:41.563] Part already contains resource 'ElectricCharge'
[ERR 04:51:41.565] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.680] PartLoader: Part 'HullCameraVDS/Parts/TelescopeLarge/part/Pictozoom_2000' has no database record. Creating.

 

Edited by Gordon Dry
Link to comment
Share on other sites

10 hours ago, Gordon Dry said:

There are a lot of errors.

Are these meant?

Just to be sure it's them and not something else.

KSP.log excerpt:


[LOG 04:51:40.341] PartLoader: Compiling Part 'HullCameraVDS/Parts/aerocam/part/aerocam'
[ERR 04:51:40.359] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.360] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.362] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.362] Could not create PartResource of type 'Resolution
[ERR 04:51:40.368] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.390] PartLoader: Part 'HullCameraVDS/Parts/aerocam/part/aerocam' has no database record. Creating.
[LOG 04:51:40.396] DragCubeSystem: Creating drag cubes for part 'aerocam'
[LOG 04:51:40.445] PartLoader: Compiling Part 'HullCameraVDS/Parts/aerocam/part/aerocam180'
[ERR 04:51:40.462] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.463] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.465] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.465] Could not create PartResource of type 'Resolution
[ERR 04:51:40.470] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.492] PartLoader: Part 'HullCameraVDS/Parts/aerocam/part/aerocam180' has no database record. Creating.
[LOG 04:51:40.498] DragCubeSystem: Creating drag cubes for part 'aerocam180'
[LOG 04:51:40.545] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_booster/part/hc_booster'
[ERR 04:51:40.563] [ShipTemplate]: No Resource definition found for RESOURCE

[ERR 04:51:40.563] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.563] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.565] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.565] Could not create PartResource of type 'Resolution
[ERR 04:51:40.567] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.567] Could not create PartResource of type 'Resolution
[ERR 04:51:40.572] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.594] PartLoader: Part 'HullCameraVDS/Parts/hc_booster/part/hc_booster' has no database record. Creating.
[LOG 04:51:40.601] DragCubeSystem: Creating drag cubes for part 'hc.booster'
[LOG 04:51:40.651] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_kazzelblad/part/hc_kazzelblad'
[ERR 04:51:40.669] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.669] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.671] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.671] Could not create PartResource of type 'Resolution
[ERR 04:51:40.676] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.698] PartLoader: Part 'HullCameraVDS/Parts/hc_kazzelblad/part/hc_kazzelblad' has no database record. Creating.
[LOG 04:51:40.704] DragCubeSystem: Creating drag cubes for part 'hc.kazzelblad'
[LOG 04:51:40.760] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_launchcam/part/hc_launchcam'
[ERR 04:51:40.778] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.778] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.780] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.780] Could not create PartResource of type 'Resolution
[ERR 04:51:40.785] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.807] PartLoader: Part 'HullCameraVDS/Parts/hc_launchcam/part/hc_launchcam' has no database record. Creating.
[LOG 04:51:40.813] DragCubeSystem: Creating drag cubes for part 'hc.launchcam'
[LOG 04:51:40.878] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_navcam/part/hc_navcam'
[ERR 04:51:40.896] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:40.896] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:40.898] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:40.898] Could not create PartResource of type 'Resolution
[ERR 04:51:40.903] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:40.924] PartLoader: Part 'HullCameraVDS/Parts/hc_navcam/part/hc_navcam' has no database record. Creating.
[LOG 04:51:40.930] DragCubeSystem: Creating drag cubes for part 'hc.navcam'
[LOG 04:51:40.995] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_nightvision/part/hc_nightvision'
[ERR 04:51:41.012] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.013] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.015] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.015] Could not create PartResource of type 'Resolution
[ERR 04:51:41.020] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.041] PartLoader: Part 'HullCameraVDS/Parts/hc_nightvision/part/hc_nightvision' has no database record. Creating.
[LOG 04:51:41.047] DragCubeSystem: Creating drag cubes for part 'hc.nightvision'
[LOG 04:51:41.103] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_scicam/part/hc_scicam'
[ERR 04:51:41.120] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.121] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.123] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.123] Could not create PartResource of type 'Resolution
[ERR 04:51:41.128] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.149] PartLoader: Part 'HullCameraVDS/Parts/hc_scicam/part/hc_scicam' has no database record. Creating.
[LOG 04:51:41.155] DragCubeSystem: Creating drag cubes for part 'hc.scicam'
[LOG 04:51:41.209] PartLoader: Compiling Part 'HullCameraVDS/Parts/hc_wideangle/part/hc_wideangle'
[ERR 04:51:41.227] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.228] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.230] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.230] Could not create PartResource of type 'Resolution
[ERR 04:51:41.235] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.256] PartLoader: Part 'HullCameraVDS/Parts/hc_wideangle/part/hc_wideangle' has no database record. Creating.
[LOG 04:51:41.263] DragCubeSystem: Creating drag cubes for part 'hc.wideangle'
[LOG 04:51:41.314] PartLoader: Compiling Part 'HullCameraVDS/Parts/hullcam_hubbazoot/part/mumech_hullcam'
[ERR 04:51:41.315] PartCompiler: Cannot find Part of type 'Strut'

[ERR 04:51:41.315] PartCompiler: Error parsing config

[ERR 04:51:41.315] PartCompiler: Cannot compile part

[LOG 04:51:41.315] PartLoader: Compiling Part 'HullCameraVDS/Parts/MSIKerbPro/part/kerbpro'
[ERR 04:51:41.331] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.332] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.334] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.334] Could not create PartResource of type 'Resolution
[ERR 04:51:41.339] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.361] PartLoader: Part 'HullCameraVDS/Parts/MSIKerbPro/part/kerbpro' has no database record. Creating.
[LOG 04:51:41.367] DragCubeSystem: Creating drag cubes for part 'kerbpro'
[LOG 04:51:41.419] PartLoader: Compiling Part 'HullCameraVDS/Parts/Telescope/part/Telescope'
[ERR 04:51:41.436] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.437] PartLoader Warning: Variable impactTolerance not found in Part
[ERR 04:51:41.439] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.439] Could not create PartResource of type 'Resolution
[ERR 04:51:41.444] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.465] PartLoader: Part 'HullCameraVDS/Parts/Telescope/part/Telescope' has no database record. Creating.
[LOG 04:51:41.471] DragCubeSystem: Creating drag cubes for part 'Telescope'
[LOG 04:51:41.522] PartLoader: Compiling Part 'HullCameraVDS/Parts/TelescopeLarge/part/Pictozoom_2000'
[ERR 04:51:41.541] [ShipTemplate]: No Resource definition found for RESOURCE

[WRN 04:51:41.542] PartLoader Warning: Variable rotPower not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable linPower not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable maxTorque not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable Ki not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable Kp not found in Part
[WRN 04:51:41.542] PartLoader Warning: Variable Kd not found in Part
[ERR 04:51:41.552] Cannot find a PartModule of typename 'HullCamera'

[WRN 04:51:41.552] Could not create PartResource of type 'Resolution
[WRN 04:51:41.563] Part already contains resource 'ElectricCharge'
[ERR 04:51:41.565] Cannot find a PartModule of typename 'JSIExternalCameraSelector'

[LOG 04:51:41.680] PartLoader: Part 'HullCameraVDS/Parts/TelescopeLarge/part/Pictozoom_2000' has no database record. Creating.

 

Actually, no, it's not that.  HullCamera is not used or needed, I'll remove it.  Same with the resource

Link to comment
Share on other sites

On 5/8/2018 at 3:33 PM, dxeh said:

any chance this gets updated to 1.4.3 someday soon ? 

current version lets you add cams, but they do not respond

or am i doing something wrong?!

Are you using the minus (-) or equals sign (=) to switch the camera views?

Link to comment
Share on other sites

New release, 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
Link to comment
Share on other sites

3 hours ago, linuxgurugamer said:

New release, 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

Awesome! Thank you!

Link to comment
Share on other sites

On 5/9/2018 at 1:52 PM, linuxgurugamer said:

Current version should work in 1.4.3.

log file, please

your latest release works. so gues it just wasnt compatible at that time.. like the mod ;) thnx

 

Link to comment
Share on other sites

On 3/23/2018 at 12:59 PM, Just Jim said:

I knew I was using one of your mods, @linuxgurugamer!!! Just couldn't remember which one!

I added the cameras in a couple chapters ago, and I'm already looking forward to using them a lot in the future!!!

QDnrEeC.png

Thank you so much for all your hard work!!!  :D

Which mod provides those inflatable bases!?

Link to comment
Share on other sites

  • 1 month later...

Something similar has probably been asked before, but would it be possible to make this mod render to an offscreen buffer whose contents can then be broadcast instead of drawing it onscreen?

Edited by c4ooo
Link to comment
Share on other sites

11 minutes ago, c4ooo said:

Something similar has probably been asked before, but would it be possible to make this mod render to an offscreen buffer whose contents can then be broadcast instead of drawing it onscreen?

No idea.  I suppose it might be possible, but I have no idea how.

Link to comment
Share on other sites

28 minutes ago, linuxgurugamer said:

No idea.  I suppose it might be possible, but I have no idea how.

That's unfortunate. I guess I could write a program to screencapture KSP and read the correct pixels, but that is not a  clean solution considering the camera output is still going to take up the game window. I am not above trying to programming this sort of functionality when I get the time, but unfortunately I really don't understand how this mod works considering that the most I have ever contributed to a KSP plugin is around 20 lines of code and that I have no Unity experience :/

Link to comment
Share on other sites

  • 1 month later...
1 hour ago, linuxgurugamer said:

The center, I believe

That's what I figured. I removed the lights and drogues to no avail, then I moved the port itself up a little and the issue went away—the part underneath the port was clipping into the camera.

If you ever find yourself messing around with the docking ports in unity, could you consider moving the camera a little further forward so that it's closer to the docking port face? I'm assuming the camera is just attached to the CoM of the part.

Link to comment
Share on other sites

47 minutes ago, blorgon said:

That's what I figured. I removed the lights and drogues to no avail, then I moved the port itself up a little and the issue went away—the part underneath the port was clipping into the camera.

If you ever find yourself messing around with the docking ports in unity, could you consider moving the camera a little further forward so that it's closer to the docking port face? I'm assuming the camera is just attached to the CoM of the part.

You can adjust it yourself.

In the HullCameraVDS folder, there is a file called: DockingPortCameraPatch.cfg

Find the section which looks like this:

@PART[dockingPort3]
{
	MODULE
	{
	    name = MuMechModuleHullCameraZoom
	    cameraName = NavCam
	    cameraForward = 0, 1, 0
	    cameraUp = 0, 0, -1
	    cameraPosition = 0, 0.0, 0
	    cameraFoVMax = 60
	    cameraFoVMin = 60
	    cameraMode = 1
	
	}
}

The line you want to adjust is cameraPosition

and, i would suspect that the middle number needs to be adjusted just a bit.

Link to comment
Share on other sites

1 hour ago, linuxgurugamer said:

You can adjust it yourself.

In the HullCameraVDS folder, there is a file called: DockingPortCameraPatch.cfg

Find the section which looks like this:


@PART[dockingPort3]
{
	MODULE
	{
	    name = MuMechModuleHullCameraZoom
	    cameraName = NavCam
	    cameraForward = 0, 1, 0
	    cameraUp = 0, 0, -1
	    cameraPosition = 0, 0.0, 0
	    cameraFoVMax = 60
	    cameraFoVMin = 60
	    cameraMode = 1
	
	}
}

The line you want to adjust is cameraPosition

and, i would suspect that the middle number needs to be adjusted just a bit.

Oh, sweet. I figured adding cameras to parts was a Unity thing. Thanks!

Link to comment
Share on other sites

  • 3 weeks later...
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...