scale 1 87;
gauge 16.5;
-vehicle 39230
+vehicle \39230
{
name "BR 23";
locomotive true;
axle { position -29.5; wheel_diameter 16; powered true; object "br50-axle.object"; };
axle { position -49; wheel_diameter 16; powered true; object "br50-axle.object"; };
- rod
+ rod "coupling_r"
{
- pivot_axle 2;
- position 0 -10.5 -3.5;
- limit FIXED;
+ move
+ {
+ target_axle 3;
+ target_position 0 -10.5 -3.5;
+ };
object "br50-rod-coupling.object";
};
- rod
+
+ rod "main_r"
{
- pivot_body;
- position 27 -14 8;
- limit SLIDE_X;
- tag "piston";
- object "br50-rod-piston.object";
+ move
+ {
+ target_axle 3;
+ target_position 0 -13 -3.5;
+ };
+ rotate
+ {
+ target_rod "piston_r";
+ target_position 0 1 0;
+ local_position 37.5 0 0;
+ };
+ object "br50-rod-main.object";
};
- rod
+
+ rod "piston_r"
{
- pivot_axle 2;
- position 0 -13 -3.5;
- limit ROTATE;
- connect "previous" 37.5 0 0 0;
- object "br50-rod-main.object";
+ initial_position 28 -14 8;
+ move
+ {
+ target_rod "main_r";
+ target_position 37.5 -1 0;
+ };
+ slide
+ {
+ target_position 27 -14 8;
+ axis 1 0 0;
+ };
+ object "br50-rod-piston.object";
};
- rod
+
+ rod "eccentric_r"
{
- pivot_axle 2;
- position 1.5 -15 0;
- limit ROTATE;
+ move
+ {
+ target_axle 3;
+ target_position 1.5 -15 0;
+ };
+ rotate
+ {
+ target_rod "expansion_r";
+ target_position 0 -0.5 -4.5;
+ local_position 21 0 0;
+ };
object "br50-rod-eccentric.object";
};
- rod
+
+ rod "expansion_r"
{
- pivot_body;
- position 10.5 -14.5 16.5;
- limit ROTATE;
- connect "previous" 0 -4.5 21 0;
- tag "link";
+ initial_position 10.5 -14.5 16.5;
+ rotate
+ {
+ target_rod "eccentric_r";
+ target_position 21 0.5 0;
+ local_position 0 0 -4.5;
+ };
object "br50-rod-link.object";
};
- rod
+
+ rod "reach"
{
- pivot_body;
- position 32 -16 15.5;
- limit SLIDE_X;
- object "br50-rod-valve.object";
+ initial_position 7 -9.5 27.5;
+ object "br50-rod-reach.object";
};
- rod
+
+ rod "transfer"
{
- pivot_rod "link";
- position 0.2 -0.5 -2.5;
- limit ROTATE;
- connect "previous" 22 -1.5 0 0;
- object "br50-rod-radius.object";
+ initial_position 4 0 22;
+ rotate
+ {
+ target_rod "reach";
+ local_position -1 -9.5 5.5;
+ };
+ object "br50-rod-transfer.object";
};
- rod
+
+ rod "expansion_guide_r"
{
- pivot_rod "previous";
- position 22 -0.5 0;
- limit ROTATE;
- object "br50-rod-combination.object";
+ move
+ {
+ target_rod "expansion_r";
+ target_position 20.5 0 0;
+ };
+ rotate
+ {
+ target_rod "radius_r";
+ target_position 3.2 0 0.5;
+ local_position -20.5 0 0;
+ };
};
- rod
+
+ rod "lifting_guide_r"
{
- pivot_rod "piston";
- position 0 -1.5 -2;
- limit ROTATE;
- connect "previous" 5.5 0 0 -11.5;
- object "br50-rod-union.object";
+ move
+ {
+ target_rod "expansion_guide_r";
+ target_position -20.5 0 0;
+ };
+ rotate
+ {
+ target_rod "lifting_r";
+ target_position 0 1 -5.5;
+ local_position -3.2 0 -0.5;
+ };
};
- rod
+ rod "lifting_r"
{
- pivot_axle 2;
- position 3.5 10.5 0;
- limit FIXED;
- object "br50-rod-coupling.object";
- mirror_object true;
+ move
+ {
+ target_rod "transfer";
+ target_position 4.5 -15.5 0;
+ };
+ rotate
+ {
+ target_rod "lifting_guide_r";
+ target_position -3.2 -1 -0.5;
+ local_position 0 0 -5.5;
+ };
+ object "br50-rod-lifting.object";
};
- rod
+
+ rod "radius_guide_r"
{
- pivot_body;
- position 27 14 8;
- limit SLIDE_X;
- tag "piston";
- object "br50-rod-piston.object";
- mirror_object true;
+ initial_position 33 -16 15.5;
+ move
+ {
+ target_rod "valve_r";
+ };
+ rotate
+ {
+ target_rod "radius_r";
+ target_position 25 -1 0.5;
+ local_position 0 0 1.5;
+ };
};
- rod
+
+ rod "radius_r"
{
- pivot_axle 2;
- position 3.5 13 0;
- limit ROTATE;
- connect "previous" 37.5 0 0 0;
- object "br50-rod-main.object";
- mirror_object true;
+ initial_position 11 -15 17;
+ move
+ {
+ target_rod "lifting_r";
+ target_position 0 0.5 -5.5;
+ };
+ rotate
+ {
+ target_rod "radius_guide_r";
+ target_position 0 1 1.5;
+ local_position 25 0 0.5;
+ };
+ object "br50-rod-radius.object";
};
- rod
+
+ rod "union_r"
{
- pivot_axle 2;
- position 0 15 1.5;
- limit ROTATE;
- object "br50-rod-eccentric.object";
- mirror_object true;
+ move
+ {
+ target_rod "piston_r";
+ target_position 0 -1.5 -2;
+ };
+ rotate
+ {
+ target_rod "combination_r";
+ target_position 0 0 -11.5;
+ local_position 5.5 0 0;
+ };
+ object "br50-rod-union.object";
};
- rod
+
+ rod "combination_r"
{
- pivot_body;
- position 10.5 14.5 16.5;
- limit ROTATE;
- connect "previous" 0 -4.5 21 0;
- tag "link";
- object "br50-rod-link.object";
- mirror_object true;
+ initial_position 38 -15.5 17;
+ move
+ {
+ target_rod "radius_r";
+ target_position 25 -0.5 0.5;
+ };
+ rotate
+ {
+ target_rod "union_r";
+ target_position 5.5 0 0;
+ local_position 0 0 -11.5;
+ };
+ object "br50-rod-combination.object";
};
- rod
+
+ rod "valve_r"
{
- pivot_body;
- position 32 16 15.5;
- limit SLIDE_X;
+ initial_position 33 -16 15.5;
+ move
+ {
+ target_rod "combination_r";
+ target_position 0 -0.5 -1.5;
+ };
+ slide
+ {
+ target_position 32 -16 15.5;
+ axis 1 0 0;
+ };
object "br50-rod-valve.object";
- mirror_object true;
- };
- rod
- {
- pivot_rod "link";
- position 0.2 0.5 -2.5;
- limit ROTATE;
- connect "previous" 22 -1.5 0 0;
- object "br50-rod-radius.object";
- mirror_object true;
- };
- rod
- {
- pivot_rod "previous";
- position 22 0.5 0;
- limit ROTATE;
- object "br50-rod-combination.object";
- mirror_object true;
};
- rod
+
+ mirror_rods
{
- pivot_rod "piston";
- position 0 1.5 -2;
- limit ROTATE;
- connect "previous" 5.5 0 0 -11.5;
- object "br50-rod-union.object";
- mirror_object true;
+ filter "_r$";
+ phase_offset -90;
};
};
};
};
-vehicle 36850
+vehicle \36850
{
name "BR 185";
locomotive true;
};
};
-vehicle 39410
+vehicle \39410
{
name "BR E 41";
locomotive true;
axle { position -17; wheel_diameter 14; powered true; };
};
};
+
+vehicle \37504
+{
+ // XXX The power car is really in the middle, but that configuration isn't supported yet
+ name "BR 420 S-bahn";
+ locomotive true;
+ function 0 "light";
+ function 1 "intlt";
+ function 2 "sfx";
+ function 3 "whstl";
+
+ length 268;
+ width 33;
+ height 44;
+
+ object "br420-body.object";
+
+ bogie
+ {
+ position 94;
+ object "br420-bogie.object";
+ axle { position 14.5; wheel_diameter 10; object "br420-axle.object"; };
+ axle { position -14.5; wheel_diameter 10; object "br420-axle.object"; };
+ };
+ bogie
+ {
+ position -96;
+ object "br420-bogie.object";
+ rotate_object true;
+ axle { position 14.5; wheel_diameter 10; object "br420-axle.object"; };
+ axle { position -14.5; wheel_diameter 10; object "br420-axle.object"; };
+ };
+};