Skip to content

Commit 3618d4b

Browse files
committed
Automatic merge of T1.6-rc4-32-g196d83e86 and 16 pull requests
- Pull request #1086 at e10390b: Add Settings Exporter tool (copy settings to INI, etc) - Pull request #1091 at aa72c13: Automatic speed control - Pull request #1104 at fd2cabb: Handle simple adhesion within the axle module - Pull request #1110 at 387388e: Fix Activity Runner persists after loading exception - Pull request #1115 at 270f22f: Do not activate ETS switch if no suitable cars are attached - Pull request #1120 at ba3c47f: Automatically Calculate Friction Values if Missing - Pull request #1121 at 91d2d26: Manually Override Articulation - Pull request #1130 at 251a677: Fix F9 points to an incorrect car ID. - Pull request #1132 at 934d29e: Fixes For Correct Questionable Braking Parameters - Pull request #1133 at 8dc00d5: Minor Fix for Brake Pipe Charging - Pull request #1136 at 6f1b82f: Fix Curve Resistance Calculation - Pull request #1137 at c2c9e2a: Apply brakes at startup on minimal reduction - Pull request #1082 at 5845a1a: Allow variable water level in glass gauge - Pull request #1081 at 689494b: Brake cuts power unification - Pull request #1124 at fab5457: Built-in PBL2 brake controller - Pull request #1128 at 58de4c3: Particle Emitter Overhaul
18 parents a96f31b + 196d83e + e10390b + aa72c13 + fd2cabb + 387388e + 270f22f + ba3c47f + 91d2d26 + 251a677 + 934d29e + 8dc00d5 + 6f1b82f + c2c9e2a + 5845a1a + 689494b + fab5457 + 58de4c3 commit 3618d4b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2079
-2155
lines changed

Source/Documentation/Manual/cabs.rst

Lines changed: 17 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,53 +1234,6 @@ in the .cvf header, that is the right side viewpoint.
12341234

12351235
Note that in Open Rails you may have more than three cabviewpoints defined for 2D cabs.
12361236

