Amtrak777, on 17 October 2020 - 02:44 PM, said:
https://i.gyazo.com/66261b5380ddba0efedde33003f18975.png
Hi Amtrak777. Read This:
http://www.elvastowe...post__p__264455
Posted 09 November 2020 - 07:35 AM
Amtrak777, on 17 October 2020 - 02:44 PM, said:
Posted 11 November 2020 - 04:33 AM
Posted 11 November 2020 - 06:00 AM
Posted 11 November 2020 - 06:36 AM
mrmosky, on 11 November 2020 - 06:00 AM, said:
Posted 11 November 2020 - 07:39 AM
Posted 11 November 2020 - 09:10 AM
Posted 11 November 2020 - 10:18 AM
Posted 11 November 2020 - 04:02 PM
cesarbl, on 11 November 2020 - 09:10 AM, said:
StartDirection ( 12 180 0 )
matrix SPEEDOMETER:1:20 ( 1 0 0 0 1 0 0 0 1 0.269001 2.31 -8.22 )
Posted 12 November 2020 - 08:54 AM
diff --git a/Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs b/Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs index afdd25857..5cb97e349 100644 --- a/Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs +++ b/Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs @@ -714,7 +714,14 @@ protected CabView3D BuildCab3DView() if (!(this is MSTSSteamLocomotive)) InitializeFromORTSSpecific(cvfFilePath, extendedCVF); - return new CabView3D(cvfFile, CabViewpoints, extendedCVF, CabViewType.Front, noseAhead, shapeFilePath); + var cabViewType = CabViewType.Front; + if (CabViewpoints.Count == 1 && ((CabViewpoints[0].StartDirection.Y >= 90 && CabViewpoints[0].StartDirection.Y <= 270) + || (CabViewpoints[0].StartDirection.Y <= -90 && CabViewpoints[0].StartDirection.Y >= -270))) + { + CabViewpoints.Insert(0, new PassengerViewPoint()); + cabViewType = CabViewType.Rear; + } + return new CabView3D(cvfFile, CabViewpoints, extendedCVF, cabViewType, noseAhead, shapeFilePath); } /// <summary> diff --git a/Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs b/Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs index 02dab1e3c..d05ad4fd3 100644 --- a/Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs +++ b/Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs @@ -1639,7 +1639,7 @@ public bool HasFront3DCab { var loco = this as MSTSLocomotive; var i = (int)CabViewType.Front; - if (loco == null || loco.CabView3D == null) return false; + if (loco == null || loco.CabView3D == null || loco.CabView3D.CabViewType != CabViewType.Front) return false; return (loco.CabView3D.ViewPointList.Count > i); } }
Posted 29 November 2020 - 08:59 AM