|
|
GP38-2 cabviews |
|
|
|
Viewing the Shelby yard from the rear platform of GP38-2 #2098. |
Loco designers and others have had mixed success with implementing a passenger view in locos. Recall that the passenger view, accessed by the "5" key, enables us to scroll up/down and left/right. In this regard, it's more versatile than a cabview which is limited to a forward view, and in most cases, a left view and a right view using the left/right arrow keys. If the loco designer has included a head-out view, the up/down arrow keys are used to access this feature when in the cab.
This page goes through the steps to implement a passenger view in the GP38-2 loco, taken from Barry Andrews' post to the Train-Sim.com message area - click here to go to that thread.
If you're not sure about what a loco passenger view can offer, download and install the SNCF BB12000 (see below).
These are the files you need from the Train-Sim.com file library:
- 2098.zip (4.7Mb, 06-Nov-01): Spittler Engineering's BNSF GP38-2 #2098 (much improved textures compared to the default GP38-2).
- 2098ev2a.zip (96kb, 08-Jan-02): a lighting fix for the above.
- trakrep2.zip (600kb, 02-Apr-02): Track Repair set; required for the passenger sound files and reference to the "readme".
For reference, see:
These are a couple of locos in which their designers have placed a well-designed passenger view accessible by the "5" key:
- Chessie System SW-1200 switcher: sw1200.zip (17-Jun-01, 3.8Mb). Use Sam Spade's cabview for this switcher for realism, rather than the default GP38 which is not prototypical: emd_swch.zip (15-Feb-02, 6.2Mb)
- French SNCF BB12000: bb12000.zip (09-Mar-02, 4.4Mb). The cabview and passenger view show the age of this loco!
Some theory |
|
|
|
Shelby yard, looking left from the rear platform of GP38-2 #2098. |
Here are the few lines required in an ENG or WAG file to implement a passenger view:
Inside (
PassengerCabinFile ( gp38.s )
PassengerCabinHeadPos ( 0.3 3.6 5.39 )
RotationLimit ( 20 360 0 )
StartDirection ( 0 0 0 )
Sound ( "" )
)
For the moment, we'll leave aside where these lines are placed in an ENG file for a loco passenger view. So here's a short description of each command line in the above snippet:
- Inside ( ): the sub-section definition for a passenger view, bracketed by opening and closing ( and ), familiar with C/C++ programmers;
- PassengerCabinFile: a shape file, e.g. foo.s.
- PassengerCabinHeadPos: x, y and z position (metres) of the passenger's head, measured from the origin of the loco or wagon shape. Note the passenger view doesn't have to be from inside the cab - see images on this page where the view is from the rear platform of the GP38-2.
- RotationLimit: x, y, z degrees through which the passenger can pan a view, i.e. move his/her head.
- StartDirection: direction in which passenger's head is initially looking.
- Sound: the sound file to use for whatever the passenger hears when taking this particular view. For a loco passenger view, a special sound SMD file is required - if one is not available, leave the parameter as an empty string, as shown in the code above. For a solution, see Robert Guy's "readme" in his Track Repair vehicle - we'll use it later. If you've installed the Chessie SW-1200, you'll not hear the engine running when in its passenger view.
The GP38-2 passenger view |
|
|
|
Checking the rear coupling of GP38-2 #2098. |
Here are the steps suggested by Barry Andrews to implement a passenger view in the GP38-2:
From Barry's investigations and trials, we can now progress and add a passenger view to other locos. Here is the code for Barry's other suggestions for the GP38:
View from out the front:
Inside (
PassengerCabinFile ( gp38.s )
PassengerCabinHeadPos ( 0 3.6 8.39 )
RotationLimit ( 30 80 0 )
StartDirection ( 0 0 0 )
Sound ( "" )
)
View from the rear platform:
Inside (
PassengerCabinFile ( gp38.s )
PassengerCabinHeadPos ( 0 3.6 -9.3 )
RotationLimit ( 90 360 0 )
StartDirection ( 0 0 0 )
Sound ( "" )
)
Chessie SW-1200 |
|
|
|
Normal cabview (emd_swch.zip). |
|
Passenger view accessed from "5" key. |
|
|
|
webTrain Sim |
|
|
|
webDirectory |
|
|
|