1237-
Advanced cab viewport positioning
1238-
---------------------------------
1239-
1240-
.. index::
1241-
single: ORTSShapeHierarchy
1242-
1243-
In some unusual cases, it may be desired to have the cab view point move not with the main
1244-
locomotive body, but with a sub object of the locomotive, such as a bogie. To do this, the
1245-
parameter ``ORTSShapeHierarchy ( MATRIXNAME )`` can be added inside the .cvf file, once
1246-
for each viewport. If this is used, the position of the viewport will no longer be measured
1247-
relative to the locomotive itself, but relative to the sub object with the given name. As
1248-
the sub object translates and rotates, the cab view will do the same in sync. Each viewport
1249-
can be attached to a different sub object, though in many cases attaching all three to the
1250-
same sub object will make the most sense::
1251-
1252-
Comment ( A hypothetical cab view where the cab is attached to the BOGIE1 sub object of the locomotive shape. )
1253-
Tr_CabViewFile (
1254-
CabViewType ( 3 )
1255-
CabViewFile ( Front.ace )
1256-
CabViewWindow ( 0 0 640 400 )
1257-
CabViewWindowFile ( "" )
1258-
Position ( 1.265 3.44 6.24 )
1259-
Direction ( 7 -20 1 )
1260-
ORTSShapeHierarchy ( BOGIE1 )
1261-
CabViewFile ( Rear.ace )
1262-
CabViewWindow ( 0 0 640 480 )
1263-
CabViewWindowFile ( "" )
1264-
Position ( 1.26 3.44 6.24 )
1265-
Direction ( 6 179 0 )
1266-
ORTSShapeHierarchy ( BOGIE1 )
1267-
CabViewFile ( Right.ace )
1268-
CabViewWindow ( 0 0 640 480 )
1269-
CabViewWindowFile ( "" )
1270-
Position ( 1.26 3.44 6.24 )
1271-
Direction ( 12 36 0 )
1272-
ORTSShapeHierarchy ( BOGIE1 )
1273-
1274-
Matrix names can be determined using shape viewing utilities. If the named matrix can't
1275-
be found in the locomotive shape, a warning will be added to the log and the cab viewport
1276-
will attach to the main shape object. ``ORTSShapeHierarchy`` is entirely optional, and if
1277-
missing the cab viewport will be attached to the main shape object, same as in MSTS.
1278-
1279-
Note that passenger views and 3D cabs also support ``ORTSShapeHierarchy`` but the
1280-
:ref:`implementation is different<features-viewpoint-positioning>`, as it is not done
1281-
inside the .cvf file.
1282-
1283-
12841237
3D cabs
12851238
=======
12861239

@@ -1330,48 +1283,40 @@ Development Rules
13301283
- Within the Wagon section of the .eng file a block like the following one
13311284
has to be generated::
13321285
1333-
ORTS3DCab (
1286+
ORTS3DCab(
13341287
ORTS3DCabFile ( Cab.s )
13351288
ORTS3DCabHeadPos ( -0.9 2.4 5.2 )
13361289
RotationLimit ( 40 60 0 )
13371290
StartDirection ( 12 0 0 )
1338-
ORTSShapeOffset ( 0 0 0 )
1339-
ORTSShapeHierarchy ( MAIN )
13401291
)
13411292

13421293
- If also a rear cab is present, a second ``ORTS3DCab`` has to be added,
13431294
as follows::
13441295

1345-
ORTS3DCab (
1296+
ORTS3DCab(
13461297
ORTS3DCabFile ( Cab.s )
13471298
ORTS3DCabHeadPos ( 0.9 2.4 5.2 )
13481299
RotationLimit ( 40 60 0 )
13491300
StartDirection ( 12 180 0 )
1350-
ORTSShapeOffset ( 0 0 0 )
1351-
ORTSShapeHierarchy ( MAIN )
13521301
)
13531302

1354-
- Similarly to :ref:`passenger views<features-viewpoint-positioning>`,
1355-
``ORTSShapeOffset`` and ``ORTSShapeHierarchy`` are optional and
1356-
give more control over the location of the cab shape and camera
1357-
location, but aren't needed for standard rolling stock.
1358-
13591303
- Alternate 3D cab viewpoints may be added, as in the example here below::
13601304

1361-
ORTSAlternate3DCabViewPoints (
1362-
ORTSAlternate3DCabViewPoint (
1363-
ORTS3DCabFile ( Cab.s )
1364-
ORTS3DCabHeadPos ( 0.9 2.4 5.2 )
1365-
RotationLimit ( 40 60 0 )
1366-
StartDirection ( 12 0 0 )
1367-
)
1368-
ORTSAlternate3DCabViewPoint (
1369-
ORTS3DCabFile ( Cab.s )
1370-
ORTS3DCabHeadPos ( -0.8 2.4 5.2 )
1371-
RotationLimit ( 40 60 0 )
1372-
StartDirection ( 12 30 0 )
1373-
)
1374-
)
1305+
ORTSAlternate3DCabViewPoints
1306+
(
1307+
ORTSAlternate3DCabViewPoint(
1308+
ORTS3DCabFile ( Cab.s )
1309+
ORTS3DCabHeadPos ( 0.9 2.4 5.2 )
1310+
RotationLimit ( 40 60 0 )
1311+
StartDirection ( 12 0 0 )
1312+
)
1313+
ORTSAlternate3DCabViewPoint(
1314+
ORTS3DCabFile ( Cab.s )
1315+
ORTS3DCabHeadPos ( -0.8 2.4 5.2 )
1316+
RotationLimit ( 40 60 0 )
1317+
StartDirection ( 12 30 0 )
1318+
)
1319+
)
13751320

13761321

13771322
- To switch between alternate cab viewpoints ``Ctrl-Shift-1`` must be pressed.

0 commit comments

Comments
 (0)