Skip to content

Internal modules

Eugene Medvedev edited this page Nov 27, 2013 · 11 revisions

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:

InternalCameraTargetHelper

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 camera switched to by InternalCameraSwitch 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.

JSIInternalBackgroundNoise

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.

JSISetInternalCameraFOV

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. There is only one parameter to configure:

  • fov -- the new base field of view to set. Notice that zooming in and out inside the IVA will still change this field of view.

The default FOV is 60. Once again, don't overdo it and change it too much, as apparently, zoom in and out is computed based on that FOV. Notice that this will affect all cameras within the IVA.

Clone this wiki locally