FANDOM


CameraFlyThroughPath.ini is a technical file that can be imported into world files. This file is commonly used when creating a custom flyover.


DescriptionEdit

CameraFlyThroughPath.ini plots the course of the flyover that the player will see when they first load a particular world. The file can plot several courses, but only the course specified in World.ini will play.

FormatEdit

This file defines spline paths for the camera to follow at the beginning of the tutorial. Each path is defined as a set of control points. Each point has the following format:


[I_T]
Position = (x, y, z)
Rotation = (x, y, z)
FOV = x


I is the integer index of the path.
T is the time in seconds at which this point is hit - the first point in the path should have a time of 0.
x, y, and z are float values; the rotation angles and FOV are defined in degrees.

Note that while the FOV can be set per control point, the main game camera's FOV is static and cannot be changed in-game. Therefore, to prevent a jump, the starting and ending FOV values should always match the main game camera (currently 45 degrees). Also note that each path *must* contain at least 2 points.

ExampleEdit

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; This file defines spline paths for the camera to follow at
;; the beginning of the tutorial.
;;
;; Each path is defined as a set of control points. Each point
;; has the following format:
;;
;; [I_T]
;; Position = (x, y, z)
;; Rotation = (x, y, z)
;; FOV = x
;;
;; I is the integer index of the path.
;;
;; T is the time in seconds at which this point is hit - the first
;; point in the path should have a time of 0.
;; x, y, and z are float values; the rotation angles and FOV are
;; defined in degrees.
;;
;; Note that while the FOV can be set per control point, the main
;; game camera's FOV is static and cannot be changed in-game.
;; Therefore, to prevent a jump, the starting and ending FOV
;; values should always match the main game camera (currently 45
;; degrees).
;;
;; Also note that each path *must* contain at least 2 points.
;;
;; To help in generating these points, use the "Dump" button in
;; the camera debug UI panel (press 'u', then the right arrow key
;; twice).u

;; Path 0: Tutorial Entry

;;start

[0_0]
Position = (1905.47, 46.42, 2063.88)
Rotation = (-10.76, 280.07, 0.00)
FOV = 80.00

[0_12]
Position = (1236.75, 105.51, 1981.89)
Rotation = (-10.20, 302.41, 3.00)
FOV = 80.00

[0_22]
Position = (969.25, 93.21, 1574.65)
Rotation = (-12.43, 284.02, -12.00)
FOV = 75.00

[0_30]
Position = (689.88, 650.25, 1084.67)
Rotation = (-55.00, 178.93, 0.00)
FOV = 45.00

;; Path 1: Game Entry

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Custom France Fly though proof of concept

[0_0]
Position = (1905.47, 46.42, 2063.88)
Rotation = (-10.76, 280.07, 0.00)
FOV = 80.00

[0_12]
Position = (1236.75, 105.51, 1981.89)
Rotation = (-10.20, 302.41, 3.00)
FOV = 80.00

[0_22]
Position = (969.25, 93.21, 1574.65)
Rotation = (-12.43, 284.02, -12.00)
FOV = 75.00

[0_30]
Position = (689.88, 650.25, 1084.67)
Rotation = (-55.00, 178.93, 0.00)
FOV = 45.00

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.