Skip to main content

cockpits

Overview

These files describe cockpits and turret cameras used by ships.

Vanilla Examples

  • DATA\COCKPITS\CORSAIR\corsair_elite.ini
  • DATA\COCKPITS\CORSAIR\civilian_vheavy.ini
  • DATA\COCKPITS\CORSAIR\r_elite.ini

Syntax

One of each block may be defined, extras are ignored

[Cockpit]

[Cockpit]
mesh = PATH
int_brightness = FLOAT
head_turn = INT, INT
ParameterInformation
meshThe path to the cockpit model used.
int_brightnessSets the brightness of the cockpit. Requires testing to confirm value. Has a range of 0 to 1
head_turnThis value may be unused. Could relate to camera 'turn' when the ship banks

[CockpitCamera]

[CockpitCamera]
znear = INT
ParameterInformation
znearNear distance at which objects are not rendered.

[TurretCamera]

[TurretCamera]
tether = FLOAT, FLOAT, FLOAT
yaw_rotate_speed = INT
pitch_rotate_speed = FLOAT
accel_speed = INT
ParameterInformation
tetherThe turret camera location relative to the ship. FLOATs are X, Y and Z coordinates respectively.
yaw_rotate_speedRotation speed in radians per second when moving from side to side
pitch_rotate_speedRotation speed in radians per second when moving up and down
accel_speedAcceleration in radians per second squared at which the rotation speed is reached. Requires testing.