Cockpit POV profiles
Posted: Sat Nov 27, 2021 2:48 pm
UPDATE
Hello,
I've updated the mission objects hook.
You can now define profiles for the cockpit POV.
To define the cockpit POV for a craft, you can either directly define the coordinates for the craft int the "CockpitPov" section, either define profiles and use them on a per-mission basis.
Suppose that the new craft is "FlightModels\[Model].opt".
To define the cockpit POV, set CockpitPovX, CockpitPovY and CockpitPovZ in a file named "FlightModels\[Model]CockpitPov.txt" or create a section named "[CockpitPov]" in "FlightModels\[Model].ini".
See "CorellianTransport2CockpitPov.txt"
To create a POV profile named "Profile1", create a file named "FlightModels\[Model]CockpitPov_Profile1.txt" or create a section named "CockpitPov_Profile1" in "FlightModels\[Model].ini".
The format is
CockpitPovX = integer
CockpitPovY = integer
CockpitPovZ = integer
See "CorellianTransport2CockpitPov_Default.txt"
Suppose that the new craft is "FlightModels\[Model].opt".
Suppose that the mission is "[MissionDir]\[Mission].tie".
To replace the cockpit POV profile, create a file named "[MissionDir]\[Mission]_Objects.txt" or create a section named "[Objects]" in "[MissionDir]\[Mission].ini".
The format is
FlightModels\[Model]_CockpitPovProfile = ProfileName
CockpitPovProfile = ProfileName
When "FlightModels\[Model]_CockpitPovProfile" doesn't exist, "CockpitPovProfile" is used. If "CockpitPovProfile" doesn't exist, "Default is used".
See "Objects.txt".
Cockpit POV position is read in this order:
- [Model]CockpitPov
- [Model]_CockpitPovProfile
- CockpitPovProfile
- Default profile
Hello,
I've updated the mission objects hook.
You can now define profiles for the cockpit POV.
To define the cockpit POV for a craft, you can either directly define the coordinates for the craft int the "CockpitPov" section, either define profiles and use them on a per-mission basis.
Suppose that the new craft is "FlightModels\[Model].opt".
To define the cockpit POV, set CockpitPovX, CockpitPovY and CockpitPovZ in a file named "FlightModels\[Model]CockpitPov.txt" or create a section named "[CockpitPov]" in "FlightModels\[Model].ini".
See "CorellianTransport2CockpitPov.txt"
To create a POV profile named "Profile1", create a file named "FlightModels\[Model]CockpitPov_Profile1.txt" or create a section named "CockpitPov_Profile1" in "FlightModels\[Model].ini".
The format is
CockpitPovX = integer
CockpitPovY = integer
CockpitPovZ = integer
See "CorellianTransport2CockpitPov_Default.txt"
Suppose that the new craft is "FlightModels\[Model].opt".
Suppose that the mission is "[MissionDir]\[Mission].tie".
To replace the cockpit POV profile, create a file named "[MissionDir]\[Mission]_Objects.txt" or create a section named "[Objects]" in "[MissionDir]\[Mission].ini".
The format is
FlightModels\[Model]_CockpitPovProfile = ProfileName
CockpitPovProfile = ProfileName
When "FlightModels\[Model]_CockpitPovProfile" doesn't exist, "CockpitPovProfile" is used. If "CockpitPovProfile" doesn't exist, "Default is used".
See "Objects.txt".
Cockpit POV position is read in this order:
- [Model]CockpitPov
- [Model]_CockpitPovProfile
- CockpitPovProfile
- Default profile