Cockpit Position

phrog_phixer

Charter Member
Hello all...I'm trying to substitute a cockpit model in an aircraft. The new c'pit is in the correct position centerline, but is too far back so the pilot model's head is in the windshield...I've tried changing the pilot view in the .xdp to no avail. Any ideas on moving the entire cockpit view forward?
 
To continue this thread, what is the purpose of the <Seats> section in the .xdp file then? I've tried changing the <Station Name="Pilot" Type="pilot_station" View="*" FovUp="**" FovDown="**"> but there seems to be no change (yes, I delete the .bdp).
 
According to the sdk (it's still available at Microsoft, y'know) the <Seats> section defines positions for players in multi-crew aircraft with multiple virtual cockpits in many cases.

Name
gives the station name displayed at top of screen in the game, eg Hobbit position: feet on canopy

Type determines whether it's a pilot, gunner or bomb-aimer position: you won't be able to fire guns if it's a bomb-aimer position

View ties the position to a specific virtual cockpit model: get this wrong and you'll be trying to fly the aircraft from the waist gunner's position

FovUp and FovDown are how high above and below level your view is from top of screen to bottom. A bomb-aimer's position could be constrained this way to looking forward and down

AzimuthMin and AzimuthMax limits how far your view can pan to left and right

ElevationMin and ElevationMax linits how far your view can pan down and up


However, if there are no additional viewpoints defined in the model and only one VC then you're rather stuck.
 
Thanks! Y' know you're right....I suppose after all these years I should finally figure out how to use the sdk...
 
You can add x,y,x values to each line in the views section which will modify the eyepoint position. Here's one I did for the MAW Bf 109E to center up the view instead of offset to align with the gunsight:

<Seats>
<Seat Name="Pilot">
<Stations>
<Station Name="Instruments" Type="pilot_station" View="0" FovUp="27" FovDown="25">
<PadlockLimit AzimuthMin="-154" AzimuthMax="154" ElevationMax="90" ElevationMin="-30"></PadlockLimit>
<Views>
<View Event="HeadStop" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchUp" Azimuth="0" Elevation="-45" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchDown" Azimuth="0" Elevation="25" X="-0.048" Y="0.0" Z="0.2"/>
<View Event="HeadPitchUpLeft" Azimuth="-45" Elevation="5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchUpRight" Azimuth="45" Elevation="5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadRotLeft" Azimuth="-90" Elevation="-5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadRotRight" Azimuth="90" Elevation="-5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchDownLeft" Azimuth="-154" Elevation="0" X="-0.196" Y="0" Z="0"/>
<View Event="HeadPitchDownRight" Azimuth="154" Elevation="0" X="0.10" Y="0" Z="0"/>
</Views>
<GunStations>
<GunStation ID="0"></GunStation>
<GunStation ID="1"></GunStation>
<GunStation ID="2"></GunStation>
<GunStation ID="3"></GunStation>
</GunStations>
</Station>
<Station Name="Reflector Sight" Type="pilot_station" View="0" FovUp="27" FovDown="25">
<PadlockLimit AzimuthMin="-154" AzimuthMax="154" ElevationMax="90" ElevationMin="-30"></PadlockLimit>
<Views>
<View Event="HeadStop" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchUp" Azimuth="0" Elevation="-45" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchDown" Azimuth="0" Elevation="0" X="0.00" Y="0.0" Z="0.25"/>
<View Event="HeadPitchUpLeft" Azimuth="-45" Elevation="5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchUpRight" Azimuth="45" Elevation="5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadRotLeft" Azimuth="-90" Elevation="-5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadRotRight" Azimuth="90" Elevation="-5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchDownLeft" Azimuth="-154" Elevation="0" X="-0.196" Y="0" Z="0"/>
<View Event="HeadPitchDownRight" Azimuth="154" Elevation="0" X="0.10" Y="0" Z="0"/>
</Views>
<GunStations>
<GunStation ID="0"></GunStation>
<GunStation ID="1"></GunStation>
<GunStation ID="2"></GunStation>
<GunStation ID="3"></GunStation>
</GunStations>
</Station>
<Station Name="Mechanical Sight" Type="pilot_station" View="0" FovUp="27" FovDown="25">
<PadlockLimit AzimuthMin="-154" AzimuthMax="154" ElevationMax="90" ElevationMin="-30"></PadlockLimit>
<Views>
<View Event="HeadStop" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchUp" Azimuth="0" Elevation="-45" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchDown" Azimuth="0" Elevation="0" X="0.027" Y="-0.003" Z="0.25"/>
<View Event="HeadPitchUpLeft" Azimuth="-45" Elevation="5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchUpRight" Azimuth="45" Elevation="5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadRotLeft" Azimuth="-90" Elevation="-5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadRotRight" Azimuth="90" Elevation="-5" X="-0.048" Y="0" Z="0"/>
<View Event="HeadPitchDownLeft" Azimuth="-154" Elevation="0" X="-0.196" Y="0" Z="0"/>
<View Event="HeadPitchDownRight" Azimuth="154" Elevation="0" X="0.10" Y="0" Z="0"/>
</Views>
<GunStations>
<GunStation ID="0"></GunStation>
<GunStation ID="1"></GunStation>
<GunStation ID="2"></GunStation>
<GunStation ID="3"></GunStation>
</GunStations>
</Station>
</Stations>
</Seat>
</Seats>


The second two stations are identical except that the "HeadPitchDown" view now will snap the view to align with either the reflector sight or the mechanical iron sight when it's time to shoot instead of looking down at the panel. Note that they are set up as multiple stations for a single seat. Each seat is interpreted by CFS3 as one crewmember, so if you have two seats defined in the xdp you will see two parachutes when the aircraft is shot down or when you bail out. Obviously we only want one for the 109, but if you have another multi-crew aircraft that has too few parachutes you can copy any of the seat entries as many times as necessary to get the desired number of parachutes.
 
Good one, HouseHobbit:icon_lol:! Hey, I'm planning a trip to the USAF Museum (well, after our Gov't settles the current mess)...do you get there much?
 
Good one, HouseHobbit:icon_lol:! Hey, I'm planning a trip to the USAF Museum (well, after our Gov't settles the current mess)...do you get there much?

Yes, I have been there as often as I am able.. Let me know when your heading there (PM) and I might be able to met ya..
Weather permitting, I only have my Harley for wheels..
 
Back
Top