PDA

View Full Version : How do you change passenger view height


beadyboy
03-05-2002, 11:52 PM
http://forums.flightsim.com/dcforum/User_files/3c8591cc5e959490.jpg

As you can see it looks like I'm on the floor. Don't ask what I'm doing there but I want to adjust the passenger view height so the passengers don't get suspicious of me hiding on the floor.

The head position is where I want it, it's actually up in the air in the maglev but the pass view is too high. Can this be lowered?

samspade
03-06-2002, 12:13 AM
Not sure of the code for the passenger view but in all the other files (eg .eng and .cvf) the position information appears in the format ( x y z) where
x = right of middle ( -x = left of middle)
y = height
z = horizontal tilt

My guess is you need to give your view a different y value. (Maybe lower, to bring the ground back into view?)

-------SamSpade--------
http://forums.flightsim.com/dcforum/User_files/3be393470fae6ec7.jpg
---"Power for You"---

dvdhoven
03-06-2002, 03:34 PM
Hi,

This somewhat unclear piece of text is cut from the TechDocs:
PassengerCabinHeadPos ( x y z )
The position of the “passenger head” through which the player sees the interior of the passenger car when in passenger view. For best effect, this should be positioned so that the view is that of a seated (or standing) passenger. The position is given as an x, y, z offset in metres from the origin of the shape.

Dick van den Hoven
http://forums.flightsim.com/dcforum/User_files/3c3739ad2f412aac.gif

beadyboy
03-06-2002, 10:30 PM
It is the Passenger head position I changed. Perhaps I should put it back where it was and try to lower the whole lot, but that's where the problem lies. The interior I assume takes into consideration the height of the car sitting on bogies.

The maglev doesn't have bogies so the view should be lower to the rail.

Hope you can understand what I'm trying to explain.

Thanks for the suggestions.

ChckHbrt
03-07-2002, 01:56 AM
Hey beadyboy

Maybe I can help. I'll explain how the x-y-z coordinates work.

Various things in the Sim use x-y-z coords to place the lights, steam/exhaust effects and camera positions etc. From the aspect of sitting in the cab looking out through the windshield:

"X" is the left and right of center position....a set of numbers without the minus (-) is considered positive or right side of center, a set of numbers with a minus in front of them is considered negative or left of center.

"Y" is the height above the ground, not above the railhead, always a positve number.

"Z" is the distance forward and rearward of vehicle center...a set of numbers without the minus is considered positive or forward of center and a set of numbers with a minus is considered negative or rearward of center.

With that said, there are 2 ways to adjust camera position, one way is to adjust position in the camera configuration data file, ( in the Train Simulator Global folder ) but doing this will adjust the camera position for all applications of the camera 5 or passenger cam view. You would only want to adjust this file if all camera 5 views were not to your liking on all applications.

For your problem you want to adjust cam 5 or the PassengerCabinFile on the individual car wag file. On the example below, (from TA SD70M not from the Maglev) you want to change the second or center set of numbers or "Y" position in the PassengerCabinHeadPosition line. Think of the camera as the head of the person.

Inside (
...........PassengerCabinFile ( bnsfgrmac.s )
...........PassengerCabinHeadPos ( 1.092 3.96 7.0 )<=="X-Y-Z"
...........RotationLimit ( 27 360 0 )
...........StartDirection ( 0 0 0 )
...........Sound ( "genfreightwag1.sms" )

You want to increase the center set of numbers to raise the camera view above the ground not the railhead. This achieved by making an adjustment and checking it out in the Sim ( repeating as necessary ) until it's right. You cannot lower the car. Also you cannot adjust the camera by using the car floor as a starting point for adjustment. As mentioned earlier, the "Y" setting or adjustment starts at the ground upward.

I have not tried the Maglev yet, so I do not have the specific set of numbers to give you. All "X-Y-Z" settings are based on the same set of parameters in the Sim.

Hope this is helpfull to you.

Chuck Hebert Chuck@jarc.biz
MSTS Special Effects Creation

beadyboy
03-07-2002, 09:20 PM
Thanks for your info, it is the PassengerCabinHeadPos "y" value I changed that gave the current camera postion.

I probably should have included this pic in the first place.

http://forums.flightsim.com/dcforum/User_files/3c880fc530c43c13.jpg

I've modified the rotation amount to illustrate the problem. We are inside and looking through to the rear of the acela passenger car. The dark shape at the end is the end of the maglev car. As you can see the acela inside view is too high because it goes above the roof of the maglev.

As you say the height of the car may not be able to be changed. The current head position in this pic is at the correct position for the windows of the maglev, not the acela. I may just have to leave out a pass view as it will be too high if I return to the original setting. I dont' know how to make my own view either.

Thanks again for your help though.