-
Notifications
You must be signed in to change notification settings - Fork 67
Internal modules
Beyond the major piece of this kit, the monitor itself, the plugin also contains a few other helpful modules to make creating a detailed IVA easier that are in one way or another subtly related to the rest of them. Modules listed on this page are per-IVA and go into internal.cfg:
Problem: You wish to use an InternalCameraSwitch for docking, now that you have that nice monitor to help you with aligning. To activate this camera, you need to doubleclick on something. Unfortunately, doubleclick resets your target, and you can't doubleclick again to re-target, since the internal cameras won't let you.
Solution: Insert MODULE { name = InternalCameraTargetHelper }
into your
internal.cfg. Problem gone. :) It will keep track of your target and restore it
upon switching the camera in this fashion.
This module also has the important job of maintaining the reference transform part if you peek out of IVA and go back inside.
This module will attach and play a background looping noise while the player is in IVA. The noise will stop when they exit the IVA. Don't overdo it. :)
- soundURL -- URL of the sound loop to play. Beware of using loops that are too big, as all such sounds are kept in memory.
- soundVolume -- Volume to play the background sound at. Defaults to 0.1.
- needsElectricCharge -- Boolean, defaults to true. If true, will stop the background hum if the capsule runs out of electric charge.
There is no way to change the default field of view in IVA anywhere that I could find, while sometimes, the fisheye distortion introduced by the IVA camera is inappropriate. This module will take care of this problem, as well as other problems related to IVA cameras not being able to look where you need it to from where the kerbal is sitting, by letting you change the camera parameters that are otherwise inaccessible.
The module itself has no configuration parameters. Instead, these parameters are additional parameters to the configuration for the stock module InternalSeat -- every seat can have it's own set:
- fov -- The base field of view. Defaults to 60 degrees. Notice that zooming in and out inside the IVA will still change this field of view.
-
hideKerbal -- One of
none
,head
, orall
. Controls what parts of the Kerbal's IVA model are rendered while in that Kerbal's seat.head
will cause the head to disappear, so the bulging eyes and face don't interfere with the view in IVA (this was default KSP behavior prior to KSP 1.1).none
causes none of the Kerbal's model to disappear (this is default KSP behavior as of KSP 1.1, and it is the default setting for this module).all
causes the entire Kerbal to disappear. - maxRot -- The maximum rotation, defaults to 60 degrees. Rotation goes maxRot degrees in either direction.
- maxPitch,minPitch -- The maximum pitch defaults to 60 degrees, while the minimum defaults to -30 degrees.
Example usage:
MODULE
{
name = JSISetInternalCameraFOV
}
MODULE
{
name = InternalSeat
seatTransformName = CenterSeat
maxRot = 150
}
Don't overdo it and change it too much.